Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Scripts, VPN & Running Order

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
FerdT



Joined: 13 Apr 2009
Posts: 3
Location: London - UK

PostPosted: Mon Apr 13, 2009 10:08 am    Post subject: Scripts, VPN & Running Order Reply with quote

Hi
I need to sync to a remote server using different credentials than currently logged on. In the profile I have set up the Network Settings with the correct credentials and the profile runs fine after the VPN Connection is made. We now need to automate this process and I have created a VPN Connection and Disconnection Batch Files, using RASDIAL. Again run manually all is fine. So, I enabled these scripts as start and end scripts in the profile but discovered via the log file that ViceVersa checks the Network Connection prior to running the script. Clearly this process fails as the connection script has not run before the Network Connection is tested. I have a "Messy" workaround where I use VVEngine to start a dummy profile to sync between two local empty folders that I use the start script to establish the VPN, then if that profile returns without error then the main sync profile is run using the run end script to drop the VPN. It would be helpful if a script could be run at very start of the Profile Started as unless the connection is available then the Profile would not need to run.

Regards

FerdT
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Tue Apr 14, 2009 1:02 pm    Post subject: Reply with quote

Hello,

it's strange because manual and auto scripts are run at the same time... could you post the relevant part of the log please, thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
FerdT



Joined: 13 Apr 2009
Posts: 3
Location: London - UK

PostPosted: Tue Apr 14, 2009 5:55 pm    Post subject: Reply with quote

Thanks for the response. What I mean by manual is to run the batch files from the console, outside of ViceVersa. However here is part of the log file:


2009-04-11 14:29:42 : Profile Started.
2009-04-11 14:29:42 : ************************************************************
2009-04-11 14:29:42 : Version: ViceVersa PRO 2 Build 2015 (SN101)
2009-04-11 14:29:42 : Command Line: "C:\Program Files\ViceVersa Pro 2\ViceVersa.exe"
2009-04-11 14:29:42 : System: Windows Server 2003 R2, (Standard Edition), (x86-32 Processor) v5.2 Build:3790 Service Pack:2
2009-04-11 14:29:42 : User: Administrator
2009-04-11 14:29:42 : Computer: xxxxxxxx
2009-04-11 14:29:42 : **** Profile: c:\documents and settings\administrator\my documents\viceversa pro 2\xxxxx_update_site.fsf
2009-04-11 14:29:42 : **** - Folders -
2009-04-11 14:29:42 : **** Source: "\\?\D:\xxxxxxxxxx\" (Archived)
2009-04-11 14:29:42 : **** Target: "\\?\unc\sssssssss\fffffffff\" (Archived)
2009-04-11 14:29:42 : **** Include Subfolders: Yes
2009-04-11 14:29:42 : **** Create sources/targets that do not exist
2009-04-11 14:29:42 : **** Network: connect to "\\sssssssss\fffffffffff\" with user "uuuuuuu" and disconnect when done
2009-04-11 14:29:42 : **** Exclude files: "~*.*"
2009-04-11 14:29:42 : **** - Comparison Settings -
2009-04-11 14:29:42 : **** Comparison Type: Size and Timestamp
2009-04-11 14:29:42 : **** - Execution Settings -
2009-04-11 14:29:42 : **** Method: Synchronization
2009-04-11 14:29:42 : **** No overwrite / read-only / error confirmations
2009-04-11 14:29:42 : **** Tracking Database: "C:\Documents and Settings\All Users\Application Data\ViceVersa PRO 2\vvdb1.tdb"
2009-04-11 14:29:42 : **** Log File: "C:\Documents and Settings\All Users\Application Data\ViceVersa PRO 2\log1.log" (max 10000 KB)
2009-04-11 14:29:42 : **** Archive deleted/replaced source files to: "\\?\D:\VVArchive\"
2009-04-11 14:29:42 : **** Archive deleted/replaced target files to: "\\sssssssss\VVArchive\"
2009-04-11 14:29:42 : **** Speed: 100 Buffer Size: 32768 (flush the buffer every write)
2009-04-11 14:29:42 : **** Run custom scripts before comparison
2009-04-11 14:29:42 : **** Run custom scripts after execution
2009-04-11 14:29:43 : Connecting to "\\ssssssss\fffffffff" with user "uuuuuuuuu" ... Connected.
2009-04-11 14:29:43 : Running script C:\Program Files\ViceVersa Pro 2\GlobalScripts\Global_start.bat

My problem is that the script runs after the "Connecting to ..............."


Regards

FerdT
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Thu Apr 16, 2009 9:45 am    Post subject: Reply with quote

This issue has been fixed in the latest build of ViceVersa PRO 2.5 beta, thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
FerdT



Joined: 13 Apr 2009
Posts: 3
Location: London - UK

PostPosted: Thu Apr 16, 2009 10:02 am    Post subject: Reply with quote

Thanks, is there a beta we can try, and the inevitable question, when can we expect a release?

FerdT
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Fri Apr 17, 2009 2:53 am    Post subject: Reply with quote

Hello, please send an e-mail to support@tgrmn.com requesting the beta, thank you! Smile
_________________
--
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
Page 1 of 1

 
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: