G
Guest
I connect to my SQL 2005 Express database via VS2005 via the Server Exlporer.
I copy the connection statement from the connection string property when I
right click on that database connection in Server Explorer.
When I use this connection string in my ASP.Net code, I get the following
error when I attempt to connect....
"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)"
Is there some setting that I have to make to SQL Express 2005 in order to
connect to my Database via ASP.Net? Do I need to set up a dummy account
which my ASP.Net aplication will use to perform updates to my SQL Database?
Thanks in advance for your assistance!!!
I copy the connection statement from the connection string property when I
right click on that database connection in Server Explorer.
When I use this connection string in my ASP.Net code, I get the following
error when I attempt to connect....
"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)"
Is there some setting that I have to make to SQL Express 2005 in order to
connect to my Database via ASP.Net? Do I need to set up a dummy account
which my ASP.Net aplication will use to perform updates to my SQL Database?
Thanks in advance for your assistance!!!