Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 104:        else
Line 105:        {
Line 106:            imageFilename = so.GetImageFilename(image);
Line 107:        }
Line 108:        

Source File: c:\deployments\prod\www.autopisani.it\common\images\GetImage.ashx    Line: 106

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ImageJpeg.ProcessRequest(HttpContext context) in c:\deployments\prod\www.autopisani.it\common\images\GetImage.ashx:106
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +541
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +74
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92


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