Fixed: A route named 'umbraco-surface-BaseRoute' is already in the route collection

Chances are you've landed on this pagr from Google after searching for the reason why your newly upgraded Umbraco project (also more than likely upgraded via NuGet) is displaying this wonderful error... 'A route named 'umbraco-surface-BaseRoute'.

Long story sort, it's probably because you've renamed your project and when you compile/run it, Visual Studio created another DLL under the new name for your project, so now you're running with two DLLs that do the same thing. Hence the error. Delete the old DLL and your site will pop back into life.

A route named 'umbraco-surface-BaseRoute' is already in the route collection


Published at

Tags: Umbraco,Visual Studio

Luke Alderton

Comments

Post a comment
Sit tight...
We're adding your comment.
Thank you.
Your comment has been added.
There's been a problem.
Please try again later.
Share with
Tags
Latest Comments
By WilliamZon on MVC forms in Umbraco
12 Dec 2018, 09:34 AM
By Jamessobia on MVC forms in Umbraco
11 Dec 2018, 13:17 PM
By Andrewjek on Umbraco Get Current Member or Member By ID
10 Dec 2018, 17:27 PM
By Nigad42 on MVC forms in Umbraco
10 Dec 2018, 09:41 AM
By Robertflose on MVC forms in Umbraco
9 Dec 2018, 10:31 AM
By Otutu90 on Displaying text on a 16x2 LCD screen with a Raspberry Pi
9 Dec 2018, 01:58 AM
By Dufox53 on Moving SQL Server System Tables
8 Dec 2018, 22:12 PM
By Tepul31 on Moving SQL Server System Tables
8 Dec 2018, 21:48 PM
Categories
App Development
Event
Game Development
Mapping
Modelling
Programming
Review
Robotics
Tutorial
Web Development