I am trying to setup a Wordpress blog to run in the subdirectory of an ASP.NET wbforms application so I can have http://www.myapplication.com/blog
I have Wordpress running on IIS 7 fine as it's own application but when I create the 'blog' subdirectory and set it to be an application with the Wordpress folder as the application root. I keep coming up against a configuration error...
HTTP Error 500.19 - Internal Server Error
Config Error Configuration section not allowed to be set below application
I've done quite a bit of searching on this and I have tried modifying the applicationHost.config file to set the following value...
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
But the configuration errors persist. Can anyone suggest any other config changes I need to make to allow the Wordpress application to run in the /blog subdirectory?