Microsoft KB Archive/839048

= &quot;Could not instantiate control SharePoint:ProjectProperty&quot; error message when you view a Windows SharePoint Services Web page =

Article ID: 839048

Article Last Modified on 7/27/2006

-

APPLIES TO


 * Microsoft Windows SharePoint Services
 * Microsoft Office FrontPage 2003

-





SYMPTOMS
After you edit a Microsoft Windows SharePoint Services page by using Microsoft Office FrontPage 2003, when you view the page in a Web browser, you receive the following error message:

Could not instantiate control SharePoint:ProjectProperty

Web Parts Maintenance Page: If you have permission, you can use this page to temporarily disable Web Parts or remove personal settings. For more information, contact your site administrator.

For example, you may receive this error message after you edit the SharePoint Services default home page, and you remove much of the existing content.



CAUSE
This problem may occur if the FrontPage 2003 parser removes a register directive from the page when the register directive is still referenced in the TITLE element of the page. Typically, the FrontPage 2003 parser removes a register directive from the page when it detects that the last reference to the register directive has been removed. However, the FrontPage 2003 parser only detects controls that are between the tag and the tag of the page.

In each of the list form pages, there are many references to the SharePoint:ProjectProperty register directive. One of them is the SharePoint:ProjectProperty control in the TITLE element. The parser does not detect this control because it is outside the BODY element. The parser does detect other SharePoint:ProjectProperty references that are between the tag and the tag. If you delete all the SharePoint:ProjectProperty references in the BODY element when you edit the page, the parser does not find any references to the register directive because it does not detect the SharePoint:ProjectProperty reference in the TITLE element. Therefore, the parser removes the register directive although a reference still exists. This action breaks the page.

Note A register directive is a reference to a control.



WORKAROUND
To work around this problem, remove the reference to the SharePoint:ProjectProperty control in the TITLE element. To do so, follow these steps:  In FrontPage 2003, open the page that you want to fix. On the View menu, click Page. At the bottom of the document window, click Code.  Locate the line of code that is similar to the following: Home -    Edit the line of code so that it appears as follows: Home </Title> </li> Save the page.</li></ol>

<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 of this article.

<div class="moreinformation_section">

MORE INFORMATION
When the FrontPage 2003 parser parses a page, it looks for register directives that are not being referenced in the page and removes them. This behavior permits FrontPage 2003 to clean up a Web Part’s register directive when you remove Web Parts from a page.

Additional query words: fp2003 SharePoint

Keywords: kberrmsg kbbug KB839048

-

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

© Microsoft Corporation. All rights reserved.