Solved

How about my DCOM?

Posted on 2002-05-23
8
280 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

813 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

8 Experts available now in Live!

Get 1:1 Help Now