Proj 2007 PSI: ReadStatus Question

T

tfz

Hello,

I am trying to run the ChangeXMLUtil application from the Project 2007 SDK.
When I hit the line for the ReadStatus call
(statusingSvc.ReadStatus(Guid.Empty, DateTime.MinValue, DateTime.MaxValue);),
it works if I supply an assignment GUID, but returns a
GeneralUnhandledException if I send in Guid.Empty.

Does anyone have any ideas why that might be?

Thank you!
--tfz
 
T

tfz

Well, I may have found the answer to my own question. I installed the
logviewer utility from http://www.codeplex.com/features

and it showed:

Exception occurred in method Statusing.ReadStatus
System.Data.ConstraintException: Failed to enable constraints. One or more
rows contain values violating non-null, unique, or foreign-key constraints.
at System.Data.DataSet.FailedEnableConstraints() at
System.Data.DataSet.EnableConstraints() at
System.Data.DataSet.set_EnforceConstraints(Boolean value) at
Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.FillTypedDataSet(DataSet
typedDataSet, String[] tables, SqlCommand sqlCommand) at
Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.FillTypedDataSet(DataSet
typedDataSet, String[] tables, String storedProcedureName, SqlParameter[]
parameters) at
Microsoft.Office.Project.Server.DataAccessLayer.StatusingDal.ReadStatusTyped(Guid residForSecurity, Strin...

so, it looks like it might be a problem with my data.

--tfz
 

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