文件名、目录名或卷标语法不正确

广告:

[IOException: 文件名、目录名或卷标语法不正确。]

System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1143

System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1242

System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +132

System.IO.FileStream..ctor(String path, FileMode mode) +99

System.Web.HttpPostedFile.SaveAs(String filename) +99

Mvccom.Funs.UpfileHtml5(HttpPostedFile control, Page page1, Int32 type, String& msg, Int32& filesize) in E:\aspnet2.0\hao_elec_all_jia\mvc_elec_jia\Mvccom\Funs.cs:421

Mvcb2b.editors.uploadinc.Up.Page_Load(Object sender, EventArgs e) in E:\aspnet2.0\hao_elec_all_jia\mvc_elec_jia\Mvcb2b\editors\uploadinc\Up.aspx.cs:49

System.Web.UI.Control.OnLoad(EventArgs e) +99

System.Web.UI.Control.LoadRecursive() +154

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082

原因:服务器开启了防篡改功能。关闭即可。

广告:

编辑:Admin 时间:2022/10/13 19:56:41 阅览:272   返回    
卷标语法不正确
扫描关注53BK报刊官网
扫描关注阅速公司微信