I have recently deployed an ASP.NET MVC4 application to a IIS 7 server, but something is not quite right. I have a log-in action that access the user credentials stored in a MSSQL 2008 R2 server, and when this access takes place, the access time takes around 13 secs. This is very high for a simple credential look-up.
I have tested the same application on local IIS with the same data-set in a replicated MSSQL server and performance is normal. What could be the issue here?