Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 292659 - Last Review: January 31, 2007 - Revision: 2.3
STS: Error Message When You Use Search Component: An <%if ...%> Was Found Without a Matching <%else%> or <%endif%>
This article was previously published under Q292659
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%>.
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.
To work around this issue, do not insert a Database Results region and a Web Search component in the same Web page.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
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.
APPLIES TO
- Microsoft SharePoint Team Services
- Microsoft FrontPage 2002 Standard Edition
| kbbug kberrmsg kbpending KB292659 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate