Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to incorporate a search page in my website?

0 views
Skip to first unread message

David Hearn

unread,
May 10, 2002, 10:45:47 AM5/10/02
to
When we originally designed our website, we did it using ASP and had a
search page using IIS and the Indexing Service. I tried converting that when
I converted the site to ASP.NET and it actually works. The only problem is
that it retuen all of the garbage at the top of the .aspx page and not the
actual text within the page like it did when it was ASP. Anyone know why
this is and what I might be able to do to fix it? I'm not really married to
the idea of using IIS and Indexing Service so if anyone has any other
ideas/suggestions on how to design a search for my website, I would welcome
any comments.

Thanks in advance!


Michael Graham (MS)

unread,
May 10, 2002, 11:44:09 AM5/10/02
to
Hello,

Please take a look at this link, and see if it doesn't have the information
you need:

http://urtframeworks/specs/xsp/aspnet_indexserver.doc

I hope this helps!

mgr...@online.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no rights.

Jim Buyens

unread,
May 10, 2002, 1:40:38 PM5/10/02
to
"David Hearn" <dhe...@timeplus.com> wrote in message news:<Op#7QDD#BHA.2552@tkmsftngp05>...

Use the Microsoft OLE DB Provider for Microsoft Indexing Service.
Here's a URL to get you started.

http://msdn.microsoft.com/library/en-us/ado270/htm/mdrefindservprovspec.asp

If you have this working and the output is appearing in the wrong
place, you may be using Response.Write statements in code invoked by
the Page_Load event. Page_Load occurs before ASP.NET starts rendering
the page (that is, before it writes the <html> tag). Either move your
Response.Write statements to a code render block (<% ... %> tags) or
put an <asp:literal id="litResults" runat="server" /> tag where you
want the output to appear and then, instead of writing the generated
HTML to the Response object, store it in litResults.Text.

Jim Buyens
buy...@interlacken.com

Consult my exciting books on Internet technology:
From Microsoft Press:
o Web Database Development Step by Step .NET Edition
o Troubleshooting Microsoft FrontPage 2002
o Microsoft FrontPage Version 2002 Inside Out
o Web Database Development Step by Step
o Running Microsoft FrontPage 2000
o Stupid Web Tricks
o Running Microsoft FrontPage 98
From Addison Wesley:
o Building Net Sites with Windows NT
Order these books and find Internet Resources at my Web site:
http://www.interlacken.com/

0 new messages