Windows 2003, IIS6 Webservice for troubleshooting

Wednesday:

win2003 runs on IIS6 serving ASP pages that call delphi code.

Delphi code communicates with C # webservice for which it needs to login ( login.asmx

). The Webservice logs show that registration was successful. Debug results show that Context.User.Identity.IsAuthenticated returns true

.

Once logged in, the delphi code double-checks if it is still authenticated. Webservice returns false -> Context.User.Identity.IsAuthenticated returns false

.

Our guess: The authentication cookie received by the delphi code running under IIS6 credentials (network service?) Is not saved to disk, so the login is lost.

Filemon shows 'C:\WINDOWS\Temp\Temporary Internet Files'

access denied. Granting IIS6 administrator rights to the user on this folder fixes the problem, but is not acceptable as cookies should work by default.

Starting IIS6 mode IIS5 eliminates the problem, but is also not preferred

Solution Required: The exact cause of the problem and the smallest modification possible in the configuration (granting admin rights for IUSR is not an option)

+1


source to share


2 answers


Cookies work by default, but you have to store them somewhere. If you don't want to provide access to the normal location where they are stored, you will need to set up another directory that you can provide and configure it as an internet cache for the IIS6 user.



0


source


For a few quick resources that might help, given that you have quite a few potential problems for this type of problem, see this .



An important difference between IIS5 and IIS6 is that Windows 2003 saw a significant security lockdown with SP1. There are so many things that worked for Windows 2000 that just wouldn't be in 2003 (and shouldn't - they opened the door to all sorts of shenanigans). Trying to hunt down all the places where blocking IIS6 content can be challenging, I would instead use the aforementioned resource to track down common issues people are having with IIS6 .

0


source







All Articles