Error 429 : ActiveX component can't create object

G

Guest

I'm getting an Error 429 : ActiveX component can't create object when trying
to run a program that ran perfectly fine on Windows XP. It was created in VB6
but does not run on my version of Vista Business. Anyone have any ideas as to
why this may not work. We are desperate...it is a buisiness application that
our customers cannot run!
 
J

Jon

Brad said:
I'm getting an Error 429 : ActiveX component can't create object when
trying
to run a program that ran perfectly fine on Windows XP. It was created in
VB6
but does not run on my version of Vista Business. Anyone have any ideas as
to
why this may not work. We are desperate...it is a buisiness application
that
our customers cannot run!

The particular activex object may not be registered on your system, so you
may need to install it.

Otherwise try running the program elevated.
 
G

Garry

Brad Hi,

We also have a complex VB6 financial app which, when we installed on Vista
32 - runs with no problems.

Are you using the Microsoft Best Practices - for instance, if the app tries
to write anything to Program Files on the target computer where the user is
not an ADMIN, you can get funny messages. Perhaps the DLL is not registered
properly..

Perhaps the DLL should be in Program Files\Common Files\Company
Name\DLLName.dll and not %System32%.

Perhaps you should have a VISTA machine with VB6 installed as your test
developement environment. See if the error happens there within the
development environment.

WE use VMWare very successfully for this kind of problem. You can install a
Vista VM under XP but, I am not sure if the environment is really identical
to a real time Vista installation.

Consider also testing the APP on Vista 64 bit. This is the future so get
used to it.

Garry
 
M

Mark Rae

Are you using the Microsoft Best Practices - for instance, if the app
tries to write anything to Program Files on the target computer where the
user is not an ADMIN, you can get funny messages. Perhaps the DLL is not
registered properly..

Or, even worse, the app is trying to write to HKEY_LOCAL_MACHINE - that is
*very* tricky with Vista, and actively discouraged by Microsoft...
WE use VMWare very successfully for this kind of problem. You can install
a Vista VM under XP but, I am not sure if the environment is really
identical to a real time Vista installation.

I use VirtualPC for the same thing - it's certainly close enough to the real
thing for testing purposes...
Consider also testing the APP on Vista 64 bit. This is the future so get
used to it.

Absolutely!
 
G

Guest

Garry,
We tried to regsvr32 the file: documark_bsl.dll under the c:\Program
Files\Midmark\Documark directory.

We are getting an error though when completing the previously stated
procedure.

The module "documark_bsl.dll" was loaded but the call to DllRegisterServer
failed with error code 0x80004005.

For more information about this problem, search online using the error code
as a search item.
 
R

Ramesh, MS-MVP

Brad,

Try registering the component from an elevated Command Prompt window. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Garry,
We tried to regsvr32 the file: documark_bsl.dll under the c:\Program
Files\Midmark\Documark directory.

We are getting an error though when completing the previously stated
procedure.

The module "documark_bsl.dll" was loaded but the call to DllRegisterServer
failed with error code 0x80004005.

For more information about this problem, search online using the error code
as a search item.
 
G

Guest

Ramesh,

We did run a regsvr32 in the elevated Command Prompt window, but we still
recieve an error 429 - ActiveX component can't create object when we start
the application. Just wondering if you have any suggestions on what to do at
this point. Thanks.

Brad


Ramesh said:
Brad,

Try registering the component from an elevated Command Prompt window. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Garry,
We tried to regsvr32 the file: documark_bsl.dll under the c:\Program
Files\Midmark\Documark directory.

We are getting an error though when completing the previously stated
procedure.

The module "documark_bsl.dll" was loaded but the call to DllRegisterServer
failed with error code 0x80004005.

For more information about this problem, search online using the error code
as a search item.

Garry said:
Brad Hi,

We also have a complex VB6 financial app which, when we installed on Vista
32 - runs with no problems.

Are you using the Microsoft Best Practices - for instance, if the app tries
to write anything to Program Files on the target computer where the user is
not an ADMIN, you can get funny messages. Perhaps the DLL is not registered
properly..

Perhaps the DLL should be in Program Files\Common Files\Company
Name\DLLName.dll and not %System32%.

