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.dllA more detailed overview can be found at BitterCoder.

0 comments:
Post a Comment