Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unable to download file while logged into DNNUnable to download file while logged into DNN
Previous
 
Next
New Post
7/4/2007 10:12 AM
 
Hi,

We want to allow the users download files from our DNN module. We have configured ADSI and SSL.
However the users when logged into the DNN site are not able to download the file. If they log out and then
access the module (The module is accessible by all anonymous users), then able to download file.

The code is as simple as this:
Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("Content-Type", "application/vnd.ms-excel");
Response.AddHeader("Content-Disposition", "attachment; filename=myXlsFileName.xls");
Response.Write(bytes);
Response.End();

Is there anything we need to set in ADSI or DNN for allowing logged in users to download files?
What could be the problem? Please anybody throw some light on this.

Thanks,
Srikanth.
 
New Post
7/19/2007 4:57 AM
 
This issue mainly happens in Internet Explorer.

We figured this out - We need to check the "Do not save encrypted pages to disk" setting in Internet Explorer 7 - then we are able to download excel files. However this doesn't work in IE 6.
 
New Post
7/24/2007 5:51 AM
 

Hi,
I'm trying to accomplish the same and wonder how you linked to the module creating the stream. When I use 
Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(TabId(), "Export", ArgList))
I get the whole dnn framework output in the file, but not my content :-(
your's
felix

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unable to download file while logged into DNNUnable to download file while logged into DNN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out