Microsoft KB Archive/292629

= You cannot use search component with an Active Server Page (ASP) in FrontPage 2002 =

Article ID: 292629

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft FrontPage 2002 Standard Edition

-



This article was previously published under Q292629



For a Microsoft FrontPage 2000 version of this article, see 205540.

For a Microsoft FrontPage 98 version of this article, see 194284.

For a Microsoft FrontPage 97 version of this article, see 183046.



SYMPTOMS
When you click Search on an Active Server Page (ASP), the results of your search are returned, but the ASP script on your page does not execute. In some cases, the following error message appears in your Web browser:

Cannot run the FrontPage Server Extensions' Smart HTML interpreter on this non-HTML page: &quot;http:// / .asp&quot;

The Uniform Resource Locator (URL) in the Address box in Internet Explorer resembles the following

http:// / .asp/_vti_bin/shtml.dll/ .asp.

where is the location of your Web and is the name of the file you are previewing.



CAUSE
You can not use the Search Form on an Active Server Page.

When an Active Server Page is requested on a server, Asp.dll parses it. It finds any script specified to run on the server, executes it, and displays the results.

When you conduct a search using the Search Form, Shtml.dll parses the search page and the results of the search are expanded into the search file and displayed in your Web browser.

When a search is performed using the Search Form on an Active Server Page, Shtml.dll cannot parse the file because Asp.dll is already parsing it. Because Shtml.dll fails, it outputs the message described in the &quot;Symptoms&quot; section.

When using Microsoft Index Server, the Search Form does not use Shtml.dll. Instead, the action for the form points to the .idq file associated with the file.



RESOLUTION
To resolve this behavior, use one of the following methods.

Method 1: Install Microsoft Index Server
Install Microsoft Index Server on the Web server hosting your Web.

For more information about obtaining and installing Microsoft Index Server, please see the following Microsoft World Wide Web site:

http://www.microsoft.com/technet/archive/winntas/deploy/ntopclst.mspx?mfr=true

Method 2: Use .htm or .html Rather Than .asp Pages With the Search Form
Do not use Active Server Pages with the Search Form. Use Hypertext Markup Language (.htm or .html) pages only.

Additional query words: run time search index prb

Keywords: kbhtml kberrmsg kbasp kbprb KB292629

-

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

© Microsoft Corporation. All rights reserved.