<![CDATA[Dundas Support Zone - Troubleshooting the SharePoint Web Part Installation]]>http://support.dundas.com/Dashboard5.SharePoint_Installation_Troubleshooting.ashxThu, 18 Jun 2020 02:56:59 GMTScrewTurn Wiki RSS Feed Generator<![CDATA[Troubleshooting the SharePoint Web Part Installation]]>http://support.dundas.com/Dashboard5.SharePoint_Installation_Troubleshooting.ashxDocumentation | Dundas Dashboard for SharePoint

This article will provide steps to troubleshoot the Dundas Dashboard SharePoint web part installation if it is not installed correctly.

A Note on STSADM

STSADM.exe is a command line tool used for administering SharePoint, and provides options that are unavailable through Central Administration. It is located in slightly different directories depending on your version of SharePoint.

WSS 3.0 / MOSS 2007
%COMMONPROGRAMFILES%\microsoft shared\web server extensions\12\bin

SharePoint 2010
%COMMONPROGRAMFILES%\microsoft shared\web server extensions\14\bin

Deploying the Web Part

The first step is to ensure that the web part solution was correctly deployed to your SharePoint web application. This can be verified through Central Admin by doing the following:

Through 2007 Central Administration

  1. Click Operations
  2. Click Solution Management

Through 2010 Central Administration

  1. Click System Settings
  2. Click Manage Farm Solutions
  3. Click dundas.dashboard.integration.sharepoint.wsp
  4. Make sure Deployment Status is set to Deployed and Deployed To includes the web application you're attempting to use the web part on.
  5. If either condition above is false, click Deploy Solution, choose to deploy now and select your web application from the drop down list.
  6. The solution should now be marked as deployed.

The end result should look like this (in SharePoint 2010):


If the solution does not appear in the Solution Manager

In this case you'll need to run a couple stsadm command to add the solution to SharePoint.

STSADM –o addsolution –filename "INSTALLDIR\WSP\Dundas.Dashboard.Integration.SharePoint.wsp"
STSADM –o execadmsvcjobs

Once the solution has been added it should appear in the list of solutions in the Solution Management and you can follow the steps above.

Activating the Web Part

Once the web part has been confirmed as correctly deployed it must be activated on the SharePoint site collection that you wish to use it on. Make sure the web part is activated by doing the following:

WSS 3.0 / MOSS 2007

  1. Load the home page of your SharePoint web site.
  2. Choose Site Actions from the drop-down menu.
  3. Select Site Settings and in the fly-out menu choose Modify All Site Settings to go to the Site Settings page.
  4. On the Site Settings page, go to the Galleries heading. Choose Web Parts to go to the Web Parts Gallery page.
  5. On the Web Parts Gallery page, click on the New button to go to the Web Parts Gallery: New Web Parts page.
  6. On the Web Parts Gallery: New Web Parts page, check the Dundas.Dashboard.Integration.SharePoint.WebParts.DashboardViewerWeb item, then click the Populate button.

SharePoint 2010

  1. Load the home page of your SharePoint web site.
  2. Choose Site Actions from the drop-down menu.
  3. Select Site Settings
  4. Select Manage Site Features under the Site Settings property
  5. Click the Activate button beside the Dashboard Viewer if it is not marked as active.

If the web part does not appear in the above lists, but the solution has been applied to this web application you can activate it through the command line with some stsadm commands.

STSADM -o activatefeature -name DundasDashboardWebParts -url http://SharePointServer/ -force
STSADM –o execadmsvcjobs

Marking the Web Part as Safe

The last thing to check is to make sure the web part is marked as safe in your web.config. If these entries are missing your web part may fail to add the to the page, and existing web parts will display this error:


Warning: Please make a back up of your web.config before making the following changes, so that you may restore it if there is an error.

Under the Configuration/SharePoint/SafeControls section of the web.config, add the following tags:

<SafeControl Assembly="Dundas.Dashboard.Integration.SharePoint, Version=, Culture=neutral, PublicKeyToken=1a3ee9f46fbf6ba3" Namespace="Dundas.Dashboard.Integration.SharePoint.WebControls" TypeName="*" Safe="True" SafeAgainstScript="False" />
<SafeControl Assembly="Dundas.Dashboard.Integration.SharePoint, Version=, Culture=neutral, PublicKeyToken=1a3ee9f46fbf6ba3" Namespace="Dundas.Dashboard.Integration.SharePoint.WebParts" TypeName="*" Safe="True" SafeAgainstScript="False" />

Click to return to: Documentation | Dundas Dashboard for SharePoint

russellc@dundas.com (russellc@dundas.com)Tue, 02 Apr 2013 14:36:42 GMT27A56CCD326E7F372442A152177BCAF9