Server Error in '/CDFilter' 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 8:          Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Line 9:  
Line 10:         Dim captchaImage As New CaptchaImage.CaptchaImage(Session("CaptchaImageText").ToString(), 180, 50, "Century Schoolbook")
Line 11: 
Line 12:         Response.Clear()

Source File: C:\webserver\cdfilter\JpegImage.aspx.vb    Line: 10

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   JpegImage.Page_Load(Object sender, EventArgs e) in C:\webserver\cdfilter\JpegImage.aspx.vb:10
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210