Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

DLL Registration in NAV 2013 R2 RTC

(0) ShareShare
ReportReport
Posted on by 1,124

Dear Sir,

A custom DLL (Automation) is working fine in the client machine where the DLL is created. This Client Machine is also used as a Developer Machine.

Now I want to use this DLL in every Client Machine. I don't want to put this DLL file in the Server.

I've registered (using RegAsm) the DLL in other client machine successfully & seen that the DLL is defined as Myautomation.Unknown in the C/ALL Global Variable window & for this "Unknown" class name, I'm facing an error like "Cannot create an instance of an Automation Server with CLSID".

[And I've also noticed that if I change the class name correctly instead of "Unknown" then the problem is solved.]

To solve this problem I have to access the Database using Developer Environment from that Client machine & manually changed the information in the C/ALL Global Variable Windows. But it's not expected that every client PC should have the "Developer Environment" installed.

How to solve this problem?

*This post is locked for comments

  • keoma Profile Picture
    keoma 32,675 on at
    RE: DLL Registration in NAV 2013 R2 RTC

    did you try to develope a .net assembly instead ?

    please publish your source code for analysing.

  • subrata.bauri Profile Picture
    subrata.bauri 1,124 on at
    RE: DLL Registration in NAV 2013 R2 RTC

    No App.Config file is for the automation.

  • keoma Profile Picture
    keoma 32,675 on at
    RE: DLL Registration in NAV 2013 R2 RTC

    does your automation use an app.config ?

  • keoma Profile Picture
    keoma 32,675 on at
    RE: DLL Registration in NAV 2013 R2 RTC

    does your automation use an app.config ?

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: DLL Registration in NAV 2013 R2 RTC

    please describe the functionalities of your automation and upload the source code. i will then check the issues.

    an other solution for you could be to develope a .net assembly instead. no system registration needed, default solution for nav 2013 acc. microsoft dev. rules.

  • subrata.bauri Profile Picture
    subrata.bauri 1,124 on at
    RE: DLL Registration in NAV 2013 R2 RTC

    In a client machine  where the dll is registered (already) could not find the dll reference classs name properly in other different page objects....

  • subrata.bauri Profile Picture
    subrata.bauri 1,124 on at
    RE: DLL Registration in NAV 2013 R2 RTC

    Is there anything else you need to know ?

  • subrata.bauri Profile Picture
    subrata.bauri 1,124 on at
    RE: DLL Registration in NAV 2013 R2 RTC

    The following URLs help me to develop & register the Automation (built in .NET 3.5).

    techblog.byllemos.com/.../writing-an-automation-for-navision-in-c

    dynamicsuser.net/.../33642.aspx

    www.geeksengine.com/.../register-dll.html

    http://demiliani.com/blog/archive/2005/09/19/2965.aspx

    During registration I have not used the GAC tool.

  • keoma Profile Picture
    keoma 32,675 on at
    RE: DLL Registration in NAV 2013 R2 RTC

    please describe more details. what did you try at least ? what are the results ?

  • subrata.bauri Profile Picture
    subrata.bauri 1,124 on at
    RE: DLL Registration in NAV 2013 R2 RTC

    I followed the same as mentioned.

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…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

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,436 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans