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 check PAN-Aadhaar is Linked or NOT?
- How to customize pagination for django admin?
- How to fix HAXM is not installed |in Android Studio
- How to fix CMOS Checksum Error in Computer or Laptop | SOLVED
- Reactivating windows after a Hardware change on PC or Laptop
- FIXED: Windows reported that the hardware of your device has changed. Error code :0xc004F211
- "redirect" is not defined pylance("reportUndefinedVariable)
- This action cannot be completed because the file is open in SQL Server(SQLEXPRESS) - FIXED
Related Article