![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Automation error Topic Summary: Created On: 25-Jul-2008 09:19 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() 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. | |
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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. |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Automation error
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.