Avatar billede - Nybegynder
03. august 2004 - 15:01 Der er 1 kommentar

Index server catalog return no documents

I trying to setup a website with a virtual dir to a share on another server. The website is being indexed by IIS index server, and I want to be able to see the indexed result using asp. 

I have 2 servers:

Server1 : \\share with documents

Server2 :  Win2000 IIS with a website. This website has a virtual dir to Server1\share
              Index server catalog placed in the website. Tracking set to the website.

If I use the build in query form in the index server to make a search. I get all the expected results.
If I use an .asp page on the website to query the catalog I get 0 results.

If I place a folder with documents, in the web site folder I am able to find them using my .asp page.
If I place a folder with documents, NOT in the web site folder I cant search them using my .asp page.

The IIS is using Integrated windows authentication. I have tried using Anonymous access and specified a user that have access to the documents, but with same result.

How can I get the result from the catalog using my .asp page ? 
Do I have some wrong security settings ?
Avatar billede - Nybegynder
04. august 2004 - 09:04 #1
My problem was in the .asp code.
I had :     
util.AddScopeToQuery ixQuery, Server.MapPath("/"), "deep"
in my code but it should be:
util.AddScopeToQuery ixQuery, "\", "deep"
to be able to search virtual roots.
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Uanset kodesprog, så giver vi dig mulighederne for at udvikle det, du behøver.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester