Jyrgomatic

Hi.

Sorry if this question has been up before.

I switched to Vista yesterday, and spent some hours setting up VS 2005, service packs and the lots, only to discover that I cannot access our VSS remotely (using the VSS Internet Plugin).

I've installed both VS 2005 SP1 and the SP1 Vista update. I've installed the SSL Certificate. I've "duplicated" my user account on the server (W2K3) and in VSS. I've checked all settings, according to Alin's guide, but as I connect to the Web Service (after supplying my username and password), the following error occurs:

The SourceSafe Web Service cannot be accessed at the specified address.

Address: https://xx.xx.xx/SourceSafe/VssService.asmx
The server return the following error: Unspecified error (0x80004005)

The plug-in advanced settings for SourceSafe Internet require SSL connections. Please, verify that your server can be accessed using secure connections or change your plug-in advanced settings.

...where xx.xx.xx is the server address, ofcourse.

Everything works fine on XP, and I've spent time enough double checking every setting.

Anyone out there with the same problem The only difference between a working setup and a non working setup is the OS.

Sincerely

/ Jorgen, Stockholm Sweden



Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

Barry Tu MSFT

Jorgen,

Did you verify that your Vista machine could even see/contact your server machine (in your case, Win2k3) by ping'ing it using server name and IP address (try both if you haven't already) If your Vista machine cannot even see or contact your server machine then VSS internet plugin will not work until you fiddle with the networking settings on Vista.

Thanks,

Barry





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

Jyrgomatic

Hi Barry.

I had (or have) no problems contacting the machine. I installed the certificate by surfing to it; I can reach it by it's network shares; I can ping it and manage it by RDC.

The one thing I cannot do is to reach it via VSS/VS 2005, which - ironically - is the one thing I really need.

/ Jorgen





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

Alin Constantin - MSFT

Hi Jorgen,

See if this forum post helps: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=335595&SiteID=1

(the guy had the same error on SSL and it looks like he fixed the problem by reinstalling the certificate).

Also, see http://msdn2.microsoft.com/en-us/vstudio/bb332348.aspx. There I see a section "Connection to SourceSafe Internet Service may fail with Visual Studio 2005 Service Pack 1"

If that doesn't help, I'd try enabling first the web service without SSL, make sure that everything works, then try again the SSL settings.

Alin





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

Jyrgomatic

Hi Alin, and thanks for the input.

It seems as though the certificate is the culprit, or rather (my installation of) Vista's problems accepting it. After some fiddling around with the certificate I finally got a new, understandable error message, stating that "The certificate authority is invalid or incorrect (0x80072F0D)". According to this guy:

http://geekularity.com/2007/02/02/installing-self-signed-ssl-certificates-in-vista/

...the only way to get an "self signed" certificate accepted is to import it into the ¡°Trusted Root Certification Authorities¡± store, and not let the browser choose where to put it.

Now I stand before another problem, which is to import it there. I've tried both through the browser (selecting the "TRCA" store), and through the certificate snap-in in MMC, and they both claim that the import succeded everytime, but they do not store the certificate. It never lists itself.

