Solved

How about my DCOM?

Posted on 2002-05-23
8
292 Views
Last Modified: 2010-04-04
experts,

I write a DCOM sample. When I use client application & server in a local machine, it can work correctly,

but , when I distribute the client to another machine, ( and I confirm I distribute midas.dll also), and config the DCOM with "DCOMCNFG", it always raise a exception, tell me interface not supported or refused.

I add "Everyone" to ID  authentication, I'm sure the other machine can active the server and visit the server, I make "guest" active also, but.... the client couldn't work at all....

I heard about it's difficault to config the DCOM, pls give me advise.

oh, my god, who can help me,

OS:windows2000 professional

I need a sample
thanks
0
Comment
Question by:Venne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 1

Expert Comment

by:pede
ID: 7029798
I think 'Interface not supported' means that the interface is not registered at all. If this is the case you cant solve the problem in dcomcnfg.

Dont know if this will help you, Im not sure sure if [qoute] 'interface not supported or
refused' is your exact error message or not.
0
 

Author Comment

by:Venne
ID: 7030069
I'm sure I have registered the interface, I try to test this sample in local network, but I got the same result.
:(
Is there anyone can give me some article that talk about the DCOM configuration?

thx....
0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 7030990
Try some of these links?

http://community.borland.com/article/0,1410,22641,00.html
http://www.absolute-research.com/IISSamples/Default/dcom/dcom.htm

(I think the second site will suit you more)



HTH
DragonSlayer
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Expert Comment

by:DragonSlayer
ID: 7030993
0
 
LVL 4

Expert Comment

by:nestorua
ID: 7033208
HI,
Before trying to help you (if you still need it) some questions to you:
1.Locally your programs (both the client and the server)
work fine on both of computers.
2.Both computers belong to the same domain or simply standalone ones.
Sincerely,
Nestorua.
0
 
LVL 21

Expert Comment

by:ziolko
ID: 8731507
look at www.distribucon.com
make sure stdvclX0.dll
and stdole2.tlb are also on Server machine
check access and launch permissions for Your app not only system wide in dcomcnfg
do You have firewaal on Your intranet?
ziolko.
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9006755
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ with No Refund

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0
 

Accepted Solution

by:
YensidMod earned 0 total points
ID: 9096881
Question is PAQ'd and no points refunded.

YensidMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question