PR:
Alexa: 528,077
备案号: 粤ICP备10072383号
服务器IP: 61.143.225.15 广东省肇庆市 电信IDC机房
描述: ExecuteReader requires an open and available Connection. The
详细介绍
Server Error in '/' Application.
ExecuteReader requires an open and available Connection. The connection's current state is connecting.
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.InvalidOperationException: ExecuteReader requires an open and available Connection. The connection's current state is connecting.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[InvalidOperationException: ExecuteReader requires an open and available Connection. The connection's current state is connecting.]
System.Data.SqlClient.SqlConnection.GetOpenConnection(String method) +6317491
System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command) +13
System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) +271
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +138
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +28
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +256
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +19
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +21
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +325
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +420
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +306
AngDing.NewClass01.Dbclass.DBbase.ExecReturnDataTable(String spName, SqlParameter[] parameters) +238
AngDing.NewClass
猜你喜欢
- 【巴中赶集网】-免费发布信 - 电脑网络 > 网址黄页
- 【保山赶集网】-免费发布信 - 电脑网络 > 网址黄页
- 【仙桃赶集网】-免费发布信 - 电脑网络 > 网址黄页
- 【咸宁赶集网】-免费发布信 - 电脑网络 > 网址黄页
- 【黄南赶集网】-免费发布信 - 电脑网络 > 网址黄页
- 【阿里赶集网】-免费发布信 - 电脑网络 > 网址黄页
- 甘肃领航星导航科技有限公司 - 电脑网络 > 网址黄页
- 【乌兰察布赶集网】-免费发 - 电脑网络 > 网址黄页
- 【鹤壁赶集网】-免费发布信 - 电脑网络 > 网址黄页
- 大三亚网-三亚城市门户,三 - 电脑网络 > 网址黄页
- .::中国索引学会::. - 电脑网络 > 网址黄页
- 【延安赶集网】-免费发布信 - 电脑网络 > 网址黄页
- 【毕节赶集网】-免费发布信 - 电脑网络 > 网址黄页
- 【伊春赶集网】-免费发布信 - 电脑网络 > 网址黄页
- IIS7 - 电脑网络 > 网址黄页
- As Seen on TV - 电脑网络 > 网址黄页
- 您未被授权查看该页 - 电脑网络 > 网址黄页
- 全球黄页大全,企业黄页,企 - 电脑网络 > 网址黄页
- 大连兼职网_大连大学生兼职 - 电脑网络 > 网址黄页
- 景观网 - 专注园林景观设 - 电脑网络 > 网址黄页