Could it be that the code uses strong naming? On Nov 10, 12:50 pm, M Kenyon II <[EMAIL PROTECTED]> wrote: > When I go to this > address:http://localhost/IntranetApps/Law/TimeReporting/Badge/index.rails > > I get this: > Server Error in '/IntranetApps' Application. > -------------------------------------------------------------------------------- > > Controller not found. Area: 'Law/TimeReporting' Controller Name: > 'Badge' > Description: An unhandled exception occurred during the execution of > the current web request. Please review the stack trace for more > information about the error and where it originated in the code. > > Exception Details: > Castle.MonoRail.Framework.ControllerNotFoundException: Controller not > found. Area: 'Law/TimeReporting' Controller Name: 'Badge' > > Source Error: > > An unhandled exception was generated during the execution of the > current web request. Information regarding the origin and location of > the exception can be identified using the exception stack trace > below. > > Stack Trace: > > [ControllerNotFoundException: Controller not found. Area: 'Law/ > TimeReporting' Controller Name: 'Badge'] > > Castle.MonoRail.Framework.Services.AbstractControllerFactory.CreateControllerInstance(String > area, String name) +302 > > Castle.MonoRail.Framework.Services.AbstractControllerFactory.CreateController(UrlInfo > urlInfo) +91 > > Castle.MonoRail.Framework.EngineContextModule.CreateController(IRailsEngineContext > context) +373 > > Castle.MonoRail.Framework.EngineContextModule.CreateControllerAndRunStartRequestFilters(Object > sender, EventArgs e) +395 > > System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() > +92 > System.Web.HttpApplication.ExecuteStep(IExecutionStep step, > Boolean& completedSynchronously) +64 > > -------------------------------------------------------------------------------- > Version Information: Microsoft .NET Framework Version:2.0.50727.1433; > ASP.NET Version:2.0.50727.1433 > > However, if I go to a .aspx page that uses a controller, it works > fine. > > Another thing I'm noticing on the .aspx page, in Visual studio (2005) > I get this error message while debugging: > Error 83 Reference required to assembly 'App_Code.mqwr94mz, > Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the > base class 'IntranetApps.PFBC.Global'. Add one to your project. C:\Work > \DotNet\IntranetApps\NewLaw\DeputyDaysAllotment.aspx 19 > > But the Build is still successful. > > Please, this project was almost done, and now I can't even debug on my > dev box because of this error message. What do I need to do so > the .rails files can find the controller assembly correctly?
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
