Re: File upload problem
- From: "Peter Bromberg [C# MVP]" <pbromberg@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 11 Apr 2008 11:40:18 -0400
You have to grant write permissions on the images folder to the ASPNET or whatever account your app is running under.
Peter
"Domac" <domac@xxxxxxxx> wrote in message news:ewYRcO6mIHA.4196@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I want to upload *.jpg files to server using FileUpload control. Hosting is shared and administrator informed me that I have to use medium trust level to upload files. How to achieve that?
I get error:
: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Line 10: FileUpload1.SaveAs("\images\res\" & FileUpload1.FileName)I am new to ASP.NET ?
Thanks a lot!
Domac
.
- References:
- File upload problem
- From: Domac
- File upload problem
- Prev by Date: Re: Using smartNavigation on non PC devices
- Next by Date: Re: Disabling page caching not working
- Previous by thread: File upload problem
- Next by thread: Re: File upload problem
- Index(es):
Relevant Pages
|