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

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

DCOM problem

Hello

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"

Thanks
Martin
0
LeTincho
Asked:
LeTincho
  • 2
1 Solution
 
vbellis-rdyCommented:
Hi, verify that you are fully up to date with data access objects on all PC's

http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28001860

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
0
 
oilers35Commented:
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
0
 
vbellis-rdyCommented:
Thanx
0

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