<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>ExcelPackage: Office Open XML Format file creation</title><link>http://www.codeplex.com/ExcelPackage/Project/ProjectRss.aspx</link><description>ExcelPackage provides server-side generation of Excel 2007 spreadsheets.   It is a set of classes and wrappers around the .NET 3.0 System.IO.Packaging API and the new Office Open XML file format. It...</description><item><title>New Post: Integer Bug</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=34771</link><description>&lt;div style="line-height: normal;"&gt;Hello,&lt;br&gt;
&lt;br&gt;
first of all I want to say that ExcelPackage is very good and I&amp;nbsp;like working with it.&lt;br&gt;
However, I discovered a bug. The situation: I want to create a list of material. Each entry represents an article and consists of&amp;nbsp;description,&amp;nbsp;hyperlink and article number.&lt;br&gt;
&lt;br&gt;
Example:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Resistor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;http://www.internet.com/resistor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;XXX123&lt;br&gt;
&amp;nbsp;&lt;br&gt;
Now there was an article number of following style: 0122.2124893.0293.33. The Funtion IsNumericValue implemented in ExcelCell.cs declares this as a number. I think it is necessary to change the&amp;nbsp;regular&amp;nbsp;expression:&lt;br&gt;
&lt;br&gt;
&lt;span style="font-size:13px;color:#2b91af"&gt;&lt;span style="font-size:13px;color:#2b91af"&gt;
&lt;p&gt;Regex&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:13px"&gt; objIntPattern = &lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#2b91af"&gt;&lt;span style="font-size:13px;color:#2b91af"&gt;Regex&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:13px"&gt;(&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;^-[0-9,.]+$|^[0-9,.]+$&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:13px"&gt;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// ExcelCell.cs, Function: IsNumericValue, Line: 440&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
to&lt;/p&gt;
&lt;span style="font-size:13px;color:#2b91af"&gt;&lt;span style="font-size:13px;color:#2b91af"&gt;
&lt;p&gt;Regex&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:13px"&gt; objIntPattern = &lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="font-size:13px;color:#2b91af"&gt;&lt;span style="font-size:13px;color:#2b91af"&gt;Regex&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:13px"&gt;(&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;^-[0-9]+[,.]?[0-9]+$|^[0-9]+[,.]?[0-9]+$&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:13px"&gt;);&lt;br&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;br&gt;
to ensure that there is only one&amp;nbsp;comma or dot between a various&amp;nbsp;count of numbers.&amp;nbsp;
&lt;/div&gt;</description><author>_lowlevel_</author><pubDate>Tue, 02 Sep 2008 19:48:19 GMT</pubDate><guid isPermaLink="false">New Post: Integer Bug 20080902074819P</guid></item><item><title>New Post: Help inlcuing new version of ExcelWorksheets.cs</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=34682</link><description>&lt;div style="line-height: normal;"&gt;Hello&lt;br&gt;
I have downloaded a new version of&amp;nbsp;ExcelWorksheets.cs to reduce final file size. &lt;br&gt;
This is from&amp;nbsp;Rob Stanbridge, ID 1041.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://www.codeplex.com/ExcelPackage/SourceControl/PatchList.aspx"&gt;http://www.codeplex.com/ExcelPackage/SourceControl/PatchList.aspx&lt;/a&gt;&lt;br&gt;
He has changed the namespace, any reason for that?&lt;br&gt;
When using this file instead of the original the project does not compile.&lt;br&gt;
&lt;br&gt;
Any suggestions.&lt;br&gt;
&lt;br&gt;
David
&lt;/div&gt;</description><author>davidw567</author><pubDate>Mon, 01 Sep 2008 14:22:26 GMT</pubDate><guid isPermaLink="false">New Post: Help inlcuing new version of ExcelWorksheets.cs 20080901022226P</guid></item><item><title>Commented Issue: System.ApplicationException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) exception</title><link>http://www.codeplex.com/ExcelPackage/WorkItem/View.aspx?WorkItemId=17586</link><description>Any idea how to fix this exception&amp;#63; My program get a datatable from sql DB and save all fields to excel file.&lt;br /&gt;Sometime will get following error&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;System.ApplicationException&amp;#58; Access is denied. &amp;#40;Exception from HRESULT&amp;#58; 0x80070005 &amp;#40;E_ACCESSDENIED&amp;#41;&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.nGetRootDir&amp;#40;IsolatedStorageScope scope&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.InitGlobalsNonRoamingUser&amp;#40;IsolatedStorageScope scope&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir&amp;#40;IsolatedStorageScope scope&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.GetGlobalFileIOPerm&amp;#40;IsolatedStorageScope scope&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.Init&amp;#40;IsolatedStorageScope scope&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.GetStore&amp;#40;IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.PackagingUtilities.ReliableIsolatedStorageFileFolder..ctor&amp;#40;&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.PackagingUtilities.GetDefaultIsolatedStorageFile&amp;#40;&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.PackagingUtilities.CreateUserScopedIsolatedStorageFileStreamWithRandomName&amp;#40;Int32 retryCount, String&amp;#38; fileName&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.SparseMemoryStream.EnsureIsolatedStoreStream&amp;#40;&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.SparseMemoryStream.SwitchModeIfNecessary&amp;#40;&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.CompressEmulationStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 count&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.CompressStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 count&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Zip.ProgressiveCrcCalculatingStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 count&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Zip.ZipIOModeEnforcingStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 count&amp;#41;&lt;br /&gt;  at System.IO.StreamWriter.Flush&amp;#40;Boolean flushStream, Boolean flushEncoder&amp;#41;&lt;br /&gt;  at System.IO.StreamWriter.Write&amp;#40;String value&amp;#41;&lt;br /&gt;  at System.Xml.XmlTextEncoder.Write&amp;#40;String text&amp;#41;&lt;br /&gt;  at System.Xml.XmlTextWriter.WriteString&amp;#40;String text&amp;#41;&lt;br /&gt;  at System.Xml.XmlAttribute.WriteContentTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlAttribute.WriteTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteContentTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteContentTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteContentTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlDocument.WriteContentTo&amp;#40;XmlWriter xw&amp;#41;&lt;br /&gt;  at System.Xml.XmlDocument.Save&amp;#40;Stream outStream&amp;#41;&lt;br /&gt;  at OfficeOpenXml.ExcelWorksheet.Save&amp;#40;&amp;#41;&lt;br /&gt;  at OfficeOpenXml.ExcelWorkbook.Save&amp;#40;&amp;#41;&lt;br /&gt;  at xxx.addDataSetToExcel&amp;#40;DataSet DataSetSource, String fileName, String title, String subject, String category, String comments, String fileType&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: szmulder ** &lt;p&gt;Now one have same problem&amp;#63;&lt;/p&gt;</description><author>szmulder</author><pubDate>Thu, 28 Aug 2008 21:53:55 GMT</pubDate><guid isPermaLink="false">Commented Issue: System.ApplicationException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) exception 20080828095355P</guid></item><item><title>New Post: Pivot Table</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=33810</link><description>&lt;div style="line-height: normal;"&gt;How to set range for pivot table programatically.?&lt;br&gt;
I have a template with Pivot table on other sheet but not able to set the range since the data is dynamically populated.&lt;br&gt;
since we wont be knowing how many rows ,we cant set the range in template . can anybody help me on this.......?
&lt;/div&gt;</description><author>someshbaladi</author><pubDate>Tue, 19 Aug 2008 13:42:38 GMT</pubDate><guid isPermaLink="false">New Post: Pivot Table 20080819014238P</guid></item><item><title>New Post: Strings with ' in them</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=7152</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Never mind. &lt;br&gt;
&lt;br&gt;
My mistake, had missed&amp;nbsp;the line underneath for setting the inner text also. You may use the line below instead. Thanks.&lt;span style="font-size:13px"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#2b91af"&gt;XmlNode&lt;/span&gt;&lt;span style="font-size:13px"&gt; stringNode = _xlWorksheet.xlPackage.Workbook.SharedStringsXml.SelectSingleNode(&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;string&lt;/span&gt;&lt;span style="font-size:13px"&gt;.Format(&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;//d:si[d:t='{0}']&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt;, System.Security.&lt;/span&gt;&lt;span style="font-size:13px;color:#2b91af"&gt;SecurityElement&lt;/span&gt;&lt;span style="font-size:13px"&gt;.Escape(Value)), _xlWorksheet.NameSpaceManager);&lt;br&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>atmacam</author><pubDate>Wed, 13 Aug 2008 18:33:23 GMT</pubDate><guid isPermaLink="false">New Post: Strings with ' in them 20080813063323P</guid></item><item><title>New Post: Stream Instead Of File?</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=16982</link><description>&lt;div style="line-height: normal;"&gt;I'm going to reply to myself (above) after getting the answer from Ken Tucker.&amp;nbsp; The correct mime type to add to IIS is &lt;br&gt;
&lt;br&gt;
xlsx &lt;br&gt;
application/vnd.openxmlformats&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>camcombs</author><pubDate>Mon, 11 Aug 2008 18:27:46 GMT</pubDate><guid isPermaLink="false">New Post: Stream Instead Of File? 20080811062746P</guid></item><item><title>New Post: Cannot Download Source Code</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=30472</link><description>&lt;div style="line-height: normal;"&gt;socrates877,&lt;br&gt;
&lt;br&gt;
You can use &lt;a href="http://www.codeplex.com/ExML"&gt;ExML&lt;/a&gt; is a fork of &lt;span id="ctl00_ctl00_Content_TabContentPanel_Content_wikiSourceLabel"&gt;ExcelPackage. slide_o_mix is doing a great job; he is currently working on some optimizations.&lt;br&gt;
&lt;/span&gt;
&lt;/div&gt;</description><author>iDesmet</author><pubDate>Mon, 11 Aug 2008 07:08:05 GMT</pubDate><guid isPermaLink="false">New Post: Cannot Download Source Code 20080811070805A</guid></item><item><title>New Post: Cannot Download Source Code</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=30472</link><description>&lt;div style="line-height: normal;"&gt;I have this exact problem too. SVNBridge and Torstoise SVN work just fine for me; I can see all the other projects on the server. However, the ExcelPackage folder is empty. So it seems to me that this is an Excel Package problem. Would someone be ever so kind and upload your checkout of the source code? It's got to be better than using the January 4, 2007 release, right?&lt;br&gt;
&lt;/div&gt;</description><author>socrates877</author><pubDate>Sun, 10 Aug 2008 12:30:15 GMT</pubDate><guid isPermaLink="false">New Post: Cannot Download Source Code 20080810123015P</guid></item><item><title>New Post: Strings with ' in them</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=7152</link><description>&lt;div style="line-height: normal;"&gt;Considering special chars in an Xml Doc are {'&amp;amp;', '&amp;lt;', '&amp;gt;', '\&amp;quot;', '\''}, it would be safer to add the lines below before using it in the method.&lt;br&gt;
&lt;span style="font-size:13px"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;if&lt;/span&gt;&lt;span style="font-size:13px"&gt;(&lt;/span&gt;&lt;span style="font-size:13px;color:#0000ff"&gt;string&lt;/span&gt;&lt;span style="font-size:13px"&gt;.IsNullOrEmpty(Value))&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Value = Value.Replace(&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;&amp;amp;&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt;, &lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;&amp;amp;amp;&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt;).Replace(&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;&amp;lt;&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt;, &lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;&amp;amp;lt;&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt;).Replace(&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;&amp;gt;&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt;, &lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;&amp;amp;gt;&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt;).Replace(&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;\&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt;, &lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;&amp;amp;quot;&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt;).Replace(&lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;\'&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt;, &lt;/span&gt;&lt;span style="font-size:13px;color:#a31515"&gt;&amp;quot;&amp;amp;apos;&amp;quot;&lt;/span&gt;&lt;span style="font-size:13px"&gt;);
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>atmacam</author><pubDate>Fri, 08 Aug 2008 20:27:26 GMT</pubDate><guid isPermaLink="false">New Post: Strings with ' in them 20080808082726P</guid></item><item><title>New Post: Stream Instead Of File?</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=16982</link><description>&lt;div style="line-height: normal;"&gt;I used Ken Tucker's sample and source code changes.&amp;nbsp; The problem I have now is that IE complains about an invalid file extension.&amp;nbsp; I've added this to the MIME types for my localhost IIS 6 properties:&lt;br&gt;
&lt;br&gt;
xlsx &lt;br&gt;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&lt;br&gt;
&lt;br&gt;
Is that the correct MIME type for this solution?&lt;br&gt;
&lt;br&gt;
Anybody else have this problem using Ken's sample?&lt;br&gt;
&lt;br&gt;
thanks in advance&lt;br&gt;
&lt;/div&gt;</description><author>camcombs</author><pubDate>Mon, 04 Aug 2008 19:25:25 GMT</pubDate><guid isPermaLink="false">New Post: Stream Instead Of File? 20080804072525P</guid></item><item><title>New Post: Reading and Writting Excel File to Server.</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=32260</link><description>&lt;div style="line-height: normal;"&gt;Thanks BradRoberts. The problem was coming because I was having Excel 2003 now its not giving that error. But still I am not able to show that excel file on Browser and when client do any changes in&amp;nbsp; that excel it must be save back to server.&lt;br&gt;
&lt;br&gt;
Please help me with this.&lt;br&gt;
&lt;br&gt;
Thanks again...&lt;br&gt;
&lt;/div&gt;</description><author>varshavmane</author><pubDate>Fri, 01 Aug 2008 04:39:28 GMT</pubDate><guid isPermaLink="false">New Post: Reading and Writting Excel File to Server. 20080801043928A</guid></item><item><title>New Post: Reading and Writting Excel File to Server.</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=32260</link><description>&lt;div style="line-height: normal;"&gt;FYI, something simple can make the corrupt data thing happen. For example, the maximum length of a WorkSheet name is 30 characters. This kind of thing is not enforced when you create a spreadsheet with ExcelPackage as it is.
&lt;/div&gt;</description><author>BradRoberts56</author><pubDate>Thu, 31 Jul 2008 18:51:15 GMT</pubDate><guid isPermaLink="false">New Post: Reading and Writting Excel File to Server. 20080731065115P</guid></item><item><title>New Post: Excel complains German date format</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=32652</link><description>&lt;div style="line-height: normal;"&gt;The German date format is of the form dd.mm.yyyy&lt;br&gt;
if I use the following statement&lt;br&gt;
worksheet.Cell(1,1)=&amp;quot;1.1.2008&amp;quot;&lt;br&gt;
Excel complains bad XML (but is able to correct it)&lt;br&gt;
&lt;br&gt;
imho the problem is, that in ExcelCells.cs Line 147&lt;br&gt;
if (IsNumericValue(value))&lt;br&gt;
with value=&amp;quot;1.1.2008&amp;quot; &lt;br&gt;
is true&lt;br&gt;
and that may be misleading. &lt;br&gt;
Ariadne, Switzerland&lt;br&gt;
&lt;/div&gt;</description><author>Ariadne</author><pubDate>Thu, 31 Jul 2008 15:22:26 GMT</pubDate><guid isPermaLink="false">New Post: Excel complains German date format 20080731032226P</guid></item><item><title>Created Issue: System.ApplicationException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) exception</title><link>http://www.codeplex.com/ExcelPackage/WorkItem/View.aspx?WorkItemId=17586</link><description>Any idea how to fix this exception&amp;#63; My program get a datatable from sql DB and save all fields to excel file.&lt;br /&gt;Sometime will get following error&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;System.ApplicationException&amp;#58; Access is denied. &amp;#40;Exception from HRESULT&amp;#58; 0x80070005 &amp;#40;E_ACCESSDENIED&amp;#41;&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.nGetRootDir&amp;#40;IsolatedStorageScope scope&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.InitGlobalsNonRoamingUser&amp;#40;IsolatedStorageScope scope&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir&amp;#40;IsolatedStorageScope scope&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.GetGlobalFileIOPerm&amp;#40;IsolatedStorageScope scope&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.Init&amp;#40;IsolatedStorageScope scope&amp;#41;&lt;br /&gt;  at System.IO.IsolatedStorage.IsolatedStorageFile.GetStore&amp;#40;IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.PackagingUtilities.ReliableIsolatedStorageFileFolder..ctor&amp;#40;&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.PackagingUtilities.GetDefaultIsolatedStorageFile&amp;#40;&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.PackagingUtilities.CreateUserScopedIsolatedStorageFileStreamWithRandomName&amp;#40;Int32 retryCount, String&amp;#38; fileName&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.SparseMemoryStream.EnsureIsolatedStoreStream&amp;#40;&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.SparseMemoryStream.SwitchModeIfNecessary&amp;#40;&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.CompressEmulationStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 count&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Packaging.CompressStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 count&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Zip.ProgressiveCrcCalculatingStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 count&amp;#41;&lt;br /&gt;  at MS.Internal.IO.Zip.ZipIOModeEnforcingStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 count&amp;#41;&lt;br /&gt;  at System.IO.StreamWriter.Flush&amp;#40;Boolean flushStream, Boolean flushEncoder&amp;#41;&lt;br /&gt;  at System.IO.StreamWriter.Write&amp;#40;String value&amp;#41;&lt;br /&gt;  at System.Xml.XmlTextEncoder.Write&amp;#40;String text&amp;#41;&lt;br /&gt;  at System.Xml.XmlTextWriter.WriteString&amp;#40;String text&amp;#41;&lt;br /&gt;  at System.Xml.XmlAttribute.WriteContentTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlAttribute.WriteTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteContentTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteContentTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteContentTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlElement.WriteTo&amp;#40;XmlWriter w&amp;#41;&lt;br /&gt;  at System.Xml.XmlDocument.WriteContentTo&amp;#40;XmlWriter xw&amp;#41;&lt;br /&gt;  at System.Xml.XmlDocument.Save&amp;#40;Stream outStream&amp;#41;&lt;br /&gt;  at OfficeOpenXml.ExcelWorksheet.Save&amp;#40;&amp;#41;&lt;br /&gt;  at OfficeOpenXml.ExcelWorkbook.Save&amp;#40;&amp;#41;&lt;br /&gt;  at xxx.addDataSetToExcel&amp;#40;DataSet DataSetSource, String fileName, String title, String subject, String category, String comments, String fileType&amp;#41;&lt;br /&gt;</description><author>szmulder</author><pubDate>Wed, 30 Jul 2008 02:15:30 GMT</pubDate><guid isPermaLink="false">Created Issue: System.ApplicationException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) exception 20080730021530A</guid></item><item><title>New Post: Reading and Writting Excel File to Server.</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=32260</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello All,&lt;/p&gt;
&lt;p&gt;I am using ASP.NET 2005 (C#).&amp;nbsp;I using Excel Package dll for reading and writting excel file.&lt;br&gt;
I have to generate excel file and save to server.&amp;nbsp;&lt;br&gt;
I m not able to read excel file giving error of &amp;quot;File contains corrupted data&amp;quot;.&lt;br&gt;
Also I have make some cells as readonly.&lt;br&gt;
Finally whenever client opens that file in browser he can change the values in any cell which are not marked readonly&amp;nbsp;and then on save button click event that file must be saved back to server.&lt;br&gt;
Any suggestion.&lt;br&gt;
Please help me. Thanks in advance.&lt;/p&gt;
&lt;/div&gt;</description><author>varshavmane</author><pubDate>Fri, 25 Jul 2008 06:38:38 GMT</pubDate><guid isPermaLink="false">New Post: Reading and Writting Excel File to Server. 20080725063838A</guid></item><item><title>New Post: Is it possible to get the name of the cell??</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=31932</link><description>&lt;div style="line-height: normal;"&gt;I need to parse the excel based on the cell name to differentiate whether the value is a group name or is it a item??
&lt;/div&gt;</description><author>spongebob</author><pubDate>Mon, 21 Jul 2008 19:06:44 GMT</pubDate><guid isPermaLink="false">New Post: Is it possible to get the name of the cell?? 20080721070644P</guid></item><item><title>Commented Issue: speed-up writing large xlsx files</title><link>http://www.codeplex.com/ExcelPackage/WorkItem/View.aspx?WorkItemId=10409</link><description>I have noted that when writing more than 1000 rows dramtically slowes down the document generation.&lt;br /&gt;I have a fast computer with etc etc and it only writes 160 rows per minute whihc is too slow for me.&lt;br /&gt;&lt;br /&gt;Is it possible to speed up the writespeed&amp;#63;&amp;#63;&lt;br /&gt;would it be possible to specify the range to update and write to the whole range at the same time&amp;#63;&lt;br /&gt;&lt;br /&gt;I would appreichiate a soloution&lt;br /&gt;&lt;br /&gt;Thanx&lt;br /&gt;Magnus&lt;br /&gt;Comments: ** Comment from web user: BradRoberts56 ** &lt;p&gt;Many thanks for the patch by rob_dot_net. That solved MY problem. Boy, that was fast&amp;#33;&lt;/p&gt;</description><author>BradRoberts56</author><pubDate>Tue, 15 Jul 2008 18:00:10 GMT</pubDate><guid isPermaLink="false">Commented Issue: speed-up writing large xlsx files 20080715060010P</guid></item><item><title>Commented Issue: File contains corrupted data</title><link>http://www.codeplex.com/ExcelPackage/WorkItem/View.aspx?WorkItemId=13074</link><description>I just downloaded the most recent version of the binary.  We have a costing spreadsheet that we use to build proposals.  Unfortunately I cannot attach the file.  It was created in Excel 2000.  I opened it up in 2007 and saved as a 2007 xlsx file.  When opening it, I get the error &amp;#34;File contains corrupted data&amp;#34;. I can open the xlsx file in Excel 2007 fine with no issues.  I think the problem is that certain areas of some of the sheets have restrictions by Excel password protection.  I took the same file from Excel 2000, removed protection, saved to XML spreadsheet format and then to Excel 2007 format and it opened as it should in my code.  Am I right to assume this error is a password protection issue&amp;#63;  Most of the cells are writable, the formulas are what are protected.&lt;br /&gt;Comments: ** Comment from web user: AndreZA ** &lt;p&gt;no hotfix&amp;#47;workaround on this one&amp;#63; I have the same problem with a protected excel 2003 file that was converted to xlsm.&lt;/p&gt;</description><author>AndreZA</author><pubDate>Tue, 08 Jul 2008 08:54:47 GMT</pubDate><guid isPermaLink="false">Commented Issue: File contains corrupted data 20080708085447A</guid></item><item><title>Commented Issue: Support for international settings</title><link>http://www.codeplex.com/ExcelPackage/WorkItem/View.aspx?WorkItemId=7537</link><description>In some countries comma &amp;#34;,&amp;#34; is used instead of &amp;#34;.&amp;#34; as decimal separator. This may provoke mistakes in recognizing numbers with decimals when a value is assigned to a cell.&lt;br /&gt;Comments: ** Comment from web user: SoerenNielsen ** &lt;p&gt;Second that. In addition the thousand number separator is also switched.&lt;/p&gt;&lt;p&gt;Don&amp;#39;t know how to best fix this. Either use a canonical representation &amp;#40;are you doing that now&amp;#63;&amp;#41; or &amp;#40;more correct&amp;#41; convert it to the current threads locale.&lt;/p&gt;</description><author>SoerenNielsen</author><pubDate>Sat, 05 Jul 2008 19:32:35 GMT</pubDate><guid isPermaLink="false">Commented Issue: Support for international settings 20080705073235P</guid></item><item><title>New Post: How to filter invaild XML char?</title><link>http://www.codeplex.com/ExcelPackage/Thread/View.aspx?ThreadId=30650</link><description>&lt;div style="line-height: normal;"&gt;&lt;br&gt;
&lt;div style="border-style:dotted none;border-color:rgb(170, 170, 170) -moz-use-text-color;border-width:0.1em medium;margin:1em 0em 2.5em 3em;padding:0.2em;font-style:italic"&gt;&lt;br&gt;
szmulder wrote:&lt;br&gt;
When i recieved data from sql, always get some char like&lt;br&gt;
&amp;amp;#xB;&lt;br&gt;
&lt;br&gt;
And using when i open the excel file create by&amp;nbsp;ExcelPackage&lt;br&gt;
It's shows error &amp;quot;Replaced Part: /xl/worksheets/sheet1.xml part with XML error.&amp;nbsp; Illegal xml character. Line 92954, column 25.&amp;quot;&lt;br&gt;
and i check the char is&amp;nbsp;&amp;amp;#xB;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;
&amp;amp;#xB; is a vertical tab control character...I wonder how that is getting into your SQL Database in the first place.&lt;br&gt;
&lt;/div&gt;</description><author>slide_o_mix</author><pubDate>Tue, 01 Jul 2008 21:32:41 GMT</pubDate><guid isPermaLink="false">New Post: How to filter invaild XML char? 20080701093241P</guid></item></channel></rss>