Allow ASPNET to call via RPC

From: Michał Januszczyk (MichaJanuszczyk_at_discussions.microsoft.com)
Date: 02/25/05


Date: Fri, 25 Feb 2005 05:47:06 -0800

What permissions should be granted to ASPNET account, so as to allow it to
instantiate COM objects, and to call methods via RPC.

I've created a web service that wraps some COM componets, and the code fails
when run in ASPNET account context. When ASPNET account is (for testing
purposes) added to Administrators group, the code succeededs.

What should I set to allow ASPNET call via RPC. ??

ps. I'm running XP-SP2

   Regards,
   Michał Januszczyk



Relevant Pages

  • allow to call methods via RPC
    ... What permissions should be granted to an account, so as to allow it to ... and to call methods via RPC. ... I've created a web service that wraps some COM componets, and the code fails ... when run in ASPNET account context. ...
    (microsoft.public.platformsdk.security)
  • Re: Web Service Security problem
    ... The web service project should hav a web.config. ... Allowin that account access to lan resources would be a large security risk. ... > different username that is known to the domain server? ... > Another possible issue is the ASPNET account on the server. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Problem deserializing file from asp.net
    ... As for the file permissions you need to give the ASPNET account write access ... > web service. ... Unfortuantely I can't get a proper error message, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Using HttpContext from a web server?
    ... web service to web service could result in the Context.User on the ... If you have some code running in ... process account which is the ASPNET account by default on Win2K. ... It might even work if there were both the same server. ...
    (microsoft.public.dotnet.security)
  • Re: Web Service with Admin rights
    ... The so called "ASP.NET Webservices" are run under ASPNET account, ... > I want to create a web service that can create the users in the ... I am using ADSI for that. ... > in the windows domain. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)