Monthly Archives: June 2011

WIF Error: ID4039


ID4039: A custom ServiceAuthorizationManager has been configured. Any custom ServiceAuthorizationManager must be derived from  IdentityModelServiceAuthorizationManager I got this one trying to implement  Securing WCF Data Services using WIF and i resolved it by switching to IdentityModelServiceAuthorizationManager Advertisements

Posted in Programming | Tagged , , | 1 Comment

WIF Error: ID4036


ID4036: The key needed to decrypt the encrypted security token could not be resolved from the following security key identifier ‘<KeyInfo xmlns=”….. {omitted}…Ensure that the SecurityTokenResolver is populated with the required key. -SOLUTION: you have the wrong signing credentials for this STS, … Continue reading

Posted in Programming | Tagged , , | 2 Comments

WIF Error: ID1059


ID1059: Cannot authenticate the user because the URL scheme is not https and requireSsl is set to true in the configuration, therefore the authentication cookie will not be sent. Change the URL scheme to https or set requireSsl to false on … Continue reading

Posted in Programming | Tagged , , | 7 Comments

WIF Error: ID6013


ID6013: Signature verification failed. -comes in the form of a popup error when you attempt to run the Federation Utility and add an existing STS. -Also happens spontaniously if something tries to modify the token en-transit. see here See this … Continue reading

Posted in Programming | Tagged , , | 1 Comment

WIF Error: ID4213


ID4213: Cannot parse the ClaimType ‘//Blah#Identities’ into a constituent name and namespace. Parameter name: claim (by removing the ‘#’ I get  ID4254)

Posted in Programming | Tagged , | 1 Comment

WIF Error: ID4254


ID4254: The AttributeValueXsiType of a SAML Attribute must be a string of the form ‘prefix#suffix’, where prefix and suffix are non-empty strings. Parameter name: value Remove the Issued by claim, resolved the problem. new Claim(“//blah/UserID#”,//here the ‘#’ is o.k. “1”//, ConfigurationManager.AppSettings[“LocalURLofThisService”] );

Posted in Programming | Tagged , , , | 4 Comments

WIF Error: ID1023


ID1023: The security token endpoint is not hosted on a secure https connection. -Put it into a secure https site, by going into IIS> clicking on the site/app and changing the SSL settings to require SSL.

Posted in Programming | Tagged , | 1 Comment

WIF Error: ID1044


ID1044: An encrypted security token was received at the relying party which could not be decrypted. Configure the relying party with a suitable decryption certificate. Current relying party decryption certificate info:[Thumbprint] {some thumbprint} -related to ID4036

Posted in Programming | Tagged , | 1 Comment

WIF Error: ID4175


ID4175: The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security tokens from this issuer, configure the IssuerNameRegistry to return a valid name for this issuer Had the wrong thumbprint for the certificate that was … Continue reading

Posted in Programming | Tagged , | 1 Comment

WIF Error: ID1024


ID1024: The configuration property value is not valid. Solution: Remove the My as per this thread

Posted in Programming | Tagged , | 1 Comment