Link to home
Start Free TrialLog in
Avatar of arthrex
arthrexFlag for Germany

asked on

Access denied ASp VBScript fileupload which permissions are needed

HI experts,

I want to upload files to my webserver.
ASp and VBScript (File.SaveToDisk)
But I always get this error.

I gave (just for test) even everyone full control but it's not working.
please help. which user needs access?

Microsoft VBScript runtime error '800a0046'

Permission denied

Thanks a lot
please tell me if you need the code.
thanks
Avatar of R_Harrison
R_Harrison
Flag of United Kingdom of Great Britain and Northern Ireland image

There are 2 settings, those in IIS which will need to read & write, also the file system itself will need to allow access as this overrules the settings in IIS.
ASKER CERTIFIED SOLUTION
Avatar of Sven
Sven
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
A quick note on security, if you allow wite permissions on a folder do not allow execute permissons or you could be in serious trouble.  As well as using IIS to deny execute permission also deny it in the file system by setting the "Traverse Folder/Execute File" to deny.

 - you may never know how glad you are you did this, but you might find out how sorry you can be if you don't -
Avatar of arthrex

ASKER

thanks to all of you.
was the IUSR account!!