Pergunta

I have a web application in an Azure cloud service using ADFS 2.0. I wanna add others parties identifier, like Windows Live Id. The web.config includes a connection string encrypted with the asp.net_regis utility. When I deploy to the cloud service without the new identity provider references, it works fine, but when I add these new references, I'm getting this exception: The section is marked as being protected, but it does not have the correct format. It should contain only the <EncryptedData> child node. I have included the certificate I used to encrypt it in the Token Decription tab in ACS portal. Why I'm getting this error?

Foi útil?

Solução

See if any new keys have been added (or any other elements for that matter) between the nodes because it will cause this error. May be you have transformations applied while deploying.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top