Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Unrecognized configuration section appsettings - Visual Studio 2012

$
0
0

Hi,

I am getting the following error: "Unrecognized configuration section appsettings" when i try to place appsettings element in web.config in Visual Studio 2012. I want to place the following line in web.config because i am getting the following error when i try to run the application.

WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'.

To solve the above error i need to add the following line to web.config.

<appsettings>     <add value="None" key="ValidationSettings:UnobtrusiveValidationMode"></add>   </appsettings>

no matter where i add the above line the Visual Studio 2012 starts throwing error : "Unrecognized configuration section appsettings".

Where am i supposed to add the appsettings element in web.confi in visual studion 2012. Does the Visual Studion 2012 / .net 4.5 framework does not recognize this element any more.

Please help me.

Thanks ,

Harish Kamath


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>