Thank you for contacting support. We have tested your sample OneNote document against the latest build of Aspose.Note for .NET 1.3.1.0. It’s working perfectly. We have attached output PDF document for your reference. In case this does not help, then please provide us your error description and environmental details. We’ll check and reply you accordingly.
Thank you for your inquiry. We have tested your recent OneNote document against the latest build of Aspose.Note for .NET 1.3.1.0. It is an old format version. Currently, we support Microsoft OneNote 2010 and 2013. As a workaround, please upgrade your OneNote document to the 2010/2013 formats, and then convert it to PDF format. Please go through the help topic here. We have already logged a feature request under ticket id NOTENET-533 in our issue tracking system. It is to support old OneNote formats. This forum thread has also been linked to this issue. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused.
Furthermore, we could not reproduce the error message said. It will be so nice of you if you can prepare a sample project application which reproduces the issue on your side and attach it here. Also, please share the complete details of your working environment. It’ll help us to be more specific. Please reply to the following questions:
What is the Operating System name, edition and 32 & 64 bit (e.g. Windows 7 Ultimate 64 bit)
What is the MS Visual Studio version, edition and other details?
What is the local language and settings etc?
What is the .NET Framework of your application project?
Any other information that you think is necessary.
Thank you for your inquiry. We’re sorry to share with you that we could not reproduce this error message on our side. We need to be more specific. Please share other environment details those we have asked in our earlier post.
Thank you for the details. We’re testing your provided OneNote documents against the latest build of Aspose.Note for .NET. Currently, we support Microsoft OneNote 2010 and 2013. So when we’re loading your sample OneNote 2007 document, it shows an error message as follows:
Message: This version of file does not supported.
Which seems perfect to us. However, we’ll investigate based on your environment details and let you know about our findings in a couple of days. Please spare us a little time.
Thank you for the reply. I have attached a sample OneNote document along with the output PDF file. One more thing, please use the latest Hotfix release version 1.3.2.0. Although, we’re checking your sample documents with both 1.3.1.0 and 1.3.2.0. It’s download url is: Aspose.Note for .NET 1.3.2.0. Its fixes will be included in the next full release.
We managed to replicate the error message said by using Aspose.Pdf.Document class object because we noticed that you’re passing Aspose.Pdf.SaveFormat object. If it’s so, then please use Aspose.Note.Document class object and let us know how it goes your side.
Sample Code:
[.NET, VB]
Dim NoteLicense As Aspose.Note.License = New Aspose.Note.License()
NoteLicense.SetLicense(“C:\temp\Aspose.Total.lic”)
Dim oneFile AsNew Aspose.Note.Document(“C:\temp\Kossan.one”)
oneFile.Save(“C:\temp\Output.pdf”, Aspose.Note.SaveFormat.Pdf)
We hope, this helps. Please feel free to reply us in case of any confusion or questions.