Author |
Message |
larrycore
Joined: 14 Dec 2007 Posts: 15
|
Posted: Fri Dec 14, 2007 1:49 pm Post subject: Vista scheduling fails - cannot find drive letter |
|
|
The Vista task scheduler runs the command correctly, but says done right away. I created the command with VV Scheduler by the way.
I went to a command line (with and without admin rights) and ran the schedstub command with the same command line as the scheduler so I could see what was happening - the drive letter I am trying to sync with pops up in an error window saying it can't be found.
But, if I run ViceVersa and load the profile it works just fine. Also, at the command prompt, I can change to the drive letter and access it with no problem.
What's going on? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
|
Back to top |
|
|
larrycore
Joined: 14 Dec 2007 Posts: 15
|
Posted: Sat Dec 15, 2007 2:03 pm Post subject: |
|
|
I just installed VVEngine, sceduled it, than ran it manually to see what would happen. It says Source Folder Not Found. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
|
Back to top |
|
|
larrycore
Joined: 14 Dec 2007 Posts: 15
|
Posted: Tue Dec 18, 2007 3:39 am Post subject: |
|
|
Yes, it is a mapped drive letter.
I tried UNC and the error changed, so at least I know the problem know... It is getting an invalid name / password error. I guess the schedstub program doesn't pull that information, even though the main program does.
So, how do I pass username / password to it?
Right now the source is \\192.168.1.252\foldername
Do I add it at the end? What's the format?
Thanks |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
|
Back to top |
|
|
larrycore
Joined: 14 Dec 2007 Posts: 15
|
Posted: Tue Dec 18, 2007 11:39 pm Post subject: |
|
|
Ok, that sort of fixed it... At first I got an error because you can't login to the same resource with the same name more than once. Windows was already logged in, which is why I could access the drive with no problems.
So, I had to remove the auto mapping of the drive and set ViceVersa to disconnect after use, otherwise it would fail the second time it tried to run.
It's a good thing I don't need to access this networked drive on this machine other than for the backup.
How would this work if things change though, and I need to access the drive? |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Wed Dec 19, 2007 6:02 am Post subject: |
|
|
Should work .... using which user / password does Vista connect to the drive? Did you try using the same user / password in ViceVersa or try using the option 'login with default user credentials" also in the folders->network settings - thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
larrycore
Joined: 14 Dec 2007 Posts: 15
|
Posted: Wed Dec 19, 2007 12:22 pm Post subject: |
|
|
No, the network login is not the same as the Vista login. A batch file runs from the Startup folder to connect to the network drives and it passes the username / password info on at that point. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Thu Dec 20, 2007 5:49 am Post subject: |
|
|
Quote: | A batch file runs from the Startup folder to connect to the network drives and it passes the username / password info on at that point. |
But did you enter the same login info in ViceVersa? _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
larrycore
Joined: 14 Dec 2007 Posts: 15
|
Posted: Thu Dec 20, 2007 12:12 pm Post subject: |
|
|
Yes. The batch file maps the drive and supplies a user name and password. That is the same user name and password that I put into ViceVersa. It is the only name and password that will allow access. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Thu Dec 20, 2007 2:20 pm Post subject: |
|
|
Then I do not know why you are getting the error that "you can't login to the same resource with the same name more than once" since you are using the same login. What if you do not supplu a password when connected with Viceversa, or select the option "connect using default user credentials" in the profile settings->folders->network
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
larrycore
Joined: 14 Dec 2007 Posts: 15
|
Posted: Thu Dec 20, 2007 2:43 pm Post subject: |
|
|
I thought "connect using default" was the setting that would be used automatically, which failed before, so I didn't mess with it. I'll try it and let you know. |
|
Back to top |
|
|
larrycore
Joined: 14 Dec 2007 Posts: 15
|
Posted: Thu Dec 20, 2007 2:47 pm Post subject: |
|
|
No go - when set to default user the log says "[ERROR] The specified network password is not correct."
I'm guessing it's trying to connect to the network using the Vista username and password, not the ones in the batch file.
It's a shame it needs to connect at all - if it just acted like anything else in Windows it would work because the drive is already connected. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
|
Back to top |
|
|
|