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 get domain name information from a Domain using Python
- ModulenotFoundError: no module named 'debug_toolbar' -SOLUTION
- How to create superuser in django project hosted in cPanel without terminal
- CSS & images not loading in django admin | cpanel without terminal
- Could not build wheels for mysqlclient, which is required to install pyproject.toml-based projects
- How to sell domain name on Godaddy (2023)
- TemplateSyntaxError at / Could not parse the remainder: ' + 1' from 'forloop.counter0 + 1'
- urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0
Related Article