Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Codeunit 5500

Posted on by Microsoft Employee

Hi,

I have this error when i compile my CodeUnits

Error No. Object Type Object ID Object Name Error Type Function/Trigger Line No. Description
1 Codeunit 5500 Production Schedule Management Error 0 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.

and all this led me to this function  ===>


ProdSched::OnCommit(VAR InitialDataSetDOM60 : Automation "''.IDISPATCH";VAR SimulatedChangesDOM60: Automation "''.IDISPATCH";VAR Confl
CREATE(InitialDataSetXML);
CREATE(SimulatedChangesXML);
CREATE(ConflictingChangesXML);

InitialDataSetXML := InitialDataSetDOM60;

what is the solution please ?

*This post is locked for comments

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: Codeunit 5500

    hi,

    the error means you are missing an automation.

    the code seems to use xmldom60 classes.

    check, if automation microsoft xml 6.0 is installed. edit the parameter list of the function, click the browse button and you get the list of the installed automations.

    if not, download from

    www.microsoft.com/.../details.aspx

    after that restart the dev. env.

    maybe it's needed that you change the subtype of the parameters to "Microsoft XML, v6.0'.DOMDocument60". to to that: remove the current value in subtype and browse for the new value.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans