MVC5 Multiple types were found that match the controller named 'Home'
<p>I was trying to clone a project called IdentitySample but I wanted to rename it to RecreationalServicesTicketingSystem. I've followed a few guides as to how to rename everything but it seems the application is still picking up 
<code>IdentitySample.Controllers.HomeController</code> . I've tried using the find function to look through codes to see if IdentitySample was still in our application but I've found none.</p>

<p>Can give me a few pointers as too where I might have missed renaming the solution?</p>

<blockquote>
  <p>Multiple types were found that match the controller named 'Home'. This
  can happen if the route that services this request
  ('{controller}/{action}/{id}') does not specify namespaces to search
  for a controller that matches the request. If this is the case,
  register this route by calling an overload of the 'MapRoute' method
  that takes a 'namespaces' parameter.</p>
  
  <p>The request for 'Home' has found the following matching controllers:
  RecreationalServicesTicketingSystem.Controllers.HomeController
  IdentitySample.Controllers.HomeController</p>
</blockquote>

<p><a href="https://i.stack.imgur.com/FF8kk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FF8kk.png" alt="enter image description here"></a></p>

<p>HomeController.cs</p>

<pre><code>using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using RecreationalServicesTicketingSystem.Models;

namespace RecreationalServicesTicketingSystem.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        [Authorize]
        public ActionResult About()
        {
            ViewBag.Message = "Your app description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }
    }
}
</code></pre>

<p>View\Home\Index.cshtml</p>

<pre><code>@{
    ViewBag.Title = "Home Page";
}

&lt;div class="jumbotron"&gt;
    &lt;h1&gt;ASP.NET Identity&lt;/h1&gt;
    &lt;p class="lead"&gt;ASP.NET Identity is the membership system for ASP.NET apps. Following are the features of ASP.NET Identity in this sample application.&lt;/p&gt;
    &lt;p&gt;&lt;a href="http://www.asp.net/identity" class="btn btn-primary btn-large"&gt;Learn more &amp;raquo;&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;

