(no subject)

From: Geir Ovsttun (geir.ovsttun@ericsson.no)
Date: 01/31/03


From:     Geir Ovsttun <geir.ovsttun@ericsson.no>
Date: Thu, 30 Jan 2003 23:21:18 -0800


Hi Paul,

This is exactly what I do and it works fine used in
a non asp.net web service setting.

BUT

In order to perform the CreateEventSource call the user
must have admin (or similar) rights

When you try to run the code snippet within a web service
it will throw a security exception because the "user" i.e.
the web service does not have sufficient rights to access the registry

What I think I need is an overview of how to manipulate
the rights of the web service "user"

ANYONE with a hint ?

At present my application is for internal use and I am not concerned
with security breaches

Geir

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: Newbie issue: Error creating Web Service in VS 2003
    ... > IIS Log file contains the following: ... > Given the ASPNET user "Admin" rights and I/O rights to the C:\Inetpub ... > This is the first time I've tried to create a Web Service on this machine, ... Checked by AVG anti-virus system. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Could not establish trust relationship with remote server
    ... than you can cnofigure his rights regarding to specific ... The web service which make the call is impersonating ... this user rights in the registry. ... systems group that will apply apropriate proxy settings to ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Could not establish trust relationship with remote server
    ... than you can cnofigure his rights regarding to specific ... The web service which make the call is impersonating ... this user rights in the registry. ... systems group that will apply apropriate proxy settings to ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Newbie issue: Error creating Web Service in VS 2003
    ... Uninstalled VS 2003, the .NET v1.1 Framework, and IIS. ... Re-installed IIS, the .NET v1.1 Framework, and VS 2003. ... Given the ASPNET user "Admin" rights and I/O rights to the C:\Inetpub folder. ... This is the first time I've tried to create a Web Service on this machine, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Web service in .net not able to create Excel com object
    ... default have rights to resources outside the scope of the web service. ... > However, I am getting the error Access denied, Cannot create Activex ... denied, Cannot create Activex component. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)