Server Error in '/' Application.

Unable to cast object of type 'System.ComponentModel.Win32Exception' to type 'System.Web.HttpException'.

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 'System.ComponentModel.Win32Exception' to type 'System.Web.HttpException'.

Source Error:


[No relevant source lines]

Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\8731142d\dd7c0424\App_Web_playerinfo.aspx.98e1624c.qjuxiojt.0.cs    Line: 0

Stack Trace:


[InvalidCastException: Unable to cast object of type 'System.ComponentModel.Win32Exception' to type 'System.Web.HttpException'.]
   One.Infrastructure.Utils.LogAndNotifyLastError() +407
   One.UI.Templates.OnePage.OnError(EventArgs e) +228
   System.Web.UI.Page.HandleError(Exception e) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6695
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245
   System.Web.UI.Page.ProcessRequest() +72
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +58
   ASP.cat_leagues_playerinfo_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\8731142d\dd7c0424\App_Web_playerinfo.aspx.98e1624c.qjuxiojt.0.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69


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