Microsoft KB Archive/292659

= STS: Error Message When You Use Search Component: An <%if ...%> Was Found Without a Matching <%else%> or <%endif%> =

Article ID: 292659

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft SharePoint Team Services
 * Microsoft FrontPage 2002 Standard Edition

-



This article was previously published under Q292659





SYMPTOMS
When you type text into a Search box in a Microsoft FrontPage Web and then click Start Search, you may receive a message similar to the following:

An <%if ...%> was found without a matching <%else%> or <%endif%>.



CAUSE
This behavior occurs if the following conditions are true:
 * You have a SharePoint team Web site installed on a server that is using Indexing Service.

-and-
 * A Database Results region and a Web Search component are both displayed on the same Web page.



WORKAROUND
To work around this issue, do not insert a Database Results region and a Web Search component in the same Web page.



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



MORE INFORMATION
The Web Search component uses the Indexing Service, which has Active Server Pages-like syntax, and the Database Results region uses Active Server Pages (ASP) to link to the database. Therefore, a conflict results when both of these components are inserted into the same Web page.

Additional query words: FPSE search bot SPTS

Keywords: kbbug kberrmsg kbpending KB292659

-

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

© Microsoft Corporation. All rights reserved.