Server Error in '/' Application.
列名 'bj' 无效。
列名 'hua' 无效。
列名 'dan' 无效。
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: System.Data.SqlClient.SqlException: 列名 'bj' 无效。
列名 'hua' 无效。
列名 'dan' 无效。
Source Error:
Line 556: else
Line 557: {
Line 558: DataHelper.ExecuteNonQuery("INSERT INTO [wap_topic_draft] ([uid],[bid],[pid],[tags],[name],[dtext],[bj],[hua],[dan]) VALUES (" + NuoHa.MyId + "," + bid + "," + pid + ",'','" + name + "','" + dtext + "',0,0,0)");
Line 559: Response.Write("发表成功!<a href=\"" + NuoHa.SitePath + "home/draft/topic_list.aspx" + NuoHa.String0 + "\">进入我的草稿</a><br/>\r\n");
Line 560: }
Source File: d:\www\web\txqq789.com_cgopekleedexhf0t04oz\wwwroot\wml\bbs\topic_add.aspx.cs Line: 558
Stack Trace:
[SqlException (0x80131904): 列名 'bj' 无效。
列名 'hua' 无效。
列名 'dan' 无效。]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +212
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +81
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +551
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4120
System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) +846
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) +269
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +141
NuoHa.Data.DataHelper.ExecuteNonQuery(String ty, String sql) +206
NuoHa.Data.DataHelper.ExecuteNonQuery(String sql) +48
bbs_topic_add.Draft_Add(Int32 bid, Int32 pid, String name, String dtext, Include NuoHa) in d:\www\web\txqq789.com_cgopekleedexhf0t04oz\wwwroot\wml\bbs\topic_add.aspx.cs:558
bbs_topic_add.Page_6(Int32 bid, Int32 pid, Int32 ATopic, String[] bbConfig, Include NuoHa) in d:\www\web\txqq789.com_cgopekleedexhf0t04oz\wwwroot\wml\bbs\topic_add.aspx.cs:523
bbs_topic_add.Page_Load(Object sender, EventArgs e) in d:\www\web\txqq789.com_cgopekleedexhf0t04oz\wwwroot\wml\bbs\topic_add.aspx.cs:78
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
System.Web.UI.Control.OnLoad(EventArgs e) +61
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2645
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34280