I am receiving the following error when I try to instantiate the doc object as follows:
Dim doc As Document = New Document(System.IO.Path.Combine(DocPath,“test.doc”))
Method not found: Void System.IO.Stream.Finalize()
I am receiving the following error when I try to instantiate the doc object as follows:
Dim doc As Document = New Document(System.IO.Path.Combine(DocPath,“test.doc”))
Method not found: Void System.IO.Stream.Finalize()
Hi
Thanks for your request. Could you please tell me how I can reproduce such problem on my side? Attach sample document, if it is needed or just create simple applications that will demonstrate the problem. I will investigate the issue and provide you more information.
Best regards.
Funny thing is that the Word document renders fine when I run it on my via Visual Studio 2005 on my local machine. It’s when I move the web project to a remote model server where I experience the error. The .Net framework was upgraded to 3.5 on the model server. Could that be it? Would an upgrade of the Aspose.Word.dll help? I currently have 2.1.14.0
I even used the fully qualified name for the Document object but it didn’t seem to help:
Dim doc As Aspose.Word.Document = New Aspose.Word.Document(System.IO.Path.Combine(DocPath, “test.doc”))
Hi
Thanks for you request. .NET 3.5, it is based on the ASP.NET 2.0 core fundamental. .NET 3.5 is merely a set of additional system libraries that extend the 2.0 runtime. Therefore, there cannot be any problems with Aspose.Words run under .NET 3.5 framework.
However, Aspose.Words you have is very old and I would like to advice you to upgrade to the latest version:
http://www.aspose.com/community/files/51/file-format-components/aspose.words/entry158153.aspx
Best regards.
Alexy,
Do I have to purchase another license for the latest upgrade? If so, the decision is not up to me. That said, are there any hot fixes or free upgrades available for the version I do have?
Also, I currently use Aspose.Word.dll but the newest version use Aspose.Words.dll. Is there a big difference?
Hi
Thanks for your request. Aspose.Word was changed to Aspose.Words . Namespace was changed few years ago.
Every Aspose license carries a one-year subscription for free upgrades to any new versions or fixes that come out during this time. However, I am not sure these versions are still available on our site. The oldest version available on our site is 3.5.0.0
Best regards.
Thank you. I will discuss with the software procurement area of my organization. In the meantime, let me know if you make any headway with the runtime error.
You can also test the latest version of Aspose.Words in evaluation mode on your environment.
Best regards.
I have a version of Aspose.Words 5.0.2.0. How do I reference the license file (Aspose[1].Words.lic) in code. It also came with an Aspose.Words.xml file as well. Do I need to use that anywhere?
Guess what. I tried the 3.3.1.0 version of Aspose.Word on a whim and the error message is gone. Thanks so much for steering me in the right direction!
Hi
Thanks for your request. Please see the following link to learn how to set license:
Best regards.