Hello Everyone,
I ran into a project reading exception today that seems very odd.
I am able to read MS project 2016 files normally. However, the last two I tried returned a project reading exception, and I can’t figure what’s wrong with my code, or my file.
Here are the description of the files I attached here in order to show the issue.
print1.png (7.7 KB) “print 1” shows exactly where I am having issues. Basically, the variable “projeto” reads the MS project file that is located in
a path provided by the variable “nome arquivo”.
Right after trying to read it, the exception is thrown.
print2.png (37.5 KB)
“print 2” shows the error that caused the code to throw the exception.
https://drive.google.com/file/d/0B7lcW54NL9GFUmxsSzlEQ2M0TUU/view?usp=sharing
Here is the .mpp file I am trying to read.
I have to say that I have tried other .mpp files from the same version and my code was able to read them normally.
I don’t think this is a version problem since I have updated my code to use a more recent version.