Server Error in '/' Application.

Source stream is empty; it has a length of 0. No bytes, no data. We can't work with this.

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: ImageResizer.ImageProcessingException: Source stream is empty; it has a length of 0. No bytes, no data. We can't work with this.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ImageProcessingException (0x80004005): Source stream is empty; it has a length of 0. No bytes, no data. We can't work with this.]
   ImageResizer.ImageBuilder.GetStreamFromSource(Object source, ResizeSettings settings, Boolean& disposeStream, String& path, Boolean& restoreStreamPosition) +2286
   ImageResizer.ImageBuilder.LoadImage(Object source, ResizeSettings settings, Boolean restoreStreamPos) +856
   ImageResizer.ImageBuilder.BuildJob(ImageJob job) +458
   ImageResizer.ImageBuilder.Build(ImageJob job) +477
   ImageResizer.ImageBuilder.Build(Object source, Object dest, ResizeSettings settings, Boolean disposeSource, Boolean addFileExtension) +147
   ImageResizer.ImageBuilder.Build(Object source, Object dest, ResizeSettings settings, Boolean disposeSource) +95
   ImageResizer.ImageBuilder.Build(Object source, Object dest, ResizeSettings settings) +79
   ImageResizer.<>c__DisplayClass2.<HandleRequest>b__1(Stream stream) +439
   ImageResizer.Plugins.Basic.NoCacheHandler.ProcessRequest(HttpContext context) +390
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +542
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


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