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:
- 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.
- Ensure that the /scripts directory has execute privilege (as defined by IIS, not the file system).
- Mailto requires DLL files in the WINT/System32 directory so remember to grant anon access to this directory.
Keywords:mailto cgi error IIS