H
hamid hashemi
Hello,
I am writing ASP.NET application using SQL Server 2005 Express Edition.
my connection string is :
"Data
Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\DB.mdf;Integrated
Security=True;Connect Timeout=30;User Instance=True";
I used connection strings syntax from www.connectionstrings.com.
this app work in IIS very well
but when i upload it on the host i reiceve this error :
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact that under the default settings SQL Server does not allow remote
connections. (provider: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified)
please help me if you can ?
I am writing ASP.NET application using SQL Server 2005 Express Edition.
my connection string is :
"Data
Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\DB.mdf;Integrated
Security=True;Connect Timeout=30;User Instance=True";
I used connection strings syntax from www.connectionstrings.com.
this app work in IIS very well
but when i upload it on the host i reiceve this error :
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact that under the default settings SQL Server does not allow remote
connections. (provider: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified)
please help me if you can ?