Web Vault Reports giving an run time error message

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

Posts: 12
Joined: Wed Sep 19, 2012 6:53 am
PostPosted: Tue Jan 31, 2017 1:55 pm
Server Error in '/VaultService' Application.

Runtime Error
Description: 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.

Details: 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".



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

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


Notes: 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.



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

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

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Tue Jan 31, 2017 2:27 pm
Have you installed the Microsoft ReportViewer runtime? See this KB article: viewtopic.php?f=13&t=21868.
Beth Kieler
SourceGear Technical Support

Posts: 12
Joined: Wed Sep 19, 2012 6:53 am
PostPosted: Wed Feb 01, 2017 10:28 am
We installed MS report Viewer 2012 runtime, but are still getting the error.

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Wed Feb 01, 2017 10:48 am
And you have the Microsoft System CLR Types?

Which OS are you running on the Server and which version of SQL Server are you using?
Beth Kieler
SourceGear Technical Support

Posts: 12
Joined: Wed Sep 19, 2012 6:53 am
PostPosted: Wed Feb 01, 2017 12:15 pm
Yes, the Microsoft System CLR Types for SQL Server 2012 (x64) is installed
And the Microsoft Report Viewer 2012 Runtime is installed.
The OS is Windows Server 2012

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Wed Feb 01, 2017 2:30 pm
Are you trying the page in a browser right on the server or on a client machine? If on the client, try on the server and vice versa. I'll need to see an error to understand what's going wrong. The current error just tells us there is an error and we can't view it.
Beth Kieler
SourceGear Technical Support

Posts: 12
Joined: Wed Sep 19, 2012 6:53 am
PostPosted: Wed Feb 01, 2017 2:41 pm
Here is the error I get on the server


Server Error in '/VaultService' Application.

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.

Source Error:



Line 1: <%@ Page Title="bogustext" Language="C#" MasterPageFile="~/VaultWeb/VaultWebMaster.Master" AutoEventWireup="true" CodeBehind="LastActivityReport.aspx.cs" Inherits="VaultService.VaultWeb.LastActivityReport" %>
Line 2: <%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
Line 3: <%@ Register TagPrefix="uc2" TagName="WebRepository1" Src="../UserControls/WebRepository.ascx" %>
Line 4: <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderOnVaultWeb" runat="server">


Source File: /VaultService/VaultWeb/LastActivityReport.aspx Line: 2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' could not be loaded.



WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].




Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1069.1

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Wed Feb 01, 2017 4:07 pm
Do you have the 4.5 .NET framework installed?

Can you try a machine reboot?
Beth Kieler
SourceGear Technical Support

Posts: 12
Joined: Wed Sep 19, 2012 6:53 am
PostPosted: Thu Feb 02, 2017 9:48 am
The re-boot seems to have fixed the problem with getting the error message.

Now having problem with running the report Label Contents

I select the repository I'm interested in.
I type in the label name that I want.
I put in the repository path of the highest level in the repository
I click run Run Report and I get no results.

I expected to get a list of all items that have that label, or am I miss-understanding the purpose of this report?

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Thu Feb 02, 2017 9:57 am
Are you entering in the path at which the label was applied?
Beth Kieler
SourceGear Technical Support

Posts: 12
Joined: Wed Sep 19, 2012 6:53 am
PostPosted: Thu Feb 02, 2017 9:59 am
Yes, I've tried that too.

Posts: 8448
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Thu Feb 02, 2017 10:28 am
Could you send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread? That way I can set up to take a closer look at what's happening.

HS: 247427
Beth Kieler
SourceGear Technical Support

Return to Support (Vault Professional)

Who is online

Users browsing this forum: No registered users and 2 guests

cron