I have a .NET MVC application which also has a security module for login, in a different project (but the same solution). None of these were built by me. They already existed when I started working for my employer.
When I run the application from within Visual studio, I am able to log in normally. But when I deploy the application on IIS 7 (File system publishing) the website loads, but just displays a blank page with no errors when I try to log in (which means the deployed application probably can't access the security databases for login). I don't see any errors in my browser's developer tools console.
The default url http://localhost:85/UserAccount/Login shows the login screen. After entering my username and password, it just stays on the same url, but displays a blank page. When I run this from within visual studio, an unsuccessful login displays an error message while a successful login redirects me to http://localhost:85/UserAccount/Home
How do I resolve this?