登录特讯家园与朋友互动、家族族斗、秀萌炫酷、流行小说、好玩游戏赢豪礼!

.夏日炎炎,小系送清凉!
广场>BUG反馈区
附近有语法错误 状态: 已答复
Server Error in '/' Application.

',' 附近有语法错误。
字符串 ')' 后的引号不完整。

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: ',' 附近有语法错误。
字符串 ')' 后的引号不完整。

Source Error:


Line 132: DataHelper.ExecuteNonQuery("UPDATE [wap_bbs] SET [ftags]=[ftags]-1 WHERE [id]=" + d + "");
Line 133:
Line 134: DataHelper.ExecuteNonQuery("INSERT INTO [wap_shop_comment] ([uid],[sid],[reply],[addtime],[content]) VALUES (" + NuoHa.MyId + "," + id + ",0,'" + NuoHa.SvrTime + "',被打得一败涂地,落荒而逃了')");
Line 135:
Line 136: DataHelper.ExecuteNonQuery("INSERT INTO [wap_news] ([uid],[nid],[page],[ntype],[string]) VALUES (" + NuoHa.MyId + ",0,0,200,'落荒而逃')");

Source File: d:\www\web\txqq789.com_cgopekleedexhf0t04oz\wwwroot\wml\bbs\profile.aspx.cs ?? Line: 134

Stack Trace:


[SqlException (0x80131904): ',' 附近有语法错误。
字符串 ')' 后的引号不完整。]
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_profile.Page_Load(Object sender, EventArgs e) in d:\www\web\txqq789.com_cgopekleedexhf0t04oz\wwwroot\wml\bbs\profile.aspx.cs:134
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.34249
...同城 乔志强 2015-09-25 12:42:27
本帖已被管理员锁定,仅供版友查阅。
推帖.一键分享.收藏.复制本帖链接.举报该帖
回帖列表 返回帖子列表  打赏TA  点赞

广场>BUG反馈区