0

Server Error in '/' Application.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Cœur
  • 37,241
  • 25
  • 195
  • 267
bujjibabu
  • 13
  • 7
  • 2
    You probably have to correct the connnection string or configure SQL server to allow remote connections, its nothing wrong with button. – Adil Sep 28 '15 at 10:45
  • Actually it's working in my local good but when i move the same code into staging server for testing that time it is showing. – bujjibabu Sep 28 '15 at 10:52
  • Your local is different from staging, so you must check the environment, this could help, http://stackoverflow.com/questions/18060667/why-am-i-getting-cannot-connect-to-server-a-network-related-or-instance-speci – Adil Sep 28 '15 at 10:55

0 Answers0