Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-17-2009, 04:22 PM
Mescalero Mescalero is online now
Registered User
 
Join Date: 02-17-2009
Posts: 3
scripts fail after migration to new server

Hello,

After migrating my VisBuild 7 scripts to a new server, the scripts are now failing, and this appears in the log:

No VSS database (srcsafe.ini) found. Use the SSDIR environment variable or run netsetup.

I pass the location to srcsafe.ini in the script (srcsafe.ini being on another, networked machine), so I'm not sure what environmental factor on the new server is contributing to this. (And why would it now ask me to use the SSDIR environment variable?)

Could it be that I did something incorrect during installation? Thanks for any insight, as I'm quite puzzled...
Reply With Quote
  #2  
Old 02-17-2009, 04:31 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
It's a SourceSafe issue--the SourceSafe action invokes the VSS command-line executable (ss.exe) to perform a SourceSafe operation, and that is what is reporting the error message. The SourceSafe action does set the SSDIR environment variable to the path specified in the Database field before invoking ss.exe. It looks like the database path specified is not accessible or doesn't contain a VSS database. You can check the 'Log command-line...' option on the Advanced tab, rebuild and include the ss.exe command-line when contacting MS support.
Reply With Quote
  #3  
Old 02-17-2009, 08:02 PM
Mescalero Mescalero is online now
Registered User
 
Join Date: 02-17-2009
Posts: 3
Thank you for your response. Logged onto the server as the user who is executing the script, I can access the sourcesafe server, verify that there is a VSS share, and that srcsafe.ini does indeed exist.

Also, all looks proper with the command line that is logged.

Could there be some other permissions issue that I need to address with my network admin?

Thank you again.
Reply With Quote
  #4  
Old 02-17-2009, 10:03 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
I'm not sure. Based on the error message, the most likely explanation would be that the path it is pointing to does not contain a srcsafe.ini. To verify, you might add a Run Script step before the SourceSafe step with code like this:

Code:
If vbld_FSO.FileExists("<path from Database field of SourceSafe action>\srcsafe.ini") Then
	Builder.LogMessage "srcsafe.ini found"
Else
	Builder.LogMessage "srcsafe.ini not found"
End If
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 02:46 PM.


Copyright © 1999-2023 Kinook Software, Inc.