Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > FileUpload1 Access problem

Reply
Thread Tools

FileUpload1 Access problem

 
 
Rafael tejera
Guest
Posts: n/a
 
      11-07-2007
I'm having problem with a upload file

My server is a Microsoft Windows 2003. IIS 6


FileUpload1.PostedFile.SaveAs(InputPath + "\\" + filename);


Access to the path
'C:\Inetpub\vhosts\domain\httpdocs\Contents\Member \Default\400ea89b-1.avi'
is denied.

I had gave access to aspnet and still problem persist.

Any idea?


RT



 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      11-08-2007
In Windows Server 2003 correct to user to set permissions for is NETWORK
SERVICE (controlled by application pool settings of your application).
ASPNET would be the user in 2000/XP.


--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net



"Rafael tejera" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm having problem with a upload file
>
> My server is a Microsoft Windows 2003. IIS 6
>
>
> FileUpload1.PostedFile.SaveAs(InputPath + "\\" + filename);
>
>
> Access to the path
> 'C:\Inetpub\vhosts\domain\httpdocs\Contents\Member \Default\400ea89b-1.avi'
> is denied.
>
> I had gave access to aspnet and still problem persist.
>
> Any idea?
>
>
> RT
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very annoying error: Access to the path is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity Jay ASP .Net 2 08-20-2007 07:38 PM
FileUpload1.FileName Question Edge1960 ASP .Net 0 03-06-2007 03:49 PM
FileUpload1.FileName Question Edge1960 ASP .Net Web Controls 0 03-06-2007 03:34 PM
is fileupload1 visible Horace Nunley ASP .Net 0 09-27-2006 07:12 PM
How do I let people access the internet via an access point but not allow them access to my network yar Wireless Networking 4 09-21-2004 03:48 AM



Advertisments