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 
> [email protected]
> .
> > To unsubscribe from this group, send email to
>
> [email protected]<castle-project-users%[email protected]>
> .> For more options, visit this group at
>
> http://groups.google.com/group/castle-project-users?hl=en.
>
>
>
>
>
>
>
>

-- 
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