Link to home
Start Free TrialLog in
Avatar of Arnold Layne
Arnold LayneFlag for United States of America

asked on

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?
Avatar of Arnold Layne
Arnold Layne
Flag of United States of America image

ASKER

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
So how could it not find it??
Avatar of adivasystems
adivasystems

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
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
What did you mean by "make it available"?
ASKER CERTIFIED SOLUTION
Avatar of mohd_haq
mohd_haq
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.

<system.web>
  <xhtmlConformance mode="strict" />
</system.web>


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.