web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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

    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

    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,887 on at

    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

    Here is another solution.

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

  • Suggested answer
    Community Member Profile Picture
    on at

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans