aspose-free-consulting / projects

The starting point for Aspose free consulting projects
5 stars 5 forks source link

System.Xml.ReaderWriter Version error, #226

Closed rajeshsanam closed 1 year ago

rajeshsanam commented 1 year ago

Hi, We are planning to upgrade from aspose words 14.3 to 22.7, iam getting the below error please help me out. Im using .net framework 4.7.2.

Error CS1705 Assembly 'Aspose.Words' with identity 'Aspose.Words, Version=22.7.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56' uses 'System.Xml.ReaderWriter, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Xml.ReaderWriter' with identity 'System.Xml.ReaderWriter, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

AlexNosk commented 1 year ago

@rajeshsanam Do you reference Aspose.Words via Nuget? Could you please create a simple project that will allow us to reproduce the problem? We will check the issue and provide you more information. It looks like some reference conflict. Have you tried removing and then adding reference to System.Xml in your project?

rajeshsanam commented 1 year ago

Hi , I want to merge word documents of around 10 pages each with 800 docx files in it and make a single word Docx , i couldnt find any sample project to Merge word documents could please provide any inputs and also if aspose would be able to Convert that many docs ? , If so please share any link of the sample project. This will be really helpful for me to upgrade to new version.

AlexNosk commented 1 year ago

@rajeshsanam You can use Document.AppendDocument method to append one document to another. Please see our documentation more more information: https://docs.aspose.com/words/net/insert-and-append-documents/#append-a-document

But please note that 8k pages DOCX document is quite large and it is not recommended to create such large document. MS Word and other consumers might hang on processing such large documents.

rajeshsanam commented 1 year ago

I have downloaded a trail version if the 22.7 version off DLL from the aspose website.Please help me using trial version for testing purpose before we purchase. PLease check the below error which iam getting.

The subscription included in this license allows free upgrades until 02 May 2015, but this version of the product was released on 01 Jul 2022. Please renew the subscription or use a previous version of the product.

AlexNosk commented 1 year ago

@rajeshsanam The exception says that you are trying to apply an expired license. If you would like to test Aspose.Words without evaluation version limitations, you can request a temporary 30-days license.

rajeshsanam commented 1 year ago

Dear Support, Iam getting this below error merging a set of word documents. Error Aspose.Words: There is an unclosed literal string. Line 2, position 8385937. Could you please tell me what the issue is ?. I have attached a couple of issue causing documents.

Section27.docx Section28.docx

AlexNosk commented 1 year ago

@rajeshsanam Could you please provide a simple code that will allow us to reproduce the problem? I checked your documents using the latest 22.7 version of Aspose.Words and the document can be successfully processed by Aspose.Words.