0
A network-related or instance-specific error occurred while establishing a connection to SQL Server.
can anyone give the permanent solution of this problem
3 Réponses
+ 5
Try to ping your server where SQL Server is installed, or if it's installed in your development machine check if the service is running. Can you describe what triggered this? also make sure it's non-code fault.
Hth, cmiiw
+ 5
Okay, so is SQL Server installed on your machine or another? have you tried my first suggestion? tell me how it goes.
0
there is no fault in code