I have an application that I am moving to a new server and last week I did the setup.
The Server is Windows Server 2012 64 bit and it is paired with SQL Server 2008R2I am not the network administration so I just had access after the initial setup. It's possible the admin who configured the server didn't choose the default settings.
I am accessing via remote desktop. I had some issues (well errors!) doing the setup via console.exe so I went through a manual configuration.
Permissions seemed very locked down. I created the temp directory (for file mode) but when I ran the web app it did not have permission to write to the directory I had just created!
I couldn't edit the applicationhost.config in place so I had to copy it, edit, and then copy over.
When I tried to setup the managed module I got the errors posted below, and after searching the web and getting the admin to give me access to the config file,
was able to get it working.
I wish I could tell you more!
I would agree it would seem to be a very 'stupid' default to set.
As far as I know this box is only going to run the web application and SQL Server.
And it is not a very busy app, maybe a few hundred hits a day. (But awesome all the same!)
Bob
I'd like to figure when and why this is happening. I've never seen this setting in a default install and I can't imagine even an ISP would lock that down since it's pretty common to require custom handlers as part of your Request processing for ASP.NET applications.
So, I'd be curious to understand what circumstances cause these sections to be locked - it would seem to me that someone explicitly locked the handlers/modules sections down, because I'm pretty sure it's not the default setting.
+++ Rick ---
I think you will be getting this issue when using managed code module (and not the wc.dll).
To fix this update this file
C:\Windows\System32\inetsrv\config\ApplicationHost.config
Update:
<section name="handlers" overrideModeDefault="Deny" />
change deny to Allow
You will probably also get another error with another entry. I forget which one it is
but just change that one to allow as well
Bob
tried to install on windows 8 iis, but got this error, can someone help?
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module
IIS Web Core
Notification
BeginRequest
Handler
Not yet determined
Error Code
0x80070021
Config Error
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Config File
\\?\C:\inetpub\wwwroot\wconnect\web.config
Requested URL
http://localhost:80/wconnect
Physical Path
C:\inetpub\wwwroot\wconnect
Logon Method
Not yet determined
Logon User
Not yet determined
Config Source:
70: <validation validateIntegratedModeConfiguration="false"/>
71: <handlers>
72: <add name=".wc_wconnect-module" path="*.wc" verb="*" type="Westwind.WebConnection.WebConnectionHandler,WebConnectionModule" preCondition="integratedMode"/>