c# - ASP.Net MVC Login Method -
i have problem asp.net mvc application on hosting . when use login page on local machine worked without problem if upload website on hosting ( plesk windows ) , called login method, show error : an error occurred while trying encrypt provided data. refer inner exception more information. innerexception : access path `c:/windows/system32/configsystemprofile/appdata/local/asp.net/dataprotection-keys` denied. source file : //file header private readonly usermanager<mak_users> _usermanager; private readonly signinmanager<mak_users> _signinmanager; //login method var quser = db.users.where(a => a.username == model.usr_natcode).singleordefault(); await _signinmanager.signinasync(quser, model.rememberme); please me fix problem :((