Attempted to use an object that has ceased to exist

I get this error when adding a new web part to a custom page. Generally the exception is related to code that does not dispose properly. I double checked repeatedly and could not fine the issue. Turns out the exception was from a web part that was already ON the page (legacy stuff). The only way to fix was to create a new page with the new web part (removing old web part caused the same issue).

Leave a Reply

Your email address will not be published. Required fields are marked *