Salut,
A chaque fois que j'essaie d'afficher mon site en local sur mon PC (sur le quel est installé IIS), j'ai le message d'erreur décrit dans le fichier joint.
Quelqu'un a-t-il une idée ?

Salut,
A chaque fois que j'essaie d'afficher mon site en local sur mon PC (sur le quel est installé IIS), j'ai le message d'erreur décrit dans le fichier joint.
Quelqu'un a-t-il une idée ?
Dernière modification par Invité ; 15/04/2011 à 01h06.
Bonjour,
Après recherche du code d'erreur 500.19 et du 0x80070021, j'ai trouvé sur le site iis.net une réponse qui correspond aux informations données dans la page d'erreur, une section "locké" dû a un héritage.
http://blogs.iis.net/webtopics/archi...-in-iis-7.aspx
There are usually a few more lines in that error response that points to the exact line in the config file (and hence the locked section) that has the problem. You will either have to unlock that section or not use it in your application’s web.config file.
For e.g., one can lock/unlock handlers/modules sections by either
1/ use appcmd.exe
%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/handlers
%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/modules
OR
2/ manually change value from "Deny" to "Allow" for below settings in %windir%\system32\inetsrv\config\ applicationHost.config
<section name="handlers" overrideModeDefault="Deny" />
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny"/>
Partager