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


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
Latest Comments
By esrgr on JQuery Unobtrusive Validation for dynamically created elements
11 Jun 2019, 06:01 AM
By annualmars on Raspberry Pi - Running Java app on Raspbian
10 May 2019, 15:48 PM
By Shahriar H. Razi on Xamarin Forms - Working with threads
7 May 2019, 09:25 AM
By Person on MVC forms in Umbraco
30 Apr 2019, 13:33 PM
By christopher on How to add a Xamarin Forms Loading Screen/Overlay
27 Mar 2019, 11:59 AM
By Rezi on Xamarin forms - Stop/Cancel back button event
22 Mar 2019, 13:08 PM
By jack of ass on Replacing the Xamarin Header/Navigation bar with a custom view/template
16 Feb 2019, 03:13 AM
By Zal on Xamarin MasterDetailPage has large margin/padding at top
7 Feb 2019, 12:20 PM
App Development
Game Development
Web Development