Book a Demo

Author Topic: New repository-object gives runtime error '429'  (Read 4081 times)

StefanPears

  • EA User
  • **
  • Posts: 119
  • Karma: +6/-0
  • Unwissenheit schützt vor Erkenntnis nicht
    • View Profile
New repository-object gives runtime error '429'
« on: March 02, 2010, 09:39:41 pm »
Hi all,

I'm back. My last posting is from 2007. Meanwhile I did some work with other tools in different companies, but now I'm again in a project with EA.

My problem: I have a VB-Script to save the entire repository to XML-files, written in MS-Word-VB. Until last week it worked fine, but then they installed EA7.5 upon my EA7.1, I had before.

The script goes like this:

Sub EA_XML_Export()
Dim m_Repository As Repository, package As package, m_project As Project
    Set m_Repository = New Repository
    <...>
End Sub

When trying to create the repository-object, I get the error-message: "run time error '429'. Active X Component can`t create Objekt" (Translated from german).

I guess it has something to do with the version upgrade. Unfortunalty I have no admin-privileges to re-install the tool or to check the registry or whatever.

Thanks for help
Stefan

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: New repository-object gives runtime error '429
« Reply #1 on: March 03, 2010, 09:44:31 pm »
Yep, that would be your problem.
You are not allowed to create a Repository object.
You need to retrieve it from the EA.Application object.

Geert