scsm 2010 sp1 webparts Unable to add selected web part(s).

Problem Description

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.


Cause

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.


Resolution

1. Check the dll file version under the SharePoint website, which is integrated with Service Manager Portal

   C:\inetpub\wwwroot\wss\VirtualDirectories\ bin

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.
C:\inetpub\wwwroot\wss\VirtualDirectories \bin\Microsoft.EnterpriseManagement.ServiceManager.WebParts.dll
C:\inetpub\wwwroot\wss\VirtualDirectories \bin\en\Microsoft.EnterpriseManagement.ServiceManager.WebParts.resources.dll

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

Advertisements

About arnepeleman

I am a system center enthusiast, IT Geek. View all posts by arnepeleman

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: