Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I have two websites .
ParenetWebSite (configured to use ASP.NET 2.0 or ASP.NET 3.5)
childwebapp (configured to use ASP.NET 4)

I have hosted these websites on IIS 7 on windows 7
The steps which I have followed
1) Create Application pool for ParenetWebSite which is used framework 2.0
2) With in ParenetWebSite , I havecreated virtual directory childwebapp and create application pool which is used framework 4.0

Now When I access childwebapp. It thows error like

Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined

HTML
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
7:         <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
8:         <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

How to resolve this error . My objective is to access both application ParenetWebSite and childwebapp.

Regards,
Rajesh
Posted
Updated 12-Feb-12 4:54am
v2

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