Closed orchardbot closed 9 years ago
@heskew commented:
Does this still happen with the lates change set?
@heskew commented:
Ugh...meant to ask if this still happens with the latest change set
@jetski5822 commented:
The change set i used was 44272. When i get back to the office on Monday i will take a look at the latest one.
Anonymous user closed and commented:
This must have been resolved in an earlier change set. Do reopen though if it's still a problem.
@jetski5822 created: https://orchard.codeplex.com/workitem/15511
When Attempting to View a blog thru the screen http://localhost:30320/Admin/Blogs
It would appear that the problem occurs when the project has no AdminController.
Server Error in '/' Application.
The controller name 'admin' is ambiguous between the following types: Orchard.Tags.Controllers.AdminController Orchard.CmsPages.Controllers.AdminController Orchard.Comments.Controllers.AdminController Orchard.Users.Controllers.AdminController Orchard.Core.Settings.Controllers.AdminController Orchard.Core.Themes.Controllers.AdminController Orchard.Media.Controllers.AdminController Orchard.Roles.Controllers.AdminController 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: System.InvalidOperationException: The controller name 'admin' is ambiguous between the following types: Orchard.Tags.Controllers.AdminController Orchard.CmsPages.Controllers.AdminController Orchard.Comments.Controllers.AdminController Orchard.Users.Controllers.AdminController Orchard.Core.Settings.Controllers.AdminController Orchard.Core.Themes.Controllers.AdminController Orchard.Media.Controllers.AdminController Orchard.Roles.Controllers.AdminController
Source Error:
Line 25: return (IController) controller; Line 26: } Line 27: return base.CreateController(requestContext, controllerName); Line 28: } Line 29:
Source File: D:\InformationServices\Prototypes\CMS\orchard-44272\trunk\src\Orchard\Mvc\OrchardControllerFactory.cs Line: 27
Stack Trace:
[InvalidOperationException: The controller name 'admin' is ambiguous between the following types: Orchard.Tags.Controllers.AdminController Orchard.CmsPages.Controllers.AdminController Orchard.Comments.Controllers.AdminController Orchard.Users.Controllers.AdminController Orchard.Core.Settings.Controllers.AdminController Orchard.Core.Themes.Controllers.AdminController Orchard.Media.Controllers.AdminController Orchard.Roles.Controllers.AdminController] System.Web.Mvc.DefaultControllerFactory.GetControllerTypeWithinNamespaces(String controllerName, HashSet`1 namespaces) +222425 System.Web.Mvc.DefaultControllerFactory.GetControllerType(RequestContext requestContext, String controllerName) +439 System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +58 Orchard.Mvc.OrchardControllerFactory.CreateController(RequestContext requestContext, String controllerName) in D:\InformationServices\Prototypes\CMS\orchard-44272\trunk\src\Orchard\Mvc\OrchardControllerFactory.cs:27 System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +111 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +46 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) +63 System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +13 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8679426 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927