Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   FileUpload1 Access problem (http://www.velocityreviews.com/forums/t550148-fileupload1-access-problem.html)

Rafael tejera 11-07-2007 08:57 PM

FileUpload1 Access problem
 
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




Teemu Keiski 11-08-2007 08:55 PM

Re: FileUpload1 Access problem
 
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" <tejera@charter.net> wrote in message
news:ONmmXCYIIHA.1208@TK2MSFTNGP05.phx.gbl...
> 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
>
>
>





All times are GMT. The time now is 01:12 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.