System.ArgumentOutOfRangeException: Non-negative number required. Parameter name: count


#1

Hello,

Just finished examining the demos and decided to try to open a Word form but alas. I get the above error. I can open simple word files (plain text) but the file that I have to open is seriously formatted.

I searched previous posts and the same problem was encounrered before and was fixed with a hotfix for Word.1.etc . As I'm using 3.x I'm not sure a previous hotfix can help me.

Waiting for any ideas,

nimloth


#2

Hi,

Thank you for considering Aspose.

Please attach the problematic document and post a snippet of code you are using.


#3

Thanx for the fast reply!

I've attached the document.

The code just tries to open the file located at c:\

Dim word As Word = New Word

Dim doc As Document = word.Open("c:\Sartorius.doc")


#4

And here’s the font in use :SartoriusRotisSans.


#5

I guess preview deletes the previously selected attachment so here it is again.


#6

Thanks. We will try to fix this as soon as possible, please check back later.


#7

Hi Dmitry,

I have to make a decision to choose a component for populating Word in .NET in a very short time so I would be grateful if you could come up with a solution to my problem. This post was down in the list so I decided to post a reminder.

Cheers,

Ayse


#8

I've actually fixed this, but not yet published a hotfix. I will publish the hotfix tomorrow.

There is a document variable that is >45K characters long in the document and it was causing the problem.


#9

Fixed and release Aspose.Word 3.3.1


#10

Thanks a lot. I will try it immediately.

Cheers,

Ayse