hi i have website in asp and it is giving this error,
Server Error in '/' Application.
A 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: [login to view URL]: A 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SqlException (0x80131904): A 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
[login to view URL](SqlException exception, Boolean breakConnection) +4849719
[login to view URL](TdsParserStateObject stateObj) +194
[login to view URL](ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +4863021
[login to view URL](ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +90
[login to view URL](String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +342
[login to view URL](SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189
[login to view URL](DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185
[login to view URL](DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +29
[login to view URL](DbConnection owningConnection) +4866464
[login to view URL](DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
[login to view URL]() +122
[login to view URL]() +60
[login to view URL]() +40
[ADOException: cannot open connection]
[login to view URL]() +95
[login to view URL]() +50
[login to view URL](IDbCommand cmd) +56
[login to view URL](IDbCommand cmd) +27
[login to view URL](IDbCommand st, Boolean autoDiscoverTypes, Boolean callable, RowSelection selection, ISessionImplementor session) +239
[login to view URL](ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +203
[login to view URL](ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +70
[login to view URL](ISessionImplementor session, QueryParameters queryParameters) +174
[login to view URL](ISessionImplementor session, QueryParameters queryParameters) +18
[login to view URL](ISessionImplementor session, QueryParameters queryParameters, ISet`1 querySpaces, IType[] resultTypes) +81
[login to view URL](CriteriaImpl criteria, IList results) +334
[login to view URL](IList results) +41
[login to view URL]() +61
[login to view URL]`[login to view URL](DetachedCriteria criteria) in c:\Checkout\rentdvds\Source\[login to view URL]\Repository\[login to view URL]
[login to view URL]`[login to view URL]() in c:\Checkout\rentdvds\Source\[login to view URL]\Services\[login to view URL]
[login to view URL]`[login to view URL]() in c:\Checkout\rentdvds\Source\[login to view URL]\Controllers\[login to view URL]
lambda_method(ExecutionScope , ControllerBase , Object[] ) +43
[login to view URL](ControllerBase controller, Object[] parameters) +17
[login to view URL](ControllerContext controllerContext, IDictionary`2 parameters) +178
[login to view URL](ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +24
System.Web.Mvc.<>c__DisplayClassa.<InvokeActionMethodWithFilters>b__7() +52
[login to view URL](IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +254
System.Web.Mvc.<>c__DisplayClassc.<InvokeActionMethodWithFilters>b__9() +19
[login to view URL](ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +192
[login to view URL](ControllerContext controllerContext, String actionName) +399
[login to view URL]() +126
[login to view URL](RequestContext requestContext) +27
[login to view URL](RequestContext requestContext) +7
[login to view URL](HttpContextBase httpContext) +151
[login to view URL](HttpContext httpContext) +57
[login to view URL](HttpContext httpContext) +7
[login to view URL]() +181
[login to view URL](IExecutionStep step, Boolean& completedSynchronously) +75
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
i don't have any database and my sql, i have one hosting in [login to view URL]