how to connect application to sql server 2008 through remote

Sep 20 2017 8:05 AM
Is there any way to connect to the database which is at remote server using asp.net? string.I checked for TCP/IP ports at remote desktop.They are also enabled I have tried specifying IP address and SQL server name in the connection string but it shows following error. (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.)

Answers (3)