Server Error in '/' Application.

The remote server returned an error: (404) Not Found.

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.Net.WebException: The remote server returned an error: (404) Not Found.

Source Error:


Line 397:
Line 398:        Dim MyWebClient As New System.Net.WebClient
Line 399:        Dim ImageInBytes() As Byte = MyWebClient.DownloadData(strURL)
Line 400:        Dim fs As New IO.MemoryStream(ImageInBytes)
Line 401:        Dim br As New System.IO.BinaryReader(fs)

Source File: h:\root\home\kyrakin-001\www\prskincare\products\details.aspx.vb    Line: 399

Stack Trace:


[WebException: The remote server returned an error: (404) Not Found.]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +298
   System.Net.WebClient.DownloadData(Uri address) +106
   System.Net.WebClient.DownloadData(String address) +32
   ILEC_products_details.fncGetRemoteImage(Int32 varID, String strURL) in h:\root\home\kyrakin-001\www\prskincare\products\details.aspx.vb:399
   ILEC_products_details.Page_Load(Object sender, EventArgs e) in h:\root\home\kyrakin-001\www\prskincare\products\details.aspx.vb:92
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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