Server Error in '/' Application.

Unable to cast object of type 'clsDesignCenterUser' to type 'clsDesignCenterUser'.

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.InvalidCastException: Unable to cast object of type 'clsDesignCenterUser' to type 'clsDesignCenterUser'.

Source Error:


Line 43:         Get
Line 44:             If Not HttpContext.Current.Session("myUser") Is Nothing Then
Line 45:                 Return HttpContext.Current.Session("myUser")
Line 46:             End If
Line 47: 

Source File: C:\WWW\TramcoInc.com\App_Code\modGlobalWeb.vb    Line: 45

Stack Trace:


[InvalidCastException: Unable to cast object of type 'clsDesignCenterUser' to type 'clsDesignCenterUser'.]
   modGlobalWeb.get_MyUser() in C:\WWW\TramcoInc.com\App_Code\modGlobalWeb.vb:45
   CreateAccount.Page_Load(Object sender, EventArgs e) in C:\WWW\TramcoInc.com\CreateAccount.aspx.vb:10
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8762; ASP.NET Version:2.0.50727.8762