How to Resolve Issues Configuring the MOM 2005 SharePoint Webpart

With the release of MOM 2005 SP1, we were no longer able to get the MOM 2005 SharePoint WebPart to work correctly. The first issue we ran into was just getting it installed. The installation failed unless we included the correct SharePoint Virtual Server information which for us is highlighted below. The Virtual Server Physical Location defaulted correctly.

SharePoint Virtual Server (including port)
 
Virtual Server Physical Location:
C:\inetpub\wwwroot
 
Next we had to change the config.web file for SharePoint (for us located under C:\Inetpub\SharePoint), from the following: 
     <trust level="Full" originUrl="" />
To this:
     <trust level="WSS_Minimal" originUrl="" />
And do an IISreset.

Now we could add the WebPart to the Sharepoint (or WSS) site, but it would error out when we attempted to configure it by pressing the “Show MOM 2005 Property ToolPane” button. With significant help from Microsoft we made the following change.

Edit the config.web file for SharePoint (for us located under C:\Inetpub\SharePoint), to add the following information just after the </configSections> tag:

 <runtime>
     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="microsoft.web.ui.webcontrols"
                          publicKeyToken="31BF3856AD364E35"
                          culture="neutral" />
        <!– Redirecting to version 5.0.2749.5 of the assembly. –>
        <bindingRedirect oldVersion="5.0.2749.0"
                         newVersion="5.0.2911.0"/>
      </dependentAssembly>
     </assemblyBinding>
  </runtime>

Next do an IISreset.

You may also need to copy the microsoft.web.ui.webcontrols.dll file to the SharePoint bin directory (for us it was C:\inetpub\SharePoint\bin). After this we were able to configure the WebPart!

Advertisements
This entry was posted in MOM 2005. Bookmark the permalink.

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