web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

I have the same question (0)
  • Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at
    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.

  • Community Member Profile Picture
    on at
    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.

  • Verified answer
    Binesh Profile Picture
    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

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

    Here is another solution.

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

  • Suggested answer
    Community Member Profile Picture
    on at
    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#2
SC666 Profile Picture

SC666 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans