Vault 6 not working on Windows Server 2008

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

Moderator: SourceGear

Post Reply
lelsteph
Posts: 2
Joined: Tue Sep 10, 2013 2:08 pm

Vault 6 not working on Windows Server 2008

Post by lelsteph » Tue Sep 10, 2013 2:33 pm

Hello

I am having serious difficulties to get Vault to be installed on Windows Server 2008 32 bits.
I was using version 5 before and I am willing to upgrade.
Installation went well with no error. I checked also the installation log and there is no error.
The 5.0 DB version was correctly upgraded.
What is failing is when at the end of the installation, the browser is launched to configure the license.
I am getting the errors as below.
I checked the IIS configuration and made sure in the ISAP or CGI Restriction the ASP.NET v4.0.30319 is allowed. The rest of my applications are .net 2.0.
I installed and un-installed 3 times already.
I hope you can help me to fix this situation :(

Errors are:


Server Error in '/VaultService' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Xml' (are you missing an assembly reference?)

Source Error:



Line 400: <add namespace="System.Web.UI.WebControls.WebParts" />
Line 401: <add namespace="System.Web.UI.HtmlControls" />
Line 402: <add namespace="System.Xml.Linq" />
Line 403: </namespaces>
Line 404:


Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config Line: 402

c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\6f1361b9\0035fa72_8acecb01\Interop.SourceSafe6TypeLib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\04cf392f\00441e50_34c7cd01\VaultService.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\8b77f355\0085443d_6424c901\AjaxControlToolkit.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\5e2c0c0f\003c6f20_34c7cd01\VaultLib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\0cdf68c1\00df5032_34c7cd01\DragnetSQLService.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\82f261b9\0009c647_34c7cd01\VaultWebLib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mobile\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\b85b59c7\00f03325_34c7cd01\DragnetLib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions.Design\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.Design.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\4baf1d53\002b8c2d_34c7cd01\SGAuth.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\4bf3c702\00af6345_34c7cd01\VaultServiceAPILib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\651a0422\00a2bfa5_ec7fcb01\ICSharpCode.SharpZipLib.NET20.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\6e46712f\0085ee2f_34c7cd01\vs.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\3367a93a\000c8233_34c7cd01\VaultServiceBase.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\d03be3d7\00af6345_34c7cd01\DragnetServiceLib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\4c57ec05\0036f748_34c7cd01\DragnetControlsLib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\45303e9f\00823244_34c7cd01\InlineEditExtender.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\2cf4a9a7\00823244_34c7cd01\VaultPluginClientLib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\f7c6d75c\00931537_34c7cd01\SosService.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\b712ac62\00c30224_34c7cd01\VCDiff.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\9e744d54\00c73888_0daec901\Interop.SourceSafe2005TypeLib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\6f992bd2\00931537_34c7cd01\DragnetServiceAPI.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\749cdb2b\0066e435_34c7cd01\VaultServiceSQL.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\assembly\dl3\9121a050\00b21f31_34c7cd01\VaultPluginLib.dll" /out:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\App_global.asax.elxdycfg.dll" /debug- /optimize+ /w:4 /nowarn:1659;1699;1701 /warnaserror- "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\App_global.asax.elxdycfg.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vaultservice\d3f7d833\c5a7253\App_global.asax.elxdycfg.1.cs"


Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1
Copyright (C) Microsoft Corporation. All rights reserved.

c:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config(402,22): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System.Xml' (are you missing an assembly reference?)
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config(389,18): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config(394,22): error CS0234: The type or namespace name 'DynamicData' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config(387,33): error CS0234: The type or namespace name 'DataAnnotations' does not exist in the namespace 'System.ComponentModel' (are you missing an assembly reference?)

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

Re: Vault 6 not working on Windows Server 2008

Post by lbauer » Tue Sep 10, 2013 3:11 pm

Was Vault 5 working on this server?

Could you send me the Vault installation log? It's called vault_install.log and would be in your user's temp directory on the Vault Server machine, %temp%.
Linda Bauer
SourceGear
Technical Support Manager

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

Re: Vault 6 not working on Windows Server 2008

Post by lbauer » Tue Sep 10, 2013 3:20 pm

Was Vault 5 on this machine before?

Is this a 32-bit Windows Server 2008?

Do you have the Full .NET Framework installed?

Could you send me the Vault_install.log file? It's in your user's temp directory on the Vault Server machine, %temp%.

Email me at support at sourcegear.com, ATTN: Linda.

Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

lelsteph
Posts: 2
Joined: Tue Sep 10, 2013 2:08 pm

Re: Vault 6 not working on Windows Server 2008

Post by lelsteph » Tue Sep 10, 2013 11:43 pm

Hello
  • - Was Vault 5 on this machine before? YES, fully working correctly
    - Is this a 32-bit Windows Server 2008? YES
    - Do you have the Full .NET Framework installed?I think so, downloaded from the MS site: dotNetFx40_Full_x86_x64.exe
    - Could you send me the Vault_install.log file? It's in your user's temp directory on the Vault Server machine, %temp%. YES
    - Email me at support at sourcegear.com, ATTN: Linda. OK I will try to find the link.
    - Please include a link to this forum post. OK
Thanks a lot, Best Regards, Stephane.

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

Re: Vault 6 not working on Windows Server 2008

Post by lbauer » Tue Sep 17, 2013 3:45 pm

The user had a web.config file in Inetpub\wwwroot that was pointing to the 2.0 assemblies, and since it was at a higher level than Vault Service, it took precedence over Vault's web.config, which targets the 4.0 Framework.

Once the unnecessary web.config file was removed, Vault started working.

HS:228660
Linda Bauer
SourceGear
Technical Support Manager

Post Reply