Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Getting error while generating QRCode Using Automation

(1) ShareShare
ReportReport
Posted on by

Hi Everyone,

       I'm Using NAV 2016, I'm working on Generating QRCode using Automation variables and I'm getting an error message (Cannot create an instance of an Automation Server with CLSID = {011ADF8D-8D74-4CA8-914B-059AA6EB5F7C}.) while running the Report.  

Code::

IF ISCLEAR(QRCode) THEN BEGIN
CREATE(QRCode,FALSE,TRUE);
END;
Text__:='QRCode to Encode';
QR_CodeText:=QRCode.Encode(Text__);

 

I have taken reference from "www.barcode-soft.com/dynamics-nav-barcode.aspx"

Please help me to Resolve this problem. Thanks in advance.

*This post is locked for comments

  • Suggested answer
    RE: Getting error while generating QRCode Using Automation

    Hi

    In NAV 2016, you would require to use Dot Net Variable as mentioned by Binesh.

    Automation normally used to work in prior version of NAV.

  • Rashed Profile Picture
    Rashed 3,765 on at
    RE: Getting error while generating QRCode Using Automation

    Here is another solution.

    dynamicsuser.net/.../creating-qr-code-in-nav-2016

  • Verified answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: Getting error while generating QRCode Using Automation

    Hello Sreekanth K K,


    Use Dot Net Variables for QR code creation, its working fine, already i used this is the result, see bellow screenshot.

    Sample-code.png

    If you need then i can share all code or objects.

    Use Microsoft.Dynamics.Nav.MX.BarcodeProviders

    Sample code is bellow

    Sample-code.png

  • RE: Getting error while generating QRCode Using Automation

    Hi Nareshwar,

    Thank you for your replay. I have already referred that blog post, but I didn't get the solution form there. I think some files are not registered in the Demo version of that BARCODESOFT . Can you please suggest any other way of solution.

    Thanks in advance.

  • RE: Getting error while generating QRCode Using Automation

    Hi Sreekanth,

    Check this blog post by Archer: community.dynamics.com/.../cannot-create-an-instance-of-an-automation-server-with-clsid-guid

    Hope you can get a slight idea what is happening around with GUID, since it is globally unique.

    Hope it helps.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans