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


I'm just testing out the DocIO library and I wrote a simple little app to just open a document:

WordDocument doc1 = new WordDocument();


But when I run it I'm getting an IndexOutOfRangeException.

Here's the stack trace:

Syncfusion.Core.Licensing.Hex.decode(String data)
Syncfusion.Core.Licensing.UnlockKeyInfo.ExtractPrefixVersionInfo(String str)
Syncfusion.Core.Licensing.UnlockKeyInfo..ctor(String key, String filterVersion)
Syncfusion.Core.Licensing.UnlockKeyInfo..ctor(String key)
Syncfusion.Core.Licensing.FusionLicenseProvider.Validate(String str)
Syncfusion.Core.Licensing.FusionLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license)
System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
Syncfusion.Core.Licensing.LicensedComponent..ctor(Type type)
CherryHillInterfaceExtensions.Mapping.GetTextFromWordDocumentSync(String filepath) in D:\Projects\KCC Interface Projects\Customers\Colorado East\Cherry Hill\CherryHillInterfaceExtensions\Mapping.cs: line 109
CherryHillInterfaceExtensionsTest.MappingTests.TestReadSyncDoc() in D:\Projects\KCC Interface Projects\Customers\Colorado East\Cherry Hill\CherryHillInterfaceExtensionsTest\MappingTests.cs: line 167

I originally was having problems with licensing when I ran it. It would reach the "new WordDocument()" statement and a pop up would happen that said it would fix the project by adding the licensing file. After doing this I then get this exception when it reaches that line instead.

Any help would be appreciated.


3 Replies

JA Jafrin Syncfusion Team November 5, 2009 01:09 AM

Hi Andreas,

Thank you for your patience.

The another special character used in DocIO is “\v”. “\v” insert a line break in the document. Could you please find the sample from the below link.


Please let us know if you have any questions.

Jafrin J

JA Jafrin Syncfusion Team November 5, 2009 01:45 AM

Hi Jordan,

I apologies for the wrong update.It has been updated by mistake. Please ignore the previous update.

Sorry for the inconvenience.

Jafrin J

DR Daniel Rütimann May 25, 2011 11:01 AM

Is there any solution to the original problem posted here? I have the same exception when trying to Save a WordDocument using DocIo.

Live Chat Icon For mobile
Up arrow icon