Microsoft VBScript runtime error '800a0046'
Permission denied
/pictures/testy.asp, line 11
Now I've gone and checked the permissions on the folder through the limited web utility my hosting service provides me and I've given the folder all possible permissions.
I had a page that would upload a file and then rename it to the email address of the user that uploaded it (for uniqueness). It worked fine, then while working on a newer version of my site (setting up new folders) I get this error while trying to exercise anything requiring modify rights as an anonymous user (move, rename). Nothing on the original page changed, but once I reset all the permissions from the root even the original errors out now. Just to double check I made a simple script so I could completely eliminate it as a problem.
Expand|Select|Wrap|Line Numbers
- <%
- dim fs
- set fs=Server.CreateObject("Scripting.FileSystemObject")
- path3 = Server.MapPath("sample3.txt")
- path4 = Server.MapPath("sample.txt")
- fs.MoveFile path4,path3
- set fs=nothing
- %>