|
Publicité | ||||||||||||||||||||||
|
|
#1 |
![]() ![]() |
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 ?
__________________
MCTS - Windows Presentation Foundation 3.5 MCTS - Windows Application Developpement 4.0 Dernière modification par h2s84 ; 15/04/2011 à 00h06. |
|
00
|
|
|
#2 | |
|
Membre expérimenté
![]() Vincent Consultant en technologies Inscription : avril 2010 Messages : 382 ![]() |
Citation:
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"/> |
|
|
|
00
|
Copyright © 2000-2012 - www.developpez.com