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

乐动体育app-应用主页

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

异常详细信息: System.Data.SqlClient.SqlException: 乐动体育app-应用主页

源错误:


行 124:    {
行 125:        string sqlstr = "select menuid from site_article where id = @id";
行 126:        menuId = xtDAO.SqlText.GetString(sqlstr, new SqlParameter[] { xtDAO.Utils.MakeInParam("@id", SqlDbType.BigInt, articleId) });
行 127:
行 128:        sqlstr = "select menuName from site_menu where id = @id";

源文件: d:\webserver\hbjg\web\viewer.aspx.cs    行: 126

堆栈跟踪:


[SqlException (0x80131904): 乐动体育app-应用主页]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1960634
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4890859
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2412
   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +59
   System.Data.SqlClient.SqlDataReader.get_MetaData() +83
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +293
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
   System.Data.SqlClient.SqlCommand.ExecuteScalar() +139
   xtDAO.SqlText.ExecuteScalar(SqlConnection cn, String cmdText, SqlParameter[] sqlParams) +157
   xtDAO.SqlText.ExecuteScalar(String cmdText, SqlParameter[] sqlParams) +334
   xtDAO.SqlText.GetString(String sqlstr, SqlParameter[] sqlParams) +43
   viewer.LoadIDs() in d:\webserver\hbjg\web\viewer.aspx.cs:126
   viewer.Page_Load(Object sender, EventArgs e) in d:\webserver\hbjg\web\viewer.aspx.cs:33
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


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