Professional Web Applications Themes

Problem: Process.GetProcessesByName : Couldn't get process information from remote machine - ASP.NET Security

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 ...

  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. #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-evanseurorscgskybridge.com> wrote in message
    news:ewKRGmUCFHA.1936TK2MSFTNGP14.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

Similar Threads

  1. Replies: 9
    Last Post: March 8th, 11:36 PM
  2. Replies: 0
    Last Post: October 18th, 09:18 PM
  3. HELP - Can't process .cfm files on local machine
    By The Law in forum Coldfusion Server Administration
    Replies: 3
    Last Post: August 22nd, 09:45 PM
  4. Process.GetProcessesByName throws exception
    By howard39@nospam.nospam in forum ASP.NET Security
    Replies: 1
    Last Post: October 26th, 10:05 PM
  5. machine.config process identity problem
    By Allen Davis in forum ASP.NET Security
    Replies: 0
    Last Post: July 29th, 08:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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