Cannot open xml file in MS Project

Hi there,


I am using Aspose.Tasks to import and export between java code and MS Project files.

The import is working OK but as for exporting, everything seems ok but when I try to open the xml file in MS Project it gives me the following error:

"We’re sorry. There seems to be a problem with this file that keeps us from opening it.

Please try using a backup copy if available."

But there is no more information, I don’t known what is wrong exactly…

I am sending the xml file. Can you help me diagnosting the error from the file, please? Thank you.
renata

Hi Renata,


Thank you of writing to Aspose Support team.

Could you please share with us how you are generating the XML file? We’ll need any sample code and input XML/MPP files that you are using at your end for investigating the issue and assisting you further.

Thank you for the quick reply.


The code as a lot of files and dependencies. I am attaching the java class where I use Aspose.Tasks, I hope this can be helpfull.

The method to export is “exportProjectFile”(Long, Locale)", which calls “loadPlanFromDB(Long, Locale)”.

Thank you very much!
renata

Hi Renata,


Despite our best efforts, we were unable to find a cause using the code sample you have shared as there are missing files and dependencies in the sample files you provided. We would request you to please share a simple project or runnable code that can be used to reproduce the same at our end and investigate it further. We’ll look into it for assisting you accordingly.