Server Error in '/' Application.

Could not find file 'C:\WWW\metabo.sk\dokumenty\navod-ste-90-100-scs-84.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.FileNotFoundException: Could not find file 'C:\WWW\metabo.sk\dokumenty\navod-ste-90-100-scs-84.pdf'.

Source Error:


Line 382:    Response.AppendHeader("content-disposition", "attachment; filename=" & f_ZisPri(e.CommandArgument).pdf)
Line 383:    Response.ContentType = "text/plain"
Line 384:    Response.WriteFile(FilePath)
Line 385:    Response.End()
Line 386:    '*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Source File: C:\WWW\metabo.sk\produkt\default.aspx.vb    Line: 384

Stack Trace:


[FileNotFoundException: Could not find file 'C:\WWW\metabo.sk\dokumenty\navod-ste-90-100-scs-84.pdf'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +344
   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) +833
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +127
   System.Web.HttpResponse.WriteFile(String filename, Boolean readIntoMemory) +107
   produkt_default.p_DowPdf(Object sender, CommandEventArgs e) in C:\WWW\metabo.sk\produkt\default.aspx.vb:384
   System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +140
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6016


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