Server Error in '/VaultService' Application

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

Moderator: SourceGear

Post Reply
JohnS
Posts: 14
Joined: Wed Sep 09, 2009 12:22 pm

Server Error in '/VaultService' Application

Post by JohnS » Wed Sep 09, 2009 12:26 pm

Hi,

I'm trying to evaluate Vault 5.01 and at the last step of the install, where it was supposed to open the Vault admin page, I get this instead. The OS is Windows Server 2003, and I followed the instructions in the Install page (http://www.sourcegear.com/vault/support/install/). One thing that was different is that it was showing ASP.NET version 2.0 something, but mine has ASP.NET version 1.1.4322.2407.

Any help would be appreciated.

JohnS
Posts: 14
Joined: Wed Sep 09, 2009 12:22 pm

Re: Server Error in '/VaultService' Application

Post by JohnS » Wed Sep 09, 2009 2:11 pm

In case you want more details, this is the full error text:

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'type'.

Source Error:

Line 2: <configuration>
Line 3: <configSections>
Line 4: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Line 5: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Line 6: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>

Source File: C:\inetpub\wwwroot\VaultService\web.config Line: 4
________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407

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

Re: Server Error in '/VaultService' Application

Post by lbauer » Wed Sep 09, 2009 2:26 pm

You may need to fix IIS mappings for ASP.NET.

First, make sure you have the .NET Framework 3.5 installed. Then register the 2.0 framework:

1. Click Start, and then click Run.
2. In the Open text box, type cmd, and then press ENTER.
3. At the command prompt, type the following, and then press ENTER:
"%windir%\Microsoft.NET\Framework\C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

The .NET 3.5 framework is an update to 2.0, so doesn't get registered itself.
Linda Bauer
SourceGear
Technical Support Manager

JohnS
Posts: 14
Joined: Wed Sep 09, 2009 12:22 pm

Re: Server Error in '/VaultService' Application

Post by JohnS » Wed Sep 09, 2009 2:33 pm

Thanks! I thought it might be something simple. The command had to be formatted as follows:

"%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" -i

When I did that, I got a message "Start installing ASP.NET (2.0.50727)" and once that was completed, the vault admin page came up just fine.

Thanks,
John

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

Re: Server Error in '/VaultService' Application

Post by lbauer » Thu Sep 10, 2009 10:08 am

Thanks for the update. Glad that worked and yes, unless you cd into the v2.0.50727 folder to run the aspnet_regiis.exe -i
command, you do need the quotation marks around the path name.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply