Hi all,
I follow the procedure to install the Document Routing Agent locally and register a local printer into it. I was able to see that printer into D365, but I'm unable to print on it. When we try to use it, I receive the following error message in the log.
37022000x40000006000000046171Microsoft-Dynamics-AX-DocumentRouting/OperationalMAN-ADFS.manac.caDocumentRoutingTimer_TickAsyncKey not valid for use in specified state.System.ExceptionSystem.Security.Cryptography.CryptographicException: Key not valid for use in specified state. at System.Security.Cryptography.ProtectedData.Unprotect(Byte[] encryptedData, Byte[] optionalEntropy, DataProtectionScope scope) at Microsoft.Dynamics.AX.Framework.DocumentRouting.Runtime.FileCache.ReadFileCache() at Microsoft.Dynamics.AX.Framework.DocumentRouting.Runtime.FileCache..ctor() at Microsoft.Dynamics.AX.Framework.DocumentRouting.Runtime.AuthenticationHelper.get_AuthContext() at Microsoft.Dynamics.AX.Framework.DocumentRouting.Runtime.AuthenticationHelper.GetAuthenticationResultFromUserAuth() at Microsoft.Dynamics.AX.Framework.DocumentRouting.Runtime.AuthenticationHelper.GetAuthenticationResult() at Microsoft.Dynamics.AX.Framework.DocumentRouting.Runtime.AuthenticationHelper.get_AccessToken() at Microsoft.Dynamics.AX.Framework.DocumentRouting.Service.SignIn() at Microsoft.Dynamics.AX.Framework.DocumentRouting.Service.DocumentRoutingTimer_Tick(Object state)
Click the print button from any D365 Screen then select the printer register in D365 ( Canon ... ). Nothing actually print, and when we open the Document Routing Agent, we could see that error.

Report
All responses (
Answers (