C
Chris
I can create and publish projects. Now, I nwant to create a task. I can do
that, I can save it and project can open this, but during checking in I get
the error: correlation blocked. My code is:
webSvcProject1.ProjectDataSet dsProject = new webSvcProject1.ProjectDataSet();
webSvcProject1.ProjectDataSet.ProjectRow projectRow =
dsProject.Project.NewProjectRow();
Guid projectGuid = Guid.NewGuid();
projectRow.PROJ_UID = projectGuid;
projectRow.PROJ_TYPE = (int)PSLibrary.Project.ProjectType.Project;
projectRow.PROJ_NAME = "name";
dsProject.Project.AddProjectRow(projectRow);
webSvcProject1.ProjectDataSet.TaskRow taskRow = dsProject.Task.NewTaskRow();
taskRow.PROJ_UID = dsProject.Project[0].PROJ_UID;
taskRow.TASK_UID = Guid.NewGuid();
taskRow.AddPosition = 0;
taskRow.TASK_NAME = "task";
dsProject.Task.AddTaskRow(taskRow);
Guid jobGuid = Guid.NewGuid();
project.QueueCreateProject(jobGuid, dsProject, false);
What is wrong??????
Does anyone know?
that, I can save it and project can open this, but during checking in I get
the error: correlation blocked. My code is:
webSvcProject1.ProjectDataSet dsProject = new webSvcProject1.ProjectDataSet();
webSvcProject1.ProjectDataSet.ProjectRow projectRow =
dsProject.Project.NewProjectRow();
Guid projectGuid = Guid.NewGuid();
projectRow.PROJ_UID = projectGuid;
projectRow.PROJ_TYPE = (int)PSLibrary.Project.ProjectType.Project;
projectRow.PROJ_NAME = "name";
dsProject.Project.AddProjectRow(projectRow);
webSvcProject1.ProjectDataSet.TaskRow taskRow = dsProject.Task.NewTaskRow();
taskRow.PROJ_UID = dsProject.Project[0].PROJ_UID;
taskRow.TASK_UID = Guid.NewGuid();
taskRow.AddPosition = 0;
taskRow.TASK_NAME = "task";
dsProject.Task.AddTaskRow(taskRow);
Guid jobGuid = Guid.NewGuid();
project.QueueCreateProject(jobGuid, dsProject, false);
What is wrong??????
Does anyone know?