You must Sign In to post a response.
  • Category: .NET

    Symmetric Algorithm not specified-- Need urgent help

    Hello Everybody,

    i have implemented SAML in my MVC application. it is working fine but when i deployed in production server i am getting error "Symmetric algorithm not specified" near SAML response xml decryption time.

    Below is my code.
    system.security.Cryptography

    private void Decrypt()
    {
    // Check the arguments.
    if (xmlDoc == null)
    throw new ArgumentNullException("Doc");

    // Create a new EncryptedXml object.
    EncryptedXml exml = new EncryptedXml(xmlDoc);

    // Decrypt the XML document.
    exml.DecryptDocument();
    }
    Thanks in advance
  • #770023
    Hi
    When you deployed to server copy all dlls files to post your Bin Folder in server
    then only your project run.

    try to write log file in the server.

    Name : Dotnet Developer-2015
    Email Id : kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.


  • Sign In to post your comments