Error when opening Post in BlogEngine.NET

Topics: ASP.NET 2.0
May 9, 2010 at 6:47 AM

Every once in awhile after creating a new post, I click on the link to view the article and I get the "Collection was modified; enumeration operation may not execute". After a few days the link worked. Does anyone know why this is and what I can do to prevent it from happening in the future?



May 9, 2010 at 10:51 AM

If you have any "custom" extensions (or even widgets), I would try disabling them to see if the error disappears.  An extension could be making changes to data while a Post is being served.