(I've disabled UAC; I run both programs as administrator)

I'll have a go again tomorrow. All ideas are welcome.

Thanks again!





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

Jyrgomatic

The story goes on..... I guess.

I finally managed to install the certificate (in Local Computer, not my user account). Browsing to the server no longer generates an invalid certificate error.

And now I'm back at the 0x80004005 error, stating that "The SourceSafe Web Service cannot be accessed at the specified address".

Just for the heck of it, we "mirrored" my installation on a box running XP Pro, and it worked just like it should.

Strange... indeed.





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

Alin Constantin - MSFT

Hm... I just setup a Vista machine to access a Win2003 server, and for me the only thing required was installing the certificate in the TRCA store for the local computer.

I had to run run IE as Administrator (otherwise the Install Certificate button was not visible on the certificate page), and in the Install Wizard I had to manually select the store (in the Select Certificate Store dialog I had to check "Show Physical Stores" and select in the tree "Trusted Root Certification Authorities \ Local Computer" node), otherwise the certificate ended up either in Personal or in TRCA for current user only.

I'm not sure what could cause the E_FAIL error (0x80004005) for you. I'd try first setting up VSS without SSL, just make sure you can access it from the Vista machine, then enable SSL on the database. Try accessing the VSS service from IE first and make sure that works fine, then try with VisualStudio. To debug the connections issues I'd use Fiddler from

http://www.fiddlertool.com/fiddler2

Alin





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

Jyrgomatic

Thanks for caring, Alin!

I've gotten it to work. Somehow..ish.

I disabled SSL, and checked the traffic with Fiddler (both using IE and VS2005), and got (still get) varying responses. Sometimes it worked, sometimes it didn't. I disabled customErrors and the "remove documentation" on the server, and by chance I could suddenly access the VSS.

When I restarted VS and tried to open it again, I got the 80004005, but when I reopened it again in the same session it worked.

This occured, and still occurs, while I step-by-step enabled customErrors and SSL: on the first attempt to open it i get the error, but on the second attempt it works.

Strange, indeed. I cannot give you a more accureate description of how I got this far,since everything I've done over the last hours are quite blurred Smile





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

simnova

I'm actually having the same issue. No SSL though, but still having the issue..

Everything worked fine under XP (VSS HTTP is on XP, but my development workstation is on Vista)





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

Joep Beusenberg

Yay! I finally got it working. VS2005 on a Vista machine using SourseSafe over HTTP using SSL.

To get it working I took the client-certificate, CA-certificate and the server-certificate and copied them (almost) everywhere in my certificate manager. Both in the certificatefolders of my useraccount and my local system, into personal, authorities and trusted parties... basically in all folders I could use 'paste'.

When I tried to connect to the sourcesafe-database it gave an error on the first attempt, but on the second try it accepted.

(I had that problem already using XP)

I hope someone can figure out where the certificates do need to go, so we won't all get tons of certificates in wrong places though.

Good luck.





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

TodG

I hadn't see this thread and created my own post on this same topic. From reading this thread, there does not seem to be any definitive answer from Microsoft on this problem. And, I can't seem to see any specific solution to this problem. Is this supposed to work Is Vista and the VSS plug-in compatible with vista (as a VSS client) If so, how are we supposed to resolve this (80072F19) error. I have gotten my TRCA certificate installed fine, but I can't get passed this E_FAIL scenario. In addition to the CA certificate, do I have to install a specific client for my machines (even though I have "ingore certificates" setup on the SourceSafe web service) This is all working from XP clients, so what twist is Vista adding for me here I'd really like to see some answers here since I don't want to scrap Vista and re-install XP just to get beyond this.





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

Richard Berg MSFT

I haven't encountered this error on Vista. Does it only happen with SSL When you added the TRCA did you do it from an elevated IE If your normal user is not an admin then I think there are separate certificate stores.




Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

GideonZ

I have the same problem, an 'Unspecified Error' with the SourceSafe Internet plugin in Visual Studio 2005 on Vista just after the login screen. I have installed the VS2005 SP 1 and the VS2005 SP1 Vista patch. The error is the same whatever I fill in in the share field or if I type a path name after the server name in the URL.

I have no problem accessing the URL with a browser, there is no certificate error. I removed the documentation line from the web.config and set CustomErrors to 'Off' so I get the 'The following operations are supported. ' info of the webservice. An other machine (XP, not sure if it has VS2005SP1) works fine.

Is there any way to get more information on what is going wrong The traffic is routed through an ISA server and the certificate is a wild card certificate (*.mycompany.nl) but when I contact the URL using a browser it works fine, so there shouldn't be a probem there, should there

Any help is appreciated.





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

Alin Constantin - MSFT

Hi Gideon,

For Unspecified errors messages try to get a minidump file and send it to someone in scci team

Unspecified errors usually mean a bug in the product rather than in configuration (or it means we could have had better error reporting around some specific scenario). See this page for how to capture the minidump:

http://www.alinconstantin.net/webdocs/scc/UnspecifiedError.htm

Alin





Re: Visual Studio Source Control and SourceSafe VS2005 + VSS Internet + Vista = bad

NashKate

Did you manage to resolve this

I¡¯m having the same problem with vs2005 sp1 and vista sp1. When I try to add sourcesafe database I get

The SourceSafe Web service cannot be accessed at the specified address

Address: http://vssserver/SourceSafe/VssService.asmx

The server returned the following error: Unspecified error (0x80004005)

We not using SSL and it works fine with vs2005 on xp.