Getting error code 80004005 on CreateObject
Question ID: 106556
0
0

I’m trying to execute the following line in my script:

Set qtApp = CreateObject("QuickTest.Application")

When it runs, I get the following:

"Error: Unspecified error

Code: 80004005

Source: (null)"

Marked as spam
Posted by (Questions: 227, Answers: 22)
Asked on December 30, 2015 5:37 pm
361 views
Answers (5)
1
Private answer

This is usually caused by DCOM not being set or not setup properly. Try this:

1. Run ''dcomcnfg.exe''.

2. Select ''Component Services'' - ''Computers'' - ''My Computer'' - ''DCOM Config''.

3. Select ''QuickTest Professional Automation''.

4. Right click and select ''Properties''.

5. In the properties dialog box, switch to ''Identify'' tab

6. Select ''The launching user'' instead of ''The interactive user''

Run the script again, and the issue should be resolved.

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on December 30, 2015 5:39 pm
0
Private answer

@Rich:
Unfortunately this solution did not work for me.
I'm using windows 7. I was able to create object for QuickTest.Application for some time. One day suddently it stopped working and I've started getting Unspecified error :-(
I tried dcomcnfg.exe solution as suggested by you but no luck.

I tried deleting and recreating my profile and reinstalling UFT but no luck :-(

is there any other solution that you can suggest?

@KaptainKayoss: Were you able to solve your issue?

Marked as spam
Posted by (Questions: 0, Answers: 2)
Answered on October 6, 2016 9:53 pm
0
Private answer

Are you using a 32 bit machine or 64 bit machine?

Marked as spam
Posted by (Questions: 227, Answers: 22)
Answered on January 10, 2017 2:35 am
0
Private answer

I'm using 64bit windows and 32 bit uft installation. I dont have the issue anymore though. Can't remember what I did to solve it (or whether I did anything at all) but will reply again if I remember what I did. Thanks for replying @KaptainKayoss though!!

Marked as spam
Posted by (Questions: 0, Answers: 2)
Answered on January 10, 2017 3:19 am
0
Private answer

I get 800A0046 error on CreateObject, has RemoteAutomationAgent turned on.

Marked as spam
Posted by (Questions: 3, Answers: 1)
Answered on May 15, 2018 9:26 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top