Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Exit Code 2 / Mapped Drives / UNC paths
Goto page 1, 2  Next
 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
rfritzsching



Joined: 07 Mar 2006
Posts: 5

PostPosted: Tue Mar 07, 2006 3:47 pm    Post subject: Exit Code 2 / Mapped Drives / UNC paths Reply with quote

I am trying to sync two load blanced server across a shared drive with VWLauncher as a background service.

I have changed the service login to my network username and I am still getting the same Exit Code 2 error.

Below is the snippet from the log file. Have any ideas what might be causing this?

BTW: The sync works fine with the VWLauncher in normal mode.

============================
03/07/2006 09:39:13 [474126.414-PID:4856] * Enabled * Run at startup - Run as soon as file changes are detected in Source(s). (D:\ViceVersa PRO 2\xxxxx.fsf)
03/07/2006 09:39:14 [474126.868-PID:4856] Profile finished. Result "Execution not completed.". Exit Code: 2.
============================
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8769

PostPosted: Tue Mar 07, 2006 10:14 pm    Post subject: Reply with quote

Hello, have a look at the ViceVersa log file, if you did not yet you can set a log file in the Viceversa profile settings->execution
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
rfritzsching



Joined: 07 Mar 2006
Posts: 5

PostPosted: Tue Mar 07, 2006 11:14 pm    Post subject: Reply with quote

Thx! I was able to look in the log file and this is what it looks like the error is.

==========================================
[ERROR] Target: folder "W:\" not found. The system cannot find the path specified.
==========================================

W:\ is a mapped network drive that goes to the root of the mirrored server.

Could this be a permission issue?
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8769

PostPosted: Tue Mar 07, 2006 11:31 pm    Post subject: Reply with quote

Are you running VVLauncher under the "Local System" account The "Local System" account does not have access to network resources. This may be causing the error. To solve this, run the service under a user account which has access to the network share (you will need to specify proper user name and password).
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
rfritzsching



Joined: 07 Mar 2006
Posts: 5

PostPosted: Wed Mar 08, 2006 1:16 am    Post subject: Reply with quote

I am not running the VWLauncher under the local system account. I have tried many user accounts all with administrator priviliages (both local to the server and non-local) and still not able to access that network drives.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8769

PostPosted: Wed Mar 08, 2006 2:21 am    Post subject: Reply with quote

This can occur if you are working with a mapped network drive. Drive mappings may not be available when a scheduled task runs even if you set up the task to log in with your user name and password.
- Set up the folder as UNC paths rather than mapped drive letters (eg \\server\share\).
- Verify that the user name and password for the service will enable the service to access the network resources.
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
rfritzsching



Joined: 07 Mar 2006
Posts: 5

PostPosted: Wed Mar 08, 2006 2:42 am    Post subject: Bingo Reply with quote

Bingo! The UNC path worked instead of the mapping. Awesome.

It's time to buy this baby now! This is going to save me tons of time down the line.

Thank you for your help.
Back to top
ecommerceguy
Guest





PostPosted: Wed Jun 21, 2006 6:35 pm    Post subject: Reply with quote

Is there a way to use VVlauncher with multiple profiles?
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8769

PostPosted: Wed Jun 21, 2006 9:38 pm    Post subject: Reply with quote

Not yet -- but soon Smile
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
neo
Guest





PostPosted: Wed Aug 30, 2006 1:25 pm    Post subject: exit code 2 Reply with quote

Hi,

The folders compared and executed(backup mode) successfully when i ran it in the VVprolauncher. I scheduled the same profile and when i ran it from the scheduler it gave me exit code 2. I use the UNC paths instead of drive maps. The logs said that it was a log on problem.. then in the profile I entered the credentials under 'Network'.. The 'Test Connection' was successfuol. But when i run it from the scheduler i get the same error. But this time it's using the ryt username. Any idea what could the problem?? I'm sure I must be doing something very silly.

==========================

2006-08-30 13:52:39 : Connecting to "\\XXX.YYY.ZZZ.QQQ\abcd_efg_Test" with user "administrator" ...
2006-08-30 13:52:39 : [ERROR] "\\XXX.YYY.ZZZ.QQQ\abcd_efg_Test" is not accessible using the credentials entered in the profile settings. Logon failure: unknown user name or bad password.
2006-08-30 13:52:39 : Exit Code: 2. Execution not completed. [ERROR]
2006-08-30 13:52:39 :

==========================
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8769

PostPosted: Wed Aug 30, 2006 11:01 pm    Post subject: Reply with quote

mmm, not sure .... the account running from the scheduler is the same as the 'network' credentials?
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
neo
Guest





PostPosted: Mon Sep 11, 2006 9:26 am    Post subject: solved Reply with quote

Hi,

My problem is solved. I gave the username for the credentials as the remote_host_ip\username and the corresponding password and it worked. Razz i knew it was something silly. But strangely enough i'd tried giving that before i sent you the previous message and it was rejected... Probably some silly syntax error.

Thanks a lot anyways.. Smile

Cheers,
neo


Don't think you are... know you are.... (silly??? Razz)
Back to top
Jim M
Guest





PostPosted: Thu Feb 12, 2009 8:17 pm    Post subject: InstServ.exe errors Reply with quote

Why would VVLauncher work manually and not running under services? Yet when I add this same VVLauncher to Windows Scheduler to run at system start it runs fine. The VVLauncher service (when installed via InstServ.exe) coughs up an error on startup and I constantly get either "Execution not completed.". Exit Code: 2. or "Source folder not found.". Exit Code: 13. when the source folder is on the local server where the app lives. And I am using a UNC and not a mapped and account that has universal access .. even gave everyone FULL to make absolutely certain.

Jim M
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8769

PostPosted: Fri Feb 13, 2009 12:58 pm    Post subject: Reply with quote

Under which account is the VVLauncher service running? The LocalSystem account does not have access to network folders.
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
Jim M
Guest





PostPosted: Fri Feb 13, 2009 2:53 pm    Post subject: accounts Reply with quote

I have it running with an account that has access to both the source and target destinations of course and not the Local System account. If that were not the case then VVLauncher would not work as a Windows Scheduler item either, but it does. Problem is that it doesn't work as an integrated service with the InetServ.exe application you've included.
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: