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

Announcements

No record found.

News and Announcements icon
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 332

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,573 Moderator on at

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

  • Jsabanovski Profile Picture
    332 on at

    Hi Mohit,

    On our server and yes. 

  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 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,573 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
    332 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,573 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
    332 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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 333 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans