1
Vote

Export error

description

I have loaded in the Word/PDF Export to my Sitefinity project and have come across the following issues.
Please note the only content on each of the test pages has been a content block with generic text and the export widget.
  • When I export content from the root structure, export to word works perfectly, export to PDF shows a blank page.
  • When I attempt to export from a child page of the root structure I get the following error
Too many automatic redirections were attempted.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: Too many automatic redirections were attempted.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[WebException: Too many automatic redirections were attempted.]
System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +283
System.Net.WebClient.DownloadString(Uri address) +100
System.Net.WebClient.DownloadString(String address) +29
Aspose.SiteFinity.ContentExport.AsposeContentExport.WordsExportButton_Click(Object sender, EventArgs e) +120
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9753402
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +196
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724

comments

asposemarketplace wrote Jun 13, 2014 at 12:22 PM

Hi

Sorry for not being able to reply sooner.

Thank you for providing the details. We are working on the issue and will get back to you very soon.

asposemarketplace wrote Jun 15, 2014 at 7:03 PM

Hi,

Thank you for your patience. We have investigated the issue in details using the latest version of Sitefinity i.e. 7.0.5100.0.
  1. The blank page is most likely due to PDF integration with the browser. We tested export to PDF with latest version of IE, Chrome and FireFox and found it working in all. Can you please try a different browser and also please tell us which browser and version you are using.
  2. We were unable to produce the error you mentioned even when tested upto 3 levels of sub-pages, with and without port based URLs and with a sub-domain URL but the error details suggest that the error is occurring when the code tries to fetch HTML of the current page using dynamically generated URL. Can you please tell us the exact URL which is giving you the error? We will then setup the exact same URL to test this scenario.
We look forward to hear your feedback and hope to resolve the issues you are facing very soon.