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 ?