&lt;div class="row"&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Initialize ASP.NET Identity&lt;/dt&gt;
            &lt;dd&gt;
                You can initialize ASP.NET Identity when the application starts. Since ASP.NET Identity is Entity Framework based in this sample,
                you can create DatabaseInitializer which is configured to get called each time the app starts.
                &lt;strong&gt;Please look in App_Start\IdentityConfig.cs&lt;/strong&gt;
                This code shows the following
                &lt;ul&gt;
                    &lt;li&gt;When should the Initializer run and when should the database be created&lt;/li&gt;
                    &lt;li&gt;Create Admin user&lt;/li&gt;
                    &lt;li&gt;Create Admin role&lt;/li&gt;
                    &lt;li&gt;Add Admin user to Admin role&lt;/li&gt;
                &lt;/ul&gt;
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Add profile data for the user&lt;/dt&gt;
            &lt;dd&gt;
                &lt;a href="http://blogs.msdn.com/b/webdev/archive/2013/10/16/customizing-profile-information-in-asp-net-identity-in-vs-2013-templates.aspx"&gt;Please follow this tutorial.&lt;/a&gt;

                &lt;ul&gt;
                    &lt;li&gt;Add profile information in the Users Table&lt;/li&gt;
                    &lt;li&gt;Look in Models\IdentityModels.cs for examples&lt;/li&gt;
                &lt;/ul&gt;
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Validation&lt;/dt&gt;
            &lt;dd&gt;
                When you create a User using a username or password, the Identity system performs validation on the username and password, and the passwords are hashed before they are
                stored in the database. You can customize the validation by changing some of the properties of the validators such as Turn alphanumeric on/off, set minimum password length
                or you can write your own custom validators and register them with the UserManager.
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Register a user and login&lt;/dt&gt;
            &lt;dd&gt;
                Click @Html.ActionLink("Register", "Register", "Account") and see the code in AccountController.cs and Register Action.
                Click @Html.ActionLink("Log in", "Login", "Account") and see the code in AccountController.cs and Login Action.
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Social Logins&lt;/dt&gt;
            &lt;dd&gt;
                You can the support so that users can login using their Facebook, Google, Twitter, Microsoft Account and more.
            &lt;/dd&gt;
            &lt;dd&gt;
                &lt;ul&gt;
                    &lt;li&gt;
                        &lt;a href="http://www.windowsazure.com/en-us/documentation/articles/web-sites-dotnet-deploy-aspnet-mvc-app-membership-oauth-sql-database/"&gt;Add Social Logins&lt;/a&gt;
                    &lt;/li&gt;
                    &lt;li&gt;
                        &lt;a href="http://blogs.msdn.com/b/webdev/archive/2013/10/16/get-more-information-from-social-providers-used-in-the-vs-2013-project-templates.aspx"&gt;Get more data about the user when they login suing Facebook&lt;/a&gt;
                    &lt;/li&gt;
                &lt;/ul&gt;
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Basic User Management&lt;/dt&gt;
            &lt;dd&gt;
                Do Create, Update, List and Delete Users.
                Assign a Role to a User.
                Only Users In Role Admin can access this page. This uses the [Authorize(Roles = "Admin")] on the UserAdmin controller.
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Basic Role Management&lt;/dt&gt;
            &lt;dd&gt;
                Do Create, Update, List and Delete Roles.
                Only Users In Role Admin can access this page. This authorization is doen by using the [Authorize(Roles = "Admin")] on the RolesAdmin controller.
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Account Confirmation&lt;/dt&gt;
            &lt;dd&gt;
                When you register a new account, you will be sent an email confirmation.
                You can use an email service such as &lt;a href="http://www.windowsazure.com/en-us/documentation/articles/sendgrid-dotnet-how-to-send-email/"&gt;SendGrid&lt;/a&gt; which integrate nicely with Windows Azure and requires no configuration or
                set up an SMTP server to send email.
                You can send email using the EmailService which is registered in App_Start\IdentityConfig.cs
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Two-Factor Authentication&lt;/dt&gt;
            &lt;dd&gt;
                This sample shows how you can use Two-Factor authentication. This sample has a SMS and email service registered where you can send SMS or email for sending the security code.
                You can add more two-factor authentication factors such as QR codes and plug them into ASP.NET Identity.
                &lt;ul&gt;
                    &lt;li&gt;
                        You can use a SMS using &lt;a href="https://www.twilio.com/"&gt;Twilio&lt;/a&gt; or use any means of sending SMS. Please &lt;a href="https://www.twilio.com/docs/quickstart/csharp/sms/sending-via-rest"&gt;read&lt;/a&gt; for more details on using Twilio.
                        You can send SMS using the SmsService which is registered in App_Start\IdentityConfig.cs
                    &lt;/li&gt;
                    &lt;li&gt;
                        You can use an email service such as &lt;a href="http://www.windowsazure.com/en-us/documentation/articles/sendgrid-dotnet-how-to-send-email/"&gt;SendGrid&lt;/a&gt; or
                        set up an SMTP server to send email.
                        You can send email using the EmailService which is registered in App_Start\IdentityConfig.cs
                    &lt;/li&gt;

                    &lt;li&gt;
                        When you login, you can add a phone number by clicking the Manage page.
                    &lt;/li&gt;
                    &lt;li&gt;
                        Once you add a phone number and have the Phone service hooked to send a SMS, you will get a code through SMS to confirm your phone number.
                    &lt;/li&gt;
                    &lt;li&gt;
                        In the Manage page, you can turn on Two-Factor authentication.
                    &lt;/li&gt;
                    &lt;li&gt;
                        When you logout and login, after you enter the username and password, you will get an option of how to get the security code to use for two-factor authentication.
                    &lt;/li&gt;
                    &lt;li&gt;
                        You can copy the code from your SMS or email and enter in the form to login.
                    &lt;/li&gt;
                    &lt;li&gt;
                        The sample also shows how to protect against Brute force attacks against two-factor codes. When you enter a code incorrectly for 5 times then you will be
                        lockedout for 5 min before you can enter a new code. These settings can be configured in App_Start\IdentityConfig.cs by setting  DefaultAccountLockoutTimeSpan and MaxFailedAccessAttemptsBeforeLockout on the UserManager.
                    &lt;/li&gt;
                    &lt;li&gt;
                        If the machine you are browsing this website is your own machine, you can choose to check the "Remember Me" option after you enter the code.
                        This option will remember you forever on this machine and will not ask you for the two-factor authentication, the next time when you login to the website.
                        You can change your "Remember Me" settings for two-factor authentication in the Manage page.
                    &lt;/li&gt;
                &lt;/ul&gt;
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Account Lockout&lt;/dt&gt;
            &lt;dd&gt;
                Provide a way to Lockout out the user if the user enters their password or two-factor codes incorrectly.
                The number of invalid attempts and the timespan for the users are locked out can be configured.
                A developer can optionally turn off Account Lockout for certain user accounts should they need to.
            &lt;/dd&gt;
            &lt;ul&gt;
                &lt;li&gt;Account LockOut settings can be configured in the UserManager in IdentityConfig.cs&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Security Token provider&lt;/dt&gt;
            &lt;dd&gt;
                Support a way to regenerate the Security Token for the user in cases when the User changes there password or any other security related information such as removing an associated login(such as Facebook, Google, Microsoft Account etc).
                This is needed to ensure that any tokens generated with the old password are invalidated. In the sample project, if you change the users password then a new token is generated for the user and any previous tokens are invalidated.
                This feature provides an extra layer of security to your application since when you change your password, you will be logged out from everywhere (all other browsers) where you have logged into this application.
            &lt;/dd&gt;
            &lt;dd&gt;
                &lt;ul&gt;
                    &lt;li&gt;The provider is registered when you add CookieAuthentication in StartupAuth to your application.&lt;/li&gt;
                &lt;/ul&gt;
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Password Reset&lt;/dt&gt;
            &lt;dd&gt;
                Allows the user to reset their passwords if they have forgotten their password. In this sample users need to confirm their email before they can reset their passwords.
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Custom Storage providers&lt;/dt&gt;
            &lt;dd&gt;
                You can extend ASP.NET Identity to write your own custom storage provider for storing the ASP.NET Identity system and user data
                in a persistance system of your choice such as MondoDb, RavenDb, Azure Table Storage etc.
            &lt;/dd&gt;
            &lt;dd&gt;
                &lt;ul&gt;
                    &lt;li&gt;
                        &lt;a href="http://www.asp.net/identity/overview/extensibility/overview-of-custom-storage-providers-for-aspnet-identity"&gt;
                            learn more on how to implement your own storage provider
                        &lt;/a&gt;
                    &lt;/li&gt;
                &lt;/ul&gt;
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
    &lt;div class="col-md-4"&gt;
        &lt;dl&gt;
            &lt;dt&gt;Documentation&lt;/dt&gt;
            &lt;dd&gt;
                &lt;ul&gt;
                    &lt;li&gt;
                        Tutorials: &lt;a href="www.asp.net/identity"&gt;www.asp.net/identity&lt;/a&gt;
                    &lt;/li&gt;
                    &lt;li&gt;
                        StackOverflow: &lt;a href="http://stackoverflow.com/questions/tagged/asp.net-identity"&gt;http://stackoverflow.com/questions/tagged/asp.net-identity&lt;/a&gt;
                    &lt;/li&gt;
                    &lt;li&gt;
                        Twitter: #identity #aspnet
                    &lt;/li&gt;
                    &lt;li&gt;
                        &lt;a href="http://curah.microsoft.com/55636/aspnet-identity"&gt;ASP.NET Identity on curah&lt;/a&gt;
                    &lt;/li&gt;
                    &lt;li&gt;
                        Have bugs or suggestions for ASP.NET Identity &lt;a href="http://aspnetidentity.codeplex.com/"&gt;http://aspnetidentity.codeplex.com/&lt;/a&gt;
                    &lt;/li&gt;
                &lt;/ul&gt;
            &lt;/dd&gt;
        &lt;/dl&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>