After Thought

Setting up FubuMVC application on IIS7

leave a comment »

Recently my colleague Weston Binford was trying to set up a FubuMvc application to do a comparison analysis with Asp.net Mvc. He had some issues with running FubuMvcSampleApplication FubuMvc under IIS7. After much debugging he found out that UrlRoutingModule and UrlRoutingHandler must be added under system.webServer tag.

<system.webServer>
 <modules>
 <remove name="UrlRoutingModule" />
 <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
 </modules>
 <handlers>
 <remove name="UrlRoutingHandler" />
 <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
 </handlers>
</system.webServer>
Advertisements

Written by shashankshetty

July 29, 2009 at 10:32 am

Posted in C#, Fubu Mvc, FubuMvc, Uncategorized

Tagged with , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: