Line 308: { Line 309: Line 310: FileUpload3.PostedFile.SaveAs(SaveLocation); Line 311: Line 312: }
[IOException: The filename, directory name, or volume label syntax is incorrect. ] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7717004 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) +1162 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +61 System.IO.FileStream..ctor(String path, FileMode mode) +55 System.Web.HttpPostedFile.SaveAs(String filename) +99 AdminModule_EmployeeRegistration.Button3_Click(Object sender, EventArgs e) in c:\RMCR1\AdminModule\EmployeeRegistration.aspx.cs:310 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565