S
Scott
I'm hoping someone can assist me with this. I have code in vb.net that opens
project pro - however project pro is opening but it's not connected to
project server, which is the default setting. I get the following error;
You selected a project that was saved to Project Server. Project is unable
to open the selected project. To open projects saved to project server, close
and then reopen project. In the project server accounts dialog box, click
the correct account, and then click connect to establish a connection with
project server.
If i run the code when project pro is open, it runs fine.
Here's how i'm opening project;
Dim pApp As Microsoft.Office.Interop.MSProject.Application
Dim fileName As String
Dim folderName As String, reportingDate As Date
pApp = CreateObject("msproject.application")
pApp.Visible = True
project pro - however project pro is opening but it's not connected to
project server, which is the default setting. I get the following error;
You selected a project that was saved to Project Server. Project is unable
to open the selected project. To open projects saved to project server, close
and then reopen project. In the project server accounts dialog box, click
the correct account, and then click connect to establish a connection with
project server.
If i run the code when project pro is open, it runs fine.
Here's how i'm opening project;
Dim pApp As Microsoft.Office.Interop.MSProject.Application
Dim fileName As String
Dim folderName As String, reportingDate As Date
pApp = CreateObject("msproject.application")
pApp.Visible = True