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: TCP Provider, error: 0 - 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。)

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: System.Data.SqlClient.SqlException: 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: TCP Provider, error: 0 - 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。)

Source Error:

Line 256: {
Line 257: //打开连接
Line 258: conn.Open();
Line 259: //实例化datatabl对象
Line 260: DataTable dt = new DataTable();

Source File: d:\130服务器\mypitbullpro.com\App_Code\Utilities\AcessDBHelp.cs    Line: 258

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: TCP Provider, error: 0 - 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。)]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1065
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +108
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +126
System.Data.SqlClient.SqlConnection.Open() +125
AcessDBHelp.Querys(String sqlstring) in d:\130服务器\mypitbullpro.com\App_Code\Utilities\AcessDBHelp.cs:258
WebConfigDAL.Get_WebConfig() in d:\130服务器\mypitbullpro.com\App_Code\DAL\WebConfigDAL.cs:173
WebConfigBLL.Get_WebConfig() in d:\130服务器\mypitbullpro.com\App_Code\BLL\WebConfigBLL.cs:52
ASP.global_asax.Session_Start(Object sender, EventArgs e) in d:\130服务器\mypitbullpro.com\Global.asax:38
System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +9040371
System.Web.SessionState.SessionStateModule.CompleteAcquireState() +148
System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +561
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +96
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
万博彩票app下载千亿国际pt客户端万博彩票app下载