Re: Web application - writeing to disk
- From: "Patrice" <nobody@xxxxxxxxxxx>
- Date: Wed, 3 Aug 2005 10:29:28 +0200
Please always show us the whole picture. It's far easier to react to a
particular problem rather than to let us list all unrelated failures that
could arise...
The web app runs under the ASPNET account. You could :
- put the file in a directory made for this purpose
- set the NTFS file permission so that ASPNET (or the account you are using)
is allowed to write the content
- if under the web root, you may want to disable IIS access (clear the
"Read" checkbox in IIS for this directory security)
--
Patrice
"budhA" <Ivan.BudiscakMAKNI_OVO@xxxxxxxxx> a écrit dans le message de
news:dcocpe$4kk$1@xxxxxxxxxxxxxxxxx
>
> "Patrice" <nobody@xxxxxxxxxxx> wrote in message
> news:ebbuTu4lFHA.3144@xxxxxxxxxxxxxxxxxxxxxxx
> > Try :
> >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconWritingTextToFile.asp
> >
> > Or if you tried something what is the problem ?
>
> The problem is that when I open a stream to the file I can only read it
and
> not write to it (CanWrite prperty is set to false). I think that the
problem
> is with the premissions of the virtual dir where web app is, but I don't
> know how to set those premissions in IIS (not exactly).
> If I open a stream to the file with win app or something else that is not
a
> Web site (VS 2005 beta2) I can read and write but with web app I can't.
Why?
>
>
.
- Follow-Ups:
- Re: Web application - writeing to disk
- From: budhA
- Re: Web application - writeing to disk
- References:
- Web application - writeing to disk
- From: budhA
- Re: Web application - writeing to disk
- From: Patrice
- Re: Web application - writeing to disk
- From: budhA
- Web application - writeing to disk
- Prev by Date: Re: losing connection to Active Directory
- Next by Date: .NET Magazines/Journals
- Previous by thread: Re: Web application - writeing to disk
- Next by thread: Re: Web application - writeing to disk
- Index(es):
Relevant Pages
|
Loading