I don't know the technical reasons why Classic Mode works -- but it
Monorail does run fine in a Class Mode application pool.  I'm not
saying it will fix your problem, but it's a good first step.

---
Patrick Steele
http://weblogs.asp.net/psteele



On Mon, Jan 31, 2011 at 4:26 PM, Tomek Pluskiewicz <[email protected]> wrote:
> Why would it be required ot run in Classic mode?
>
> Also I have noticed that in some cases, MonoRail causes misleading
> error messages. If I recall right, I have seen 404 in cases where for
> example Newtonsoft.JSON was missing in deployment.
>
> I suppose everything was fine in IIS6, but you could try analyzing
> Server.GetLastError() inside HttpApplication's error handler or log
> files in case some Exception gets contained inside your application
> and never really makes it to the yellow screen of death
>
> On 31 Sty, 02:18, Patrick Steele <[email protected]> wrote:
>> IIRC, make sure your app pool is running in "Classic mode".
>>  On Jan 30, 2011 7:37 PM, "Brendan Rice" <[email protected]> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > I developed a site about 3 years ago and am moving the site from IIS6
>> > to IIS7 and am having problems with IIS7 configuration. The version of
>> > Monorail that the site runs is 1.0.3.0.
>>
>> > I have mapped monorail to the ashx extension in the httphandlers
>> > section of the web config as shown below:
>>
>> > <httpHandlers>
>> > <add verb="*" path="*.ashx"
>> > type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory,
>> > Castle.MonoRail.Framework" />
>>
>> > When the redirect happens from default.aspx to /home/index.ashx I get
>> > the following error message:
>>
>> > The resource cannot be found.
>> > Description: HTTP 404. The resource you are looking for (or one of its
>> > dependencies) could have been removed, had its name changed, or is
>> > temporarily unavailable. Please review the following URL and make
>> > sure that it is spelled correctly.
>>
>> > Requested URL: /home/index.ashx
>>
>> > Can anyone help me please?

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to