After upgrading the System Center Service Manager 2010 from RTM to SP1, we failed to add the web part through SharePoint website(integrated with Service Manager Web Portal).
It reported the following error.
Unable to add selected web part(s).
Top Announcements: Object reference not set to an instance of an object.
This problem is caused by the .dll files used by the SharePoint integrated website is still RTM version. We need to replace them manually with the SP1 verion files.
1. Check the dll file version under the SharePoint website, which is integrated with Service Manager Portal
For example, C:\inetpub\wwwroot\wss\VirtualDirectories\16096\bin
Make sure most of the files version is 7.0.6555.0
2. If the file version in the above folder is less than 7.0.6555.0, please do the following actions.
a. Backup the folder “C:\inetpub\wwwroot\wss\VirtualDirectories \bin”
b. Go to the System Center Service Manager Portal installation folder, by default it is as following
C:\inetpub\wwwroot\System Center Service Manager Portal\Analyst\Bin
There should be 18 .dll files under the folder and most of them are version 7.0.6555.0. Copy these 18 .dll files to replace the files mentioned in step 1.
c. Go to the C:\inetpub\wwwroot\System Center Service Manager Portal\Analyst\Bin\en, copy the 5 .dll files, and replace the files in the following path “C:\inetpub\wwwroot\wss\VirtualDirectories\bin\en”
d. Search the following two files on the Service Manager Management Server.
In case either of them is less than 7.0.6555.0, please search the files to find out the latest version and replace in the above folder as well.
e. Open a DOS command line with the administrative right, then input “iisreset” to restart the IIS services.
With many thanks to Jeffrey Gu for pointing this out.
Original source: http://blogs.technet.com/b/jeffrey_gus_system_center_blog/archive/2011/02/14/service-manager-2010-unable-to-add-the-webpart-on-sharepoint-intergrated-service-portal-after-upgrading-to-sp1.aspx