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 10:
Line 11: Dim ci As CaptchaImage.CaptchaImage
Line 12: ci = New CaptchaImage.CaptchaImage(Me.Session("CaptchaImageText").ToString, 300, 80, "Arial")
Line 13: ' Change the response headers to output a JPEG image.
Line 14: Me.Response.Clear()
[NullReferenceException: Object reference not set to an instance of an object.]
JPegImage.Page_Load(Object sender, EventArgs e) in E:\inetpub\wwwroot\volleyball\JPegImage.aspx.vb:12
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433