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 9:  public partial class Verify : System.Web.UI.Page
Line 10: {
Line 11:     module verify = new module();
Line 12:     protected void Page_Load(object sender, EventArgs e)
Line 13:     {

Source File: d:\inetpub\vhosts\nsny.org\httpdocs\Verify.aspx.cs    Line: 11

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   education.Connection..ctor() +29
   module..ctor() +5
   Verify..ctor() in d:\inetpub\vhosts\nsny.org\httpdocs\Verify.aspx.cs:11
   ASP.verify_aspx..ctor() in d:\inetpub\vhosts\nsny.org\tmp\root\bf9ec177\a42197ae\App_Web_i5tudd5t.0.cs:0
   __ASP.FastObjectFactory_app_web_i5tudd5t.Create_ASP_verify_aspx() in d:\inetpub\vhosts\nsny.org\tmp\root\bf9ec177\a42197ae\App_Web_i5tudd5t.2.cs:0
   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +31
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +100
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
   System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +37
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +339
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +159


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