Project Server
150 TopicsConnecting Microsoft Project with Python
Hello, I'm stuck in the development of a system that automates Microsoft Project, I hope you can give me a clue where to go from here. In the company where I work we need to automate the creation and modification of tasks in Microsoft Project. We use Project Web App (PWA) in SharePoint. The thing is that due to technical requirements our system is based on Python so it would be great to be able to connect with Python to MS Project. I did it, I connect to MS Project Professional using PyWin32 and I managed to create projects, upload them to PWA, and create/modify the 100.000 tasks. Where is the problem? It is extremely slow and takes many hours to create/modify all the tasks, which makes it unfeasible and I need a faster solution. I think it is because I have connected using win32com and this slows down the work. I also think that VBA for Microsoft Project is not very fast. Does anyone know of a faster way to get me to connect to Project? Maybe directly accessing PWA from Python? But I haven't managed to do that. I would have to create my own Python API? Any other alternative you can think of would be appreciated. Thank you very much and hopefully we can do it. Darío. Pipeline TD1.9KViews1like0CommentsProject Server 2013 -> 2019 Migration - No Project Web App instances found error
Hi all, I'm currently in the midst of a Project Server 2013 ->2016 ->2019 migration. Upgrade to Project Server 2016 went smooth, PWA is reachable and all data seems to be there. Continued with the upgrade steps to Project Server 2019 as described in the MS Docs. Again marked as successful (with a couple of more warning though than on the 2013 -> 2016 migration, but at first nothing to worry). Then opening the PWA and trying to access Project Center or PWA Settings (or other core Project functionalities) gives the following error message: "No Project web app instances found. Create at least one PWA instance before accessing this page". In Central Admin in the Project Service the PWA does not show up. Following this https://spgeeks.devoworx.com/no-project-web-app-instances-found-create-at-least-one-pwa-instance-before-accessing-this-page-in-project-server-2016/https://spgeeks.devoworx.com/no-project-web-app-instances-found-create-at-least-one-pwa-instance-before-accessing-this-page-in-project-server-2016/I tried to enable the pwasite feature, but got the message it already is enabled. So went through the ULS logs and found the following entry: "Cannot create a Platform Context object. Exception was "Microsoft.Office.Project.Server.Library.ProjectInstanceNotFoundException: No rows in MSP_WEB_ADMIN table for the site collection. Possibly PWA was not provisioned or it is deleted" So I checked the pub.MSP_Web_ADMIN table on 2016 for the migrated Content Database - it had 1 entry. Then checked the migrated Content Database on 2019 - no entry. Just being curious, I inserted the entry from 2016 into 2019 (I know, not supported) - and indeed the error message concerning No PWA instances is gone and the PWA shows up in the Project Service. However, I receive a lot of other weird issues now and I guess this is because of some of the entries in the table simply not matching correctly for 2019. BUT: Anyone knows, why the entry possibly did disappear during upgrade from 2016->2019? How can I upgrade this PWA successfully?Solved1.9KViews1like1Comment