Why you get Access Denied despite being an Administrator or enabled Anonymous Access in IIS

A couple of common misconception by users concerning IIS configuration and user privileges are that: If I am logged in as Administrator, everything should work and I should never see “Access Denied” If I enabled anonymous access in IIS, everything should work and I should never see “Access Denied” Why are the above statements not…

67

HOWTO: Maximize the Number of Concurrent Connections to IIS6

Question: I’m considering building a realtime ASP.NET application on IIS6, that’ll need to support about 3,000 simultaneous users on a server, each with a keep-alive HTTP connection for “server push.” The HTTP connection will need to stay open for the duration of the user’s session, to allow updates to be pushed to the browser in…

60

Why do I lose ASP Session State on IIS6

A common, mysterious behavior encountered by ASP applications on IIS6 is the loss of session state. It seems to disappear more often and Session.Timeout seem to be ineffective. Why? Question: I have session.timout set to all day(1440 minutes). But if my application has been idle more than 1 hour for example, my usser losts the…

58

HOWTO: Install and Run PHP on IIS7, Part 2

A couple of months ago, I wrote a quick and dirty entry on how to install PHP on IIS7. The main purpose of that entry was to explain the details of what was going on as well as cookie-cutter instructions of one way to successfully install PHP on IIS7. Well, the responses that I have…

51

HOWTO: Run Console Applications from IIS6 on Windows Server 2003, Part 2

I finally have enough blog entries about various portions of IIS6 request processing that I can stitch together this meta-blog-entry explaining how it all works together and then apply it towards an issue. You probably want to keep a link to this loaded entry. Anyhow, here goes… Question: We currently has IIS 6 installed on a…

47

Thoughts on Application Pool Recycling and Application Availability

Question: I am running IIS 6.0. We are currently trying to incorporate our application pools to recycle every 2 hours. The problem is everytime the the pool is recycled and the process is killed everyone connected to that webpage loses all connectivity and they have to log back into their applications that they were running….

45

Have you seen a WebEngine.dll crash with ASP.Net 2.0? Read This…

Lately, I have received quite a few comments concerning a crash in WebEngine.dll when you recycle an application pool running ASP.Net 2.0. The sheer number of independent users reporting this makes be believe that it is real. If it was individual users, I would think user hallucination (strangely, many users are very good at doing…

44

HOWTO: Basics of IIS6 Troubleshooting

I recently sat down and thought a little about the typical user experience when troubleshooting IIS6, assuming s/he had little/no IIS context that long-time users have… and the picture did not look so good. Now, I know that IIS7 will make huge improvements in this area (and will unfortunately obsolete some of this information… but…

44

HOWTO: Sharepoint and CustomAuth, Part 1 – Soliciting Questions

I have been getting a bunch of private requests from many people asking me variations of the following questions: “I want to use Sharepoint, but I want user authentication to be done with CustomAuth [or their own Wildcard Application Mapping ISAPI DLL]. I have tried many things, but it does not seem to work. Can…

41

HOWTO: Use the HTTP.SYS Kernel Mode Response Cache with IIS 6

Motivation One of the bigger buzz-word features of IIS 6.0 on Windows Server 2003 is the “HTTP.SYS Kernel Mode Response Cache”. When you do a search against “HTTP.SYS Kernel Response Cache IIS 6”, you will inevitably find a large body of literature  repeatedly talking about how the kernel mode response cache effectively improves performance and…

41