Perhaps you should have a VISTA machine with VB6 installed as your test
developement environment. See if the error happens there within the
development environment.

WE use VMWare very successfully for this kind of problem. You can install a
Vista VM under XP but, I am not sure if the environment is really identical
to a real time Vista installation.

Consider also testing the APP on Vista 64 bit. This is the future so get
used to it.

Garry
 
R

Ramesh, MS-MVP

Brad,

Did you get any errors when registering the module? It appears that the registration was not successful. Check if the ProgID that you're initializing in your program is listed in the registry.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Ramesh,

We did run a regsvr32 in the elevated Command Prompt window, but we still
recieve an error 429 - ActiveX component can't create object when we start
the application. Just wondering if you have any suggestions on what to do at
this point. Thanks.

Brad


Ramesh said:
Brad,

Try registering the component from an elevated Command Prompt window. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Garry,
We tried to regsvr32 the file: documark_bsl.dll under the c:\Program
Files\Midmark\Documark directory.

We are getting an error though when completing the previously stated
procedure.

The module "documark_bsl.dll" was loaded but the call to DllRegisterServer
failed with error code 0x80004005.

For more information about this problem, search online using the error code
as a search item.

Garry said:
Brad Hi,

We also have a complex VB6 financial app which, when we installed on Vista
32 - runs with no problems.

Are you using the Microsoft Best Practices - for instance, if the app tries
to write anything to Program Files on the target computer where the user is
not an ADMIN, you can get funny messages. Perhaps the DLL is not registered
properly..

Perhaps the DLL should be in Program Files\Common Files\Company
Name\DLLName.dll and not %System32%.

Perhaps you should have a VISTA machine with VB6 installed as your test
developement environment. See if the error happens there within the
development environment.

WE use VMWare very successfully for this kind of problem. You can install a
Vista VM under XP but, I am not sure if the environment is really identical
to a real time Vista installation.

Consider also testing the APP on Vista 64 bit. This is the future so get
used to it.

Garry
 
J

Jon

Also sure that you're registering the correct dll ie make sure that that is
definitely the component that is causing the error. It may be another.

Go back to the source code, if you have it, and look for statements
containing 'CreateObject'. Then find the file associated with the ProgID eg
via the registry.

--
Jon


Brad said:
Ramesh,

We did run a regsvr32 in the elevated Command Prompt window, but we still
recieve an error 429 - ActiveX component can't create object when we start
the application. Just wondering if you have any suggestions on what to do
at
this point. Thanks.

Brad


Ramesh said:
Brad,

Try registering the component from an elevated Command Prompt window.
Click Start, click All Programs, click Accessories, right-click Command
Prompt, and then click Run as administrator.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Garry,
We tried to regsvr32 the file: documark_bsl.dll under the
c:\Program
Files\Midmark\Documark directory.

We are getting an error though when completing the previously stated
procedure.

The module "documark_bsl.dll" was loaded but the call to
DllRegisterServer
failed with error code 0x80004005.

For more information about this problem, search online using the error
code
as a search item.

Garry said:
Brad Hi,

We also have a complex VB6 financial app which, when we installed on
Vista
32 - runs with no problems.

Are you using the Microsoft Best Practices - for instance, if the app
tries
to write anything to Program Files on the target computer where the
user is
not an ADMIN, you can get funny messages. Perhaps the DLL is not
registered
properly..

Perhaps the DLL should be in Program Files\Common Files\Company
Name\DLLName.dll and not %System32%.

Perhaps you should have a VISTA machine with VB6 installed as your test
developement environment. See if the error happens there within the
development environment.

WE use VMWare very successfully for this kind of problem. You can
install a
Vista VM under XP but, I am not sure if the environment is really
identical
to a real time Vista installation.

Consider also testing the APP on Vista 64 bit. This is the future so
get
used to it.

Garry


I'm getting an Error 429 : ActiveX component can't create object when
trying
to run a program that ran perfectly fine on Windows XP. It was
created in
VB6
but does not run on my version of Vista Business. Anyone have any
ideas as
to
why this may not work. We are desperate...it is a buisiness
application
that
our customers cannot run!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top