Exception: StyleName- string cannot be null

Hi,

1)"StyleName- string cannot be null"

----i am getting this exception when i try to add worksheets to another work book. Pls revert back me the solution.

Many Thanks
Senthil Kumar K.
9994228485

5 Replies

GM Geetha M Syncfusion Team September 1, 2009 07:25 AM UTC

Hi Senthil,

Thank you for your continued interest in Syncfusion products.

Could you please send us the workbook and the details of exception such as StackTrace so that we could check here and get back to you?

Regards,
Geetha


SK Senthil Kumar September 1, 2009 07:53 AM UTC

Hi,

Thanks for your reply. pls find the below stacktrace


at syncfusion.xlsio.parser.biff_records.stylerecord.set_stylename(string value)
at syncfusion.xlsio.implementation.collections.stylesCollection.merge(iworkbook workbook,excelstylemergeoptions option,dictionary`2&dicfontindexes,dictionary`2& hashextformatindexes)
at syncfusion.xlsio.implementation.collections.worksheetscollection.addcopy(iworksheet worksheets, excelworksheetcopyflags flags)
at syncfusion.xlsio.implementation.collections.worksheetscollection.addcopy(iworksheets worksheets)
at mycode



i cannt send my excel file due to some restrictions. i tried out your "CopyWorksheetToAnotherWorkbook" in demo samples too but getting the same error.

Many thanks
Senthil Kumar.


GM Geetha M Syncfusion Team September 2, 2009 07:06 AM UTC

Hi Senthil,

Thank you for the update.

We have a similar issue in earlier version of XlsIO and it has been fixed from v7.2.0.37. Could you please consider upgrading to our latest version? You can get the details from the link given below.

Please try this and let me know if you have any questions.

http://www.syncfusion.com/downloads/latest-version

Regards,
Geetha


SK Senthil Kumar September 2, 2009 09:52 AM UTC

Hi,

Thanks for your reply. Will it work in Syncfusionv7.1?

Many Thanks,
Senthil Kumar


GM Geetha M Syncfusion Team September 3, 2009 11:00 AM UTC

Hi Senthil,

As said in my previous update, the fix for the exception problem is available from v7.2.0.37.

Regards,
Geetha

Loader.
Up arrow icon