Click here to Skip to main content
15,892,768 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to connect to a database but When I want to add a connection this error accured
"Format of the initialization string does not conform to specification starting at index 0." is there somebody to help me.
Posted

Have a look at writing correct connection strings - starting from http://www.connectionstrings.com/[^].
 
Share this answer
 
Comments
_Starbug_ 1-Aug-11 4:15am    
in front of my connection string do not writed any thing
I would suggest you re-check your connection string.
http://www.connectionstrings.com/[^]
 
Share this answer
 
Also along with above website's this one helped me out alot:

http://www.dotnetperls.com/sqlclient[^]
 
Share this answer
 
 
Share this answer
 
It's really difficult to help when you haven't shown us any code, specifically, your connection string. Visit the web site already given to you (http://www.connectionstrings.com/[^]), be a programmer, and work the problem.
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900