title: ASP.NET MVC 4 can't find stored procedure
body: <p>I am working with ASP.NET MVC 4. I am using two databases, my database and the default database for the login and registration.</p>
  
  <p>Everything was excellent and I could call my stored procedures, until I tried to make my own membership. What I mean I tried to customize the websecurity. I really don't know anything about that thing, I maybe use the wrong words right now. However, I did some changes on my class as a question here said. then I run my application, it now gives me an exception and I knew it is hard to me so I make (ctrl + z) for all my classes that I change. Then I run, I got this exception </p>
  
  <blockquote>
    <p>Could not find stored procedure 'dbo.ApartmentOwnerLogin'.</p>
    
    <p>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. </p>
    
    <p>Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.ApartmentOwnerLogin'.</p>
    
    <p>Source Error: </p>
    
    <p>Line 395:                new ObjectParameter("password", typeof(string));<br>
    Line 396:<br>
    Line 397:            return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("ApartmentOwnerLogin", usernameParameter, passwordParameter, iD);<br>
    Line 398:        } </p>
  </blockquote>
  
  <p>I really reversed (undo) all the changes that I did</p>
  
  <p>Please help me to return to the work.</p>
  
  <p>Please help me, I am almost finished all what I have to do and this day before I give my project, I got this exception</p>