Urgent: web.config failed on production

  • Can anyone help out of this? Thank you very much.

    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)

    <connectionStrings>

    <add name="ConnectionString" connectionString="Data Source=[XXXXXXX\XXX];Initial Catalog=XXXX;User ID=ABC;Password=123456;Trusted_Connection=False;" providerName="System.Data.SqlClient"/>

    </connectionStrings>

  • Did you try pinging the host were the instance is running? This could narrow down the troubleshooting, eliminating that network is not an issue.

    I would also try connecting using odbc and see if it goes thru.

    Hope this helps... Koncentrix

    Koncentrix

  • is there a firewall in between the IIS server and the SQL Server?

    Can you ping the SQL Server from the IIS box?

    Can you telnet successfully to the SQL Server instance from the IIS box?

    Provide more info if you can

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • It seems the bracket is causing the problem, I took away the [], now this issue went away.

    Thanks for replying.

  • halifaxdal (4/23/2010)


    It seems the bracket is causing the problem, I took away the [], now this issue went away.

    Thanks for replying.

    then the error wasnt network related or instance specific was it??

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply