Posted on: 10/1/2014 7:12:32 PM | Views : 388

Here is my code. After the download button was clicked, nothing happened.  I checked the files were all added to the zip file.
So I added a try catch block and got the error message: Message = Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
The Error occurs after Response.End(); so I have no clue what caused it.
below is my code:

            Response.Clear();             Response.ClearContent();             Response.ClearHeaders();             Response.BufferOutput = false;             Response.ContentType = "application/zip";        &nbs ...

Go to the complete details ...