Solved

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

Posted on 2009-07-01
2
2,590 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

726 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