Upgrade: Unable to login to the admin Console : Error 'Method not found '

Error:

If you complete an upgrade and receive the following error when you attempt to login to the Admin Console:

Server Error in '/AirWatch' Application. 

Method not found: 'Void System.Security.Claims.ClaimsIdentity..(System.Security.Claims.ClaimsIdentity)

ClaimsIdentity.jpg

Console WebLog will show:

2016/06/17 08:40:40.413 XXXXX 00000000-0000-0000-0000-000000000000 [0000000-0000000] (46) Error AirWatch.Logging.LoggerFactory.LogUnhandledException !!! UNHANDLED EXCEPTION !!! -- An Exception Was Not Handled By The Application: 
2016/06/17 08:40:40.413 XXXXX 00000000-0000-0000-0000-000000000000 [0000000-0000000] (46) Error AirWatch.Logging.LoggerFactory.LogUnhandledException *** EXCEPTION *** 
System.MissingMethodException: Method not found: 'Void System.Security.Claims.ClaimsIdentity..ctor(System.Security.Claims.ClaimsIdentity)'. 
at System.Web.Security.FormsIdentity..ctor(FormsIdentity identity) 
at System.Web.Security.FormsIdentity.Clone() 
at System.Security.Principal.GenericPrincipal.AddIdentityWithRoles(IIdentity identity, String[] roles) 
at System.Web.Security.FormsAuthenticationModule.OnAuthenticate(FormsAuthenticationEventArgs e) 
at System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs) 
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 
Diagnostics Context 
******************* 
PID: 2036 
Process Name: w3wp 
Error obtaining Process Identity: Object reference not set to an instance of an object. 
Error obtaining Application Identity: Object reference not set to an instance of an object. 
Error obtaining HTTP Request Identity: Object reference not set to an instance of an object. 
HTTP Request URL: https://xxxxx.xx/AirWatch/Home/Error404?aspxerrorpath=/airwatch/default.aspx 
HTTP Request Headers: 
Connection: keep-alive 
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
Accept-Encoding: gzip, deflate, br 
Accept-Language: de,en-US;q=0.7,en;q=0.3 
Host: clancy.n3k.de 
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0 
******************* 

2016/06/17 08:40:40.41 XXXXX 00000000-0000-0000-0000-000000000000 [0000000-0000000] (46) Error Global.asax Application Error: Redirected to /AirWatch/login

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

Cause:

The above issue can occur if .NET 4.6 or .NET 4.6.1 was removed from the console server.

Resolution:

Reapply the .NET 4.6 or 4.6.1 KB previously removed and restart the server.  e.g. Windows Updates, Check for updates.  

Example:

Previously had to remove KB3102467 to remove .NET 4.6.1 to be able to run Database Upgrade from the Console Server.

After the successful upgrade we have to reapply KB3102467 and restart the server and we were then able to login to the Console without issue.

NET_4.6.1_reinstalled.jpg

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.