Server Error in '/' Application.

C:\web\mazzoni.it\error.gif

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: C:\web\mazzoni.it\error.gif

Source Error:


Line 23:             orginalimg = orginalimg.FromFile(FileName) ' Fetch User Filename
Line 24:         Catch
Line 25:             orginalimg = orginalimg.FromFile(rootpath & "error.gif") ' Fetch error.gif
Line 26:         End Try
Line 27: 

Source File: C:\web\mazzoni.it\thb.aspx    Line: 25

Stack Trace:


[FileNotFoundException: C:\web\mazzoni.it\error.gif]
   System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) +381731
   System.Drawing.Image.FromFile(String filename) +6
   ASP.thb_aspx.Page_Load(Object Sender, EventArgs E) in C:\web\mazzoni.it\thb.aspx:25
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.3643; ASP.NET Version:2.0.50727.3634