Running IIS on a Windows Server 2003 Enterprise Edition server, I have
somehow developed quite a problem.
I suspect it was after changing some permissions somewhere that this
occured, but now i have been unable to reverse the problem.
The problem is, that at first one of a sudden, every domain hosted on my IIS
server started asking for a username/password from every page that in some
way used ASP.
If I entered my administrator username/password i was granted access, but if
I entered IUSR_NS2 (NS2 is the machine name) I wasn't granted access.
After hours and hours of recearching this problem on misc IIS resource
pages, I realized that the problem was about the IUSR_NS2 account not having
"read" permissions on the source files for the pages..
-That would make perfect sense, IF it wasn't so that IUSR_NS2 infact DOES
have access to every file and folder on all the hosted domains.
To make it even more strange, one single website worked perfectly (my
company's own website). But the thing is, that this one website is setup with
identical settings and permissions as every other hosted site.
Also i have two domains pointing to this domain, for example:
www.domain1.com
aand
www.domain2.com
were both sent to the same IP by my DNS server, and that was the IP that IIS
was using for the working site...
-but if I entered using
www.domain1.com it works fine, using
www.domain2.com
it prompts for username/password.
Identical UP, identical setup, identical everything, yet different outcome.
Later after desperately changing permissions back and forth, I am now stuch
with a
"HTTP/1.1 500 Server Error"-error.
It's a blank white error-page, no details, no nothing, just that error
message.
Again, it is ONLY the pages using either ASP or ASP.NET that gets theese
errors. plain html-pages works fine. (and no password is asked for plain html
pages either)
Really... I am completely lost now, please assist me in finding a solution -
I'm sure my inbox will be full of complaints by tomorrow morning
