Version 5 to 6 upgrade issue

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

Moderator: SourceGear

Post Reply
pharry
Posts: 5
Joined: Mon Jan 21, 2013 12:50 am

Version 5 to 6 upgrade issue

Post by pharry » Mon Jan 21, 2013 1:16 am

Hi,

I am upgrading Source Vault Standard from 5.1.1.19215 to 6.0.1.598 and I am getting the following error when trying to logon to the admin client.

The server is a windows 2003 32-bit server and I have verified that I have .Net Framework 4 client profile and .Net Framework 4 Extended installed.

I have also run :

"C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe" -i

Which competed successfully.

I have restart the server but I am still getting the following error:

Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

Line 11: debugging ASP .NET files.
Line 12: -->
Line 13: <compilation defaultLanguage="c#" debug="false" targetFramework="4.0">
Line 14: <assemblies>
Line 15: <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

If I try the client I get the following message.

Unable to connect to http://sdg1/VaultService. No server was found at the specified URL. Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client. Web Exception: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<html>
<head>
<title>Configuration Error</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>

<body bgcolor="white">

<span><H1>Server Error in '/VaultService' Application.<hr width=100% size=1 color=silver></H1>

<h2> <i>Configuration Error</i> </h2></span>

<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

<b> Description: </b>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.
<br><br>

<b> Parser Error Message: </b>Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.<br><br>

<b>Source Error:</b> <br><br>

<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>

Line 11: debugging ASP .NET files.
Line 12: -->
<font color=red>Line 13: <compilation defaultLanguage="c#" debug="false" targetFramework="4.0">
</font>Line 14: <assemblies>
Line 15: <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></pre></code>

</td>
</tr>
</table>

<br>

<b> Source File: </b> C:\inetpub\wwwroot\VaultService\web.config<b>    Line: </b> 13
<br><br>

<hr width=100% size=1 color=silver>

<b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.3643; ASP.NET Version:2.0.50727.3634

</font>

</body>
</html>
<!--
[ConfigurationErrorsException]: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. (C:\inetpub\wwwroot\VaultService\web.config line 13)
at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)
[HttpException]: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. (C:\inetpub\wwwroot\VaultService\web.config line 13)
at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
-->
--.

TIA

Paul.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Version 5 to 6 upgrade issue

Post by Beth » Mon Jan 21, 2013 11:20 am

Make sure that the 4.0 .NET framework is set to Allowed in Web Service Extensions. Looking in your IIS Manager for the Web Service Extensions setting.

Next, check that vaultservice and the other parts of Vault are all set to use the 4.0 .NET framework. In your IIS Manager, right-click vaultservice and select Properties. Click on the ASP.NET tab. There will be a dropdown that allows you to select the 4.0 .NET framework to be set if it is showing other than 4.0.
Beth Kieler
SourceGear Technical Support

pharry
Posts: 5
Joined: Mon Jan 21, 2013 12:50 am

Re: Version 5 to 6 upgrade issue

Post by pharry » Mon Jan 21, 2013 2:24 pm

Thanks Beth, that did the trick I needed to make all the changes you suggested.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Version 5 to 6 upgrade issue

Post by Beth » Mon Jan 21, 2013 2:36 pm

Thank you for the update. I'm happy to hear you're working now.
Beth Kieler
SourceGear Technical Support

Post Reply