login.aspx was not found RRS feed

  • Question

  • I originally created a ASP.NET MVC4 project using the wrong authentication/template in Visual Studio. So I've been trying to make it use windows authentication (I already changed the project property to enable it) but there was a bunch of built-in garbage in my project:

    - AccountController
    - AuthConfig.RegisterAuth() im my Global.asax.cs
    - AccountModel.cs

    ... and some other crap that I can't remember at this point

    I went through and deleted all that junk but I still get the following error:

    Error Page 404: The controller for path '/login.aspx' was not found or does not implement IController.
    So it mentions some ASPX page in my ASP.NET MVC project that doesn't even exist.

    It would appear as though I didn't thoroughly go through and remove every reference to the "built-in" authentication login garbage that was put into the project when I first created it.

    Can anyone provide any insight?

    -Nothing to see. Move along.

    • Edited by blacksaibot Wednesday, August 16, 2017 1:24 PM
    • Moved by CoolDadTx Wednesday, August 16, 2017 5:10 PM ASP.NET related
    Wednesday, August 16, 2017 1:23 PM

All replies

  • Can anyone provide any insight?

    You should trash it all and start over, a sensible thing to do IMO.



    Wednesday, August 16, 2017 2:29 PM
  • I have waaay too much stuff in this project that it'd be more sensible to try and pin-point the problem.

    -Nothing to see. Move along.

    Wednesday, August 16, 2017 2:34 PM
  • Please post questions related to MVC in the ASP.NET forums.
    Wednesday, August 16, 2017 5:09 PM