New KB article: The system Center Operations Manager 2007 web console fails to open with "Error: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0"

image When installing the System Center Operations Manager 2007 R2 Web Console on a server running Windows Server 2008, the setup process completes successfully but the following errors occur when attempting to open the web console:

Server Error in '/' 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.

If remote errors are enabled in the web.config file, the following error should also appear in the browser:

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. (C:\Program Files\System Center Operations Manager 2007\Web Console\web.config line 83) (C:\Program Files\System Center Operations Manager 2007\Web Console\web.config line 50)
Source Error:

Line 48: <httpModules>
Line 49: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
Line 50: <add name="RequestManager" type="Microsoft.EnterpriseManagement.OperationsManager.WebConsole.RequestManager" />
Line 51: </httpModules>
Line 52: <!--
 

Source File: C:\Program Files\System Center Operations Manager 2007\Web Console\web.config Line: 50

In the Application event log on the server hosting the web console, you may also see the following event:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
User: N/A
Description:
Event code: 3008
Event message: A configuration error has occurred.
Event time: <Time>
Event time (UTC): <UTC Time>
Event ID: dadadf80bdae40aba74497495d549348
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT-1-129050434759652361
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\System Center Operations Manager 2007\Web Console\
Machine name: <Computer Name>
Process information:
Process ID: 3988
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: ConfigurationErrorsException
Exception message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. (C:\Program Files\System Center Operations Manager 2007\Web Console\web.config line 83) (C:\Program Files\System Center Operations Manager 2007\Web Console\web.config line 50) (C:\Program Files\System Center Operations Manager 2007\Web Console\web.config line 50)
Request information:
Request URL: https://localhost:51908/default.aspx
Request path: /default.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.Configuration.HttpModuleAction.get_Entry()
at System.Web.Configuration.HttpModulesSection.CreateModules()
at System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers)
at System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context)
at System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)

For all the latest information including the resolution see the following Knowledge Base article:

KB2010168 - The system Center Operations Manager 2007 web console fails to open with "Error: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0"

J.C. Hornbeck | System Center Knowledge Engineer

clip_image001 clip_image002

Bookmark and Share