Note that there are some explanatory texts on larger screens.

plurals
  1. POIControllerFactory was found in the resolver - System.InvalidOperationException thrown
    primarykey
    data
    text
    <p>I have encountered a strange behavior in vs2012 utilmate, C#, and MVC 4.0 on Win7 os. </p> <p>Error: "An instance of IControllerFactory was found in the resolver as well as a custom registered provider in ControllerBuilder.GetControllerFactory. Please set only one or the other."</p> <p>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. </p> <p>Stack Trace: [InvalidOperationException: An instance of IControllerFactory was found in the resolver as well as a custom registered provider in ControllerBuilder.GetControllerFactory. Please set only one or the other.] System.Web.Mvc.SingleServiceResolver<code>1.GetValueFromResolver() +960077 System.Lazy</code>1.CreateValue() +455 System.Lazy<code>1.get_Value() +14443978 System.Web.Mvc.SingleServiceResolver</code>1.get_Current() +20 System.Web.Mvc.MvcRouteHandler.GetSessionStateBehavior(RequestContext requestContext) +152 System.Web.Mvc.MvcRouteHandler.GetHttpHandler(RequestContext requestContext) +46 System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +12673415 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +165</p> <p>I'm not able to enter the site. The site is completely un-navigable. First entering the url for the default page throws the error.</p> <p>I'm able to set and break at a breakpoint within Global.asax Application_BeginRequest method.Stepping through Application_BeginRequest method doesn't cause error, however leaving Application_BeginRequest and navigating to the Login page, the Login page responds with a 500 error.</p> <p>Setting breakpoints within the Login page's methods, I wasn't able to break. </p> <p>I believe the error is happening on the Login page, but I'm really not clear on where.</p> <p>Can anyone please tell me how to fix this. Any help is greatly appreciated.</p> <p>Thanks deDogs</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload