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

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

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

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

源错误:


行 62:         //OfferDetaliGetInfo odgi=new OfferDetaliGetInfo();
行 63:         //	OfferDA myclass=new OfferDA();
行 64:         DataTable table = wd.WebGetDataTable("select dateadd(day,Okdays,lastupdatetime) as expire,* from supply where sid='" + id + "'");
行 65:         if (table.Rows.Count <= 0)
行 66:         {

源文件: e:\wwwroot\zgbfw\web\offer\OfferDetail.aspx.cs    行: 64

堆栈跟踪:


[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_OfferDetail.bind() in e:\wwwroot\zgbfw\web\offer\OfferDetail.aspx.cs:64
   offer_OfferDetail.Page_Load(Object sender, EventArgs e) in e:\wwwroot\zgbfw\web\offer\OfferDetail.aspx.cs:53
   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