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 - Parser Error: Unknown Server Tag '<TagName>'." error message when you view an .aspx page in Design view in FrontPage 2003


View products that this article applies to.

Symptoms

In Microsoft Office FrontPage 2003, when you open an .aspx page in Design view, you may receive the following error message:
Error - Parser Error: Unknown Server Tag 'TagName'.
The placeholder for the user control does not appear as expected on the page.

↑ Back to the top


Cause

This problem occurs if the .aspx page contains one or more user controls that are located in <asp:Panel></asp:Panel> tags. FrontPage 2003 incorrectly detects user controls that are located in <asp:Panel></asp:Panel> tags.

↑ Back to the top


Workaround

To work around this problem, replace the <asp:Panel></asp:Panel> tags that contain user controls in the .aspx page with <div></div> tags. The <asp:Panel> tag is rendered as an HTML <div> element. To replace the <asp:Panel></asp:Panel> tags in the .aspx page with <div></div> tags:
  1. Open the Web page that you want to modify.
  2. At the bottom of the page, click Code.
  3. On the Edit menu, click Find.
  4. Click the Replace tab.
  5. In the Find what box, type <asp:Panel>.
  6. In the Replace with box, type <div>, and then click Replace. Replace all <asp:Panel> tags that contain a user control.
  7. In the Find what box, type </asp:Panel>.
  8. In the Replace with box, type </div>, and then click Replace. Replace all </asp:Panel> tags that contain a user control.
  9. On the File menu, click Save.

↑ 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

FrontPage 2003 does not support design-time preview of user controls. When you view an .aspx page in Design view and the Web page contains one or more user controls, a box that contains the tag prefix and the tag name appears as a placeholder for the user control. However, if the user control is located in <asp:Panel></asp:Panel> tags, FrontPage 2003 does not correctly detect the user control, and you experience the symptoms that are described earlier in the "Symptoms" section.

For more information about FrontPage 2003, visit the following Microsoft Web site:

↑ Back to the top


Keywords: KB838090, kberrmsg, kbbug, kbpending

↑ Back to the top

Article Info
Article ID : 838090
Revision : 4
Created on : 4/27/2004
Published on : 4/27/2004
Exists online : False
Views : 323