Server Error in '/' Application.

e:\home\izaurbinati\Web\media\img_handling

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: e:\home\izaurbinati\Web\media\img_handling

Source Error:


Line 80: 		
Line 81: 
Line 82:             OriImg = Image.FromFile(CaminhoImagem)
Line 83: 			if MaxAltura = 0 then
Line 84: 				MaxAltura = testaTamanhoX(OriImg.Width, OriImg.Height, MaxLargura)

Source File: e:\home\izaurbinati\Web\media\default.vb    Line: 82

Stack Trace:


[FileNotFoundException: e:\home\izaurbinati\Web\media\img_handling]
   System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) +382067
   System.Drawing.Image.FromFile(String filename) +6
   defaultt.Redimensionar(String CaminhoImagem, Int32 MaxLargura, Int32 MaxAltura, Int32 idTamanho, String filename) in e:\home\izaurbinati\Web\media\default.vb:82
   defaultt.Page_Load(Object sender, EventArgs e) in e:\home\izaurbinati\Web\media\default.vb:53
   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.8974; ASP.NET Version:2.0.50727.8975