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 275:            End If
Line 276:        End If
Line 277:        context.Response.BinaryWrite(result)
Line 278:    End Sub
Line 279:

Source File: C:\inetpub\LibertyJet\ClientIntegration.ashx    Line: 277

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   System.Web.HttpResponse.BinaryWrite(Byte[] buffer) +15
   ClientIntegration.AircraftPic(HttpContext context) in C:\inetpub\LibertyJet\ClientIntegration.ashx:277
   ClientIntegration.ProcessRequest(HttpContext context) in C:\inetpub\LibertyJet\ClientIntegration.ashx:28
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +871
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +219
   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