April 23, 2010 at 1:48 pm
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>
April 23, 2010 at 2:27 pm
April 23, 2010 at 2:47 pm
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" 😉
April 23, 2010 at 3:09 pm
It seems the bracket is causing the problem, I took away the [], now this issue went away.
Thanks for replying.
April 24, 2010 at 9:46 am
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