Why does Mailto give a CGI error with IIS?

  1. Home
  2. Knowledge Base
  3. GMS
  4. Why does Mailto give a CGI error with IIS?

Question

When using mailto.exe the browser receives the following error message:

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Answer

Here are some things to check:

  1. By default, the mailto script has to be in the /scripts directory that Windows NT creates – this directory lies outside your www directory. Go into IIS 2.0 and create a virtual directory to it, i.e. map it to cgi-bin.
  2. Ensure that the /scripts directory has execute privilege (as defined by IIS, not the file system).
  3. Mailto requires DLL files in the WINT/System32 directory so remember to grant anon access to this directory.

Keywords:mailto cgi error IIS

Was this article helpful?

Related Articles