problem in codeunit

navinavi Member Posts: 2
edited 2006-03-27 in Navision Attain
If you change some code in a codeunit and then try to save the work you can get the following message:

"Could not load the selected type library"

Can anyone explain why this message appears? It even appears when you change as little as a commentary line

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    It's probably caused by a variable of type Automation, where the Automation server is not installed on the client (or a different version). Check the C/AL Variables.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • DnealDneal Member Posts: 103
    Hi

    I have been digging through information about this error message. A customer is trying to compile all objects and a list of objects related to Biztalk will get the error: "Could not load the selected type library." However they did purchase the granule for Biztalk.
    It's probably caused by a variable of type Automation, where the Automation server is not installed on the client (or a different version). Check the C/AL Variables.

    I'm a little confused about Biztalk,I'm just learning as I investigate. When I look it the objects, mostly codeunits, that won't compile, it does have type Automation variables. Does this mean the customer is not properly set up to use the funcitonality, or will it only compile on the main server?

    I'm a little lost on how to proceed. Any information or direction would be greatly appreciated.

    Many thanks,
    DNeal
Sign In or Register to comment.