ASP/VBScript assistance - ASP not running. IIS 8 installed.

Justin F 20 Reputation points
2025-04-05T19:34:32.3666667+00:00

User's image

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,822 questions
0 comments No comments
{count} votes

Accepted answer
  1. Marcin Policht 44,090 Reputation points MVP
    2025-04-05T22:38:22.79+00:00

    The error you're seeing (HTTP Error 500.24 - Internal Server Error) usually happens when you're trying to run a Classic ASP application (like VBScript-based pages) in an application pool that uses the Integrated pipeline mode instead of the Classic mode. This typically happens when the web.config contains settings like <identity impersonate="true" /> that are only supported in the Classic mode.

    To fix this, switch App Pool to the Classic mode

    1. Open IIS Manager (inetmgr).
    2. In the Connections pane on the left, expand your server node and click on "Application Pools".
    3. Locate the application pool that your site is using (e.g., "DefaultAppPool").
    4. Check the "Managed Pipeline Mode" column:
      • If it says "Integrated", that’s the issue.
    5. Either:
      • Right-click the app pool and choose “Basic Settings”.
      • Change the Managed pipeline mode from Integrated to Classic, then click OK.

    To check the App pool your site Is using

    1. Go to Sites > Default Web Site (or your site name).
    2. In the right-hand pane, click Basic Settings.
    3. See what Application Pool is assigned. Make sure it’s the one you modified to Classic mode.

    Alternatively, you can disable the validation that causes the error by adding this to your web.config, but that's more advanced option and should not be required here once you switch the app pool to the classic mode:

    <system.webServer>
      <validation validateIntegratedModeConfiguration="false" />
    </system.webServer>
    

    Once you make the change, restart IIS:

    iisreset
    

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.