Unspecified error in 4.2 Client with VS 2008 under Vista
Moderator: SourceGear
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
Brian:
I'll need to recreate this setup and see what kind of problems I encounter using the link you posted. I'll report back when I have the results sometime tomorrow.
I'll need to recreate this setup and see what kind of problems I encounter using the link you posted. I'll report back when I have the results sometime tomorrow.
Jeff Clausius
SourceGear
SourceGear
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
I look forward to the response. Thank you.
Brian C Drab
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
Brian:
I created a blank solution, and added two projects within Visual Studio 2008. I placed the solution in a the following folder - "G:\Users\jclausius\Documents\Visual Studio 2008\projects\dev\vss\develop\vs2008\Solution2008". Next I added the entire solution (and sub projects) to Source Control using SourceOffSite.
Next, I added a mykey.snk file from the G:\Users\jclausius\Documents\Visual Studio 2008\projects\dev\vss\develop\ directory (which I created by hand). Visual Studio checked out the project file, but it also seemed to "copy" the file into my Project1\ directory. I closed Visual Studio, and deleted the mykey.snk file from Project1\. Next I edited Project1's project file, and changed the mykey.snk to "..\..\..\Docs\mykey.snk", saved the file and re-opened the Solution within VS 2008. This time around, Project1 had the key file listed but with a "small arrow" in the left corner indicating the file was not a part of the project's path. Finally, I highlighted the mykey.snk file from within the Solution Explorer, and from the menu, chose File -> Source Control -> Exclude mykey.snk from Source Control. Saved everything and checked the project back into SOS.
This seems like a setup you were trying to create from within your post. Would this work for you?
I created a blank solution, and added two projects within Visual Studio 2008. I placed the solution in a the following folder - "G:\Users\jclausius\Documents\Visual Studio 2008\projects\dev\vss\develop\vs2008\Solution2008". Next I added the entire solution (and sub projects) to Source Control using SourceOffSite.
Next, I added a mykey.snk file from the G:\Users\jclausius\Documents\Visual Studio 2008\projects\dev\vss\develop\ directory (which I created by hand). Visual Studio checked out the project file, but it also seemed to "copy" the file into my Project1\ directory. I closed Visual Studio, and deleted the mykey.snk file from Project1\. Next I edited Project1's project file, and changed the mykey.snk to "..\..\..\Docs\mykey.snk", saved the file and re-opened the Solution within VS 2008. This time around, Project1 had the key file listed but with a "small arrow" in the left corner indicating the file was not a part of the project's path. Finally, I highlighted the mykey.snk file from within the Solution Explorer, and from the menu, chose File -> Source Control -> Exclude mykey.snk from Source Control. Saved everything and checked the project back into SOS.
This seems like a setup you were trying to create from within your post. Would this work for you?
Jeff Clausius
SourceGear
SourceGear
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
OK, now unbind the solution and projects and rebind them. Does it work through Source Offsite?
Brian C Drab
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
I'll check. Is there a reason you are binding and then unbinding?
Jeff Clausius
SourceGear
SourceGear
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
It's almost always needed when converting our projects from a previous Visual Studio version to a new version. In addition there are times that we may want to change the binding if we move the solution from one project to another within VSS and many other times something quirky happens and the solution is always unbind and rebind. Let me know what you find.
Brian C Drab
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
OK. I received an error similar to the original posting:
Error: Unspecified error
File: vsee\pkgs\vssprovider\cmsscciabstractionlayer.cpp
Line number:5892
Error: Unspecified error
File: vsee\pkgs\vssprovider\cmsscciabstractionlayer.cpp
Line number:5892
- Attachments
-
- bind-1.jpg (244.36 KiB) Viewed 18140 times
Jeff Clausius
SourceGear
SourceGear
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
I'm uncertain exactly what is happening as SOS seems to be doing the right thing. VS is asking for a version of a file under version control, but SOS reports the file is not under SOS's control.
This does not seem to be isolated to SOS - see http://social.msdn.microsoft.com/forums ... 5d74cb819/ for an example of this same error with Visual SourceSafe.
As in this article, I tried an open from Source Control and this *DID* open the project. I told it to use the binding, and the project finally opened. That is one possible work-around. In any regards, I'll log a bug and we'll check to see exactly what behavior *should* be expected in this case and if applicable, have a fix in the next version of SOS.
Thanks.
This does not seem to be isolated to SOS - see http://social.msdn.microsoft.com/forums ... 5d74cb819/ for an example of this same error with Visual SourceSafe.
As in this article, I tried an open from Source Control and this *DID* open the project. I told it to use the binding, and the project finally opened. That is one possible work-around. In any regards, I'll log a bug and we'll check to see exactly what behavior *should* be expected in this case and if applicable, have a fix in the next version of SOS.
Thanks.
Jeff Clausius
SourceGear
SourceGear
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
I tried to click on the link that you provided however it doesn't work. Maybe you have to be a member of social.msdn.microsoft.com or something. In any event the binding works fine when using Visual SourceSafe 2005 so if it was a bug in their product it no longer is.
Thanks for taking the time to look into this and I look forward to the fix.
Thanks for taking the time to look into this and I look forward to the fix.
Brian C Drab
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
This link might work - http://www.the3factory.com/post/2008/04 ... ercpp.aspx
When we start working on the IDE client for the next version, we'll investigate to see what exactly what is going on.
When we start working on the IDE client for the next version, we'll investigate to see what exactly what is going on.
Jeff Clausius
SourceGear
SourceGear
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
Indeed it did, thanks. In this instance the user appears to have been mixing sourcesafe options using the VSS IDE as well as the Visual Studio IDE so I could see this happening. In our instance we are properly using only the Visual Studio IDE.
Brian C Drab
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
Yes, but the error is related. In any case, we'll investigate the issue. Thanks for the report.
Jeff Clausius
SourceGear
SourceGear
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
Can you verify for me that this is now fixed in the current version? Before I upgrade I would like to know.
Thanks.
Thanks.
Brian C Drab
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
SOS was tested with VS 2008 and Vista and Windows 7, so I think this should be fine now. I'll do a little more checking to see about this specific case.
If the project you are working with is a Setup project, then let me know. That might be a special case separate from all other project types.
If the project you are working with is a Setup project, then let me know. That might be a special case separate from all other project types.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Unspecified error in 4.2 Client with VS 2008 under Vista
I never heard back from you but I'm happy to report that this issue is resolved with the current 5.0.2 client. We no longer have to use Visual Source Safe 2005 for this scenario.
Brian C Drab