Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1580
  • Last Modified:

DCOM problem


I've a little problem using DCOM.
I've programmed a service using ATL and I want to connect to it from another machine, from VB.
- I can do it on the same machine (it's a PC with windows 2000).
- I can do it with the server running in a PC with Windows 2000 and VB running in another machine with Windows 98
- Baut I can't do it with the server in a PC with Windows 2000 and another machine with Windows 2000 too.

An Automation Error appears. I guess it a security problem, but a have no idea about how solve it...

The Error is the following:

"Runtime Error '-2147022986 (80070776)' Automation Error"

  • 2
1 Solution
Hi, verify that you are fully up to date with data access objects on all PC's


Also check

1.  That all computers are using the same version of DCOM
2.  That the application and its components have actually been registered ( you'd be surprised ).

Also make sure that your component has been compiled on pc that is using same version of DAO ..

thanx hope it helps.

Antony Ellis
Additionally, you could type 'DCOMCNFG' in the run window, ensure that DCOM is enabled and that appropriate security levels are set under 'default access permissions' and 'default launch permissions'.

Hope you get it resolved.

Mike White

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now