Configuration Error Unrecognized Configuration Section Connectionstrings
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about parser error message unrecognized configuration section connectionstrings Stack Overflow the company Business Learn more about hiring developers or posting ads with unrecognized configuration section log4net us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is
Configuration System Failed To Initialize Unrecognized Configuration Section
a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unrecognized configuration section connectionstrings. Trying to connect to SQL Server up vote 1 down
Unrecognized Configuration Section Appsettings
vote favorite I am trying to connect to a live SQL Server database as opposed to the local one for login authentication. Here are my settings in web.config: here for a quick overview of the site Help Center Detailed answers to unrecognized configuration section add any questions you might have Meta Discuss the workings and policies of this unrecognized configuration section applicationsettings site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us http://stackoverflow.com/questions/17221928/unrecognized-configuration-section-connectionstrings-trying-to-connect-to-sql-s Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up “Unrecognized configuration http://stackoverflow.com/questions/1785437/unrecognized-configuration-section-connectionstrings section connectionStrings.” up vote 2 down vote favorite I had been working on a project in VS2005 that utilized a local connection to an Access DB. In the past week, I installed .NET framework 3.5 for use w/ a different project as well as VS6. I went back to my VS2005 application and suddenly there are big issues: In the designer for any class utilizing my OLEDB connection showed this: Unable to cast object of type 'System.Configuration.DefaultSection' to type 'System.Configuration.ConnectionStringsSection'. Hide at System.Configuration.Configuration.get_ConnectionStrings() at Microsoft.VisualStudio.Shell.Design.Serialization.ConfigurationHelperService.ReadConnectionStrings(String configFileName, DocData configDocData, String prefix) at Microsoft.VisualStudio.Editors.SettingsDesigner.AppConfigSerializer.Deserialize(DesignTimeSettings Settings, String SectionName, DocData AppConfigDocData, MergeValueMode mergeMode, IUIService UIService) at Microsoft.VisualStudio.Editors.SettingsGlobalObjects.SettingsFileGlobalObject.LoadSettings(String fileName) at Microsoft.VisualStudio.Editors.SettingsGlobalObjects.SettingsFileGlobalObject.BuildType() at Microsoft.VisualStudio.Editors.SettingsGlobalObjects.SettingsFileGlobalObject.GetObjectType() at Microsoft.VisualStudio.Shell.Design.GlobalType.get_ObjectType() at Microsoft.VisualStudio.Shell.Design.GlobalObject.GetHashCode() at Microsoft.VisualStudio.Shell.Design.GlobalObjectService.GlobalKey.GetHashCode() at System.Collections.Generic.ObjectEqualityComparer1.GetHashCode(T obj) at System.Collections.Generic.Dictionary2.FindEntry(TKey key) at Microsoft.VisualStudio.Shell.Design.GlobalObjectService.GetGlobalObjects(Type baseType) at Microsoft.VisualStudio.Shell.Design.GlobalObjectService.GetGlobalObjects() at Microsof ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/Configuration and Deployment/Unrecognized configuration section 'connectionStrings' Unrecognized configuration section 'connectionStrings' RSS 14 replies Last post Oct 19, 2007 02:31 PM by wwphx http://forums.asp.net/t/1080128.aspx?Unrecognized+configuration+section+connectionStrings+ ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Reply groker None 0 Points 18 Posts Unrecognized configuration section 'connectionStrings' Feb 26, 2007 05:04 PM|groker|LINK I have a .net 1.1 application within a .net 2.0 application. For some reason, the 1.1 application is going beyond the application root to evaluate the 2.0 unrecognized configuration web.config. Of course it considers it invalid and throws the error below. The 2.0 application works fine. If I rename the 2.0 web.config, the 1.1 application works fine. This seems to be a bug... but what I really need is a workarround. If you've seen this, please let me know your solution. Is there a way to ignore "Configuration Error" exceptions? Other factors: The unrecognized configuration section production server is running in IIS 5 threading mode, so creating a new application pool isn't an option I can't reproduce this using a 2.0 application in a 1.1 application I don't have any flexability in having a 1.1 application under a 2.0 application Server Error in '/Colorado1' 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 'connectionStrings' Source Error: Line 13: Line 14: Line 15: Unrecognized Configuration Section Nlog