"VC" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Phillip & Robert,
> Thanks for taking the time to answer my question. Appreciate it much.
> That was a pretty powerful wakeup call to use UNC names instead. I will
> look into that option from our apps. I presume we should not run into any
> issues to read/write to UNC names from .NET/CSharp applications.
Ok. Well I didn't expect you were the developer, didn't mean to be insulting
or anything. I admit I do tend to beatup on the developers
sometimes,..sorry :-)
But the App should be more dependable by using UNC paths though, if you can
get that done. The UNC path does not need to maintain a constant connection
state and should be able to work if you run the App as a "service" when no
user is even logged into the machine.
Drive letters require a constant connection to maintain the mapping which
are then subject to time-outs and unexpected disconnections that may not
reconnect gracefully. They also require a "user" to be interactively logged
into the Desktop,...the mappings are also unique to each user profile, so it
always has to be the same user,...and they become disconnected if the user
logs out. I heard there was a way to do them without a logged in user, but
it seemed convoluted to me and "just asking for trouble" in my opinion.
If you ever switch to some kind of database connection instead of a file
connection avoid using a DSN. They depend on mapped drive letters and
suffer from the same problems. Use instead what has become known as
"DSN-Less Connection",...they connect/disconnect on the fly as needed. I've
messed with some of these very issues when working with some ASP Classic
stuff (not ASP.net),...But I'm not a developer and so I should not venture
too far out of my "area" and make a fool of myself. :-)
--
Phillip Windell
www.wandtv.com
The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------