locked
Data base error when i'm run my app with IIs server RRS feed

  • Question

  • User615038210 posted

    Hi

    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)

    Tuesday, December 13, 2016 2:09 PM

Answers

  • User2103319870 posted

    balvindersingh

    provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    Check your connection string and ensure that the details like DatabaseName,Instance Name etc you mentioned is correct,

    Refer this link for more troubleshooting steps : https://sqlbak.com/blog/sql-network-interfaces-error-26-error-locating-serverinstance-specified/

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, December 13, 2016 2:28 PM
  • User753101303 posted

    Hi,

    You changed the connection string to use the correct server? For now it seems the SQL Server you are trying to use is just not reachable from your web server (wrong server or maybe a firewall issue).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, December 13, 2016 2:28 PM

All replies

  • User2103319870 posted

    balvindersingh

    provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    Check your connection string and ensure that the details like DatabaseName,Instance Name etc you mentioned is correct,

    Refer this link for more troubleshooting steps : https://sqlbak.com/blog/sql-network-interfaces-error-26-error-locating-serverinstance-specified/

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, December 13, 2016 2:28 PM
  • User753101303 posted

    Hi,

    You changed the connection string to use the correct server? For now it seems the SQL Server you are trying to use is just not reachable from your web server (wrong server or maybe a firewall issue).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, December 13, 2016 2:28 PM