Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Unable to print on a l...
Finance forum

Unable to print on a local printer

(0) ShareShare
ReportReport
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
    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans