Error in CodeUnit 5064: Boolean is not convert to Automation

Hi,
I am facing a weird error in CodeUnit 5064 , it gives me the error boolean is not convert to Automation. It is not customized and is compilable in BASE 2009R2. Can any one tell me which library do it use?? I guess the variable name is CDOMessageHandler?

If anyone can tell me which library i need to install to remove this error, that would be great.

Looking forward to hear from you. :)
Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.

please like / agree / verify my answer, if it was helpful for you. thanks.

Best Answer

Answers

  • KishormKishorm Member Posts: 921
    Does your application version (fobs) match the client version (exe)?

    If not then it could be that the automation object has changed between the application version and the client version - in which case you would need to update the code to work with the new version of the automation objects included with the newer client.
  • zohaibu95@hotmail.comzohaibu95@hotmail.com Member Posts: 223
    Yes it is matched. I have import them from BASE 2009 CRONUS sample company to my upgraded to 2009 DB . It is working fine in BASE 2009 Company but not here.

    Let me know if anyone have any solution
    Best Regards
    Zohaib Ahmed
    Dynamics NAV ERP Technical Consultant.

    please like / agree / verify my answer, if it was helpful for you. thanks.
  • KishormKishorm Member Posts: 921
    So you are saying you are using Base 2009 objects into a 2009 R2 client? If this is the case then they are not matched.
  • zohaibu95@hotmail.comzohaibu95@hotmail.com Member Posts: 223
    No Base 2009 R2 object in 2009R2 client.
    Best Regards
    Zohaib Ahmed
    Dynamics NAV ERP Technical Consultant.

    please like / agree / verify my answer, if it was helpful for you. thanks.
  • KishormKishorm Member Posts: 921
    I've just checked a NAV 2009 R2 CRONUS database and Codeunit 5064 does not have a CDOMessageHandler variable
  • zohaibu95@hotmail.comzohaibu95@hotmail.com Member Posts: 223
    can you please give me its FOB file ?
    Best Regards
    Zohaib Ahmed
    Dynamics NAV ERP Technical Consultant.

    please like / agree / verify my answer, if it was helpful for you. thanks.
  • KishormKishorm Member Posts: 921
    I can't attach the file - I keep getting a message saying "File not allowed".

    You can get it yourself from a NAV 2009 R2 CRONUS database
  • zohaibu95@hotmail.comzohaibu95@hotmail.com Member Posts: 223
    It is working can you email me on zohaib.ahmed.khan@outlook.com? I shall be thankful to you.
    Best Regards
    Zohaib Ahmed
    Dynamics NAV ERP Technical Consultant.

    please like / agree / verify my answer, if it was helpful for you. thanks.
  • zohaibu95@hotmail.comzohaibu95@hotmail.com Member Posts: 223
    Thanks
    Best Regards
    Zohaib Ahmed
    Dynamics NAV ERP Technical Consultant.

    please like / agree / verify my answer, if it was helpful for you. thanks.
Sign In or Register to comment.