I am unable to open some of my OneNote files. they are valid and can be opened by OneNote.
The code is simple:
_one = new Document(inputFileName)
Error Message:
Object reference not set to an instance of an object.
Stack Trace:
at ▬.♠.♦(Document , ▬ )
at ▬.♠.♦(Document , ♦ )
at ▬.♠.♦(Document , ↓ )
at ▬.♠.♦(Document , ☻ )
at ▬.♠.♦(Document , ☺ )
at ▬.♠.♦(Document , ♦ )
at ▬.♠.♦(Document , ♠ )
at ▬.♠.♦(Document , , , ¶ )
at ▬.♠.♦(♥ , Document )
at Aspose.Note.Document.♦(Stream )
at Aspose.Note.Document.♦(String )
at Aspose.Note.Document..ctor(String filePath)
at fti.OneNoteExtractor.AsposeNote..ctor(String inputFileName) in d:\OneNoteExtractor\OneNote\OneNote\AsposeNote.cs:line 17