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

Sales order confirmation failing after upgrade to version 46 (Production only)

(1) ShareShare
ReportReport
Posted on by 72
Hi,
 
We recently upgraded our Production environment to version 46. After the upgrade, we started encountering errors during Sales Order confirmation.
 
Error message:
SalesFormLetterParmData::construct method has been incorrectly called.
 
Key observations:
 
The same codebase is deployed in both Sandbox and Production.
The issue does not occur in Sandbox or on any Dev machines.
We restored the Production database to Sandbox to reproduce the issue, but Sales Order confirmation works fine there.
In Production, the confirmation works when the D365FO session is running on AOS2, but fails when running on AOS1, AOS3, or AOS4.
 
I need to understand:
Why this issue is occurring only in Production and only on specific AOS instances. Also can we reapply the 46 upgrade package again to resolve this issue in production.
 
How we can identify which AOS server a user session is currently running on.
 
Whether it is possible to switch between AOS servers in Production for testing purposes.
 
Any guidance would be appreciated.
 
Thank you.
 
Categories:
I have the same question (0)
  • Suggested answer
    Anton Venter Profile Picture
    20,656 Super User 2026 Season 1 on at
     
    In my experience this is usually caused by data and it seems that somehow the data cache in your production environment is causing issues. You could try cleaning up the sales update history, this might solve the issue. Another option is to ask Microsoft to restart your environment (at a convenient time of course) for you or to investigate it for you.
     
    Sales history data cleanup
     
    Have you looked in System Administration -> Users -> Online users to see which AOS the users are on?
     
    Because the system is load balanced, I don't see a way of forcing a specific AOS for a specific user.
     
     
     
  • Suggested answer
    Sagar121 Profile Picture
    1,160 Super User 2026 Season 1 on at
    Hi Rahul,
     
    You can check which AOS instance is being used by navigating to System administration → Users → Online users.
    You can also end the active session for the user and ask them to try again.
    Re‑applying the same package can be done, though I haven’t tested it personally—you can try this in any sandbox first.
    Once the deployment is done in PROD, the AOS instance will restart automatically. If the issue still continues, raise a Sev A ticket, as it looks more like an infrastructure-related problem.
     
    Thanks,
    Sagar
  • André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at
    Hi Rahul,

    Most likely, it is due to caching on the other AOS instances. You can try to set the production environment in maintenance mode. Then wait 10 minutes and disable maintenance mode again to see if the AOS instances gets restarted. 

    If this doesn't help, contact Microsoft Support to restart all services.
  • Suggested answer
    Syed Haris Shah Profile Picture
    1,566 Super User 2026 Season 1 on at
     
    Since this issue occurs in Production and could impact critical business processes, it requires careful handling. The approaches suggested by Anton, Andre and Sagar are potentially useful for investigation and resolving, but in the meantime, I recommend a support ticket with high severity should be opened with Microsoft to ensure timely resolution and prevent business disruption.
     
    If you find this answer helpful, please consider verifying the answer. 👍
     
    Regards,
    Syed Haris Shah
  • Syed Haris Shah Profile Picture
    1,566 Super User 2026 Season 1 on at
     
    If you have any updates, please share them here.
     
    Regards,
    Syed Haris Shah

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