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

Posting Sales order: Stack trace: Cannot run form on non interactive session.

(0) ShareShare
ReportReport
Posted on by 10

Hi,

I am trying to print a custom document (SSRS report) at the end of the Packing slip posting, but facing this error

Posting Sales order: XXXXXX Stack trace: Cannot run form on non interactive session.

 

I don't know what makes D365 think its a non-interactive session, ideally user should get a dialogue where they can make printer selection like a normal SSRS report. 

Even if I set the parmShowDialog(false) in the code it still throw same error

How I can tell D365 its not a non-interactive session ?

I have the same question (0)
  • GirishS Profile Picture
    27,833 Moderator on at

    Hi Samee,

    Have you created custom DP - Contract class - Controller class or using standard?

    Thanks,

    Girish S.

  • Samee Profile Picture
    10 on at

    Hi,

    The SSRS report I am trying to print has a DP, contract and controller class.

  • Suggested answer
    Deepak Agarwal Profile Picture
    8,602 on at

    Hi,

    on report dialog, are you trying to run this report in batch. Check the setting there. Try to print this on screen first.

  • Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    As you are saying custom document, can you help us with the information regarding all the customisation done for the same? Have you debugged the code from where the error is coming?

  • GirishS Profile Picture
    27,833 Moderator on at

    This error may be due to many reasons. Check whether the contract class have implemented the SysOperationValidatable class.

    Sometimes implementing the above class will throw error.

    Also check the printer settings. Is the report will show in the screen or it will download as file?

    Thanks,

    Girish S.

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... 529 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 470

#3
Adis Profile Picture

Adis 270 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans