locked
Problem with classic ASP after server .Net update RRS feed

  • Question

  • User42143373 posted

    About a year ago I created a classic ASP web page running on IIS on a server.
    It has been working fine until today when a colauge ran an update of Microsoft .Net on the server.

    Now my ASP site is not working any more. It is complaining about a web.config file.
    So it is like it has switched my ASP interpreter from classic ASP to .Net

    How do I change that back? 

    Wednesday, February 12, 2020 4:45 PM

All replies

  • User690216013 posted

    It is complaining about a web.config file.

    Show the exact error page.

    Thursday, February 13, 2020 3:24 AM
  • User42143373 posted

    Server Error in '/' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request.

    Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to 'D:\LN\web.config' because access is denied.

    Source Error:

    [No relevant source lines]

    Source File: D:\LN\web.config Line: 0

    Version Information: Microsoft .Net Framework Version: 4.0.30319; ASP .NET Version: 4.6.81.0

    Thursday, February 13, 2020 6:56 PM
  • User690216013 posted

    Find the application pool for your application, and then change .NET Framework/CLR setting to No managed code,

    https://docs.microsoft.com/en-us/iis/configuration/system.applicationhost/applicationpools/add/#attributes

    Thursday, February 13, 2020 8:09 PM
  • User42143373 posted

    Hi Lex Li

    Thanks a lot for your help!

    I spend quite a bit of time, locating the issue. I had no idea that this default setting would change, but here I can change it back.

    Best regards

    Tom

    Monday, February 17, 2020 6:49 PM
  • User-807718051 posted

    Hello,
    If the error occurred after updating Visual Studio, you may not be running it as administrator. This is one of the causes of the error: "No relevant source lines"

    Wednesday, May 12, 2021 11:11 AM