Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Vista scheduling fails - cannot find drive letter
Goto page 1, 2  Next
 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
larrycore



Joined: 14 Dec 2007
Posts: 15

PostPosted: Fri Dec 14, 2007 1:49 pm    Post subject: Vista scheduling fails - cannot find drive letter Reply with quote

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: 8763

PostPosted: Sat Dec 15, 2007 10:55 am    Post subject: Reply with quote

This one is quite puzzling... does it work if you use VVengine to schedule the profile? http://www.tgrmn.com/web/vvengine/vvengine.htm
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
larrycore



Joined: 14 Dec 2007
Posts: 15

PostPosted: Sat Dec 15, 2007 2:03 pm    Post subject: Reply with quote

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: 8763

PostPosted: Tue Dec 18, 2007 1:43 am    Post subject: Reply with quote

Is this a mapped drive? Did you try using the UNC path directly, e.g. \\computer\share\ ? thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
larrycore



Joined: 14 Dec 2007
Posts: 15

PostPosted: Tue Dec 18, 2007 3:39 am    Post subject: Reply with quote

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: 8763

PostPosted: Tue Dec 18, 2007 7:01 pm    Post subject: Reply with quote

You can enter user name and password in the ViceVersa profile settings, under "folders" -> "network"
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
larrycore



Joined: 14 Dec 2007
Posts: 15

PostPosted: Tue Dec 18, 2007 11:39 pm    Post subject: Reply with quote

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: 8763

PostPosted: Wed Dec 19, 2007 6:02 am    Post subject: Reply with quote

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

PostPosted: Wed Dec 19, 2007 12:22 pm    Post subject: Reply with quote

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: 8763

PostPosted: Thu Dec 20, 2007 5:49 am    Post subject: Reply with quote

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

PostPosted: Thu Dec 20, 2007 12:12 pm    Post subject: Reply with quote

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: 8763

PostPosted: Thu Dec 20, 2007 2:20 pm    Post subject: Reply with quote

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

PostPosted: Thu Dec 20, 2007 2:43 pm    Post subject: Reply with quote

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

PostPosted: Thu Dec 20, 2007 2:47 pm    Post subject: Reply with quote

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: 8763

PostPosted: Fri Dec 21, 2007 8:07 am    Post subject: Reply with quote

You could retry re-mapping the drive from a batch script that runs before ViceVersa profile execution:

net use z: /del (this one deletes the connection but you can try also without this)
net use z: \\server\share (<-- try with or without password)

See http://www.tgrmn.com/web/kb/category10.htm
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: