Hey all!
I am hoping that somebody will be able to help me getting my database working over the Internet.
I am using VS 2005 and SQL Server 2005 Express Edition and have my database set up within a web site project in VS under the App_Data folder.
Everything runs smoothly when running the application on localhost I am just facing a problem when I attempt the same thing after uploading my pages to my web server.
I am receiving the following 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)
I have tried enabling the disabled SQLEXPRESS protocols and disabled my firewall with no luck.
I have also looked into using localhost\sqlexpress as the server name but I dont see how this method would work as it appears to only run a database on the local machine which is the problem I have currently.
Could anybody help me with this problem? I have only just started trying to use SQL Server Express as a means of database connectivity and I am not exactly sure how it all works.
Thanks
I am hoping that somebody will be able to help me getting my database working over the Internet.
I am using VS 2005 and SQL Server 2005 Express Edition and have my database set up within a web site project in VS under the App_Data folder.
Everything runs smoothly when running the application on localhost I am just facing a problem when I attempt the same thing after uploading my pages to my web server.
I am receiving the following 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)
I have tried enabling the disabled SQLEXPRESS protocols and disabled my firewall with no luck.
I have also looked into using localhost\sqlexpress as the server name but I dont see how this method would work as it appears to only run a database on the local machine which is the problem I have currently.
Could anybody help me with this problem? I have only just started trying to use SQL Server Express as a means of database connectivity and I am not exactly sure how it all works.
Thanks