I used Microsoft Enterprise Library 5.0 in a lot of project. After I upgraded SQL Server installation on my workstation to SQL Server 2012, I got this error every time trying to open a new query window in SSMS 2012.
“The ‘Microsoft.Practices.EnterpriseLibrary.Configuration.Design.VisualStudioIntegration2010Package, Microsoft.Practices.EnterpriseLibrary.Configuration.Design.VisualStudioIntegration2010, Version=1.0.0.0, Culture=netutral, PublicKeyToken=null’ package did not load correctly. The problem mayhave been cuased by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file …\AppDate\Roaming\Microsoft\AppEnv\10.0\ActivityLog.xml’. Continue to show this error message?”
Even I can disabled and hide it for next time after it shows up at the first time, it is still very annoying. I Bingle a little bit. Looks like there was a Microsoft Connect item on SQL Server already. But the item is closed and no fix available. The only workaround is:
Remove the VisualStudio 2010 integration from Microsoft Enterprise Library 5.0 Optional Update 1 installation. Then if you need the Visual Studio 2010 integration, install the EnterpriseLibrary Configuration extension from Microsoft via the Extension Manager in VS2010.