Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Express Edition and Compact Edition (2005)
 SQL Express Remote Connection

Author  Topic 

mohsen.vj
Starting Member

1 Post

Posted - 2008-10-18 : 02:39:55
Hi,
I have a sqlexpress 2005 database on a remote host.
There is no problem when I am connecting to the database with "SQL Server Manager Studio" or "VS. 2005 Server Explorer" but when I am trying to connect programmatically via Asp.Net 2.0 I receive this error message:
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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

what should I do?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-10-18 : 02:43:28
http://www.dotnetspider.com/forum/174565-Sql-Server.aspx
Go to Top of Page
   

- Advertisement -