Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When i run my project this error will occured.
A network related instance or specific while connected to the sql server. Verify the database and check whether the sql is allow remote connections.

i didn't know what error this is.
please somebody help me.
thank you
Posted
Comments
uspatel 13-Dec-11 6:16am    
what connection strinh you use?

->this error occures when your provide wrong credentials to you connection string.
check it.
->You use database on localhost or from remote system
if you use from remote system check your remote system allow remote connections.
 
Share this answer
 
v2
Comments
devausha 13-Dec-11 6:40am    
Thank you, Very Nice
devausha 13-Dec-11 7:11am    
But i check the remote connections the target machine server is on the remote connections, the source machine sql server is not on remote connection. then i turn on the remote connections and then Copied the file but the same error occured in target machine
This error occures due to wrong connection string. so please check once again your connection string.
 
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