Leonardo
---------- Forwarded message ---------- From: Leonardo Lima <cont...@leonardolima.com.br> Date: 2012/4/20 Subject: Castle Monorail 1.0 - IIS 7 - Routing problems To: castle-project-users@googlegroups.com Hi all, I have a old application using Castle Framework 1.0, and now is needed to migrate this application to a new server, on the old server it´s running on a Windows 2003 using IIS 6, the new server is running Windows 2008 and IIS 7.5. The application is ok and works fine on IIS 6, I made the application run ok on the new server except by the following error: When I access the url http://www.mysite.com the client is redirected to http://127.0.0.1/MyApp/auth/login.ashx, I just can access the application using www.mysite.com/auth/login.myExt anyone can help me ? I could not upgrade the Caslte version now.. maybe in a near future... I´ve a AppPool running on Integrated Mode ( I tried work with Classic but I got the same error ) ## WEB.CONFIG <system.webServer> <validation validateIntegratedModeConfiguration="false" /> <modules runAllManagedModulesForAllRequests="true"> <remove name="ScriptModule" /> <add name="routing" type="Castle.MonoRail.Framework.RoutingModule, Castle.MonoRail.Framework" preCondition="managedHandler" /> <add name="monorail" type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework" preCondition="managedHandler" /> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="managedHandler" /> </modules> <handlers> <clear /> <add name="Monorail" path="*.sia" verb="*" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" preCondition="" /> <add name="Block-VM" path="*.vm" verb="*" type="System.Web.HttpForbiddenHandler, System.Web" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode,runtimeVersionv2.0" /> <add name="ASPX" path="*.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified" preCondition="integratedMode" /> <add name="StaticFile" path="*" verb="*" type="" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" scriptProcessor="" resourceType="Either" requireAccess="Read" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" /> </handlers> </system.webServer> Best Regards, Leonardo Lima -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to castle-project-users@googlegroups.com. To unsubscribe from this group, send email to castle-project-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.