Unable to Import Dashboard Web Part (.dwp) Files (291378)
The information in this article applies to:
- Microsoft SharePoint Portal Server 2001
This article was previously published under Q291378 SYMPTOMS
If you attempt to import dashboard Web part (.dwp) files that were created using Digital Dashboard Resource Kit (DDRK) versions 2.0, 2.1 or 2.2, you may receive the following error message:
A run time error has occurred.
Do you wish to debug?
Line: 0
Error: HTTP Status Code: 400
HTTP Status Text: HTTP Error
CAUSE
This issue can occur if you used the Microsoft Visual Interdev (VID) plug-in for DDRK 2.0 to create the Web part. This plug-in tries to upload a Web part Extensible Markup Language (XML) definition that does not have a default name space defined. The SharePoint Portal Server dashboard site uses DDRK version 3.0, which requires that you define a default name space to import a Web part.
WORKAROUND
To work around this issue, fix the .dwp files that were created with the VID plug-in by editing the XML file. To do so, change <WebPart> in the beginning of the file to:
<WebPart xmlns="urn:schemas-microsoft-com:webpart:" version="1.0.0">
MORE INFORMATION
The workaround described in the preceding section is not guaranteed for all Web parts because some of the other properties that are configured by the VID plug-in may cause separate issues. However, after you modify this file, you can import the Web part to your dashboard site and continue testing.
The SharePoint Portal Server portal is integrated with Digital Dashboard. A dashboard is a collection of modules called Web parts that are organized on a Web page. The integration of the SharePoint Portal Server portal with Digital Dashboard enables you to take advantage of all the programs and services that are packaged as Web parts.
Modification Type: | Minor | Last Reviewed: | 4/25/2005 |
---|
Keywords: | kberrmsg kbprb kbProd2Web KB291378 |
---|
|