Question regarding the new RIM toolkit...

jeremydjeremyd Member Posts: 22
Hi guys,

I've imported the .fob for the toolkit, and I've installed MSXML6. I open form 8610: Setup Questionaire, and I go to import an .xml questionaire into the program, and after I select the file & hit okay, the program errors out, and it says:

This Automation variable has not been instantiated. You can instantiate it either by creating or assigning it.

Wow, that makes alot of sense. Not. The process itself is supposed to be an easy one; and it would be if this worked. I've tried everything, from reinstalling 4.01 again, etc. Can anyone give any guidence? Even if you haven't used the new RIM toolkit, does this make any sense?

Thanks guys!

Comments

  • DenSterDenSter Member Posts: 8,304
    The error message makes sense. It happens when C/AL code tries to use an automation object's method or property without first instantiating the object. Typically, you'd do this by writing a line of code that says:
    CREATE(MyAutomation);
    
    After this you can use its methods and properties, and you won't get the message.
  • andrejsmandrejsm Member Posts: 122
    I try to do import XML, but receive similar error.
    Andrejs Muraskins
  • ara3nara3n Member Posts: 9,255
    try to compile the objects and see which one does not compile. Find which autmation it is and what version it is. download the autmation version and install it.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • NavLyonNavLyon Member Posts: 1
    I had the same problem, it is necessary to install XML version 6 (link below for download ) http://www.microsoft.com/downloads/deta ... laylang=en

    For me now it's ok.

    Regards
  • bobnavisionbobnavision Member Posts: 159
    I have downladed xml parser , its still give me the error
    "Automation Variable has not been instantiated".

    This error generates from code unit 8610.

    Regards
  • HalMdyHalMdy Member Posts: 429
    I have downladed xml parser , its still give me the error
    "Automation Variable has not been instantiated".

    This error generates from code unit 8610.

    Regards

    Did you re-compile the codeunit after installing xml parser ?
Sign In or Register to comment.