Server Error in '/' Application.

[A]ProfileCommon cannot be cast to [B]ProfileCommon. Type A originates from 'App_Code.ipyciyh6, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\InetPub\vhosts\legacysoft-entertainment.com\tmp\root\a7cee082\7f3b15e0\App_Code.ipyciyh6.dll'. Type B originates from 'App_Code.ehgtlbkd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\InetPub\vhosts\legacysoft-entertainment.com\tmp\root\a7cee082\7f3b15e0\App_Code.ehgtlbkd.dll'.

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: [A]ProfileCommon cannot be cast to [B]ProfileCommon. Type A originates from 'App_Code.ipyciyh6, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\InetPub\vhosts\legacysoft-entertainment.com\tmp\root\a7cee082\7f3b15e0\App_Code.ipyciyh6.dll'. Type B originates from 'App_Code.ehgtlbkd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\InetPub\vhosts\legacysoft-entertainment.com\tmp\root\a7cee082\7f3b15e0\App_Code.ehgtlbkd.dll'.

Source Error:


Line 1301:        '    placeholderBody.Controls.Add(New LiteralControl(sSpan))
Line 1302:        'End If
Line 1303:        If Profile.CustomProfile.SiteMode = 1 And (oInsiteUser.IsAdministrator Or oInsiteUser.IsSiteManager Or oInsiteUser.IsAuthor) Then
Line 1304:            'OPTIONAL: Tooltip
Line 1305:            RegisterJsInclude("jTooltip", ResolveClientUrl("~/systems/scripts/tooltip/jquery.tooltip.min.js"))

Source File: D:\InetPub\vhosts\legacysoft-entertainment.com\httpdocs\default.aspx.vb    Line: 1303

Stack Trace:


[InvalidCastException: [A]ProfileCommon cannot be cast to [B]ProfileCommon. Type A originates from 'App_Code.ipyciyh6, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\InetPub\vhosts\legacysoft-entertainment.com\tmp\root\a7cee082\7f3b15e0\App_Code.ipyciyh6.dll'. Type B originates from 'App_Code.ehgtlbkd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\InetPub\vhosts\legacysoft-entertainment.com\tmp\root\a7cee082\7f3b15e0\App_Code.ehgtlbkd.dll'.]
   _Default.get_Profile() +98
   _Default.Page_Load(Object sender, EventArgs e) in D:\InetPub\vhosts\legacysoft-entertainment.com\httpdocs\default.aspx.vb:1303
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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