Posted on: 3/22/2015 11:48:28 PM | Views : 602

Hi I have a shared hosting account from Godaddy I try to connect to the aspnetdb.mdf database located in a App_Data folder at first I connect to 198.71.226.6 server within SQL Server Management Studio then I got on the instance using T-SQL
@@servername then I edit the web.config file To be as following
<connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="data source=.\A2NWPLSK14SQL03;Integrated Security=SSPI;AttachDBFilename=|DataDirectory| \aspnetdb.mdf;User Instance=true" /> </connectionStrings> But I get the following error message
Server Error in '/' Application. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server w ...

Go to the complete details ...