Error ASP.NET when host online

Error ASP.NET when host online
0.0 0

#1

I recently uploaded my asp.net on my hosting (hostforlife.eu) and this is my new project. I receive this error message:

network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source Error:

Line 16: HyperLink3.Visible = True
Line 17: End If
Line 18: If User.IsInRole(“Administrator”) = True Then
Line 19: HyperLink4.Visible = True
Line 20: End If

How to fix this issue? Please advise. Thank you


#2

The message means you can’t connect to your database server. Where is that hosted would be the first place I would look.