Server Error in '/' Application.

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

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 'ProfileCommon' to type 'ProfileCommon'.

Source Error:


[No relevant source lines]

Source File: c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\2c9edd65\979a0e71\App_Web_1hltekip.28.cs    Line: 0

Stack Trace:


[InvalidCastException: Unable to cast object of type 'ProfileCommon' to type 'ProfileCommon'.]
   ShoppingCart.get_Profile() in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\2c9edd65\979a0e71\App_Web_1hltekip.28.cs:0
   ShoppingCart.BindDataToGrid() in c:\Website\bangkeovn.com\ShoppingCart.aspx.cs:101
   ShoppingCart.Page_Load(Object sender, EventArgs e) in c:\Website\bangkeovn.com\ShoppingCart.aspx.cs:25
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8813; ASP.NET Version:2.0.50727.8951