Quantcast
Channel: Claims based access platform (CBA), code-named Geneva forum
Viewing all articles
Browse latest Browse all 2535

AccessViolationException during WSFederationAuthenticationModule.GetSecurityToken

$
0
0

Writing a custom FAM/SAM that inherits from the base Microsoft IMPL's.  Every thing works great

until FAM attempts to read security token.  Specifically, I get an AccessViolationException when attempting to read the xml token from message:

System.AccessViolationException occurred
  _HResult=-2147467261
  _message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  HResult=-2147467261
  IsTransient=false
  Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  Source=System.IdentityModel.Services
  StackTrace:
       at System.IdentityModel.Services.WSFederationAuthenticationModule.GetSecurityToken(SignInResponseMessage message)
  InnerException: 

What might cause an AccessViolation when attempting to read the Xml token?

.NET 4.51

Win2012

IIS 7.5


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>