permissions for asp.net to save uploaded file to server ?

M

Mad Scientist Jr

i am developing a file upload page in asp.net (framework 1.1).

i have a file upload control on a page (running on my XP machine at
localhost), and am trying to get it to accept the file and save it to
an "upload" folder, but am getting this error:

Access to the path "d:\inetpub\wwwroot\TestSite\uploads\image1.jpg"
is denied.

what do i need to do to give ASP.NET access to read/write/etc from a
folder?

thanks in advance
 
C

Carey Frisch [MVP]

HOW TO: Debug an ASP.NET Application with the Microsoft CLR Debugger
http://support.microsoft.com/default.aspx?scid=kb;en-us;301058&Product=aspnet

Please visit the experts in the following newsgroup:
news://msnews.microsoft.com/microsoft.public.dotnet.framework.aspnet

--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User

Be Smart! Protect your PC!
http://www.microsoft.com/security/protect/

----------------------------------------------------------------------------------


|i am developing a file upload page in asp.net (framework 1.1).
|
| i have a file upload control on a page (running on my XP machine at
| localhost), and am trying to get it to accept the file and save it to
| an "upload" folder, but am getting this error:
|
| Access to the path "d:\inetpub\wwwroot\TestSite\uploads\image1.jpg"
| is denied.
|
| what do i need to do to give ASP.NET access to read/write/etc from a
| folder?
|
| thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top