Setting up IIS 8.0 for Mendix Applications

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=""/> <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=, 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
2 answers

As an alternative for managedFusion you can use the IIS ARR module and add this to web.config

            <clear />
            <rule name="ReverseProxyInboundRule2" enabled="true" stopProcessing="true">
                <match url="^(file|link/|xas/|ws/|ws-doc/)(.*)" />
                <action type="Rewrite" url="http://localhost:8080/{R:1}{R:2}" logRewrittenUrl="false" />

    <httpErrors errorMode="Detailed">

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.

<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true">
            <add name="RewriterModule" type="ManagedFusion.Rewriter.RewriterModule, ManagedFusion.Rewriter" />