473,471 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Need help with File Upload Permissions

i was able to get the file upload to work on Win2k, but when I moved my dev
environment to Win2003, I can't seem to get the permissions to work for
System.IO.Directory.CreateDirectory(vstrDestinatio nPath).

I've given the IUSER_machinename Full Access rights on the parent folder and
told it to propagate to the child folders. Also turned off inheritance from
the parent folder. Also the parent has read,write perms in IIS. This
worked on win2k, so what am I missed for Win2003?

andrea
Nov 18 '05 #1
2 1203
Andrea,
Also look at the ASPNet user account. ASP.Net tends to use it's own
permissions settings over the generic IUSR.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Andrea Williams" <an*******@hotmailIHATESPAM.com> wrote in message
news:ud**************@TK2MSFTNGP09.phx.gbl...
i was able to get the file upload to work on Win2k, but when I moved my dev environment to Win2003, I can't seem to get the permissions to work for
System.IO.Directory.CreateDirectory(vstrDestinatio nPath).

I've given the IUSER_machinename Full Access rights on the parent folder and told it to propagate to the child folders. Also turned off inheritance from the parent folder. Also the parent has read,write perms in IIS. This
worked on win2k, so what am I missed for Win2003?

andrea

Nov 18 '05 #2
Ok, I gave that account full control and restarted IIS... Still access
denied message.
I also gave the ASPNET user account full access to \Windows\TEMP. Didn't
seem to help.

Any other ideas?

Andrea
"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:eL**************@TK2MSFTNGP12.phx.gbl...
Andrea,
Also look at the ASPNet user account. ASP.Net tends to use it's own permissions settings over the generic IUSR.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Andrea Williams" <an*******@hotmailIHATESPAM.com> wrote in message
news:ud**************@TK2MSFTNGP09.phx.gbl...
i was able to get the file upload to work on Win2k, but when I moved my

dev
environment to Win2003, I can't seem to get the permissions to work for
System.IO.Directory.CreateDirectory(vstrDestinatio nPath).

I've given the IUSER_machinename Full Access rights on the parent folder

and
told it to propagate to the child folders. Also turned off inheritance

from
the parent folder. Also the parent has read,write perms in IIS. This
worked on win2k, so what am I missed for Win2003?

andrea


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: sean | last post by:
hi Firstly i am working with php in an enviroment that supports unix-like permission in an accademic environment. The problem is enabling my script to upload a image file to my home folder,...
1
by: Kareem Badr | last post by:
I was having permission problems, so I'm using a test file to make sure uploading works. upload.php successfully uploads a file to the images/bookcovers dir: <html> <form method="post"...
8
by: news | last post by:
I'm building an e-commerce site, where the owner needs to be able to upload a CSV file of product that gets inserted into mySQL. Unfortunately, I think my Web host may have some functions turned...
1
by: BW | last post by:
I am creating an upload/download function for an extranet site. Files will be uploaded to directory based upon the users login and associated project. The function works as long as I use "c:\Temp"...
1
by: PehJota | last post by:
I'm kinda new to PHP, and I'm trying to make a simple FTP upload script. It successfully connects to the server and logs in, but it can't upload. The transfer mode I use normally is ASCII (like I...
3
by: Milagro | last post by:
Hello Everyone, I'm trying to debug someone elses php code. I'm actually a Perl programmer, with OO experience, but not in php. The code is supposed to upload a photo from a form and save it...
1
by: .Net Sports | last post by:
I'm using Persits.upload module in ASP, and when i use the following form pointed to the object I've always used, i get a "The system cannot find the file specified" error pointing to the line of...
2
by: beary | last post by:
Hello everyone, I posted this in unix/linux but it received no replies, so I assume it was the wrong forum. I'm trying here. I'm in way over my head with file permissions. The directory and...
2
by: swethak | last post by:
Hi, i wrote a code to upload a image.In my local it works fine. When i place this code in website through FTP. In that it will not works. i am giving the upload path ../upload . When i try to...
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.