Last post Sep 05, 2007 06:20 AM by HostingASPNet
Jan 19, 2007 04:31 PM|dwebster84|LINK
I uploaded my site to VWDHosting.Net, using the feature where you zip everything and upload that. The page works, except when I try to use a login or register form (direct copy from Visual Web Developer 2005 Express Edition), I get the error below. Has
this happened to anyone else? If so, how did you fix it?
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)
Sep 05, 2007 05:52 AM|ankitsuhail|LINK
yeah i am getting the same prblem.Please can anyone help me out hear????
Sep 05, 2007 06:20 AM|HostingASPNet|LINK
It seems that you use SQL Server, check your connection string, if you use SQLExpress and AttachDbFilename it's only work on SQLExpress and connection should be local. If your hosting support SQL 2005, maybe it's not SQLExpress and also may be it's shared,
which means that you should make a remote connection to the server, and not use an AttachDbFilename method.