Imposible to export to Excel or PDF with IIS7

16 replies. Last post: October 1, 2009 3:39 AM by Glenn Layaar
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

We have been working in an application development over a year. Web Grid is heavily used in our application and its export funtions to PDF and Excel. We use this export function in hundreds of web forms. It is important to add that the export funcion is called from the client using the command webgrid.ExportGrid.

The only way to manage to export is to run the application from the server with windows authentication and impersonate=true!!

It is also important to add:

  • The error message is "Printer does not support Letter papersize. Please use PaperKind. Custom in your PageSettings or specify a papersize supported by the current printer"
  • We already try the fix in your support page but it doesn't work. This fix involves using the event PrepareExportExecute, and the object e.ReportObject.Document.Printer.PrinterName = "";  When we try to use the object we get an error stating that we have to reference the assembly ISNet.ActiveReports.Exporting, which is already referenced.
  • The folder TempReports already have write permission
  • Our server language is spanish, we also read the foreign language fix (Didn't work)
  • We update to the latest webUI Framework and webUI Grid. (Didn't work)

Our deployment is already delayed 4 days because of this issue. If you need more details please let me know ASAP.

[Edited by moderator: Generalized capitalization and unnecessary message]

All times are GMT -5. The time now is 11:21 AM.
Previous Next