GeneralInvalidDataStore error

N

Nach

Hi, I was trying to ReadProjects from C# code using the following code
fragment in PS 2007. I am able to read from Published and Draft Databases but
not from Reporting database....does anyone have an idea why ? The reporting
DB is populated with all projects...not sure why I'm getting this error.

Code:

try
{
pj = proj.ReadProject(pjGuid,
TestingPS2007.ProjectWebSvc.DataStoreEnum.ReportingStore);
}
---------------------------
GeneralInvalidDataStore

System.Web.Services.Protocols.SoapException: ProjectServerError(s)
LastError=GeneralInvalidDataStore Instructions: Pass this into PSClientError
constructor to access all error information
at Microsoft.Office.Project.Server.WebService.Project.ReadProject(Guid
projectUid, DataStoreEnum dataStore)
 
V

virsharma

To get the project list from the reporting database (Project Server 2007)

“Select ProjectUID, ProjectName FROM MSP_EPMProject_UserView Order By
ProjectNameâ€

~Virsharma
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top