Microsoft Knowledge Base Email Alertz

(835590) - Describes an issue where you cannot import a .dwp file in FrontPage 2003. This issue occurs if the name of the Web Part assembly in the SafeControls list of the Web.config file on the server and in the .dwp file do not match.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 835590 - Last Review: January 22, 2007 - Revision: 2.3

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

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.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" 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 (http://msdn2.microsoft.com/en-us/library/ms916839.aspx)

APPLIES TO
  • Microsoft Office FrontPage 2003, when used with:
    • Microsoft Office SharePoint Portal Server 2003
    • Microsoft Windows SharePoint Services 2.0
Keywords: 
kberrmsg kbpending kbbug kbtshoot KB835590
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate