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

SQL错误:select lxname from leixing2 where lxid=4

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

异常详细信息: System.Exception: SQL错误:select lxname from leixing2 where lxid=4

源错误:


行 140:        catch (Exception ex)
行 141:        {
行 142:            throw new Exception("SQL错误:" + cmdText);
行 143:        }
行 144:        finally

源文件: d:\wwwroot\heiyu837\wwwroot\App_Code\OleDb_hysql.cs    行: 142

堆栈跟踪:


[Exception: SQL错误:select lxname from leixing2 where lxid=4]
   OleDb_hysql.onesql(String cmdText) in d:\wwwroot\heiyu837\wwwroot\App_Code\OleDb_hysql.cs:142
   sqlhelper.onesql(String cmdText) in d:\wwwroot\heiyu837\wwwroot\App_Code\sqlhelper.cs:72
   leixing.datalist() in d:\wwwroot\heiyu837\wwwroot\shangpin.aspx.cs:30
   leixing.Page_Load(Object sender, EventArgs e) in d:\wwwroot\heiyu837\wwwroot\shangpin.aspx.cs:20
   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) +678


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