﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><pubDate>Thu, 01 Oct 2009 03:39:27 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>export pdf excel iis7 windows vista</category><description>&lt;p&gt;Based on the error, &lt;br /&gt;&lt;/p&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 5px; padding-left: 10px;"&gt;&lt;p&gt;System.Web.HttpUnhandledException: Exception of type
'System.Web.HttpUnhandledException' was thrown. ---&amp;gt;
System.Exception: Printer does not support Letter papersize. Please use
PaperKind.Custom in your PageSettings or specify a papersize supported
by the current printer ---&amp;gt;
DataDynamics.ActiveReports.ReportException: Printer does not support
Letter papersize. Please use PaperKind.Custom in your PageSettings or
specify a papersize supported by the current printer&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;We already have a KB article for such an issue. You will need to set the printer name to empty in the PrepareExportExecute server side event. Here is the snippet&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;private void WebGrid1_PrepareExportExecute (object sender, ISNet.WebUI.WebGrid.PrepareExportExecuteEventArgs e) &lt;br /&gt;{&lt;br /&gt;  e.ReportObject.Document.Printer.PrinterName = ""; &lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;You could read the complete KB article in the &lt;a href="http://support.intersoftpt.com/" target="_blank"&gt;support&lt;/a&gt; page, Under WebGrid &amp;gt;&amp;gt; Knowledge Base &amp;gt;&amp;gt; Exporting &amp;gt;&amp;gt; Fixes for printer problem exporting data into Excel&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><pubDate>Thu, 01 Oct 2009 03:33:12 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>export pdf excel iis7 windows vista</category><description>&lt;p&gt;I have inquired our developer regarding this issue and have also mention all the latest finding, works in English windows but on the Spanish windows teh issue still occurs, based on your test. We will inform you if there is any update or progress regarding this issue.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><pubDate>Wed, 30 Sep 2009 15:57:36 GMT</pubDate><dc:creator>whodurun4@gmail.com</dc:creator><category>export pdf excel iis7 windows vista</category><description>&lt;p&gt;Thanks, Fernando.&lt;/p&gt;&lt;p&gt;I was able to figure out the part with granting full control to the tempReports folder this morning and that resolved the issue on our staging server, but we're still receiving the error in our production environment.  Both are English environments.&lt;/p&gt;
&lt;p&gt;We have a couple printers configured on both machines as well.&lt;/p&gt;
&lt;p&gt;Are there any other suggestions?&lt;/p&gt;
&lt;p&gt;Here is the error:&lt;/p&gt;
&lt;p&gt;System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---&amp;gt; System.Exception: Printer does not support Letter papersize. Please use PaperKind.Custom in your PageSettings or specify a papersize supported by the current printer ---&amp;gt; DataDynamics.ActiveReports.ReportException: Printer does not support Letter papersize. Please use PaperKind.Custom in your PageSettings or specify a papersize supported by the current printer&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><pubDate>Wed, 30 Sep 2009 11:34:21 GMT</pubDate><dc:creator>fernandosv</dc:creator><category>export pdf excel iis7 windows vista</category><description>&lt;p&gt;Andrew, to follow up this issue we even put a test machine so that intersoft people could check the issue. They enter via remote desktop but the test Machine was in spanish so we had to put another environment in english language. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;After we put the environment in english everything work nice, so this is a problem in spanish only (as I have test so far). If you are having trouble with the inglish version you must try:&lt;/p&gt;
&lt;p&gt;-Put everytone with full control to the tempReports folder en your website&lt;/p&gt;
&lt;p&gt;-Configure a printer in your machine eventhough the printer does not exits (some time I need to do this)&lt;/p&gt;
&lt;p&gt;If you have anspanish environment I have not a solution for the issue.&lt;/p&gt;</description></item><item><title>Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><pubDate>Wed, 30 Sep 2009 08:48:46 GMT</pubDate><dc:creator>whodurun4@gmail.com</dc:creator><category>export pdf excel iis7 windows vista</category><description>&lt;p&gt;We are experiencing a similar error.  Were able to solve this issue?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Andrew&lt;/p&gt;</description></item><item><title>Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><pubDate>Tue, 22 Sep 2009 19:56:27 GMT</pubDate><dc:creator>fernandosv</dc:creator><category>export pdf excel iis7 windows vista</category><description>&lt;p&gt;Glenn, I send this information on 17 Sept and haven't receive a reply. Is there a way to check if you were able to check this issue?&lt;/p&gt;</description></item><item><title>Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><pubDate>Thu, 17 Sep 2009 20:57:06 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>export pdf excel iis7 windows vista</category><description>&lt;p&gt;You could send the credential to technical@intersoftpt.com and mention that this issue has been discussed in the forum and also please provide the link to this thread &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><pubDate>Thu, 17 Sep 2009 19:29:15 GMT</pubDate><dc:creator>fernandosv</dc:creator><category>export pdf excel iis7 windows vista</category><description>&lt;p&gt;Thank you for your tests. But it is incredibly weird since I have the same problem in tree environments (2 Vista Bussines and 1 Server 2008).&lt;/p&gt;
&lt;p&gt;If we don't manage to fix this issue I will have a HUGE lost, I will have to change at least 120 Forms. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;So I have one last idea, I can give you Remote Desktop access to my test machine (is a laptop), so you can see the issue. Is there a private way to send you credentials for the access? There is nothing important in this test machine it has been just formated and is not part of our domain. &lt;/p&gt;
&lt;p&gt;Please tell me how to send you the remote desktops credentials.&lt;/p&gt;</description></item><item><title>Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><pubDate>Wed, 16 Sep 2009 23:37:18 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>export pdf excel iis7 windows vista</category><description>&lt;p&gt;The sample will run correctly after setting the administrator and standard user account with the proper access to the TempReports folder. The account must be able to have write access to the folder to allow them to create the export file in the TempReports.&lt;/p&gt;&lt;p&gt;After setting the proper access the issue will not occur using the scenario you describe&lt;/p&gt;
&lt;p&gt;Tested using IIS7 in Windows Vista on .NET Framework 2.0, Impersonation True with Windows Authenthication, and Anonymous access disabled with the sample you provided&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><pubDate>Wed, 16 Sep 2009 20:20:19 GMT</pubDate><dc:creator>fernandosv</dc:creator><category>export pdf excel iis7 windows vista</category><description>&lt;p&gt;I am attaching my test project. Just create a new Web site or Virtual Directory, make sure of:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Using Frameworks 2.0 &lt;/li&gt;&lt;li&gt;Using just Windows Authentication (NO ANONYMOUS) &lt;/li&gt;&lt;li&gt;&lt;strong&gt;ASP.NET impersonation active!!!&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Make sure you are using IIS 7 (in Windows Vista if possible)&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;Try running prueba.aspx, from a&amp;nbsp; remote machine (NOT THE SERVER). &lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span style="text-decoration: underline"&gt;Make sure you are using a different user in the remote machine that the one that is logged in the server&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline"&gt;IMPORTANT: Just load the ASPX, there will be an empty grid (that is normal). Try to exporta to PDF with the left toolbar button, try to export to Excel with the right toolbar button. The toolbar images are no include THAT IS NORMAL BUTTONS STILL WORK.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you follow these steps correctly I am 100% sure the problem will be replicated.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline"&gt;&lt;/span&gt;&lt;/strong&gt; &lt;/p&gt;</description></item><item><title>Imposible to export to Excel or PDF with IIS7</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Imposible-to-export-to-Excel-or-PDF-with-IIS7/</link><pubDate>Fri, 04 Sep 2009 21:02:07 GMT</pubDate><dc:creator>fernandosv</dc:creator><category>export pdf excel iis7 windows vista</category><description>&lt;p&gt;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 &lt;strong&gt;web&lt;span style="font-size: 13px"&gt;grid.ExportGrid.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;The only way to manage to export is to run the application from the server with windows authentication and impersonate=true!!&lt;/p&gt;&lt;p&gt;It is also important to add:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;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" &lt;/li&gt;&lt;li&gt;We already try the fix in your support page but it doesn't work. This fix involves using the event &lt;strong&gt;PrepareExportExecute, and the object &lt;/strong&gt;e.ReportObject.Document.Printer.PrinterName = "";&amp;nbsp; When we try to use the object we get an error stating that we have to reference the assembly &lt;span style="font-size: 13px;"&gt;&lt;span style="font-size: 13px;"&gt;ISNet.ActiveReports.Exporting, which is already referenced.&lt;/span&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;strong&gt;The folder &lt;span lang="undefined" style="font-size: 12pt; font-family: 'times new roman','serif'; mso-fareast-font-family: calibri; mso-ansi-language: es-sv; mso-fareast-language: es; mso-bidi-language: ar-sa"&gt;TempReports already have write permission&lt;/span&gt;&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;&lt;span&gt;Our server language is spanish, we also read the foreign language fix (Didn't work)&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span&gt;We update to the latest webUI Framework and webUI Grid. (Didn't work)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span&gt;Our deployment is already delayed 4 days because of this issue. If you need more details please let me know ASAP.&lt;/span&gt;&lt;/p&gt;&lt;p style="color: gray"&gt;[Edited by moderator: Generalized capitalization and unnecessary message]&lt;/p&gt;</description></item></channel></rss>