O
\(\( Olivier \)\)
Hello,
I would like to be able to create a textfile on a sub directory of my
website
But I've alwais hace "Acces forbitten"
I use: WinXP pro, VS.NET 2003, IIS 5
Here's what I do :
Dim fs As New
StreamWriter(HttpContext.Current.Server.MapPath("/MyWebSite/DirFiles/Test.tx
t"))
fs.WriteLine(Now)
fs.Close()
I've checked the "Read" and "Write" permision in IIS ?
But, it doesn't work, why ?
thanks
Olivier
I would like to be able to create a textfile on a sub directory of my
website
But I've alwais hace "Acces forbitten"
I use: WinXP pro, VS.NET 2003, IIS 5
Here's what I do :
Dim fs As New
StreamWriter(HttpContext.Current.Server.MapPath("/MyWebSite/DirFiles/Test.tx
t"))
fs.WriteLine(Now)
fs.Close()
I've checked the "Read" and "Write" permision in IIS ?
But, it doesn't work, why ?
thanks
Olivier