Hi ,I come from china.little pg use netadvantage sdk in china,so i need your help.
my english is very poor,so need your forgiveness.
when i save excel2007 file using Workbook. Save(string fileName) in netadvantage10.2;
there is a err:
packageFactory cannot be null. When saving to Excel2007 workbook format and using the Infragistics2.Excel assembly,
you must provide an IPackageFactory to handle the packaging of data.
If you are using the DotNet Framework 3.0 or higher,
use the Infragistics3.Excel assembly instead,
and the packaging will be handled by the WindowsBase class
i dont konw how to use the interface IPackageFactory .
ps: code is more helpful than words;
thanks.
That version of the Excel library did not support saving to Excel 2007 formats. Your only options are to upgrade to a newer version, export to multiple worksheets instead of just one (if that fits your needs), or use another code library, such as Excel interop.
Hello! plase can you help me?
i have infragistic 2006 and i need to export to excel 2007, more that 65000 rows! but i cant!!
what do yo recommend?? please help me!!
Gladys
Thanks Brian,
The issue is resolved. Thanks for all the help from Infragistics.
Thanks & Regrda,Girish Nehte
Hello Girish,
If you are using the "version free" assemblies, i.e. the asemblies that start with only "Infragistics" and do not have "v10.3" in their name, then you can get the updated Infragistics.Excel.dll from the updated 20103_WinForms_VersionFree.zip file. This zip is, by default, found in C:\Program Files (x86)\Infragistics\NetAdvantage 2010.3\Windows Forms\Version-Free. Once your project is using the service release version of the dlls, then it should resolve the issue.
If you are using the assemblies that start with "Infragistics2" or "Infragistics3" and have "v10.3" in their name, then you can find them in the Bin folder which is, by default, located at C:\Program Files (x86)\Infragistics\NetAdvantage 2010.3\Windows Forms\Bin. You would use the Infragistics3.Excel.v10.3.dll in your project.
To get yourself corrected, you should use your service release version, 2094, for all of the assemblies you are referencing. You should also make sure that you are using either all of the version free assemblies or all of the versioned assemblies. This should get you back into a consistent state within the project and help resolve the issue.
The "Signed" assemblies from the "Bin - Signed" folder that you mentioned are the same assemblies found in the Bin folder with the exception of being digitally signed with a VeriSign code signing certificate.
Hi Mike,
I have got the latest release. Name of the setup file is ""NetAdvantage_WinForms_20103.2094_SR.msp". I have installed it. Now in the installation folder In "Bin - Signed" folder I found a zip file "20103_WinForms_CLR2x_Signed.zip" I have tried replacing my assembly to the new assembly (version free)installed by release but still I am getting the same error
Does name of the zip file indicates that assemblies are build in CLR2?Does that mean that I did not have correct setup / release?
I request you to please confirm this?
Thanks & Regards,Girish Nehte