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 Problem With Automation Variables

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

i Developed a processing only Report in this report i used automation variable as local variable.

after Completion  i compile the report i got this error

---------------------------
Microsoft Dynamics NAV Development Environment
---------------------------
The program cannot get type information from the type library. The type library may be corrupted or have an invalid format. Try to reregister the OLE control or Automation Server.
---------------------------
OK
---------------------------

For this Error i Reffered this Links 

https://community.dynamics.com/nav/f/34/t/146201

http://www.mibuso.com/forum/viewtopic.php?t=27152 

and one thing i am using NAV2015 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    keoma Profile Picture
    32,729 on at
    RE: Getting Problem With Automation Variables

    restart the dev. environment.

    then edit the variable list, where you declared the variable, which uses the automation as subtype. remove the current subtype (empty the field), then click on the browse button and search for the needed automation entry in the list, select it. recompile the nav object.

    if you do not find it, the list is not updated or the automation is not registered correctly. so check that and re-register the automation, if needed.

    then restart the computer/server and try again.

  • Suggested answer
    keoma Profile Picture
    32,729 on at
    RE: Getting Problem With Automation Variables

    better use a .net assembly instead. if you only have the automation dll, you must install and register that automation on every client pc. in code use it local, it cannot be used on the server til nav2013, use create function with params automationVar,true,true.

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
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#2
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans