I have set up 2 BC3 scripts. One script copies some files from a VMWare virtual machine on my local computer to a development server. The other script copies files from my development server to my production server.
The scripts write messages to a log file on my desktop:
log normal "C:\Documents and Settings\pmolaro\Desktop\BC3Synclog_PROD.txt"
Then they go through a series of 8 file synches that look like this:
# ========= EXAMPLE SYNCH =========================
# Exclude certain file types
filter "*.swf;*.xml;*.jpg;"
# Load the base folders
load "V:\Inetpub\MySite\wwwroot\assets\Flash\banner " "Y:MySite\wwwroot\assets\Flash\banner"
#expand to affect subfolders and files
expand all
#confirm yes
option confirm:yes-to-all
# Copy different files left to right, delete orphans on right
sync mirror:left->right
#================================================= =
The "Local to Dev" script runs without any issues. However, the "Dev to Production" script always returns this error:
3/31/2010 2:04:01 AM Fatal Scripting Error: Unable to load base folder
3/31/2010 2:04:05 AM Script completed in 4.05 seconds
To make the "Dev to Production" script I have duplicated the "Local to Dev" script and simply changed the drive mappings, so instead of pushing from V: to Y:, I am now pushing from Y: to X:
I have rights to all the mapped drives and even make sure I am logged into each before I run the scripts.
Any ideas on why the script works in one environment but not in another??
The scripts write messages to a log file on my desktop:
log normal "C:\Documents and Settings\pmolaro\Desktop\BC3Synclog_PROD.txt"
Then they go through a series of 8 file synches that look like this:
# ========= EXAMPLE SYNCH =========================
# Exclude certain file types
filter "*.swf;*.xml;*.jpg;"
# Load the base folders
load "V:\Inetpub\MySite\wwwroot\assets\Flash\banner " "Y:MySite\wwwroot\assets\Flash\banner"
#expand to affect subfolders and files
expand all
#confirm yes
option confirm:yes-to-all
# Copy different files left to right, delete orphans on right
sync mirror:left->right
#================================================= =
The "Local to Dev" script runs without any issues. However, the "Dev to Production" script always returns this error:
3/31/2010 2:04:01 AM Fatal Scripting Error: Unable to load base folder
3/31/2010 2:04:05 AM Script completed in 4.05 seconds
To make the "Dev to Production" script I have duplicated the "Local to Dev" script and simply changed the drive mappings, so instead of pushing from V: to Y:, I am now pushing from Y: to X:
I have rights to all the mapped drives and even make sure I am logged into each before I run the scripts.
Any ideas on why the script works in one environment but not in another??
Comment