[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 411
  • Last Modified:

Browser can't open a local aspx page

What would cause this error message?

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=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (C:\src\chwweb100813\web.config line 52)

Source Error:

Line 50:             </httpHandlers>
Line 51:             <httpModules>
Line 52:                   <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 53:             </httpModules>
Line 54:       </system.web>

Source File: C:\src\chwweb100813\web.config    Line: 52

The person getting this error is running a local IIS and has .net framework installed. We are all sharing this web site project via source control, so would a change in actual paths between different people who get the files from source control make a difference?
1 Solution
BobHavertyComhAuthor Commented:
Also, I installed the IIS on his machine and registered the .net framework with aspnet_regiis -i i also installed Ajax 2.0. i checked on his machine, and that assembly is in his GAC with an identical version number and PublicKeyToken
BobHavertyComhAuthor Commented:
So how could it not find it??
make sure the dll for system.web.extension is available in the system. if not copy the dll in to the appropriate folder or in to your project
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

BobHavertyComhAuthor Commented:
I checked the global assembly cache, it's there. It's the exact correct version and PublicKeyToken. C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 also exists
BobHavertyComhAuthor Commented:
What did you mean by "make it available"?
I suppose you don't have Ajax extensions installed properly or that the installation is corrupt. Try reinstalling it. Here' s the Link for ASP.NET AJAX 1.0 installation if you want


Download and install it. Hope this solves the issue.
BobHavertyComhAuthor Commented:
I already gave him this link and he said he installed it. Wouldn't the folders and files that I said exist on his machine mean that this is already installed?? The person I'm working with "can't be bothered" with this, so I have to ask these questions rather than merely try it on his machine. He wants the solution without him having to try things. In other words, he wants a home run first time at the plate.
A question, the local IIS have app's with framework 1.1 and framework 2.0?

Ajax has conflict with the different frameworks of .Net  because use different XHTML code.

Try to write in the wbe.config this line.

  <xhtmlConformance mode="strict" />

Also create different application group for each version of .Net Framework in IIS.

The application  bui;d for  ASP or ASP.net2 version, change the asp version accrodingly from the website properties asp version tab.


Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now