Solved

An error occurred while parsing the configuration file. The ReportServerVirtualDirectory element is missing.

Posted on 2009-07-01
2
2,536 Views
Last Modified: 2012-05-07
Please help me get past the error below when trying to access the Reports home page for SRS 2005 on Windows 2008 with IIS 7.0.
Server Error in '/SRS' Application.

--------------------------------------------------------------------------------
 

An error occurred while parsing the configuration file. The ReportServerVirtualDirectory element is missing. 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
 

Exception Details: System.Exception: An error occurred while parsing the configuration file. The ReportServerVirtualDirectory element is missing.
 

Source Error: 
 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
 

Stack Trace: 
 
 

[Exception: An error occurred while parsing the configuration file. The ReportServerVirtualDirectory element is missing.]

   Microsoft.ReportingServices.Diagnostics.RSConfiguration.ThrowElementMissing(String element) +45

   Microsoft.ReportingServices.Diagnostics.UIConfiguration.ParseXML(XmlNode node, RSConfiguration configObject) +1281

   Microsoft.ReportingServices.Diagnostics.RSConfiguration.ParseDocument() +1017

   Microsoft.ReportingServices.Diagnostics.RSConfiguration.Load() +48
 

[ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information.]

   Microsoft.ReportingServices.Diagnostics.RSConfiguration.Load() +171

   Microsoft.ReportingServices.Diagnostics.RSConfiguration.Construct(String configFileName) +67

   Microsoft.ReportingServices.Diagnostics.RSConfiguration..ctor(String configFileName, String location) +298

   Microsoft.ReportingServices.Diagnostics.RSConfigurationManager..ctor(String configFileName, String configLocation) +121

   Microsoft.ReportingServices.UI.Global.get_ConfigurationManager() +102

   Microsoft.ReportingServices.UI.GlobalApp.Application_Start(Object sender, EventArgs e) +32

Open in new window

0
Comment
Question by:apitech
2 Comments
 
LVL 18

Expert Comment

by:awawada
ID: 24757091
0
 
LVL 1

Accepted Solution

by:
apitech earned 0 total points
ID: 24757194
Disregard...I solved:

Solution:

You have to find the RSWebApplication.config file and put this on the fourth line:

<ReportServerVirtualDirectory>ReportServer</ReportServerVirtualDirectory>
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Back in July, I blogged about how Microsoft's new server pricing model, combined with the end of the Small Business Server package, would result in significant cost increases for many small businesses (see SBS End of Life: Microsoft Punishes Small B…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now