Server Error in '/' Application.

凯发体育下载|凯发手机版app|点击下载

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: MySql.Data.MySqlClient.MySqlException: 凯发体育下载|凯发手机版app|点击下载

Source Error:


Line 99:             dr.Dispose();
Line 100:
Line 101:            MySql.Data.MySqlClient.MySqlDataReader dr4 = d.ExecuteReader("select id,reid,typename from dede_arctype where id=" + TypeID + "");
Line 102:            if (dr4.Read())
Line 103:            {

Source File: d:\www\1190119\gs.1190119.com\Article.aspx.cs    Line: 101

Stack Trace:


[MySqlException (0x80004005): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1]
   MySql.Data.MySqlClient.MySqlStream.ReadPacket() +294
   MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) +73
   MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId) +20
   MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) +110
   MySql.Data.MySqlClient.MySqlDataReader.NextResult() +836
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +1507
   Uooms.MySQL.Access.Helper.ExecuteReader(CommandType cmdType, String cmdText, MySqlParameter[] prams) +130
   Uooms.MySQL.Access.Helper.ExecuteReader(CommandType cmdType, String cmdText) +48
   Uooms.MySQL.Access.Helper.ExecuteReader(String cmdText) +48
   Info.Detail.Page_Load(Object sender, EventArgs e) in d:\www\1190119\gs.1190119.com\Article.aspx.cs:101
   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) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1