Problem: Process.GetProcessesByName : Couldn't get process information from remote machine

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Problem: Process.GetProcessesByName : Couldn't get process information from remote machine

    As part of an ASP.NET application, I am creating an Excel spreadsheet using
    my .NET component.
    On my machine (win2K) I always get a System.InvalidOperationException with
    the message: "Couldn't get process information from remote machine" ... even
    though the machine we are querying is not remote.

    All the assemblies are signed with a strong name key.

    I have tried setting all sorts of permissions, but none seem to work. Does
    anyone know what I need to do to be able to enumerate running proccess from
    my ASP.NET account?

    Details:
    ASP.NET is running in the standard Full Trust configuration.
    CAS policy is normal AllCode => FullTrust.
    ASP.NET user account is standard ASPNET account, with the password
    autogenerated.
    DCOM config is set up to allow full access and launch permissions to the
    ASP.NET account for the Excel application.
    Dirc


    Dirc Guest

  2. Similar Questions and Discussions

    1. #37998 [Asn->Fbk]: Parent process lost MySQLi connection after child process gone
      ID: 37998 Updated by: tony2001@php.net Reported By: dbs at is dot ua -Status: Assigned +Status: ...
    2. HELP - Can't process .cfm files on local machine
      I am running CFMX 6.0 on Windows 2000 Server, SP4. I installed CF in c:\cfusionmx directory. I have a Outpost firewall enabled. I get this...
    3. Process.GetProcessesByName throws exception
      We a Web application that has been running for months, but suddenly (i.e. over the weekend) stopped working. To narrow down the problem, I wrote...
    4. machine.config process identity problem
      I'm having some trouble getting ASP.NET to run under the process identity of a domain user. I created a user in the same domain in which the...
    5. Any of way Capturing/Listing CurrentActivity.Process Information ???
      In EnterpriseManager, Management Folder under CurrentActivities there is an option Process Info ... is there anyway of capturing that data (e.g in...
  3. #2

    Default Re: Problem: Process.GetProcessesByName : Couldn't get process information from remote machine

    Well.. If I put the ASPNET user into the local Administrators group it
    works... which is kind of what I would expect...

    I obviously don't want the ASPNET account to have full admin rights in the
    production environment, so does anyone know what the specific permission
    that I need to set?


    "Dirc" <dirc.khan-evans@eurorscgskybridge.com> wrote in message
    news:ewKRGmUCFHA.1936@TK2MSFTNGP14.phx.gbl...
    > As part of an ASP.NET application, I am creating an Excel spreadsheet
    using
    > my .NET component.
    > On my machine (win2K) I always get a System.InvalidOperationException with
    > the message: "Couldn't get process information from remote machine" ...
    even
    > though the machine we are querying is not remote.
    >
    > All the assemblies are signed with a strong name key.
    >
    > I have tried setting all sorts of permissions, but none seem to work. Does
    > anyone know what I need to do to be able to enumerate running proccess
    from
    > my ASP.NET account?
    >
    > Details:
    > ASP.NET is running in the standard Full Trust configuration.
    > CAS policy is normal AllCode => FullTrust.
    > ASP.NET user account is standard ASPNET account, with the password
    > autogenerated.
    > DCOM config is set up to allow full access and launch permissions to the
    > ASP.NET account for the Excel application.
    > Dirc
    >
    >

    Dirc Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139