D
Domac
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
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