Aaron,

Make sure that the NT user the page is using also has write permissions to
that directory.  If the page you're referring to resides in a directory that
allows anonymous access then the user that IIS defaults to is the
IUSER_[hostname] account.  I wouldn't recommend giving IUSER write priv's
though :-)

Is this an .ASP or .VBS script running from a scheduled process?

--Ben

----- Original Message -----
From: "Kangaroo's Dream" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 2:49 PM
Subject: Permission Denied


> Hello
>
> I am running this
>
> prmFolderPath = G:\Sites\hounds\webroot\Pages\Articles\8
>
>
> Function CreateFolder(prmFolderPath)
>   Dim fs, f1
>   'response.write prmFolderPath
>   'response.end
>   Set fs = CreateObject("Scripting.FileSystemObject")
>   Set f1 = fs.CreateFolder("prmFolderPath")
>   CreateFolder = f1.Path
> End Function
>
> But I get a permission denied, I checked in the iis and it has write
> permissions.
>
> Any ideas?
>
> Aaron Yarden
> http://www.kangaroosdream.net
>
> **The dog is the only thing that love you more than it loves
> itself!!
>
> **Everyone has a photographic memory.
> Some just don't develop the film.
>
>
> ---
> You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to