Error - Parser Error: Unknown server tag

  • Thread starter Error - Parser Error: Unknown server tag
  • Start date
E

Error - Parser Error: Unknown server tag

The above error(s) always appears on pages ending in .aspx - Any way to fix
this problem in Design view editing or simply teach FrontPage to NOT display
the error. The Design view displays several errors and it is most difficult
to edit pages. Seems to me if ASP.NET is the way to go, then FrontPage should
support it by now. I've not been able to find a solution and replacing tags,
as I've seen suggested, seems to me to defeats the whole idea of .NET.
Reggie, Fort Lauderdale Florida
 
R

Raghu Prakash

Hi,

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.
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.
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:
Open the Web page that you want to modify.
At the bottom of the page, click Code.
On the Edit menu, click Find.
Click the Replace tab.
In the Find what box, type <asp:panel>.
In the Replace with box, type <div>, and then click Replace. Replace all
<asp:panel> tags that contain a user control.
In the Find what box, type </asp:panel>.
In the Replace with box, type </div>, and then click Replace. Replace all
</asp:panel> tags that contain a user control.
On the File menu, click Save.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products
that are listed in the "Applies to" section.
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:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx

For Further Information : Microsoft Knowledge Base Article - 838090
http://support.microsoft.com/default.aspx?scid=kb;en-us;838090

Please let me know has this helped You...
Thank you...
Raghu...
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Top