BUG: You receive an "HTTP 500 - Internal server error" error message when you try to view an ASP page after you install Visual Studio 6.0 Service Pack 6 (842329)



The information in this article applies to:

  • Microsoft Visual Studio 6.0 SP6

SYMPTOMS

When you try to view an ASP page after you have installed Microsoft Visual Studio 6.0 Service Pack 6 (SP6), you may receive the following error message in your Web browser window:
HTTP 500 - Internal server error
Additionally, the following warning message may be logged in the system event log: The server failed to load application '/LM/W3SVC/1/ROOT'. The error was 'General access denied error'.

For additional information specific to this message please visit the Microsoft Online Support site located at:
http://search.support.microsoft.com/search/?adv=1.

CAUSE

This problem occurs because the Visual Studio 6.0 SP6 Setup program removes the Everyone group from the list of authorized users and groups for the Mfc42.dll file.

Microsoft Internet Information Services (IIS) uses the IWAM_ComputerName user account to start out-of-process applications. However, because the Visual Studio Setup program has removed the Everyone group from the list of authorized users and groups for the Mfc42.dll file, the IWAM_ComputerName user account no longer has the Read & Execute permission for the Mfc42.dll file.

Note ComputerName is a placeholder for the name of your computer.

RESOLUTION

To resolve this problem, grant the IWAM_ComputerName user account the Read & Execute permission for the Mfc42.dll file. The Mfc42.dll file is located in the %WINDIR%\System32 folder.

To grant the Read & Execute permission, follow these steps:
  1. In Windows Explorer, locate the Mfc42.dll file.
  2. Right-click the Mfc42.dll file, and then click Properties. The Properties dialog box appears.
  3. Click the Security tab, and then click Add. The Select Users or Groups dialog box appears.
  4. In the Name field, locate and then click IWAM_ComputerName.
  5. Click Add, and then click OK.
  6. Make sure that the Allow check box is selected for the Read & Execute permission, and then click OK.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Steps to reproduce the problem

  1. On a computer that is running Windows 2000 Service Pack 4, install Visual Studio 6.0.
  2. Start Microsoft Internet Explorer.
  3. In the Address box, type http://localhost, and then press ENTER. The Localstart.asp ASP page opens.
  4. Install Visual Studio 6.0 SP6. To obtain Visual Studio 6.0 SP6, visit the following Microsoft Developer Network (MSDN) Web site:Note When you are prompted to restart your computer, click Restart Windows to restart your computer.
  5. After your computer restarts, start Internet Explorer.
  6. In the Address box, type http://localhost, and then press ENTER. The problem that is mentioned in the "Symptoms" section occurs.

REFERENCES

For more information about how to install Visual Studio 6.0 SP6, visit the following MSDN Web site:For more information about files and permissions for IIS, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:7/17/2006
Keywords:kbtshoot kberrmsg kbWebServer kbWebBrowser kbEventLog kbbrowsing kbbug KB842329 kbAudDeveloper