Home > unrecognized configuration > error 1 unrecognized configuration section appsettings

Error 1 Unrecognized Configuration Section Appsettings

Contents

ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/Visual Studio and Visual Web Developer Express/Unrecognized configuration section appsettings - Visual Studio 2012 Unrecognized configuration section appsettings - Visual

Unrecognized Configuration Section Add Web Config

Studio 2012 [Answered]RSS 2 replies Last post Nov 22, 2013 08:18 PM configuration system failed to initialize unrecognized configuration section appsettings by Ruchira ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads

Unrecognized Configuration Section Applicationsettings

Support Options Advanced Search Related Links Guidance Reply harikamat Member 1 Points 38 Posts Unrecognized configuration section appsettings - Visual Studio 2012 Nov 22, 2013 01:31 PM|harikamat|LINK Hi, I am configuration system failed to initialize app.config c# 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 configuration system failed to initialize c# line to web.config. 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 Reply Siva Krishna... Star 8862 Points 2202 Posts Re: Unrecognized configuration section appsettings - Visual Studio 2012 Nov 22, 2013 01:40 PM|Siva Krishna Macha|LINK It should be appSettings - S should be capital Also it should be inside element. Mark the post as answer, if it helps you. Thanks & Regards, Siva Reply Ruchira All-Star 52756 Points 9675 Posts MVP Re: Unrecognized configuration section appsettings - Visual Studio 2012 Nov 22, 2013 08:18 PM|Ruchira|LINK harikamat You have to add it within the tags in web.config file. Like below http://forums.asp.net/t/1952593.aspx?Unrecognized+configuration+section+appsettings+Visual+Studio+2012 System Failed to Initalize up vote 2 down vote favorite I know this question has been asked before but I can't see what I'm doing wrong. I'm writing a small program in C# visual Studio 2010, using 2.0 .Net framework. I'm trying to read values from an App.config file. My config file looks like this.... http://stackoverflow.com/questions/10696390/configuration-system-failed-to-initalize type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >

Then in my code at: path = ConfigurationManager.AppSettings["Path"]; I get a runtime error "Configuration System Failed to Initalize". From what I've read the configSection has to be first in the file, but I've done this and still get the error. Any help greatly appreciated. c# app-config share|improve this question asked May 22 '12 at 5:51 user1409400 1112 1 what is the innerexception –Tilak May 22 '12 at 5:52 Also please post the code accessing the settings. –Jon Skeet May 22 '12 at 6:01 Inner exception is: "Unrecognized configuration section applicationSettings/add." –user1409400 May 22 '12 at 23:50 add a comment| 6 Answers 6 active oldest votes up vote 4 down vote Put before and it should work ... ... share|improve this answer answered May 6 '13 at 9:15 rajeemcariazo 1,1831849 1 This solved my problem. Thanks. What a poor code!! –Mohib Shet

Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post http://www.codeproject.com/Questions/440297/Unrecognized-configuration-section-connectionStrin your Blog quick answersQ&A Ask a Question View Unanswered Questions View http://www.pcreview.co.uk/threads/unrecognized-configuration-section-appsettings.1231257/ All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL unrecognized configuration / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys unrecognized configuration section Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge   The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ Unrecognized configuration section 'connectionStrings' Rate this: Please Sign up or sign in to vote. See more: ASP.NET Dear friends Hi all, i have developed my project in .net 2003(c# with asp.net 1.1). After that i have uploaded to our server. when i try to access that page it wil show some error msg like below, 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:

I receive the following message which i cant figure out what is the problem. A copy of my web.config file is below it.. Any ideas? Server Error in '/myWebApp' Application. -------------------------------------------------------------------------------- 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: Unrecognized configuration section 'appSettings' Source Error: Line 3: Line 4: Line 5: Line 6: Line 7: Source File: C:\MyWebApp\web.config Line: 5 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 '''''''''''''''''''''''''''''''' Web.Config file below ''''''''''''''''''''''''''''''''