System.Security.SecurityException: Request failed. while saving sfx

Jun 23, 2009 at 2:29 AM

Hello,

I am hosting a site with GoDaddy, which uses medium trust. When I try to save a self-extracting zip, I am getting this exception:

System.Security.SecurityException: Request failed.

On the line:

<font size="2">

zip.SaveSelfExtractor(Server.MapPath(

</font>

"/Demos/" + id) + "\\" + archiveFilename, SelfExtractorFlavor.WinFormsApplication);

It works fine in my environment where I have full trust. I have also confirmed that file writing permissions are correct and I am using DotNetZip 1.7.

Just thought I'd mention it...

-Ryan

Coordinator
Jun 23, 2009 at 2:43 AM

What version of DotNetZip are you using?  Is there a stacktrace available?

Try using v1.8 or try setting TempFileFolder.