Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Dynamics 365 Business Central (on-premise): Extension for printing external documents for BC 20 On Prem

Posted on by 55

Hi All,

I tried writing the same logic using below link to print the external document and updated all the settings but getting the Assembly error. 

Source which i used to write the logic,

https://demiliani.com/2018/07/11/dynamics-365-business-central-on-premise-extension-for-printing-external-documents/

Error I'm getting is as below,

.NET Type "System.Diagnostics.ProcessWindowstyle" as ProcessWindowstyle
The type 'System.Diagnostics.ProcessWindowstyle' could not be found in assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'ALAL0452

 pastedimage1676399445085v1.png

my settings are 

pastedimage1676399513161v2.png

can some one show some light to resolve this issue?

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Dynamics 365 Business Central (on-premise): Extension for printing external documents for BC 20 On Prem

    Hi,

    Can you check if your system belongs to same .Net framework configuration?

    learn.microsoft.com/.../system.diagnostics.processstartinfo

    pastedimage1676511114322v1.png

  • Suggested answer
    Andy Sather Profile Picture
    Andy Sather on at
    RE: Dynamics 365 Business Central (on-premise): Extension for printing external documents for BC 20 On Prem

    Hello  - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    I will open this up to the community in case they have something to add.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans