Dim signer As SignedXml = New SignedXml(xmlDoc) Getting the error after right click on signer for encryptedxml signer.encryptedxml threw as exception of type system.io.filen