Server Error in '/' Application.

C:\inetpub\sites\cdl\gestor\Repositorio/CRP.Sistema.Cms.PaginaDinamica.PaginaDinamica/635355048947140000.JPG

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:\inetpub\sites\cdl\gestor\Repositorio/CRP.Sistema.Cms.PaginaDinamica.PaginaDinamica/635355048947140000.JPG

Source Error:


Line 33:         }
Line 34: 
Line 35:         OriImg = Image.FromFile(Util.GetImagePath(objImagem.Caminho));
Line 36:         if (OriImg.Width > MaxW)
Line 37:         {

Source File: c:\inetpub\sites\cdl\thumbnails.aspx.cs    Line: 35

Stack Trace:


[FileNotFoundException: C:\inetpub\sites\cdl\gestor\Repositorio/CRP.Sistema.Cms.PaginaDinamica.PaginaDinamica/635355048947140000.JPG]
   System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) +628282
   thumbnails.Page_Load(Object sender, EventArgs e) in c:\inetpub\sites\cdl\thumbnails.aspx.cs:35
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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