Adding the site as a trusted site got rid of the error when I'm running it in manually, but it still fails when it runs thru the scheduler. I found an error in the OrionWebPdf.log which states:
2013-06-20 16:17:02,411 [1] INFO ExportToPdfCmd.HTMLExporter - Error reading file: System.Security.Cryptography.CryptographicException: The handle is invalid.
at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)
at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()
at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize)
at System.Security.Cryptography.X509Certificates.X509Certificate2.get_PrivateKey()
at System.Security.Cryptography.Xml.EncryptedXml.DecryptEncryptedKey(EncryptedKey encryptedKey)
at System.Security.Cryptography.Xml.EncryptedXml.GetDecryptionKey(EncryptedData encryptedData, String symmetricAlgorithmUri)
at System.Security.Cryptography.Xml.EncryptedXml.DecryptDocument()
at SolarWinds.Orion.Security.CryptoHelper.DecryptXml(String encryptedText)
at SolarWinds.Orion.Security.CryptoHelper.Decrypt(String encryptedText)
at ExportToPdfCmd.HTMLExporter.ParseInputFile(String filename)
Any other ideas?