IIS Error

ramziabk used Ask the Experts™
I'm getting this error when running my website.

Server Error in '/WebReporting' Application.

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 'System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (C:\Inetpub\wwwroot\WebReporting\web.config line 295)

Source Error:

Line 293:    </httpHandlers>
Line 294:    <httpModules>
Line 295:      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 296:    </httpModules>
Line 297:  </system.web>

Source File: C:\Inetpub\wwwroot\WebReporting\web.config    Line: 295
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Check the framework that you have pointed is similar in visual studio and in IIS


There was a difference in the framework. I reinstalled .Net and now I'm getting the following

HTTP Error 500.0 - Internal Server Error
Calling LoadLibraryEx on ISAPI filter "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\\aspnet_filter.dll" failed
Get a command prompt in administrator mode and go to C:\Windows\Microsoft .NET\FrameWork64\v4.xxx

and run aspnet_regiis -r.  This will re-register the right libraries.

if not working ..do this :

Create a new site and new app pool,
Any specific reason for grading C?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial