Solved

How about my DCOM?

Posted on 2002-05-23
8
277 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
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
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 7030993
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now