Server Error in '/' Application.

Input stream is not a supported format.

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: ImageProcessor.Common.Exceptions.ImageFormatException: Input stream is not a supported format.

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:


[ImageFormatException: Input stream is not a supported format.]
   ImageProcessor.ImageFactory.Load(Stream stream) in D:\TFS-DaB\Other\Needio\ImageProcessor\src\ImageProcessor\ImageFactory.cs:208
   ImageProcessor.Web.HttpModules.<ProcessImageAsync>d__34.MoveNext() in D:\TFS-DaB\Other\Needio\ImageProcessor\src\ImageProcessor.Web\HttpModules\ImageProcessingModule.cs:622
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
   System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +64
   System.Web.AsyncEventExecutionStep.InvokeEndHandler(IAsyncResult ar) +209
   System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +156


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