Click to See Complete Forum and Search --> : DCOM


Vafis
October 9th, 2001, 03:44 AM
I have an dcom application with servers(ActiveX.exe) and clients ((ActiveX.dll) com(s) and i am trying to set it up to a peer to peer network with two pc running window98 second edition. But when i try to run the dcomcnfg.exe both client and server in order to set the permitions the following message appeared: "Before you can use Dcom your system needs to be configured for "User-level" security. Use the network icon in the control panel to configure the system for "User - level"
security before running the dcom configuration utility"
The problem is that i have not any server running
NT O.S in order to setup a domain. What may be wrong or what can i do?

Thanks!!!

Cakkie
October 9th, 2001, 04:38 AM
You don't need a domain for this, what it means is that on your computers, there's probably only 1 user defined, the default, which all people who work on the computer use. DCOM however, needs to have a userid to identify itself to the server-machine. Therefore, you will need to enable multiple user accounts on you client and server machine. On the server, you must make sure that all users needing to use the DCOM application, are known on the server. Once you have set up the users, you can assign rights to them using DMConfig

Tom Cannaerts
slisse@planetinternet.be

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook

Vafis
October 9th, 2001, 05:01 AM
the server machine name is pentium350 and client machine name is p500. In client machine(p500) i setup user level as domain pentium 350 (server).
O.K
But on server(pentium350) what "domain" name should i setup? P500(client name)? And if yes i thing with this approach the meaning Client/Server
doew not exists
Thanks for the previouw reply!

Cakkie
October 9th, 2001, 05:27 AM
The client doesn't have to be in the domain itself. When the username and password are the same, and the server is running the logon service, it should be able to access the server and it's applications.

Tom Cannaerts
slisse@planetinternet.be

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook

Vafis
October 9th, 2001, 05:42 AM
Yes i agree but how can run the dcomcnfg.exe on the server or it does not required? How can set permitions for servers?Having only full access on the disc the clients is o.k??
I have done it but a message "ActiveX component can not create the object" on client machine appearded but on the server usin the net watcher in system tools i saw the connected client.

Cakkie
October 9th, 2001, 05:46 AM
You must give the client user rights on the DCOM components using DComConfig on the server. There you must add the users to allow them to use the DCom application. You don't even need to give them any rights on disk on the server, those permission have got nothing to do with eachother. The user just has to be known to the server.

Tom Cannaerts
slisse@planetinternet.be

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook

Vafis
October 9th, 2001, 05:52 AM
yes i agree but and the server machine i can not
run dcomcnfg.exe to set permitions and enable remote access. I take the message"Before you can use Dcom your system needs to be configured for "User-level" security. Use the network icon in the control panel to configure the system for "User - level"
security before running the dcom configuration utility"

I try to set up permitions in ole view tool from
microsoft V.S enteprise tools but nothing.
I do not what else can i do!

Cakkie
October 9th, 2001, 06:29 AM
Ok, you need to configure your network to use share at user level.

Right click the 'my network' icon on the desktop and select properties. In the form that shows up, you must select the third tab (something about access control or something). There you should have two options, the first is at share-level, the second is at user level. You must select the second one. Now you will probably have to reboot. After that is done, try running DMConfig again.

Good Luck

Tom Cannaerts
slisse@planetinternet.be

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook

Vafis
October 9th, 2001, 06:39 AM
this problem have the solution that you previous
reply for the client.O.K
For the server??What computer name i should write?
The itsself?? Window said must give a name.