Click here to Skip to main content
15,882,163 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my application give me a server related error when i install it at the client side...
below is my connection string
"user id = sa;password = sa; database = how; data source = MachineName\SQLEXPRESS2005"
what script can i use in place of the "MachineName"

Sergey Alexandrovich Kryukov 31-Jan-12 12:27pm    
Script? What do you mean?
James M. White 31-Jan-12 19:10pm    
Are you trying to access on a local machine?
James M. White 31-Jan-12 21:11pm    
I am having the same problem and the statement "data source = MachineName\SQLEXPRESS2005" gives an error for me in visual studio where the \ (backslash) is.

you will get the string even at the client after installation and in that you can edit for your convinent and get the correct string name
Share this answer
Most likely, you will be using the IP address of the server.
Share this answer

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