日期:2014-05-18 浏览次数:20447 次
“/com”应用程序中的服务器错误。 -------------------------------------------- INSERT INTO 语句的语法错误。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Data.OleDb.OleDbException: INSERT INTO 语句的语法错误。 源错误: 行 99: this.fuimg.SaveAs(path);//保存上传的图片 行 100: 行 101: if (bllnews.addNews(modelnews) > 0)///// 行 102: { 行 103: 源文件: e:\website\pengyuyin\banzheng.com\com\admin\news\updnews.aspx.cs 行: 101 堆栈跟踪: [OleDbException (0x80040e14): INSERT INTO 语句的语法错误。] System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +177 System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +194 System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +56 System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +105 System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +88 DAL.DBHelper.ExecuteCommand(String safeOledb) +87 DAL.News.addNews(News model) +691 BLL.News.addNews(News model) +37 updnews.btnok_Click(Object sender, EventArgs e) in e:\website\pengyuyin\banzheng.com\com\admin\news\updnews.aspx.cs:101 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +75 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +97 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4921