dealy14 / ComplianceFactors.Website

This repository contains all source code for the ComplianceFactors SaaS web application.
0 stars 1 forks source link

101513e-Unable to upload a document #38

Open dealy14 opened 11 years ago

dealy14 commented 11 years ago

From the System, manage training, manage documents, create new document type button selected - i tried to add a Word document and get this error message:

Server Error in '/' Application. Could not find a part of the path 'D:\Website\20131014\SystemHome\Catalog\Documents\Upload\e9051541-f7df-414f-b08b-33a582baa4d0.doc'. 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.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Website\20131014\SystemHome\Catalog\Documents\Upload\e9051541-f7df-414f-b08b-33a582baa4d0.doc'.

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:

[DirectoryNotFoundException: Could not find a part of the path 'D:\Website\20131014\SystemHome\Catalog\Documents\Upload\e9051541-f7df-414f-b08b-33a582baa4d0.doc'.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +338 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) +1430 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +208 System.IO.FileStream..ctor(String path, FileMode mode) +91 System.Web.HttpPostedFile.SaveAs(String filename) +160 ComplicanceFactor.SystemHome.Catalog.Documents.saandin_01.btnUploadDocument_Click(Object sender, EventArgs e) in D:\Work\ASC\ComplianceFactors.Website\ComplicanceFactor\SystemHome\Catalog\Documents\saandin-01.aspx.cs:106 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +155 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18056