2017-10-14 4 views
0

J'ai mis à jour mon site Web au cadre 4.5.2 Je veux utiliser un pool d'applications classique tel qu'il était avant la mise à niveau.pool d'applications classiques ne fonctionnant pas dans le débogueur

Lorsque je tente de l'exécuter en appuyant sur F5 je reçois une erreur

HTTP Error 500.22 - Internal Server Error 
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. 

Most likely causes: 
This application defines configuration in the system.web/httpModules section. 

Things you can try: 
Migrate the configuration to the system.webServer/modules section. You can do so manually or by using AppCmd from the command line. For example, from the IIS Express install directory, run appcmd migrate config “Default Web Site/”. Using AppCmd to migrate your application will enable it to work in Integrated mode. It will continue to work in Classic mode and on previous versions of IIS. 
If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/[email protected] to false. 
Alternatively, switch the application to a Classic mode application pool. For example, from the IIS Express install directory, run appcmd set app “Default Web Site/” /applicationPool:“Clr4ClassicAppPool”. Only do this if you are unable to migrate your application. 

Detailed Error Information: 
Module ConfigurationValidationModule 
Notification BeginRequest 
Handler ExtensionlessUrl-Integrated-4.0 
Error Code 0x80070032 
Requested URL http://localhost:64182/ 
etc 

Le site par défaut est déjà classique et je veux obtenir le site de travail en tant que classique.

Répondre

0

Le projet de site Web a été défini sur intégré pour une raison quelconque. Pour le réparer, je suis allé aux propriétés et le mettre à classique.