Hi Colleagues! I am battling to get my application to run in IIS 8.0 running on Windows Server 2012. I have followed all the instructions published on Mendix on how to setup IIS, although it still refers to earlier versions of IIS. Here is the content of my web.config: <configuration> <configsections> <section name="managedFusion.rewriter" type="ManagedFusion.Rewriter.Configuration.ManagedFusionRewriterSectionGroup"/> </configsections> <managedfusion.rewriter xmlns="http://managedfusion.com/xsd/managedFusion/rewriter"/> <system.webserver> <staticcontent> <mimemap fileextension=".mxf" mimetype="text/xml"/> </staticcontent> <handlers> <add name="RewriterProxyHandler" precondition="integratedMode" verb="*" path="RewriterProxy.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> </handlers> </system.webserver> <location path="xas"> <system.webserver> <httperrors errormode="Detailed"/> </system.webserver> </location> </configuration> Whenever I add the following in this web.config file I get an error: <validation validateIntegratedModeConfiguration="false"/> <modules runAllManagedModulesForAllRequests="true"> <add name="RewriterModule" type="ManagedFusion.Rewriter.RewriterModule, ManagedFusion.Rewriter"/> </modules> </validation> The server is running .NET 4.5
asked
Mndeni Ndebele
2 answers
1
As an alternative for managedFusion you can use the IIS ARR module and add this to web.config
You should remove the </validation> tag at the end, it is already closed on the first line. See below. The IIS ARR module works well too as mentioned above.