I have a page that needs to access the file system on another server
to read the files in various directories.
It works absolutely fine on our old web server running NT4.0/IIS4 as
long as windows authentication is turned off and the Anonymous login
account is changed to a special domain account that has read access to
these directories.
Copying the .asp file to our new NT5.0/IIS5 server exhibits really odd
behaviour:
a) when Windows Authentication is turned on, the page can't read the
contents of the directories (it tries to use the logged in user's
account, which won't work). The code correctly detects and reports
this error condition (the FileSystemObject's GetFolder method returns
an error code).
b) when Windows Authentication is turned off, the page can access the
directories, but it receives an empty request.form collection
(request.form.count) is empty. If I change the form to method="GET"
instead of method="POST" everything works fine. But I need to POST
this information.
The logs show only a single POST request for the page (so it isn't
being redirected or re-requested to sort out log in information).
Why does this work on IIS4 and not IIS5? In what circumstances do the
contents of a POSTed form get dropped?
Help!