469,362 Members | 2,548 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,362 developers. It's quick & easy.

FSP permission denied in IIS 6

Hi,

I recently moved several sites from a dying 2000 Server to a Windows
2003 Server box.

Even though a few sites were already up and running on the 2003 box,
I've had numerous permissions problems getting some of the transferred
sites to work correctly.

Right now I'm having FSO problems on a bit of code like this:

Set fs = CreateObject("Scripting.FileSystemObject")
Set wfile = fs.CreateTextFile((Server.MapPath("/pages/" & pagename)),
True)
wfile.Write (pgbody)
wfile.close
Set wfile=nothing
Set fs=nothing
I get "Permission denied" errors on the line:

Set wfile = fs.CreateTextFile((Server.MapPath("/pages/" & pagename)),
True)

I've tried setting write and modify permissions on the /pages/ directory
for IUSR, but still no luck, and even tried setting broader IWAM
permissions on scrrun.dll, with no change in fortune.

Any ideas on what I need to change to allow FSO write permissions to a
web user?

Thanks.
Jan 18 '06 #1
1 2583
In article <MP************************@news.giganews.com>,
sp*******@dorrk.com says...
Hi,

I recently moved several sites from a dying 2000 Server to a Windows
2003 Server box.

Even though a few sites were already up and running on the 2003 box,
I've had numerous permissions problems getting some of the transferred
sites to work correctly.

Right now I'm having FSO problems on a bit of code like this:

Set fs = CreateObject("Scripting.FileSystemObject")
Set wfile = fs.CreateTextFile((Server.MapPath("/pages/" & pagename)),
True)
wfile.Write (pgbody)
wfile.close
Set wfile=nothing
Set fs=nothing
I get "Permission denied" errors on the line:

Set wfile = fs.CreateTextFile((Server.MapPath("/pages/" & pagename)),
True)

I've tried setting write and modify permissions on the /pages/ directory
for IUSR, but still no luck, and even tried setting broader IWAM
permissions on scrrun.dll, with no change in fortune.

Any ideas on what I need to change to allow FSO write permissions to a
web user?

Thanks.

Jan 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Jon Montana | last post: by
1 post views Thread by Mark E. Hamilton | last post: by
2 posts views Thread by Taishi | last post: by
reply views Thread by private.anders | last post: by
reply views Thread by private.anders | last post: by
4 posts views Thread by xzzy | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.