Could you please provide us the sample MPP file that gives error when imported using Aspose.Tasks API? We’ll investigate it further and assist you further in this regard.
PS: I would request you to please use the latest version of Aspose.Tasks for .NET 5.4.0 in your applications to see if the problem still exists.
I have tested this issue at my end with the latest version of Aspose.Tasks for .NET 5.4.0 and, unfortunately, I could not reproduce it at my end with the following lines of code. Could you please share your sample application with us so as we can reproduce this issue at our end and assist you further?
I have tried to open this link but getting following error:
"404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable."
It seems that this mechanism may not be that helpful to identify the issue. Could you please send some standalone application which can be used to re-produce this issue? It will help us to analyze your code and provide assistance as soon as possible.
With your test file, I was able to observe the issue at my end. But unfortunately, with the latest version of Aspose.Tasks for .NET 5.4.0, I am unable to reproduce the TaskReadingException while loading the file. Can you please confirm to us if you are using the latest version of Aspose.Tasks as I have mentioned? If so, I would request you to please provide us a standalone sample application that can be used to reproduce the issue at our end for reporting to the development team (as this is a must step before we report any bug/issue). I appreciate your cooperation in this regard.
If your subscription is still valid, you can download the latest build of Aspose.Total and test your application with it. It contains the latest builds of all the products and your issue can be verified with it. If your license for Aspose.Total is expired, you may contact our Sales team for renewel by writing on Aspose.Purchase forum. Please let us know if we can be of any additional help in this regard.
Our ASPOSE license is currently valid. So if I understand what you are telling me, .total incorporates what .tasks does. If we update our version it should solve the issue?
I found this thread while googling for the same error. I have just upgraded to 5.4.0 but I still get the error. The file I am trying to read have been produced with 5.4.0 as well.
I can’t attach the file here - but I can email it to you?
Update - it seems to be related to Ressources. I have a setting in my system to include ressources or not. The file failing has ressources included, but if I disable this (for the same input) I do not get the error.
The following sample code shows how I add Ressources:
Please let us know when you are done with your testing. If the error still persists, I would request you to please create a sample console application that can be used at our end to reproduce this issue. We’ll look into it and assist you further.
After installing the updated dlls that you provided the import issue is solved. I am now able to import the saved .mpp file from MSP2013 without any problems. I am, however, experiencing another issue that I hope you are able to help me with.
When I import a xml file from our project planning software it creates a xml file that MSP will import. Everything comes in nicely, but when you save the file, therefore creating an .mpp file, and then re-open the .mpp file all of the tasks are assigned to the last resource on the MSP resource sheet. All of the resources are listed on the resource sheet, but the filter on the Gnatt chart will only list the one resource.
I am completely stumped here. I am unable to recreate the problem with a file that is created in MSP2013, only files that come in from our planning software and imported into MSP. Any ideas?
Thanks for writing to Aspose.Tasks support team again.
We may succeed in re-producing the issue using your application at https://cadenceprojectmaster.com/login.aspx, but it is not sufficient to identify the exact problem. We need to know the detail where Aspose.Tasks is used in your application so that actual issue is traced and rectified.
Therefore for detailed analysis, we would request you to please provide us the sample XML file along with the standalone console application which can be used to re-produce this issue. It will help us to provide you assistance in a better way.
I’ve attached the xml file that was exported from our software. The xml file is easily imported into MSP2013, but if you save it to an mpp file, close MSP2013 then reopen the mpp file, the result is that all of the tasks are now assigned to the last person on the resource sheet. I’m not even sure that this is a .task issue, but I was hoping that you or one of your colleagues had seen something like this before.
I am really sorry for the inconvenience caused to you.
I am afraid to inform that this information is insufficient to investigate the issue as until and unless we don’t have the detail of code used to create this XML, we cannot identify the reason how this problematic XML is created. After knowing the detail of XML creation, we will be in a better position to analyze the issue further.
Could you please arrange some sample console application which can be independently used to create this XML file? Once we have this code, we will assist you further regarding the resources issue in the resultant MPP file in MSP 2013.