473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Permissions

I'm getting this error while trying to rename a file on my webserver

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
  1. <%
  2.  
  3. dim fs
  4. set fs=Server.CreateObject("Scripting.FileSystemObject")
  5.  
  6.  
  7.  
  8. path3 = Server.MapPath("sample3.txt") 
  9. path4 = Server.MapPath("sample.txt") 
  10.  
  11. fs.MoveFile path4,path3
  12.  
  13.  
  14.  
  15. set fs=nothing
  16.  
  17. %>
I'm using godaddy as my host and they keep insisting its not a permissions problem and that everything is set right. Have you guys ever had a similar problem and how did it get fixed?
Jan 7 '08 #1
2 1080
jhardman
3,406 Expert 2GB
As I remember I usually have to pull my hair for a while and walk away from the computer and make myself a sandwich. Then it works.

So anonymous user has every possible permission? That is exactly what I would have tried. Try posting in the IIS forum as well, sometimes they have good input on this type of thing.

Jared
Jan 8 '08 #2
I'll do that, thanks.
Jan 9 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Kim Lots | last post by:
Hi Sorry to disturb you again but i really like to know what's the NTFS folder permissions on a "virtual directory" folder for a public webserver iis 5.x running ASP 3.0 with an Access DB on a...
1
by: Brad H McCollum | last post by:
I'm writing an application using VB 6.0 as the front-end GUI, and the MSDE version of SQL Server as the back-end (it's a program for a really small # of users --- less then 3-4). I'm trying to...
6
by: !!! Klutzo !!! | last post by:
I give permissions for ASPNET on a top level subdirectory. A windows program copies a file into the subdirectory, however, my web service cannot access the file because it does not have...
2
by: Jozef | last post by:
Hello, Is there a way to change table permissions in VB Code? I can't seem to find much that's concise in the help file. Here's the situation; I have a table in the "data" portion of a split...
7
by: none | last post by:
Hello: I had a nice php application running on my server here at home, and I uploaded it to a shared public type server and it started to break all over the place. It turns out that some...
13
by: MLH | last post by:
Invalid qualifier error displays at compile time on this A97 example from Permissions Property HELP. What's wrong with the strContainerName assignment line? (6th line) Sub...
0
by: Curt K | last post by:
We run some web services (IIS 5 and IIS 6) that communicate to a COM out of process server, which in turn communicates to another out of process COM server (long story). We have had lots of...
8
by: jporter188 | last post by:
Hello, I am working on a project to manipulate XML files. All of the files, the code, and the output are on network drives. When I run my program I get an exception (see below). I tried giving...
3
by: palepimp | last post by:
Hello all, I have searched far and wide for a solution to my issue. In short, here is the problem: 1. 3 PC's enter data into an Access 2003 database (PC's are running Vista w/ Office 2007...
6
by: DotNetNewbie | last post by:
Hello, in my web application, I have to create permissions for each user. So what I am doing is that for each role (using sqlmembership in .net) I am creating a column in the database to hold a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.