Re: File access rights in Web Service



Try using impersonation. Create a user and give them write permissions to
that particular directory and then specify that user in the Web.config, like
so:

<identity impersonate="true" userName="YourUser"
password="SuperSecretPassword" />
<gaobaiyun@xxxxxxxxx> wrote in message
news:1128107167.437496.262890@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I wrote a very simple web service which return "Hello World" and save a
> log file in c:\. After I invoke the web method. the "Hello World"
> returned correctly. but these is a problem on log file. seems there is
> no change on the log file.
> I think I have permission problem that my web service do not have
> rights to access this file.
>
> Thanks,
>
> Ben
>


.



Relevant Pages

  • Re: File access rights in Web Service
    ... Imran Zulfiqar ... but these is a problem on log file. ... > I think I have permission problem that my web service do not have ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: which account web service run?
    ... If so I think you need to change the permissions on your ... Can't remember exact setting but it is in there, ... > I got permission problem with the web service. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Design question: User objects and a Role object
    ... permissions that I get about the user from a web service. ... turn the xml permissions into ROle objects, but does that mean that my ... <?php echo 'Just another PHP saint'; ...
    (comp.lang.php)
  • Re: IISLock has disabled ASP & SQL
    ... the IIS computer to the SQL server. ... enable auditing to try to look for any possible permissions problems... ... I've never heard of a URLScan log file named like that, ...
    (microsoft.public.inetserver.iis.security)
  • Design question: User objects and a Role object
    ... permissions that I get about the user from a web service. ... //get the securityRolesXML and then parse it setting the Role ...
    (comp.lang.php)