babs_speed
Guppy
i get error everytime i try upload file with asp.net
error:
Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
code:
if (FileUpload1.HasFile)
{
FileUpload1.SaveAs( "\\Images\\" + FileUpload1.FileName);
Label1.Text = "success";
}
else
{
Label1.Text = "fail";
}
i have tryed this threads "http://support.jodohost.com/showthread.php?t=7974" for using medium trust but its not work for me..
i need help...
error:
Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
code:
if (FileUpload1.HasFile)
{
FileUpload1.SaveAs( "\\Images\\" + FileUpload1.FileName);
Label1.Text = "success";
}
else
{
Label1.Text = "fail";
}
i have tryed this threads "http://support.jodohost.com/showthread.php?t=7974" for using medium trust but its not work for me..
i need help...