web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Document Routing Agent (DRA) 400 (Internal Server Error)

(1) ShareShare
ReportReport
Posted on by 312

When trying to register a network printer through the DRA (when running as desktop application), I get the error below:

pastedimage1679358483723v1.png

Does anyone know anything about this?

I have the same question (0)
  • Suggested answer
    Charlotte X Profile Picture
    Microsoft Employee on at

    Hi Jsabanovski,

    I found an old thread mentioning the same error. You can refer to it:

    (+) Questions about the Document Routing Agent - Dynamics 365 Finance Forum Community Forum

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi, Where is the printer installed and have you signed in to DRA application using Admin account.

  • Jsabanovski Profile Picture
    312 on at

    Hi Mohit,

    On our server and yes. 

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Have you checked Event Viewer logs?

    Go to Event Viewer-->Application and Services Logs > Microsoft > Dynamics > AX-DocumentRouting and check both Admin and Operational sections.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Have you checked Event Viewer logs?

    Go to Event Viewer-->Application and Services Logs > Microsoft > Dynamics > AX-DocumentRouting and check both Admin and Operational sections.

  • Jsabanovski Profile Picture
    312 on at

    No, but looking at it I get this information on that error:

    pastedimage1679454553411v1.png

    pastedimage1679454580863v2.png

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    As the error says that record already exists so I would assume that someone registered that printer earlier and then probably deleted from D365 F&O. There is TokenCache2.dat file in below path. Sign out and Close your DRA application, take a backup of this TokenCache2 file. Delete the TokenCache2 file and start DRA application. Then try to register the printer.

    Tip: You wont see ProgramData folder in C drive so type manually (C:\ProgramData\Microsoft\Microsoft Dynamics 365 for Operations - Document Routing)

    pastedimage1679456838440v3.png

  • Jsabanovski Profile Picture
    312 on at

    Hi Mohit,

    I tried it and it still gives me the same error . 

  • Suggested answer
    DB-22101133-0 Profile Picture
    2 on at
    Late to this conversation but I did find a fix when I was receiving the same error message.
     
    Go to the event viewer location as recommended by Mohit above.
     

    Look in the Operational menu and find the Error message created by the above 400 Internal Server Error.

     

    In the details tab, I found the following.

     

     

    I found the above printer in the Doc Routing Agent printer list, unticked it and clicked Register.  The error message did not appear and I was able to tick and add the new printers I wanted.

     

    Can't say this will be the same issue you had but it did fix the issue for me.

     

     

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 666 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 280 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 207 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans