Microsoft KB Archive/842329

= BUG: You receive an &quot;HTTP 500 - Internal server error&quot; error message when you try to view an ASP page after you install Visual Studio 6.0 Service Pack 6 =

Article ID: 842329

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Visual Studio 6.0 Service Pack 6

-



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_ 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_ user account no longer has the Read & Execute permission for the Mfc42.dll file.

Note  is a placeholder for the name of your computer.



RESOLUTION
To resolve this problem, grant the IWAM_ 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_ .
 * 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 &quot;Applies to&quot; section.



Steps to reproduce the problem
 On a computer that is running Windows 2000 Service Pack 4, install Visual Studio 6.0. Start Microsoft Internet Explorer. In the Address box, type http://localhost, and then press ENTER. The Localstart.asp ASP page opens. Install Visual Studio 6.0 SP6. To obtain Visual Studio 6.0 SP6, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/vstudio/aa718364.aspx

Note When you are prompted to restart your computer, click Restart Windows to restart your computer. After your computer restarts, start Internet Explorer. In the Address box, type http://localhost, and then press ENTER. The problem that is mentioned in the &quot;Symptoms&quot; section occurs.</li></ol>

<div class="references_section">