Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#2.0
here is the error message I got while debugging my project "Unrecognized configuration section connectionString".
 
Here is my web config code :
 



 
Need help to fix this issue.
Posted 6-Feb-13 4:20am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

It means that you con't have a connectionstring property in your web.config file.
How to do this[^].
  Permalink  
Comments
Kishor Deshpande at 6-Feb-13 9:24am
   
My 5
Marcus Kramer at 11-Feb-13 10:34am
   
Thanks, Kishor.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

  Permalink  
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

no I write the connection string in the web.config.. still I am getting the error.
  Permalink  
Comments
Kishor Deshpande at 6-Feb-13 23:49pm
   
Make sure your web.config file is correct.
Could you please share your error message, and some code how you are fetching the connectionstring?
Unable to view webconfig code..I'll help you.
Marcus Kramer at 11-Feb-13 10:35am
   
Apparently, not correctly. This section is case sensitive, so you need to make sure that the "ConnectionString" tag in your web.config matches the "connectionString" that your code is trying to use exactly.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 9 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100