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

IIS 6 and Invalid CGI Filename

I got this question a couple of days ago. Question: Hi there;I am getting this error message whenever i try to click on Help Menu on my site that is running on IIS 6:Other – Exception: Formatting Response – EFOpenError Cannot open file\\?\F:\InetPub\wwwroot\merchxfer\cgi-bin/help_web_sales.htmlThis help menu calls a CGI & dll file, so I tried adding…

5

What User Identity does IIS use to run code like ISAPI and CGI?

This is a common question about the user identity that an ISAPI runs with. Question: I wanna to connect to the database(sql 2000 server) in my ISAPI.I tried the connection code in a separate vc++ application it works,but when I tried to use this code in ISAPI the web site takes very long time trying…

3

Gmail Impressions

I just came around to getting a Gmail account today. The novel concept appeals to me because I no longer have to use rules to filter email into folders – I simply use filters to produce various views of the same underlying email collection and use the star to notate really important email. Interestingly, it…

13

HOWTO: Single SignOn (SSO) considerations for ISAPI

A few days ago, I got the following question about single sign on using ISAPI. Question: Hi David, I read some of waht u wrote about ISAPI in http://groups.google.com I have different servers with different site. Most of them are asp sites and some are asp.net and html (each server has some sites). One of…

4

HOWTO: Debug IIS configuration changes that mysteriously disappear

I got this question a few days ago: Question: Hi David, While perusing the internet to discover the cause of virtual directories disappearing from within IIS6.0, I found several of your posts like this one: <http://www.msusenet.com/history/topic.php/1869432174-1.html>, likely only posted once by yourself, but mirrored on other sites. I too have a monitoring script on our…

1

BUG: SelfSSL allows only one website to have SSL at a time

About a month ago, I got the following question about SelfSSL ( http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en ). Question: I read a posting of yours that mentions the bug in SelfSSL where only the most recent site functions has been corrected. Is there an unofficial / support release available for this? If so, who should I contact / how should…

25

HOWTO: Configure Web Service Extensions for CGI Application Mappings on IIS6 (Perl, Python, PHP, etc)

I got the following question about a month ago concerning CGI application map (scriptmap) configuration on IIS6. Question: Hi David, I’m having some issues configuring python CGI scripting for IIS 6. I was wondering if you have a canned response or web link giving detail to configuring Python on IIS 6. If not, I need…

3

CustomAuth modification to use user identities from an INI file

I recently got the following question about CustomAuth behavior: Question: Dear Mr. Wang, I have read in one of your previous posts that you had posted instructions on how to set up CustomAuth to read usernames and passwords from a text file. Alas, I have not been able to locate this post. Would it be…

7

HTTP.SYS rejection of request lines not terminated by CRLF

I recently got the following question about an HTTP.SYS behavior in Windows Server 2003. Question: Hi David, I have a major problem switching to W2K3 and IIS6 currently. Major handsets in the market (e.g. Nokia) send WRONG HTTP requests – nothing to do against it! Wrong means not seperated with “\r\n”. I’ve seen your post:…

7