|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Anil Raskar (anilraskar
YAHOO.COM)Date: Wed Mar 27 2002 - 05:59:10 CST
Hi,
I have developed a software which has simple dialog
based application as a client and a COM component as a
server. User may install this software in following
ways and run
1) User will install client and server on same machine
(local drive)
2) User will install client on one machine and server
on other machine (Using DCOM I can run this)
3) User will map network drive on his machine and
install client and server on same drive.
As per above requirements I have set component
security options using Dcomcnfg.exe as “identity” as
Interactive user. In first and second case (which
mention above) it works fine. But it does not work in
case of map network drive (i.e in case # 3).
If I change the component security options using
Dcomcnfg.exe to Launching user then it works fine with
mapped network drive. But it does not work in second
case i.e. DCOM case.
Can you please suggest me a common setting, which will
allow me to execute application in all 3 cases?
My procedure of creating a map network drive and
installing software is as follows:
Say I have two machines M1 and M2
1) First I map “C:\” drive of M2 on M1, then it
becomes “J:\“ of M1 machine
2) Then I install software on “J:\” of M1 Machine,
which contain both client and server (I have
registered server on M1 using “J:\”)
3) I try to run the software but I get error “Server
Execution Failed”
If mapped network drive is like a local for M1 machine
then why it is not working in case of Interactive
user? (It is working if I change it to Launching user)
I have got following error (in event viewer) if when I
set Interactive user to server on mapped network
drive:
Unable to start a DCOM Server:
{AF7EA219-9829-11D4-B1A9-0050BA555A27} as
MMM1/Interactive User. The error:
"Access is denied. "
Happened while starting this command:
J:\MYSOFTWARE\EXE\MMMMO~3.EXE -Embedding
Can anybody give me idea/solution on this?
Thank you in advance.
Regards,
Anil
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]