Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Automation error
Topic Summary:
Created On: 25-Jul-2008 09:19
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Heng Jean-Philippe, on Friday, July 25, 2008 3:20 PM

Answer:
Thanks for all,

I corrected my problem with all doors software uninstall and registry clean up by hand.
Then reinstall Doors CLient and Doors Server.

Everything seems working so i cross my fingers :-)

Thank for responses.
 25-Jul-2008 09:19
User is offline View Users Profile Print this message


Heng Jean-Philippe

Posts: 15
Joined: 21-Jul-2008

Hi everybody,

I'm back with some problems... :-)
If anyone can help me, it would be great!
I'm in a Visual Basic Program and when i execute the command:

Set oDoorsApp = CreateObject("DOORS.Application")

VB raises an error:

Automation Error
Execution error '-2147221231 (80040111)'

Anybody knows how to fix it?

Thanks

JP

Edit:
I'va already reinstall Doors client and Doors Data Server

Edited: 25-Jul-2008 at 09:21 by Heng Jean-Philippe
Report this to a Moderator Report this to a Moderator
 25-Jul-2008 12:05
User is offline View Users Profile Print this message


Paul Howstan

Posts: 47
Joined: 27-Sep-2006

Hi,

Not enitely sure why your code does not work, but it may be to do with the references in your VB project. Check that Tools->References shows "Telelogic DOORS Type Library" as selected. (This is for VBA, but for Visual Studio, I think its something like Project->Preferences)

Also, it is better to try and pre define the object you are about to use. Try the following code in VB rather than the create object:

Sub opendoors()

Dim doorsapp As New DOORSCOMLib.doors

'Need some code here to check that the doors app is running and the user has put their password in

doorsapp.runStr ("ack ""Hello World""")

End Sub

Edited: 25-Jul-2008 at 12:17 by Paul Howstan
Report this to a Moderator Report this to a Moderator
 25-Jul-2008 13:42
User is offline View Users Profile Print this message


Eric Piallat

Posts: 33
Joined: 26-Jan-2004

This error code means
-2147221231 (80040111) ClassFactory cannot supply requested class.

It occurs when HKCR does not provide information about "doors.application"

This may happen if you never launched DOORS from a Windows account with admin access on register: I've noticed on DOORS 5 that information about "doors.application" weren't stored in register during install.


With regedit, check existence of HKEY_CLASSES_ROOT\DOORS.Application\CLSID
Note (better in the clipboard) value of CLSID.

Then search for HKEY_CLASSES_ROOT\CLSID\{value of clsid}

I could provide my values to you, but I'm not 100% sure they are the same for each DOORS build.

-------------------------
E. Piallat
CeBeNetwork
Report this to a Moderator Report this to a Moderator
 25-Jul-2008 15:20
User is offline View Users Profile Print this message


Heng Jean-Philippe

Posts: 15
Joined: 21-Jul-2008

Answer Answer
Thanks for all,

I corrected my problem with all doors software uninstall and registry clean up by hand.
Then reinstall Doors CLient and Doors Server.

Everything seems working so i cross my fingers :-)

Thank for responses.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.