Skip to main content

Problem:

It seems that animating a CGI with IIS version that comes with Windows XP does not work. It just runs through.

Resolution:

It seems there is a difference between IIS 5.0 that comes with Windows 2000 and IIS 5.1 that comes with Windows XP. The security in 5.1 is much tighter than in v5.0.

There is no problem to animate a CGI in any versions of Net Express with IIS 5.0 of Windows 2000, and nothing additional has to be set.

Please bear in mind that IIS is running as a service, and Net Express is a desktop application! Anonymous access or any other user id that were used to run the CGI must then have the proper permission to run a desktop application. This was not the case with IIS 5.0, but this is now enforced in IIS 5.1.

Here are the steps to animate a CGI in Net Express with IIS 5.1 (it would be likely the same for any later versions):

1.

Create a virtual directory (e.g. cgi-bin) for the Net Express project's DEBUG subfolder

2.

Set Read and Execute permissions for the virtual directory

3.

Uncheck the "Anonymous access" option from the Authentication Methods of the virtual directory

4.

Set instead the "Integrated Windows authentication" option

5.

Check the "Allow service to interact with desktop" option from the Log On tab of the IIS Admin service

6.

Execute cblcored -i from the Net Express command prompt

7.

Add CALL "CBL_DEBUGBREAK" to the CGI

8.

Rebuild CGI

9.

RUN the CGI ... do not animate it

10.

Click Yes when prompted to invoke the debugger

It may be a good idea to review the IIS settings that are mentioned above with the web administrator.

Old KB# 1503