Commerce Server 2007 Error: A PopEndTag was called without a corresponding PushEndTag

...

Recently I have been working on a project for my employer utilizing Microsoft’s Commerce Server 2007 and building a B2C e-commerce web site based upon their Adventure Works example project

While modifying their pages and putting them in our new template, I started getting this error "A PopEndTag was called without a corresponding PushEndTag" when navigating to our product detail page (Product.aspx).

I don’t have a solution yet (but will post it when I do). In the meantime, anyone have any thoughts on the matter?

Fortunately, this is was caused by an error that falls into the "joezBeingABoneHead" variety…

It turns out that I had an extra "writer.RenderEndTag();" line in my CommerceComponentsProductDetails.cs file. Removed it and all was well (thanks Matt!)

Related Links:

Leave a Reply