Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Unable to print on a l...
Finance forum
Suggested answer

Unable to print on a local printer

Posted on by 457

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.

  • Suggested answer
    Ajit Profile Picture
    Ajit 8,755 on at
    RE: Unable to print on a local printer

    Make sure you have taken care below points. And also check on which account DRA service is running.

    docs.microsoft.com/.../install-document-routing-agent

    What's important to know?

    Finance and Operations offers a downloadable application that you can use to enable network printing scenarios.

    You can enable network printers for specific companies by using in-client administrative pages.

    Access to network printing resources requires Active Directory Domain Services (AD DS) authentication.

    When installing the Document Routing Agent (DRA), make sure you are logged in as the Admin user.

    The Microsoft Azure Active Directory (Azure AD) account that is used to configure the DRA must share the same domain as the Azure tenant.

    The DRA requires .NET 4.62 or later and Adobe Acrobat Reader on the client.

    The client is supported on Windows 8.1, Windows 10, Microsoft Windows Server 2012 R2, or Microsoft Windows Server 2016.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans