Error logging in after Fortress to VaultPro 5.1.1 upgrade

If you are having a problem using Vault, post a message here.
Post Reply
alex.barry
Posts: 6
Joined: Mon Mar 30, 2009 6:38 am

Error logging in after Fortress to VaultPro 5.1.1 upgrade

Post by alex.barry » Tue Mar 15, 2011 10:06 am

We just upgraded Fortress 2 to VaultPro 5.1.1. When logging in, users get an error message in HTML. Is there any way to retrieve the error message without logging in on the server? Any ideas what may have gone wrong?



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>Runtime 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 '/' Application.<hr width=100% size=1 color=silver></H1>

<h2> <i>Runtime Error</i> </h2></span>

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

<b> Description: </b>An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
<br><br>

<b>Details:</b> To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".<br><br>

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

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration></pre></code>

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

<br>

<b>Notes:</b> The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.<br><br>

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

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration></pre></code>

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

<br>

</body>
</html>

--.

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

Re: Error logging in after Fortress to VaultPro 5.1.1 upgrad

Post by lbauer » Tue Mar 15, 2011 2:18 pm

Can you connect with a web browser to http://<vaultservername>/vaultservice?

What about http://<vaultservername>/vaultservice/vaultservice.asmx?
Linda Bauer
SourceGear
Technical Support Manager

alex.barry
Posts: 6
Joined: Mon Mar 30, 2009 6:38 am

Re: Error logging in after Fortress to VaultPro 5.1.1 upgrad

Post by alex.barry » Wed Mar 16, 2011 5:45 am

When I connect to http//host/vaultservice, I get the "vault professional server installation" page. Nothing looks strange there. When I connect to http://host/VaultService/vaultservice.asmx, I get a "VaultService Web Service" page, with a list of operations.

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

Re: Error logging in after Fortress to VaultPro 5.1.1 upgrad

Post by lbauer » Wed Mar 16, 2011 1:00 pm

If you try to log in from the Vault Service page, do you get the same error? For further troubleshooting, you'll need access to the Vault Server machine.

We'd like to see a copy of the Vault Server log. It's called sgvault.log and is in %windir%\temp\sgvault on the server machine.
Linda Bauer
SourceGear
Technical Support Manager

alex.barry
Posts: 6
Joined: Mon Mar 30, 2009 6:38 am

Re: Error logging in after Fortress to VaultPro 5.1.1 upgrad

Post by alex.barry » Wed Mar 16, 2011 2:04 pm

I can log in from the http://<vaultservername>/vaultservice page with no errors. I don't have admin access to the SQL server, so I'm requesting that file from IT. I'll post it shortly.

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

Re: Error logging in after Fortress to VaultPro 5.1.1 upgrad

Post by lbauer » Wed Mar 16, 2011 3:10 pm

Might be best to send the log zipped up to support at sourcegear.com, Attn: Linda. Please include a link to this forum post.

So you're getting the HTML error when logging in with the Vault GUI Client, but no the Web Client?
Linda Bauer
SourceGear
Technical Support Manager

Post Reply