Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi guys! I have an application i developed using C#, windows forms and sql server 2000 I deployed the application on a network that runs on windows server 2003. When i try to lo-gin using the lo-gin form i get the error a network related or instance specific error occurred while connecting to sql.There are no fire walls on the server and i used sql server 2000 sp3a. What could be the problem? And TCP/IP protocols are enabled.
Posted
Comments
OriginalGriff 13-Feb-11 3:02am    
Do you know which code is causing the problem?
Have you tried using a "try"..."catch" block to examine the exception and inner exception?

1 solution

Are having a named instance? If so does your connection string contain the name of the instance? For example 'MyServer\MyInstance'.

Also check using Surface Area Configuration tool that remote connections are allowed.
 
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