|
-
October 9th, 2001, 03:44 AM
#1
DCOM
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!!!
-
October 9th, 2001, 04:38 AM
#2
Re: DCOM
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
[email protected]
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
-
October 9th, 2001, 05:01 AM
#3
Re: DCOM
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!
-
October 9th, 2001, 05:27 AM
#4
Re: DCOM
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
[email protected]
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
-
October 9th, 2001, 05:42 AM
#5
Re: DCOM
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.
-
October 9th, 2001, 05:46 AM
#6
Re: DCOM
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
[email protected]
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
-
October 9th, 2001, 05:52 AM
#7
Re: DCOM
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!
-
October 9th, 2001, 06:29 AM
#8
Re: DCOM
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
[email protected]
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
-
October 9th, 2001, 06:39 AM
#9
Re: DCOM
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|