469,611 Members | 1,966 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,611 developers. It's quick & easy.

Error while establishing a connection to the server

Just for testing deployment of an asp.net application to the remote server I
have crated an application based on the StarterKit application in Visual
Studio 2005.

When trying to run the application from my browser I get the error message
below.

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)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: 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)



Any Ideas of how to solve this problem?

The application works fine when I run it locally on my computer.

TIRislaa
Sep 27 '06 #1
0 1280

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by John Shadel | last post: by
5 posts views Thread by James | last post: by
1 post views Thread by NEWS | last post: by
13 posts views Thread by AAaron123 | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.