Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search page not working HTTP Error 405 1

Status
Not open for further replies.

julesNDC

IS-IT--Management
Dec 2, 2005
81
US
I am trying to get a search page to our intranet to work by using FrontPage. My problem is when I do a query it gives me the error below.

*******************************************************

The page cannot be displayed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.

Please try the following:
• Contact the Web site administrator if you believe that this request should be allowed.
• Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
HTTP Error 405 - The HTTP verb used to access this page is not allowed.
Internet Information Services (IIS)
**********************************************************


I have to get this page going as it is affecting the productivity of about 400 users! And please bear with me as I am new to FrontPage and the web stuff.

Thanks
 
Ok, so I replaced <!--webbot with what you sent me and modified the retrive.asp.

Also, the web site is published and FrontPage extensions were on.

Now when I do search for the word "bottle", a page comes up with the text "You are asking for bottle"

Is that what you were looking for to happen?
 
Yes. It is just a check that .asp is working on your server. Now if you put the <!--web line back, the retrieval should work.

Do you have any documents in the site where you are searching? Put in a mix of text and word documents and try doing the search.
 
Now I am getting something different when I do a query.


*********************************************************
FrontPage Run-Time Component Page
You have submitted a form or followed a link to a page that requires a web server and the FrontPage Server Extensions to function properly.

This form or other FrontPage component will work correctly if you publish this web to a web server that has the FrontPage Server Extensions installed.

Click the <Back> arrow to return to the previous page.

***********************************************************


So I published the web to the server running FrontPage server extensions and it still not working. Are we getting close? By the way, thank you so much for your help.
 
Never mind..... I got it to work!!!!!!!!!

I cannot thank you enough for your help xwb. THANK YOU
 
I think that publishing the web site is the only part that was missing... but I am not really sure.

When I open from my computer using FrontPage the web site that was located on the server, I saw that all the htm files had all the same icon (IE + FP)but one, the search page only had IE as the icon. So I published that page and 5 minutes later it was working. Does that make sense to you?
 
Well, like I said before, Tahnk you. You just made 400 users happy and turned me into a hero :)
 
Hey xwb,

Since you are the expert her I have another question for you if you don't mind of course.

The search page is working great but of course it needs some tweaking. If I do a search for the word “bolt” and the search returns 5 docs. If I open one of the docs, next time a do a search for “bolts” the previously opened doc will show as purple instead of blue.

Any suggestions?
 
Sorry for the late reply - you need to add a style sheet. Put the following in before </head>
Code:
<style>
a {color:#00f;}
a:visited {color:#00f;}
a:active {color:#00f;}
a:hover {color:#f0f;}
</style>
 
Not a problem and thanks.

Now they had me put all these documents of our website and they want me to have the search work the same way. I created a search page and a retreive.asp page. I also did the little test you had me do before where after modifying search page it would display “you are asking for…” and would display the word searched for and it worked. But I can’t get the search page to work. When I do a search for a document it returns the word that I am searching for in the address bar and that’s it.


Also ( I know, I am full of questions) I created a password protected page in FrontPage and it works but what I can’t figure out is how to add a check box that will remember the user name and password.

That’s it….. for now :)

Thanks
 
Remembering the username and password is normally done with a cookie.

Try renaming search.htm to search.asp and download it again. It probably needs to execute some asp code to return the data.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top