我使用的是webeditor控件,想上传一个FLASH 在提交的时候出现了这个问题,
{ "语法错误 (操作符丢失) 在查询表达式 ' ' <P>
<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=200 width=300 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000> <PARAM NAME= "_cx " VALUE= "7938 "> <PARAM NAME= "_cy " VALUE= "5292 "> <PARAM NAME= "F ' 中。 "}
获得的异常情况为:
用户代码未处理 System.Data.OleDb.OleDbException
ErrorCode=-2147217900
Message= "语法错误 (操作符丢失) 在查询表达式 ' ' <P>
<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=200 width=300 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000> <PARAM NAME= "_cx " VALUE= "7938 "> <PARAM NAME= "_cy " VALUE= "5292 "> <PARAM NAME= "F ' 中。 "
Source= "Microsoft JET Database Engine "
StackTrace:
在 System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
在 System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
在 System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
在 System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
在 System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
在 System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
在 myblog.a_edit.submit_Click(Object sender, EventArgs e) 位置 D:\net\myweb\myblog\admin\a_edit.aspx.vb:行号 76
在 System.Web.UI.WebControls.Button.OnClick(EventArgs e)
在 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
在webeditor中的代码为:
" <P>
<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=200 width=300 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000> <PARAM NAME= "_cx " VALUE= "7938 "> <PARAM NAME= "_cy " VALUE= "5292 "> <PARAM NAME= "FlashVars " VALUE= " "> <PARAM NAME= "Movie " VALUE= "function/upload/vs200520.swf "> <PARAM NAME= "Src " VALUE= "function/upload/vs200520.swf "> <PARAM NAME= "WMode " VALUE= "Window "> <PARAM NAME= "Play " VALUE= "-1 "> <PARAM NAME= "Loop " VALUE= "-1 "> <PARAM NAME= "Quality " VALUE= "High "> <PARAM NAME= "SAlign " VALUE= " "> <PARAM NAME= "Menu " VALUE= "-1 "> <PARAM NAME= "Base " VALUE= " "> <PARAM NAME= "AllowScriptAccess " VALUE= " "> <PARAM NAME= "Scale " VALUE= "ShowAll "> <PARAM NAME= "DeviceFont " VALUE= "0 "> <PARAM NAME= "EmbedMovie " VALUE= "0 "> <PARAM NAME= "BGColor " VALUE= " "> <PARAM NAME= "SWRemote " VALUE= " "> <PARAM NAME= "MovieData " VALUE= " "> <PARAM NAME= "SeamlessTabbing " VALUE= "1 "> <PARAM NAME= "Profile " VALUE= "0 "> <PARAM NAME= "ProfileAddress " VALUE= " "> <PARAM NAME= "ProfilePort " VALUE= "0 ">