Error 501, Not Supported When Using .Exe and .Com Applications
ID: Q170861
|
The information in this article applies to:
-
Microsoft Internet Information Server versions 2.0, 3.0
SYMPTOMS
When you execute .Exe and/or .Com applications as scripts, the script
will fail, and you will get the following error message:
Error 501, Not Supported.
CAUSE
When you use Internet Information Server (IIS) on Microsoft Windows
NT Server version 4.0, Chapter 8 of the IIS documentation, the section
titled "Associating Interpreters with Applications" lists the default
interpreter for .Exe and .Com applications as "System". In other
words, no interpreter should be defined for these applications.
Because IIS gives you the ability to create applications in almost
any programming language, IIS uses the file name extension to
determine which interpreter to invoke for each application. These
interpreters are defined in the registry at HKEY_LOCAL_MACHINE/
System/CurrentControlSet/Services/W3SVC/Parameters/Script Map.
The default interpreter for .Bat and .Cmd applications is Cmd.exe,
and for .Idc the default interpreter is Httpodbc.dll. No script map
should be defined for .Exe and .Com applications, as they are
interpreted by the System.
WORKAROUND
WARNING: Using Registry Editor incorrectly can cause serious,
system-wide problems that may require you to reinstall Windows
NT to correct them. Microsoft cannot guarantee that any problems
resulting from the use of Registry Editor can be solved. Use this
tool at your own risk.
If values for .exe and/or .com exist in HKEY_LOCAL_MACHINE/System/
CurrentControlSet/Services/W3SVC/Parameters/Script Map delete them
using the following steps:
- Start the Registry Editor (using Start, Run, Regedt32.exe).
- Locate the Script Map key at the following location:
HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/W3SVC/
Parameters/Script Map.
- Select the value for the .exe and/or .com interpreter.
- Click Delete on the Edit menu.
- When the value is removed, close the Registry Editor by
selecting Registry, Exit.
- Reboot the system.
Additional query words:
docerr
Keywords : kbother iisdocerr
Version : WinNT:2.0,3.0
Platform : winnt
Issue type :