Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

IIS5: A call for help

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?

About Dougal Campbell

Dougal is a web developer, and a "Developer Emeritus" for the WordPress platform. When he's not coding PHP, Perl, CSS, JavaScript, or whatnot, he spends time with his wife, three children, a dog, and a cat in their Atlanta area home.
This entry was posted in Tech and tagged . Bookmark the permalink.

2 Responses to IIS5: A call for help

Leave a Reply

%d bloggers like this: