Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 3: <system.web>
Line 4: <customErrors mode="Off"/>
Line 5: <authentication mode="Forms" />
Line 6: <authorization>
Line 7: <deny roles="administrator" />
Steht ja eigentlich schon fast dar:
This error can be caused by a virtual directory not being configured as an application in IIS.
Hast Du eine Anwendung auf dem Verzeichnis erstellt?
du hast mehrere web.config dateien in ein und derselben anwendung.
die meisten einstellungen dürfen aber nur per "MachineToApplication" definiert werden - das bedeutet, du darfst sie nur auf anwendungsebene im root deiner site bzw. deines virt.dirs festlegen.
<authorization> ist eine der wenigen einstellungen, die du auch auf verzeichnisebene vornehmen darfst.
grüsse