Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Problem: Process.GetProcessesByName : Couldn't get process information from remote machine

Reply
Thread Tools

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

 
 
Dirc
Guest
Posts: n/a
 
      02-02-2005
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


 
Reply With Quote
 
 
 
 
Dirc
Guest
Posts: n/a
 
      02-03-2005
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-> wrote in message
news:...
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WMI remote call in python script to create process on remote windowscomputer davidj411 Python 7 10-08-2009 08:58 AM
Auto-attach to process '[1084] aspnet_wp.exe' on machine <Machine =?Utf-8?B?UmVzaG1hIFByYWJodQ==?= ASP .Net 0 01-21-2005 05:33 AM
Remote Assistance fails to connect, remote remote host name could not be resolved Peter Sale Wireless Networking 1 12-11-2004 09:09 PM
Setting folder permissions on remote machine / remote domain Tim Chandler ASP .Net Security 0 10-07-2003 04:17 PM



Advertisments