Server Error in '/' Application.

Could not find a part of the path 'D:\Inetpub\wwwroot\IAD_web\Files\AttachedDocuments\1295e20d-67b7-47bc-a798-a3cc009c8b32\186a0801-0547-4f4f-a132-a52f00d46065.CE_09-2015.pdf'.

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:\Inetpub\wwwroot\IAD_web\Files\AttachedDocuments\1295e20d-67b7-47bc-a798-a3cc009c8b32\186a0801-0547-4f4f-a132-a52f00d46065.CE_09-2015.pdf'.

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:\Inetpub\wwwroot\IAD_web\Files\AttachedDocuments\1295e20d-67b7-47bc-a798-a3cc009c8b32\186a0801-0547-4f4f-a132-a52f00d46065.CE_09-2015.pdf'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +239
   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) +2580
   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
   System.Web.HttpResponse.WriteFile(String filename, Boolean readIntoMemory) +102
   Funds.BussinessLayer.AttachedDocumentHandler.ProcessRequest(HttpContext context) in D:\WebSites\IAD\IADWeb\Modules\Funds\BussinessLayer\AttachedDocumentHandler.cs:49
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171


Version Information: Microsoft .NET Framework Version:2.0.50727.8789; ASP.NET Version:2.0.50727.8762