Server Error in '/' Application.

Parameter is not valid.

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.ArgumentException: Parameter is not valid.

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:


[ArgumentException: Parameter is not valid.]
   System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format) +1164726
   System.Drawing.Bitmap..ctor(Int32 width, Int32 height) +19
   Cnzk.Web.Handlers.ThumbnailHandler.GetNotFoundImage(Color bgcolor, Color fgcolor, String txt) in C:\Work\Components\Cnzk\Cnzk.Web-0.0.1-Alpha2\Source\Handlers\ThumbnailHandler.cs:476
   Cnzk.Web.Handlers.ThumbnailHandler.ProcessRequest(HttpContext context) in C:\Work\Components\Cnzk\Cnzk.Web-0.0.1-Alpha2\Source\Handlers\ThumbnailHandler.cs:213
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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