We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Docx File Printing Issue

Hi Team,
We are doing a POC to convert our existing project from Syncfustion version 10.x to 14.x (exact version is "14.3.0.52"). 

The technology we are using ASP.NET and Silverlight (.NET 4.0 version).

We downloaded the version "14.3.0.52" (from "syncfusionessentialfileformats.zip" file) from your website and installed it into following location,
"C:\Program Files (x86)\Syncfusion\Essential Studio\14.3.0.52\precompiledassemblies\14.3.0.52".

Can you please let us know the answer for following questions/issues,

1. We could not find the Silverlight binaries at following location? what are the alternatives?
C:\Program Files (x86)\Syncfusion\Essential Studio\14.3.0.52\precompiledassemblies\14.3.0.52

Missing Silverlight Libraries
Syncfusion.Chart.Silverlight.dll
Syncfusion.Compression.Silverlight.dll
Syncfusion.DocIO.Silverlight.dll
Syncfusion.Pdf.Silverlight.dll
Syncfusion.Server.Silverlight.dll
Syncfusion.Shared.Silverlight.dll
Syncfusion.XlsIO.Silverlight.dll

2. I could not find the following .NET 4.0 binaries at following location, what are the alternatives?
C:\Program Files (x86)\Syncfusion\Essential Studio\14.3.0.52\precompiledassemblies\14.3.0.52\4.0

Missing.NET Libraries
Syncfusion.Calculate.Base.dll
Syncfusion.Calculate.Web.dll

3. After we upgrade the Syncfusion version, we are getting following error for some document printing.

"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"

Stack Trace
  at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.System.Collections.IList.get_Item(Int32 index)
   at Syncfusion.DocIO.DLS.WCellCollection.get_Item(Int32 index)
   at Syncfusion.DocIO.DLS.BookmarkStart.GetBkmkContentInDiffCell(WTable bkmkTable, Int32 startTableRowIndex, Int32 endTableRowIndex, Int32 startCellIndex, Int32 endCellIndex, WTextBody textBody)
   at Syncfusion.DocIO.DLS.TextBodyPart.GetParagraphAfterTableBkmkContent(WParagraph paragraphStart, WParagraph paragraphEnd, BookmarkStart bkmkStart, BookmarkEnd bkmkEnd)
   at Syncfusion.DocIO.DLS.TextBodyPart.GetBookmarkContentPart(BookmarkStart bkmkStart, BookmarkEnd bkmkEnd)
   at Syncfusion.DocIO.DLS.BookmarksNavigator.GetBookmarkContent()
   at xx.xx.xx.DocBuilder.Document.AddPreservedTemplate(Table table) in C:\xxx\xx\xx\xxDocBuilder\Document.cs:line 959


We did a sample project (see the attached file) to recreate the issue.
As per the the template (i.e. file "LWReportTemplate1.docx"), we are creating multiple loan sections using "Loan" table.
This code is working fine with syncfusion DocIO and related 10.x.x.x version. Once we upgraded sysncfusion DocIO and related dlls with version 14.300.0.52, we are getting above error.

Please let us know if you need further details.

   

Attachment: SyncFusionSampleProject_1e3f0bd4.zip

1 Reply

VR Vijay Ramachandran Syncfusion Team November 11, 2016 01:59 PM UTC

Hi Anslum,

Thank you for contacting Syncfusion support.

Kindly follow the support incident to track the status of your query which has been already created under your account. Please log on to our support website to check for further updates,

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let me know if you have any questions.

Regards,
Vijay R


Loader.
Up arrow icon