In this article I describe how to solve.This problem was faced when I need to create new project with the help of old project. I have copied old project and paste it specified location. I made changes on the copied project as per requirement while running the project I faced this problem. Latterly I found the solution by deleting all DLL files in bin folder and rebuild the solution problem fixed.
A route named 'Admin_default' is already in the route collection.Route names must be unique.
Parameter name: name
Description: Anunhandled exception occurred during the execution of the current web request.Please review the stack trace for more information about the error and where itoriginated in the code.
Exception Details: System.ArgumentException:A route named 'Admin_default' is already in the route collection. Route namesmust be unique.
Parameter name: name
Source Error:
Line 15: public override void RegisterArea(AreaRegistrationContext context) |
Source File: m:\MVCSQL\chiptrolls\twitter_karimfi\twitter_karimfi\Areas\Admin\AdminAreaRegistration.cs Line: 17
Post your comments / questions
Recent Article
- How to restrict access to the page Access only for logged user in Django
- Migration admin.0001_initial is applied before its dependency admin.0001_initial on database default
- Add or change a related_name argument to the definition for 'auth.User.groups' or 'DriverUser.groups'. -Django ERROR
- Addition of two numbers in django python
- The request was aborted: Could not create SSL/TLS secure channel -Error in Asp.net
- FieldError: Cannot resolve keyword 'id' into field in Django project
- How to hide the ID field from the Django admin?
- It is impossible to add a non nullable field without specifying a default. Django error
Related Article