Microsoft KB Archive/313215

= INFO: Only 1 Space Allowed Around the RESX STAGE_SCRIPT Staging Tags =

Article ID: 313215

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Content Management Server 2001 Enterprise Edition

-



This article was previously published under Q313215



SUMMARY
When you use the RESX Active Server Pages (ASP) staging tags, you must leave only 1 space between the RESX tags and the comment delimiters.



MORE INFORMATION
In Resolution versions 4.0 and earlier, the RESX tags function correctly if you leave more than 1 space between the tags and the comment delimiters. However, if you leave more than 1 space between the RESX tags and any of the 4 comment delimiters in Content Management Server (CMS) 2001, the page is staged as an .htm file, and the code is run instead of protected.

The following is an example of incorrect code: <%  Response.Write &quot;More than one space &quot; %> The following is an example of correct code: <%  Response.Write &quot;Only 1 space&quot; %> NOTE: This code sample assumes that you are running the Microsoft Visual Basic Scripting Edition (VBScript) version 5.0 engine on the Internet Information Services (IIS) server.

