Re: File access rights in Web Service
- From: "FusionGuy" <sbearusa32 at &emSen& dot com (msn.com)>
- Date: Tue, 4 Oct 2005 07:39:56 -0400
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
>
.
- Prev by Date: Re: Webservices behind Authenticated Proxy
- Next by Date: Parameter as Attribute, Not Element
- Previous by thread: Re: File access rights in Web Service
- Next by thread: Re: how to dynamically access the Web services at run time
- Index(es):
Relevant Pages
|