PERL 5 May Cause a Dr. Watson Access Violation in Inetinfo.exe (164881)



The information in this article applies to:

  • Microsoft Internet Information Server 2.0
  • Microsoft Internet Information Server 3.0

This article was previously published under Q164881
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

SYMPTOMS

When you run a PERL 5 script, you may get the following Dr. Watson error message:
Exception Access Violation (0x00000005), address 0x77e77dc9.

CAUSE

You have three or more "%s" entries after the value .pl in the following key:
   Hkey_local_machine\system\currentcontrolset\services\W3Svc\ 
   parameters\Script Map
				

WORKAROUND

You may use up to two "%s" entries after Perl.exe, as in .pl: REG_SZ: C:\perl\bin\perl.exe %s %s.

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.

After you install PERL for WIN32, you will have to edit the registry to add the script map entries under the following key:
   Hkey_local_machine\system\currentcontrolset\services\W3Svc\ 
   parameters\Script Map
				

The value is .pl: REG_SZ: C:\perl\bin\perl.exe %s.

Modification Type:MinorLast Reviewed:6/23/2005
Keywords:kb3rdparty kbprb KB164881