Get File History Fails on SOS server 4.1.2
Moderator: SourceGear
Get File History Fails on SOS server 4.1.2
When any SOS client attempts to get the file history of an item in the SS database it returns an error message on the client as follows:
Updating filelist ......
Received filelist ......
Operation failed - <file regested history on>
Also when looking in the log.txt file on the server the operation causes the following item to be added to the log file:
8/7/2006 1:02:52 PM - Connection accepted from 192.168.48.91:4730 on local address 192.168.48.15:8888, session id is 11.
8/7/2006 1:07:42 PM - 11: GetFileHistoryException: Error loading resource string
8/7/2006 1:07:42 PM - 8/7/2006 1:07:42 PM - Server Exception (400): OPERATION_FAILED
8/7/2006 1:07:42 PM - 11: Server Error: 400
Finally note that this configuration worked fine and only started appearing when the database and server was updated with teh VSS 2005 release and has not worked since.
Question: It appears that SOS is quite old whereas VSS 2005 is much newer. Have you tested this version and corrected such problems? Also what is the work around?
Updating filelist ......
Received filelist ......
Operation failed - <file regested history on>
Also when looking in the log.txt file on the server the operation causes the following item to be added to the log file:
8/7/2006 1:02:52 PM - Connection accepted from 192.168.48.91:4730 on local address 192.168.48.15:8888, session id is 11.
8/7/2006 1:07:42 PM - 11: GetFileHistoryException: Error loading resource string
8/7/2006 1:07:42 PM - 8/7/2006 1:07:42 PM - Server Exception (400): OPERATION_FAILED
8/7/2006 1:07:42 PM - 11: Server Error: 400
Finally note that this configuration worked fine and only started appearing when the database and server was updated with teh VSS 2005 release and has not worked since.
Question: It appears that SOS is quite old whereas VSS 2005 is much newer. Have you tested this version and corrected such problems? Also what is the work around?
Could I get a little more information from you?
Could I get the version of the automation component? Please see these instructions to find that: http://support.sourcegear.com/viewtopic.php?t=1510
What version of SOS are you using?
What is the server OS and client OS that SourceOffSite is running on?
Do you get this error with all clients?
Is this happening with a web project?
Could I get the version of the automation component? Please see these instructions to find that: http://support.sourcegear.com/viewtopic.php?t=1510
What version of SOS are you using?
What is the server OS and client OS that SourceOffSite is running on?
Do you get this error with all clients?
Is this happening with a web project?
Here's an update so far on this issue.
The environment here is:
Server: Windows 2003 SP1, .NET 2.0
Client: XP Pro
VSS 2005, VS 2005
Version of automation component (ssapi.dll) - 8.0.50 727.42
The issue involves the functions that have to come through the automation component. This involves the ssapi.dll. This is the component that interfaces with the database.
The first suggestion is to run Analyze on the VSS database to make sure there is no minor database corruption that could be causing a problem in getting from history. Use the -f and -c parameters, per this KB article:
http://support.sourcegear.com/viewtopic.php?t=50. Those parameters are still available in VSS 2005.
The environment here is:
Server: Windows 2003 SP1, .NET 2.0
Client: XP Pro
VSS 2005, VS 2005
Version of automation component (ssapi.dll) - 8.0.50 727.42
The issue involves the functions that have to come through the automation component. This involves the ssapi.dll. This is the component that interfaces with the database.
The first suggestion is to run Analyze on the VSS database to make sure there is no minor database corruption that could be causing a problem in getting from history. Use the -f and -c parameters, per this KB article:
http://support.sourcegear.com/viewtopic.php?t=50. Those parameters are still available in VSS 2005.
More info to no history results
We have done this many times. It is not realted to the database but the appliation. Look at your error string it says:
"Error loading resource string"
This is a program error of some kind. There is plenty of info on the error to tell you exactly what is the cause of the error, you just need the developer to now look.
"Error loading resource string"
This is a program error of some kind. There is plenty of info on the error to tell you exactly what is the cause of the error, you just need the developer to now look.
Would you be willing to send us either your database or an archive of a single project where history fails so we can try to recreate the scenario here?
If it's small, it can be sent to beth at sourcegear.com. Otherwise, it can be ftp'd to ftp.sourcegear.com. Send me an email with the file name when it's done.
Thanks
If it's small, it can be sent to beth at sourcegear.com. Otherwise, it can be ftp'd to ftp.sourcegear.com. Send me an email with the file name when it's done.
Thanks
Post subject: Get File History Fails on SOS server 4.1.2
Hi,
Has there been any progress on this?
We have just moved to SourceSafe 2005, with our remote developers continuing to use SOS to access the database.
Our new server is running Windows Server 2003 R2, with SourceOffsite Server Manager 4.1.2. The vssapi.dll version is 8.0.50727.42. Not sure the number of processors matters, if it does there are 2 x Dual Core Xeon processors with Hyper threading enabled.
The server is also running Team Foundation Server and hence Windows SharePoint Services 2.0 is installed also.
The history issue in only present on some files, not all. Our database is huge and so cannot be emailed or ftp'ed I'm afraid.
This is what I have tried so far:
Using SOS client connection to SourceSafe 2005 Server:
If there is any additional information I can supply to aid tracking down this issue let me know.
Regards
Mark
Has there been any progress on this?
We have just moved to SourceSafe 2005, with our remote developers continuing to use SOS to access the database.
Our new server is running Windows Server 2003 R2, with SourceOffsite Server Manager 4.1.2. The vssapi.dll version is 8.0.50727.42. Not sure the number of processors matters, if it does there are 2 x Dual Core Xeon processors with Hyper threading enabled.
The server is also running Team Foundation Server and hence Windows SharePoint Services 2.0 is installed also.
The history issue in only present on some files, not all. Our database is huge and so cannot be emailed or ftp'ed I'm afraid.
This is what I have tried so far:
Using SOS client connection to SourceSafe 2005 Server:
- Migrated database - Analyse and fix with SourceSafe 2005 => History problem
Restored database (file backup) - Last Analysed and fixed on SourceSafe 6.0 prior to migration => History Problem
- Original locked down database => No history issues
Restored database (file backup) - Last Analysed and fixed on SourceSafe 6.0 prior to migration => No History issues
If there is any additional information I can supply to aid tracking down this issue let me know.
Regards
Mark
Hi Beth,
This is the first time I have posted in this topic. I was searching the forums to see if anyone else had the same issue as myself and found this thread.
Was hoping there might have been some progress, otherwise I may have to revert back to SourceSafe 6.0 for reliable SOS access.
Regards
Mark
This is the first time I have posted in this topic. I was searching the forums to see if anyone else had the same issue as myself and found this thread.
Was hoping there might have been some progress, otherwise I may have to revert back to SourceSafe 6.0 for reliable SOS access.
Regards
Mark
Sorry, I didn't realize something new had started here. Are you using this with Visual Studio 2005? What happens if you try to view the history with only SOS?
Can you look through your SOS log.txt file that's located on the SOS Server machine at the point you have one of the history look ups fail and see if an error is generated?
What kind of project are you working with?
Can you look through your SOS log.txt file that's located on the SOS Server machine at the point you have one of the history look ups fail and see if an error is generated?
What kind of project are you working with?
Up until last week our remote developers had been accessing our SourceSafe 6.0 repositiory using the SOS client and from within VB6.
Locally we were accessing the repository using SourceSafe Explorer 6.0 and integrated with VB6, VS2003 and VS2005.
Our new Development Server hosts Team Foundation Server for a new R&D project that I have started. I also decided to migrate the SourceSafe 6 repository to this server and so installed VSS2005.
Current situation is our remote developers access our SourceSafe 2005 repositiory using the SOS client and from within VB6.
Locally we are now accessing the repository using SourceSafe Explorer 2005 and integrated with VB6, VS2003 and VS2005. We also have the R&D project using TFS.
This is an extract from the log when trying to retrieve a file (Note: All files reported to me with this issue up until now have been binary files)
Regards
Mark
Locally we were accessing the repository using SourceSafe Explorer 6.0 and integrated with VB6, VS2003 and VS2005.
Our new Development Server hosts Team Foundation Server for a new R&D project that I have started. I also decided to migrate the SourceSafe 6 repository to this server and so installed VSS2005.
Current situation is our remote developers access our SourceSafe 2005 repositiory using the SOS client and from within VB6.
Locally we are now accessing the repository using SourceSafe Explorer 2005 and integrated with VB6, VS2003 and VS2005. We also have the R&D project using TFS.
This is an extract from the log when trying to retrieve a file (Note: All files reported to me with this issue up until now have been binary files)
- 8/24/2006 8:18:00 AM - ****************************************************
8/24/2006 8:18:00 AM - SourceOffSite Server 4.1.2 Professional - With Cryptography
8/24/2006 8:18:00 AM - CurrentCulture is en-US.
8/24/2006 8:18:01 AM - Server Information
8/24/2006 8:18:01 AM - Operating System: Microsoft(R) Windows(R) Server 2003, Enterprise Edition
8/24/2006 8:18:01 AM - Service Pack: 1.0
8/24/2006 8:18:01 AM - OS Version: 5.2.3790
8/24/2006 8:18:01 AM - Locale: Ox0809
8/24/2006 8:18:01 AM - OSLanguage: 1033
8/24/2006 8:18:01 AM - Total Physical Memory: 2 GB
8/24/2006 8:18:01 AM - Time Zone: (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London
8/24/2006 8:18:01 AM -
8/24/2006 8:18:01 AM - SSAPI.dll Information:
8/24/2006 8:18:01 AM - Location: file:///C:/Program Files/SourceOffSite Server/Interop.SourceSafeTypeLib.DLL
8/24/2006 8:18:01 AM - DisplayName: Interop.SourceSafeTypeLib, Version=5.1.0.0, Culture=neutral, PublicKeyToken=null
8/24/2006 8:18:01 AM -
8/24/2006 8:18:01 AM - Started at 8/24/2006 8:18:01 AM
8/24/2006 8:18:01 AM - General logging level is Error. Method logging is Enabled.
...
...
...
8/24/2006 9:00:20 AM - 5: Exit GetFileList(): $/U-I Centric Business Objects/Q4SD/Q4SD809
8/24/2006 9:00:28 AM - 5: Enter GetFileHistory()
8/24/2006 9:00:29 AM - 5: GetFileHistoryException: File or project not found
8/24/2006 9:00:29 AM - 8/24/2006 9:00:29 AM - Server Exception (400): OPERATION_FAILED
8/24/2006 9:00:29 AM - 5: Server Error: 400
Regards
Mark
Beth,
As a quick test, I configured our old server that still has SOS Server and SourceSafe 6 on it to reference the live 2005 database on our new server. The history is retrieved fine.
Looks like I will have to roll back to VSS 6.0 unless you have any other ideas. The changes in ssapi.dll for 2005 seem to be causing issues for SOS Server
Regards
Mark
As a quick test, I configured our old server that still has SOS Server and SourceSafe 6 on it to reference the live 2005 database on our new server. The history is retrieved fine.
Looks like I will have to roll back to VSS 6.0 unless you have any other ideas. The changes in ssapi.dll for 2005 seem to be causing issues for SOS Server
Regards
Mark
Mark:
While Beth is digging into this, can I ask you try something out?
On the machine with SOS 4.1.2 Server and VSS2005:
While Beth is digging into this, can I ask you try something out?
On the machine with SOS 4.1.2 Server and VSS2005:
- Start Visual SourceSafe Administrator.
- On the Tools menu, click Options.
- In the Options dialog box, click the TimeZone tab.
- Change the TimeZone setting for the database to <None Specified>. This setting is the first entry in the list.
- Click OK, and then quit Visual SourceSafe Administrator.
- Shutdown - Restart the SourceOffSite Server.
- Try the history query again.
Jeff Clausius
SourceGear
SourceGear
Same problem I'm afraid
- 8/25/2006 3:21:27 PM - Waiting for a connection....secure = True
8/25/2006 3:21:43 PM - Connection accepted from 192.168.0.32:2829 on local address 192.168.0.22:8890, session id is 1.
8/25/2006 3:21:43 PM - 1: Enter Authorized()
8/25/2006 3:21:45 PM - 1: Enter Login()
8/25/2006 3:21:45 PM - 1: Exit Login()
8/25/2006 3:21:46 PM - 1: Enter GetFileList()
8/25/2006 3:21:46 PM - Enter PinStatus()
8/25/2006 3:21:46 PM - Exit PinStatus()
8/25/2006 3:21:46 PM - 1: Exit GetFileList(): $/U-I Centric Business Objects/Q4SD/Q4SD809
8/25/2006 3:21:51 PM - 1: Enter GetFileHistory()
8/25/2006 3:21:51 PM - 1: GetFileHistoryException: File or project not found
8/25/2006 3:21:51 PM - 8/25/2006 3:21:51 PM - Server Exception (400): OPERATION_FAILED
8/25/2006 3:21:51 PM - 1: Server Error: 400
I haven't been able to reproduce this. As long as your database isn't over 100 GB we can take it in an ftp.
Just to make sure I have everything correct here, I have some more questions.
Just to make sure I have everything correct here, I have some more questions.
- --You can use that database normally in every other way except for retrieving a history?
--How many VSS databases do you have?
--Is this issue only present on some of them? And, if so, is it the entire database or with just some files?
--Have you run an analyze on your database (more information on that earlier in this thread)?
--Can you get a file history with VSS?
--Only remote users had an issue, or was it internal and remote?
Last edited by Beth on Tue Aug 29, 2006 9:27 am, edited 1 time in total.