Re: Error : "Couldn't get process information from remote machine"
From: Peter Hamilton (phamilton7733@hotmail.com)
Date: 02/18/03
- Next message: Alek Davis: "Re: .Net & Administrator Previlages"
- Previous message: Michel Gallant (MVP): "Re: .Net & Administrator Previlages"
- In reply to: Marcelo J. Birnbach: "Re: Error : "Couldn't get process information from remote machine""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Peter Hamilton" <phamilton7733@hotmail.com> Date: Tue, 18 Feb 2003 13:36:16 -0500
Thanks Marcelo,
I will look into this, but I am still (like I am sure a lot of .NET programmers coming from VB6 are), on security.
The deal is this, if I create "HelloWorld.exe" on my local machine, it runs fine. But...if I copy this file to a network server, I get a security access violation. Must the process of requesting permissions now be coded into every application that we write to be stored on a local file server? If so, it sounds like a very significant change to us, that is why I added "Local Intranet" to have full trust, if we can't get it with that, then I don't think requesting permissions in the code with work.
I will look further into this.
"Marcelo J. Birnbach" <mbirnbac@online.microsoft.com> wrote in message news:OWPnlN70CHA.2552@TK2MSFTNGP12...
Hi Peter,
Your problem doesn't look like a security problem. On a side note I'd like to say to you should not be using FullTrust for the Intranet or Internet zone. That's really dangerous becouse you are opening a security hole. Every application coming from the intranet will have FullTrust, not just yours. There are many other ways to give the appropriate level of trustiness to an application without doing that.
Please read: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconCodeSecuritySigningInComponents.asp
Thanks,
Marcelo
"msnews.microsoft.com" <phamilton7733@hotmail.com> wrote in message news:uLJKxUvzCHA.1624@TK2MSFTNGP11...
I have written a program which uses the Processes class. When I run the code on two identical machines (as much as they can be), one machine runs the code fine, but the 2nd gives me a "Couldn't get process information from remote machine" error.
Both machines are logged in as a user which has Domain Adminsitrator priveleges. Both machines have Local Intranet settings set to "Full Trust".
The security seems very difficult to deal with as I can't find any information on this error on MSDN or by other resources.
Thanks for any reply in advance.
/Peter
- Next message: Alek Davis: "Re: .Net & Administrator Previlages"
- Previous message: Michel Gallant (MVP): "Re: .Net & Administrator Previlages"
- In reply to: Marcelo J. Birnbach: "Re: Error : "Couldn't get process information from remote machine""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]