Monday, December 01, 2008

Monorail installed on a 64bit OS

Installing Castle::Monorail on 64bit IIS7 proves to be much easier than I thought. You must use the 64bit handlers. To make this easy you can just add the handlers to your Web.Config:


  136   <system.webServer>
  137     <handlers>
  138       <add name="IconHandler" path="*.ico" verb="*" modules="StaticFileModule" resourceType="File" />      
  139       <add name="Monorail-64" 
  140            path="*" verb="*" 
  141            modules="IsapiModule" 
  142            scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" 
  143            resourceType="Unspecified" />
  144       <add name="Monorail" 
  145            path="*" verb="*" 
  146            modules="IsapiModule" 
  147            scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" 
  148            resourceType="Unspecified" />
  149     handlers>
150
system.webServer>


As you can see above, I have added handler mappings for both the 64bit and the 32bit. Notice that the 64bit is listed first, this is important. The 64bit script processor is:

%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll

A more detailed overview can be found at BitterCoder.

3 comments:

sachin sinhmar said...


mywifiext

mwifiext.net

sachin sinhmar said...

mywifiext

mywifiext local

mywifiext.local

www.mywifiext.local

Rajputana Cab said...

Thank you so much for sharing such good and useful information here. Like tech-savvy if you like traveling and have a short time then you can enjoy the best heritage sights with the Jaipur one-day tour package.