Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.
I get this error on Windows 8 pro and Windows Server 2012 only. I run the web app on a Windows Server 2008 R2 machine with no errors!
What's up with that?
This occurs in the RowDataBound event of a gridview, but I suspect it is a bigger issue. I am running a linq query when it occurs.
A first chance exception of type 'System.InsufficientExecutionStackException' occurred in System.Web.dll
System.InsufficientExecutionStackException: Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.
at System.Runtime.CompilerServices.RuntimeHelpers.EnsureSufficientExecutionStack()
at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
at System.Web.UI.Control.FindControl(String id)
at FNF_ProductivityReport.GVProductivity_RowDataBound(Object sender, GridViewRowEventArgs e) in c:\inetpub\wwwroot\FNFQualPro\FNF\ProductivityReport.aspx.cs:line 125
at System.Web.UI.WebControls.GridView.OnRowDataBound(GridViewRowEventArgs e)
Maybe it's a windows 8 Known issue.
could you please try post your simple repro code here for us trouble shooting? if you are sure it's a bug please post it to window connect.
Please mark the replies as answers if they help or unmark if not.
Feedback to us
cali4life
Member
8 Points
23 Posts
Insufficient stack to continue executing the program safely. On Windows 8 Pro and Windows Server...
Feb 06, 2013 07:32 PM|LINK
Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.
I get this error on Windows 8 pro and Windows Server 2012 only. I run the web app on a Windows Server 2008 R2 machine with no errors!
What's up with that?
This occurs in the RowDataBound event of a gridview, but I suspect it is a bigger issue. I am running a linq query when it occurs.
A first chance exception of type 'System.InsufficientExecutionStackException' occurred in System.Web.dll
System.InsufficientExecutionStackException: Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.
at System.Runtime.CompilerServices.RuntimeHelpers.EnsureSufficientExecutionStack()
at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
at System.Web.UI.Control.FindControl(String id)
at FNF_ProductivityReport.GVProductivity_RowDataBound(Object sender, GridViewRowEventArgs e) in c:\inetpub\wwwroot\FNFQualPro\FNF\ProductivityReport.aspx.cs:line 125
at System.Web.UI.WebControls.GridView.OnRowDataBound(GridViewRowEventArgs e)
at System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource)
at System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding)
at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
at System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data)
at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
at System.Web.UI.WebControls.GridView.DataBind()
at FNF_ProductivityReport.GetReportData(Int32 iEmpoyeeDropDownListIndex) in c:\inetpub\wwwroot\FNFQualPro\FNF\ProductivityReport.aspx.cs:line 2784
Young Yang -...
All-Star
21349 Points
1818 Posts
Microsoft
Re: Insufficient stack to continue executing the program safely. On Windows 8 Pro and Windows Se...
Feb 13, 2013 05:32 AM|LINK
Maybe it's a windows 8 Known issue.
could you please try post your simple repro code here for us trouble shooting? if you are sure it's a bug please post it to window connect.
Feedback to us
Develop and promote your apps in Windows Store