[DirectoryNotFoundException: Could not find a part of the path 'D:\HostingSpaces\wairoastar\www.wairoastar.co.nz\wwwroot\App_Data\Newspaper\20170413\wspage001.pdf'.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +193
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) +66
System.IO.File.ReadAllBytes(String path) +58
Handlers_PdfHandler.Page_Load(Object sender, EventArgs e) in D:\HostingSpaces\wairoastar\www.wairoastar.co.nz\wwwroot\Handlers\PdfHandler.aspx.vb:31
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
|