IIS 7 and Above
Problem with classic ASP after server .Net update
Last post May 12, 2021 11:11 AM by Galobart
Feb 12, 2020 04:45 PM|Spol|LINK
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?
Feb 13, 2020 03:24 AM|lextm|LINK
It is complaining about a web.config file.
Show the exact error page.
Feb 13, 2020 06:56 PM|Spol|LINK
Server Error in '/' Application.
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.
[No relevant source lines]
Source File: D:\LN\web.config Line: 0
Version Information: Microsoft .Net Framework Version: 4.0.30319; ASP .NET Version: 18.104.22.168
Feb 13, 2020 08:09 PM|lextm|LINK
Find the application pool for your application, and then change .NET Framework/CLR setting to No managed code,
Feb 17, 2020 06:49 PM|Spol|LINK
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.
May 12, 2021 11:11 AM|Galobart|LINK
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"