|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Durga Prasad Panga (durgap
SDTCORP.COM)Date: Mon Sep 17 2001 - 00:27:21 CDT
Dear Peter Partch
Thank you for your suggestion. You are absolutely right. This improved me a
lot.
Thank you,
Prasad.
-----Original Message-----
From: Distributed COM-Based Code [mailto:DCOM
DISCUSS.MICROSOFT.COM]On
Behalf Of Peter Partch
Sent: Saturday, September 15, 2001 5:59 AM
To: DCOM
DISCUSS.MICROSOFT.COM
Subject: Re: Problem in DCOM with windows 2000.
How do you know that the batch file is not running? From your description it
is (you see cmd.exe in the task manager, right?).
If you are expecting a console to pop up on the display, then the server
must be configured to run a interactive user. I bet that you left the server
configured to run as the DCOM default (launching user)...if so, then the
server is running in a WinStation other than interactive user and any GUI
will not be displayed (since only the interactive user WinStation is
attached to the physical display).
But I don't understand why the problem would be only for Win2k and not NT.
If this is the problem, then NT would also show the same symptoms. Check the
registry on the Win2k box and verify that your AppID contains a RunAs named
value for you server, and that named value is Interactive.
Peter Partch
----- Original Message -----
From: "Bruce E. Williams" <bwill
MICROSOFT.COM>
To: <DCOM
DISCUSS.MICROSOFT.COM>
Sent: Friday, September 14, 2001 5:19 PM
Subject: Re: Problem in DCOM with windows 2000.
Check the security attributes on the files in the root of your C:\
drive, and see if the user account that DSERVER.EXE is running as has
access to the file in question.
-----Original Message-----
From: Durga Prasad Panga [mailto:durgap
SDTCORP.COM]
Sent: Sunday, September 09, 2001 8:40 PM
To: DCOM
DISCUSS.MICROSOFT.COM
Subject: Problem in DCOM with windows 2000.
Importance: High
Hi All
I am getting problem in DCOM with windows 2000 .
I am giving you in detail about the problem.
1. I have created a DCOM Server named as DSERVER.EXE in VC++.
2. I have created a DCOM Client named as DCLIENT.EXE in VC++.
3. I am using CreateProcess command in method "executeCMD(BSTR
bstrparm)" in
DSERVER.EXE to execute a batch file "C:\\WR.BAT"
4. I have installed DSERVER.exe on Machine1 (with Windows NT) and
DCLIENT.exe on Machine2 (with Windows NT).
a. Then I have accessed the DSERVER.exe from DCLIENT.exe and the batch
file
is executing fine.
5. Now I have installed DSERVER.exe on Machine3 (with Windows 2000) and
DCLIENT.exe on the same machine Machine2 (with windows NT).
a. Now I have accessed the DSERVER.exe from DCLIENT.exe and the batch
file
is not executing. Only the process in task manager is showing as
CMD.exe,
but not executing the content of the batch file. We tried this with
other
commands like system, ShellExecute and _execl instead of CreateProcess.
Still I am getting the same problem.
This problem is only coming with windows 2000. I don't know whether i am
doing mistake or its bug.
I am struggling with this problem from past five days.
----------------------------------------------------------------
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
----------------------------------------------------------------
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
----------------------------------------------------------------
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
----------------------------------------------------------------
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 ]