SourceOffSite corrupting Visio files
Moderator: SourceGear
SourceOffSite corrupting Visio files
Sorry if this has been asked before, but i could not find anything.
Most of the time when i upload Visio drawings into SourceOffSite, i cannot open them back. The error i am getting is (generated by Visio):
+++++++
An error (100) occurred during the action Open File.
Visio cannot open the file because it's not a Visio file or it has become corrupted.
+++++++
The file is usually just fine, until the moment i check it in.
The error is only displayed if i try to VIEW the file. If i CHECK OUT file for editing, it seems to be ok.
I am using SourceOffSite Classic 4.1.2 and Microsoft Visio 2003.
Thank you
Most of the time when i upload Visio drawings into SourceOffSite, i cannot open them back. The error i am getting is (generated by Visio):
+++++++
An error (100) occurred during the action Open File.
Visio cannot open the file because it's not a Visio file or it has become corrupted.
+++++++
The file is usually just fine, until the moment i check it in.
The error is only displayed if i try to VIEW the file. If i CHECK OUT file for editing, it seems to be ok.
I am using SourceOffSite Classic 4.1.2 and Microsoft Visio 2003.
Thank you
When you view a file, SOS uses the setting in Tools->Options->External Programs->Application for viewing and editing files. If nothing is configured, SOS uses the default application for the specific extension (like Notepad for .txt files). Or, if a specific app is configured, SOS uses that.
It's possible that SOS is not making the association between Visio and files with a Visio extension. Or perhaps you have an app configured that can't open Visio files.
If you configure the path to the Visio.exe in External programs, do the files open properly?
It's possible that SOS is not making the association between Visio and files with a Visio extension. Or perhaps you have an app configured that can't open Visio files.
If you configure the path to the Visio.exe in External programs, do the files open properly?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Linda, thank you for reply.
SOS does seem to have association set up correctly as it does open MS Visio when i double click on a file in SOS. The error message i get is displayed by Visio, not by SOS
i was wrong saying that behavior only occurs when viewing the file but not when editing. Just now i tried to check out the file and edit it and it comes up with the error again. Basically all the versions of the file i had had been replaced with the corrupt version from Visio, so file is lost
There is something in SOS that corrupts Visio 2003 files. This is not the first time it happened unfortunately. Does not seem to happen with some of the simpler Visio files, but it almost always corrupts it if Visio file is complicated
SOS does seem to have association set up correctly as it does open MS Visio when i double click on a file in SOS. The error message i get is displayed by Visio, not by SOS
i was wrong saying that behavior only occurs when viewing the file but not when editing. Just now i tried to check out the file and edit it and it comes up with the error again. Basically all the versions of the file i had had been replaced with the corrupt version from Visio, so file is lost
There is something in SOS that corrupts Visio 2003 files. This is not the first time it happened unfortunately. Does not seem to happen with some of the simpler Visio files, but it almost always corrupts it if Visio file is complicated
I'll bet that SrcSafe isn't recognizing the visio file as a binary file all the time. Try using the SourceSafe interface (not SOS) and telling it to explicity treat the Visio filename extension as a binary file. I forget exactly where to do this -- I think it's in the SrcSafe Admin application. If you don't explicitly define a filename extension as binary, SrcSafe tries to detect it automatically by looking at the file contents. This could explain why it works for some files, but not othere.
Same error message
I have mulitiple Visio files on a network drive here at work. If I try to open from my network drive, I get the same error message: an error (100) occured during the action open file. visio cannot open the file because it's not a visio file or it has become corrupted.
If I copy the file and paste to my desktop, the file opens without issue. I have a similar issue with Microsoft Project .
If I copy the file and paste to my desktop, the file opens without issue. I have a similar issue with Microsoft Project .
Re: Same error message
I have a similar situation with MS Project. All the above applies, except I get:dsnethen wrote:I have mulitiple Visio files on a network drive here at work. If I try to open from my network drive, I get the same error message: an error (100) occured during the action open file. visio cannot open the file because it's not a visio file or it has become corrupted.
If I copy the file and paste to my desktop, the file opens without issue. I have a similar issue with Microsoft Project .
An unexpected problem occured while opening the file. The file may be damaged. Try using a backup copy.
There have reports of Visual SourceSafe corrupting binary files. What version of the VSS automation component is on the SOS Server machine? Here's how to find out:
http://support.sourcegear.com/viewtopic.php?t=1510
Also, are your users using cable modems, or is there a Linksys router between the SOS client and server?
http://support.sourcegear.com/viewtopic.php?t=1510
Also, are your users using cable modems, or is there a Linksys router between the SOS client and server?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager