Microsoft KB Archive/229062

= BUG: File Contains Insufficient HTML Tags Error in Visual InterDev =

Article ID: 229062

Article Last Modified on 10/16/2002

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition

-



This article was previously published under Q229062



SYMPTOMS
When you attempt to apply a layout to a file or project in Visual InterDev 6.0, the following error may occur:

The file contains insufficient HTML tags or incomplete layout information. Themes and layouts cannot be applied.



CAUSE
When you customize an existing Layout.htm template page for a layout or creating a new custom layout, you cannot have unbalanced single or double quotes inside an HTML comment.



RESOLUTION
Enclose any HTML comments in the Layout.htm file of the layout in quotation marks. For example, if you want to include the following comment change it to this: Likewise, if you have an unbalanced double quotation mark in your comment, you can surround the comment with single quotation marks to avoid the error. For example: Change the comment as follows:



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Behavior
 Create a new project in Visual InterDev 6.0. Add an Active Server Pages (ASP) page named Default.asp. Apply a layout by right-clicking and selecting Apply Theme and Layout. On the Layout tab, select Apply Layout and Theme. Choose a theme and click OK. Open the Layout.htm file under the _Layouts folder (it will be in a subfolder of the _Layouts folder). Switch to Source View.</li>  Add the following line anywhere on the page: </li> Save Layout.htm.</li> Apply the same layout again by right-clicking and selecting Apply Theme and Layout. On the Layout tab, select Apply Layout and Theme. Pick the same theme as before and click OK. A dialog box with the error message listed above will appear.</li></ol>

Keywords: kbbug kbwizard KB229062

-

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

© Microsoft Corporation. All rights reserved.