Re: Web application - writeing to disk



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?
>
>


.



Relevant Pages

  • Re: Web application - writeing to disk
    ... The problem is that when I open a stream to the file I can only read it and ... is with the premissions of the virtual dir where web app is, ... know how to set those premissions in IIS. ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Re: VS2008 HTTP 403 Help!!
    ... Highlighting the default.aspx before debug start or explicitly setting Default.aspx to the start page works. ... That's an alleged workaround which doesn't work, not a solution to the bug. ... Seems like the web app project does not default to the ONLY aspx in a project during debug run. ... That error is caused by a virtual directory not being configured as an application in IIS. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: VS2008 HTTP 403 Help!!
    ... the web app project does not default to the ONLY aspx in a project ... Highlighting the default.aspx before debug start or explicitly setting ... That error is caused by a virtual directory not being configured as an ... Check in your IIS Manager, and make sure you created a virtual ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine
    ... server on your side, I think it is possibly due to the admin scripts are ... By default, IIS 7 ... Microsoft MSDN Online Support Lead ... you can try temporarily switch the ASP.NET web app to 32 bit ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: setting up a stream
    ... IIS has one web server configured and is bound ONLY to ... then requests the ASX file from IIS and from it gets the URL of the stream. ... How close is this to your configuration? ...
    (microsoft.public.windowsmedia.server)

Loading