windows2003 iis6.0 在创建文件时出现下面错误, 在vs中调试时不会出现, 网站已经设置为read write 也设置enable parent paths
Server Error in '/' Application.
The path is not of a legal form.
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.ArgumentException: The path is not of a legal form.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[ArgumentException: The path is not of a legal form.] System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) +3806 System.IO.Path.GetFullPathInternal(String path) +59 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) +1681 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +138 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +89 SysManagement_PreviewCustomerInfo.btnPreview_Click(Object sender, EventArgs e) +925 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
|
页面出现是这样。通过异常取得的信息是 Unable to load DLL 'SettingCE6.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)