Unable to connect to service, ApplicationHost file not found

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
JulieL
Posts: 3
Joined: Tue Jan 23, 2007 12:05 pm

Unable to connect to service, ApplicationHost file not found

Post by JulieL » Thu May 24, 2007 8:42 am

I have been using the 3.5.2. preview for a while. Recently when trying to open any vault dependent application in VS2005 or trying to open Vault Client or trying to open Vault admin, I am getting an error:

Unable to connect to http://localhost/VaultService. No server was found at the specified URL.

More details in the error message:

Server Error in '/VaultService' Application.

Could not load file or assembly 'System.ApplicationHost, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified

This is on Vista Ultimate 32 bit.
I have restarted the machine so that IIS7 restarts.
I uninstalled the preview and installed the released version of 3.5.2.

My other apps work fine.

I can open up IIS7 (always running as admin) and browse the vault service, getting the default page. But if I try to click on the links forVaultService.asmx or VaultWeb/login.aspx, I get the file not found error for System.ApplicationHost.

I checked that the IIS6 compatibility settings are still checked. I have a few more of those options enabled than the two you recommend.

I am guessing it is something with IIS7, but just this applicaiton, since I am able to browse asmx files in other applications.

Thanks for any help.

Julie

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu May 24, 2007 3:51 pm

Did something change on this machine prior to this problem? Were any updates installed, permissions changed?
Linda Bauer
SourceGear
Technical Support Manager

JulieL
Posts: 3
Joined: Tue Jan 23, 2007 12:05 pm

Post by JulieL » Thu Jun 07, 2007 8:57 am

Hi Linda sorry for the Loooong delay! :-)

I had been mucking with IIS7 to solve a different problem.

So, I uninstalled Vaul Server; uninstalled IIS7; reinstalled iis7; reset the IIS6 compatability settings; reinstsalled Vault. At first when trying to browse to the asmx or aspx links from the default page (serverInstall.html) I was getting mime errors ... seemed not to be recognizing asmx or aspx.

So I then ran aspnet_regiis -ir to reinstall asp.net 2.0 on top of IIS.

Sadly the original problem then came back - the error stating that system.applicationHost version 7.0.0.0 could not be loaded.

Any ideas of what else I should be looking at?

Thanks

Julie

JulieL
Posts: 3
Joined: Tue Jan 23, 2007 12:05 pm

Post by JulieL » Mon Jun 11, 2007 10:16 am

Solved !

I switched the VaultApp application pool to use the IIS7 Integrated pipeline instead of the classic.

Post Reply