“/”应用程序中的服务器错误。

值不能为 null。
参数名: value

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ArgumentNullException: 值不能为 null。
参数名: value

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[ArgumentNullException: 值不能为 null。
参数名: value]
   System.String.EndsWith(String value, StringComparison comparisonType) +12962027
   System.Data.Common.ADP.IsAzureSqlServerEndpoint(String dataSource) +151
   System.Data.ProviderBase.DbConnectionPool.IsBlockingPeriodEnabled() +63
   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +488
   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +89
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +426
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +191
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +154
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +21
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +90
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +443
   System.Data.SqlClient.SqlConnection.Open() +96
   Century.DBUtility.DbHelperSQL.PrepareCommand(SqlCommand cmd, SqlConnection conn, SqlTransaction trans, String cmdText, SqlParameter[] cmdParms) in E:\我的数据\项目开发\X学梯教育\有途网-ccutu.com\Century.DBUtility\DbHelperSQL.cs:866
   Century.DBUtility.DbHelperSQL.Query(String SQLString, SqlParameter[] cmdParms) in E:\我的数据\项目开发\X学梯教育\有途网-ccutu.com\Century.DBUtility\DbHelperSQL.cs:844
   Century.SQLServerDAL.Channel.GetModel(Int32 ID) in E:\我的数据\项目开发\X学梯教育\有途网-ccutu.com\Century.SQLServerDAL\Channel.cs:208
   Century.BLL.Channel.GetModel(Int32 ID) in E:\我的数据\项目开发\X学梯教育\有途网-ccutu.com\Century.BLL\Channel.cs:75
   Century.Web.Gaokao.gaokao._Default.Page_Load(Object sender, EventArgs e) in E:\我的数据\项目开发\X学梯教育\有途网-ccutu.com\www.ccutu.com\Default.aspx.cs:58
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +780


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.2114.0