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

竞博官网-竞博JBO娱乐-竞博JBO

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

异常详细信息: System.InvalidOperationException: 竞博官网-竞博JBO娱乐-竞博JBO

源错误:


行 67:             	RightAd=getFileContent(defaultsub);
行 68:             big = Convert.ToInt32(Request.QueryString["big"]);
行 69:             DataTable dttt = wd.WebGetDataTable("SELECT count(*) as recordcount   From supply 	Where Ischecked=1 and Smallclass='" + sub + "' and Bigclass='" + big + "' ");
行 70:             if (dttt.Rows.Count > 0)
行 71:             {

源文件: e:\wwwroot\zgbfw\web\offer\Offersale.aspx.cs    行: 69

堆栈跟踪:


[InvalidOperationException: 竞博官网-竞博JBO娱乐-竞博JBO]
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +6324129
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6324471
   System.Data.SqlClient.SqlConnection.Open() +258
   dal.WebDA.WebGetDataTable(String strsql) in F:\zgbfw2012\dal\WebDA.cs:62
   offer_Offersale.Page_Load(Object sender, EventArgs e) in e:\wwwroot\zgbfw\web\offer\Offersale.aspx.cs:69
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


版本信息: Microsoft .NET Framework 版本:2.0.50727.8806; ASP.NET 版本:2.0.50727.8762