Is there anybody out there who is familiar with using CGI’s implemented as DLLs under IIS? We have some programs on our IIS4 server that I am trying to migrate to an IIS5 Server (Windows 2000). But when I try to use them, I get errors. One of them returns a HTTP 405 error (which IIS shows as “Resource not allowed”, but the standard for a 405 is “Method not allowed”). The other one just says “A dynamic link library (DLL) initialization routine failed.” There is nothing in the Event Log related to either of these errors. ๐
There are other utility DLLs used by these programs. I’ve installed those under the System32 directory and given the IUSR and IWAM accounts Read and Execute permissions on them. I’ve also made sure that the web directories holding the programs have “Scripts and Executables” permissions in the IIS MMC.
What could I be missing, or how can I find out more details about the errors? Is there some way that I can do some sort of trace on the DLLs being executed by IIS to see what’s really causing the problem? Maybe something akin to strace on Linux or ptrace on FreeBSD?