Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Insufficient stack to continue executing the program safely. On Windows 8 Pro and Windows Server 2012 Standard ONLY!!!

$
0
0

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


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>