Click here to Skip to main content
15,885,180 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Am totally new to the .net applications,so kindly pardon me if my terminologies are wrong.

I have a web application that runs in IIS 6 and has a .Net 1.1 version.

when i click on some links in the application,i get the following error.

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.

XML
Parser Error Message: Unrecognized attribute 'type'.

Source Error:


Line 2:  <configuration>
Line 3:     <configsections>
Line 4:         <sectiongroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Line 5:             <sectiongroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Line 6:                 <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirepermission="false" allowdefinition="MachineToApplication" />


Source File: D:\WebProjects\JSCWeb\web.config    Line: 4







Am sure that there is nothing wrong with the code.

some properties of IIS should be wrong somewhere, i need to solve this ASAP.

Any help would be appreciated,Thanks in advance.

Edit: question updated so that config file was visible - F-ES Sitecore
Posted
Updated 19-Jun-15 3:28am
v4
Comments
virusstorm 19-Jun-15 9:16am    
It is telling you that line 4 has an unrecognized attribute "type". We would need to see your configuration file in order to help you.
Sergey Alexandrovich Kryukov 19-Jun-15 10:17am    
I'm just curious how you managed to end up with .NET v.1.1? This version wasn't a "real" .NET. Presently, only v.2.0 and later versions are supported by all the tools. Dealing with earlier versions does not seem to make any sense.
—SA

1 solution

You are referencing .Net 3.5 files in your web.config so don't configure it as .Net 1.1. Change to .Net 2.0 or even try 4.0 if that is an option.
 
Share this answer
 
Comments
Nagaprasad75 23-Jun-15 7:22am    
Thanks Ryan

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900