PDA

View Full Version : Testing a Network path


HarryCL2
06-11-2010, 11:44 PM
Hi All, I have an app that uses a network path for the common databases.

Just recently one Vista machine has decided that it needs to cache the UserName and Password before allowing access to the network path. Currently the app just tosses an error message and uses a local default path that was set up for testing and not the real database.

The operator then has to go to the set up section of my app, navigate to the network path then login with a Username and Password. The app is then fine for the rest of the day providing that Vista machine is not restarted during the day.

So, how can I test a network path and if it requires a logon first, get that detail?

Better yet, how can I stop the Vista machine asking for the logon for the first time each day?

Thanks.

Harry

axl2010
06-22-2010, 04:26 PM
Hi,
if you try the "net use" command before your application starts?

net use X: \\path /USER:username password