I am trying to upgrade my my project from VS2008 to VS2010 and got the following after it was complete
There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
<sectionGroup name="scripting" type="Sy开发者_开发技巧stem.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
Anyone know way around this ?
Quoting from here
This is a known issue with ASP.NET 4.0 / vs 2010
See this for more info
The workaround for the second scenario is to delete or comment out all the system.web.extensions
configuration section definitions and configuration section group definitions from the application-level
Web.config
file. These definitions are usually at the top of the application-level
Web.config
file and can be identified by the configSections element and its children.
精彩评论