Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you try to import a .dwp file in FrontPage 2003


View products that this article applies to.

Symptoms

You may find that you cannot import a Web Part description file (.dwp) in Microsoft Office FrontPage 2003. When you try to import a .dwp file, you receive the following error message:
The Web part or Web form control on this Web part page cannot be displayed or imported because it is not registered on this site as safe
You do not experience these symptoms when you import a .dwp file in Microsoft Internet Explorer.

↑ Back to the top


Cause

This problem may occur in situations where the name of the Web Part assembly in the SafeControl Assembly entry in the SafeControls list of the Web.config file on the server and the name of the Web Part assembly in the .dwp file do not match. For example, this problem may occur if the name of the Web Part assembly in the SafeControl Assembly entry in the SafeControls list of the Web.config file on the server uses a strong name that includes version, culture, and public key token information, and the name of the Web Part assembly in the .dwp file does not use a strong name.

↑ Back to the top


Workaround

To work around this problem, make sure that the name of the Web Part assembly that is in the SafeControl Assembly entry in the SafeControls list of the Web.config file on the server is the same as the name of the Web Part assembly that is in the .dwp file.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information about how to package and deploy Web Parts for Microsoft Windows SharePoint Services and for Microsoft Office SharePoint Portal Server 2003, visit the following Microsoft Web site:

↑ Back to the top


Keywords: KB835590, kbtshoot, kbbug, kbpending, kberrmsg

↑ Back to the top

Article Info
Article ID : 835590
Revision : 5
Created on : 1/22/2007
Published on : 1/22/2007
Exists online : False
Views : 452