Iis7-> current application virtual directory-> right-click-> Manage application-> Advanced Settings
Modify the application pool attribute: ultapppool is classic. net apppool (that is, classic.
Or directly go to the application pool, double-click defaultapppool, and change "managed pipeline mode" to "classic" in the pop-up window. Just exit.
Tis:
In iis 7, the application pool has two running modes: integration mode and classic mode. The application pool mode affects how the server processes managed code requests. If the hosted application runs in the application pool in integration mode, the server uses the integration request processing pipeline of iis and asp tutorial. net to process the request. However, if the hosted application runs in a classic-mode application pool, the server will continue to host code requests through the aspnet_isapi.dll route, the method for processing requests is the same as that for applications running in iis 6.0.