c# - MVC 5 UserManager.FindAsync throwing error when deployed on azure -


i have asp.net mvc 5 website connects remote sql database.

the website works fine when it's running visual studio iis express.

however, when deploy website on azurewebsites , attach debugger on login function, see usermanager.findasync function redirects me general error view page.

this usermanager checks if user exists:

var user = await usermanager.findasync(model.username, model.password); 

and web.config connection string:

<add name="defaultconnection" connectionstring="data source=87.87.87.87,1433;initial catalog=dbname;integrated security=false; user id=username; password=password" providername="system.data.sqlclient" /> 

this website works when it's deployed elsewhere well.

the problem occurs when it's deployed on azurewebsites.


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -