Microsoft KB Archive/835590

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

Article ID: 835590

Article Last Modified on 1/22/2007

-

APPLIES TO

 Microsoft Office FrontPage 2003, when used with:  Microsoft Office SharePoint Portal Server 2003

 Microsoft Windows SharePoint Services 

-





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.



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.



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.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

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:

http://msdn2.microsoft.com/en-us/library/ms916839.aspx

Keywords: kberrmsg kbpending kbbug kbtshoot KB835590

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.