What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 16491 |  Welcome, Guest!   Register  Login
 Home > Forums > C# > How to solve this error in webconfig ...
Sekar.C

How to solve this error in webconfig

Replies: 1 | Posted by: Sekar.C on 5/19/2012 | Category: C# Forums | Views: 613 | Status: [Member] | Points: 10  


Hi,
I got this error in order.aspx.cs page
Error:
Format of the initialization string does not conform to specification starting at index 0.

string constr = ConfigurationManager.ConnectionStrings["connect"].ConnectionString; 

SqlConnection con = new SqlConnection("constr");


Regards
Sekar.c


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Santhiram
Santhiram  
Posted on: 5/19/2012 6:13:53 PM
Level: Starter | Status: [Member] | Points: 25

Check if this link helps u..

http://forums.asp.net/t/1118276.aspx/1

Sekar.C, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

Found interesting? Add this to:


 Latest Posts

Write New Post | More ...

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/22/2013 7:45:28 PM