Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
my application was worked fine but suddenly it is stop working and give this error
[InvalidOperationException: Stack empty.] System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +52 System.Collections.Generic.Stack`1.Pop() +6694385 Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.SelectionMappingRenderTraceListener.EndRendering(TextWriter writer, Object renderedObject) +84 System.Web.UI.RenderTraceListenerList.EndRendering(TextWriter writer, Object renderedObject) +58 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +142 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1386
Posted
Updated 27-May-14 5:11am
v2
Comments
Prasad Khandekar 27-May-14 11:15am    
Check this out (http://lmgtfy.com/?q=Microsoft.VisualStudio.Web.PageInspector.Runtime.WebForms.SelectionMappingRenderTraceListener.EndRendering(TextWriter+writer%2C+Object+renderedObject)+AND+stack+empty)

Or

(http://connect.microsoft.com/VisualStudio/feedback/details/817083/pageinspector-invalidoperationexception-stack-empty)
Zonke Msibi 10-May-17 9:35am    
I'm having the same issue i tried to disable PageInspector:ServerCodeMappingSupport then it points to javascript function with ErrorMessage:The table must contain row sections in order of header, body, then footer. And when i comment out that function it keep going to the next controls which seems as if it has nothing do with my code because its working fine on another PC running the same OS and VS 2015. Please help I'm lost.

1 solution

 
Share this answer
 
Comments
Zonke Msibi 10-May-17 9:37am    
I'm having the same issue i tried to disable PageInspector:ServerCodeMappingSupport then it points to javascript function with ErrorMessage:The table must contain row sections in order of header, body, then footer. And when i comment out that function it keep going to the next controls which seems as if it has nothing do with my code because its working fine on another PC running the same OS and VS 2015. Please help I'm lost.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900