Link to home
Start Free TrialLog in
Avatar of skinsfan99
skinsfan99Flag for United States of America

asked on

Server 2008 - Indexing Service - Custom Search Page With Classic ASP

We have a website built with Classic ASP. The site has a custom search page that accesses the indexing service catalog.  The customer recently moved the site to Server 2008.  Now the search page no longer works.  It returns results with the appropriate web page but the path to the file is always the root of the website.  For example, the website is http://website.com/.  In the search results this is always the path to the web page found.  

I have done some research on Microsoft’s website.  They do indicate changes have been made and I see the following statement:  

“You cannot index Internet Information Services (IIS) Web sites in Windows Server 2008 because of the design changes that were made to IIS 7.0. The catalog that you use for the Indexing Service still has the Tracking tab. However, the catalog does not save any changes that you make to the WWW Server setting.”

Has anyone run into this issue?  Is there a way to get my search page working again?
Avatar of MuffyBunny
MuffyBunny
Flag of United States of America image

I think I'm on the same page as you. I had to write a classic ASP script that outputs the names of all of the directories in a subdirectory. I had to refer to the outermost directory with full path info because IIS forced the assumption of my "root" being my Inetpub directory.

So in my circumstance, I had to use dname="K:\whatever". Relative paths wont work correctly unless all your target docs happen to be under your Inetpub.
Avatar of skinsfan99

ASKER

Were you running a query against the catalog created in the Indexing Service?  That is the issue I am having in that the query no longer returns the path to the files.  I know it is related to the Server 2008 changes to the Indexing Service but am unclear on if there is a resolution.
Ah ok.. no I wasn't doing anything with Indexing Service.
Thank you.  Hopefully someone can point me in the right direction, but so far nothing.  I have to beleive there is someone on this site with server 2008 and indexing service knowledge.
ASKER CERTIFIED SOLUTION
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@hades666 - Before I attempt to implement your solutions I need to confirm if these are solutions for creating the search on Server 2008 using indexing service?  I have search code that has been working for years.  This issue is that it no longer works on Server 2008 and it appears that MS has changed the indexing service.   Please confirm your solutions are for Server 2008.  

Thank you for your time!!
Yes sir.
it is a requirement for 2008. There are very limited changes required that can also be rolled ack.

Install compatibilty kit, execute Cmd  script, modify the code provided to use your current index and test.

Give it a shot and let me know.
Hades666
This is not an inactive question.  We are still confirming that the solution provided will work.  Considering it took 15 days to get a response please give us sometime to confirm the offered solution.  Thank you.
Barring other comments, the solution provided is correct with example code. The issue is hte index service is deprecated in 2008 and needs some tweaks to get it to function correctly.

Cheers,
Hades666
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Sorry for not getting back and closing this question.   I was unavailable for the last month or so

The solution did infact work and the points appear to have been applied correctly.  

Thank you for your assistance.