Error Running Vault Admin Report

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

Moderator: SourceGear

Post Reply
dsalter
Posts: 71
Joined: Wed Dec 15, 2010 9:02 am

Error Running Vault Admin Report

Post by dsalter » Fri Apr 27, 2018 8:46 am

All Vault reports are generating an error.

Vault 10.

Running the Checked out items report gives me:


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>

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

Re: Error Running Vault Admin Report

Post by Beth » Fri Apr 27, 2018 9:44 am

A better error can be found by trying that page in a browser right on the Vault server itself. When you try it there, what does it say?

It's possible you need the Reportviewer 2012 Runtime. More information about that can be found here: viewtopic.php?f=13&t=21868.
Beth Kieler
SourceGear Technical Support

umashankar
Posts: 1
Joined: Sat May 12, 2018 2:24 am

Re: Error Running Vault Admin Report

Post by umashankar » Sat May 12, 2018 2:29 am

Hi Beth, Vault is constantly crashing in my PC. I upgraded to Windows 10 yesterday and I am facing this issue after that. Can you please help me?
What's appropriate section to post error log?
Recently contributed TeamViewer Alternatives

joe_sg
Posts: 27
Joined: Tue Oct 28, 2008 1:20 pm
Location: SourceGear

Re: Error Running Vault Admin Report

Post by joe_sg » Mon May 14, 2018 10:56 am

Umashankar: Please post to the appropriate Vault or VaultProfessional support form and attach the relevant sections of your logs. Thanks.
Joe Ream
SourceGear Technical Support

dsalter
Posts: 71
Joined: Wed Dec 15, 2010 9:02 am

Re: Error Running Vault Admin Report

Post by dsalter » Fri Jun 22, 2018 9:13 am

Installed Reportviewer on the server and tried to run the report from the server. Still getting errors:

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" ClientIDMode="Static" AutoEventWireup="true" CodeBehind="CheckedOutItemsReport.aspx.cs" Inherits="VaultService.VaultWeb.CheckedOutItemsReport" %>
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="uc1" TagName="ShowFolderGrid" Src="ShowFolderGrid.ascx" %>
Line 4: <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderOnVaultWeb" runat="server">

Source File: /VaultService/VaultWeb/CheckedOutItemsReport.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].

Tonya
Posts: 862
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Error Running Vault Admin Report

Post by Tonya » Fri Jun 22, 2018 2:19 pm

Did you reset IIS after you installed the Reportviewer? If not, can you please do an iisreset to see if that helps?

Thanks,

Tonya

dsalter
Posts: 71
Joined: Wed Dec 15, 2010 9:02 am

Re: Error Running Vault Admin Report

Post by dsalter » Tue Nov 20, 2018 10:22 am

Hi. I finally have a chance to get back to this. I did an IISRESET on the Vault server and still receive an error. Same error no matter what report I try to run:


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>

dsalter
Posts: 71
Joined: Wed Dec 15, 2010 9:02 am

Re: Error Running Vault Admin Report

Post by dsalter » Tue Nov 20, 2018 10:26 am

I ran the report on the server... this is the error:

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" ClientIDMode="Static" AutoEventWireup="true" CodeBehind="CheckedOutItemsReport.aspx.cs" Inherits="VaultService.VaultWeb.CheckedOutItemsReport" %>
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="uc1" TagName="ShowFolderGrid" Src="ShowFolderGrid.ascx" %>
Line 4: <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderOnVaultWeb" runat="server">

Source File: /VaultService/VaultWeb/CheckedOutItemsReport.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].

dsalter
Posts: 71
Joined: Wed Dec 15, 2010 9:02 am

Re: Error Running Vault Admin Report

Post by dsalter » Tue Nov 20, 2018 10:55 am

Fixed it!

In IIS I had Forms Authentication Disabled. Once enabled, it works.

Tonya
Posts: 862
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Re: Error Running Vault Admin Report

Post by Tonya » Tue Nov 20, 2018 12:03 pm

Great, glad to hear! Thank you for the update.

If you need further assistance, please let us know.

Tonya

Post Reply