I've been trying to find a scenario as to why, adding web parts in my SharePoint environment is causing the dreaded: "Attempted to use an object that has ceased to exist." exception.
All was working fine until Monday. I assumed that it must've been bad coding practice so ran the SPDispose on each build and nothing, everything is disposed of where needed and correct usage of SPContext.Current.Site is used through all my web parts.
I reinstalled SharePoint on my environment and issue persists. Even adding standard SharePoint web parts causes this error.
I know Microsoft released a bug recently that affects some areas of SharePoint, removed the hotfix but to no avail.
Might this be yet another blundered hot fix from Microsoft that's causing this?
EDIT
Environment this is happening on:
- Windows 2008 R2 Standard
- SQL Server 2008 R2
- SharePoint 2010 Enterprise + SP 2