Products

Home Forums eaDocX queries COM exception 0x80020006 Unknown Name with script

Home Forums eaDocX queries COM exception 0x80020006 Unknown Name with script

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8041
    Geert Bellekens
    Participant

    I’m trying to set a section to use a script, but it I can’t get it working.
    I added the APITest script to my model and selected that as the script to use.

    When I try to generate I’m getting error 0x80020006

    I’m using EA v 10.0.1010 with eaDocX v 3.5.5.0

    #8042
    eadocX Support
    Participant

    My language skills are not good, but does that mean there is an error of some kind in the Script ?

    #8043
    Geert Bellekens
    Participant

    No, it’s not the script. The script runs fine when triggered directly from EA. I even dumbed it down to
    [code]function APITest
    dim outputHTML ‘ a string which will contain the HTML
    outputHTML = “

    Repository connection string:” & “test” & “


    ‘put the HTML string into the return
    APITest = outputHTML
    end function

    APITest[/code]
    but that still generated the error.

    #8045
    eadocX Support
    Participant

    Can you get ANY script to work when called from eaDocX? Or is it ALL scripts which fail ?
    Also, in the example above, what value does the TEST variable have? Does this work?

    #8046
    Geert Bellekens
    Participant

    No, no script at all via eaDocX

    (I fixed the TEST variable in the code snippet above to be “test”)

    #8047
    eadocX Support
    Participant

    Ah – environment. My favorite kind of error 🙁

    I think there might be a pre-requisite of some sort of Microsoft Scripting Control, but that should have been installed when you installed eaDocX. I will ask the India team on Monday, who built this, but they have gone home for the weekend.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Compare licence prices

Choose the licence that’s right for you and your team

Prices

Download a free trial

Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.

Download