M
Mehmet Kurt
Hi,
When we want to update timesheet actual work as a programmatically, then
Project Server Web Access Timesheet Detail Page shows an error :
"While communicating with the Project Server an error occured. Check
connectivity with your administrator to determine if further action is
necessary" and Job state is ERROR and also failing and blocking correlation.
My Source Code is
--------------------------------------------------------------------------------
actualsRow = timesheetDs.Actuals.NewActualsRow();
actualsRow.TS_ACT_FINISH_DATE = DateTime.Parse(row["EndDate"].ToString());
actualsRow.TS_ACT_PLAN_VALUE = 10000;
actualsRow.TS_ACT_START_DATE = DateTime.Parse(row["StartDate"].ToString());
actualsRow.TS_ACT_VALUE = Convert.ToDecimal(row["ActualWork"].ToString());
actualsRow.TS_ACT_COMMENT = "Incident";
actualsRow.TS_LINE_UID = timesheetDs.Lines.TS_LINE_UID;
timesheetDs.Actuals.AddActualsRow(actualsRow);
jobUid = Guid.NewGuid();
timeSheetSvc.QueueUpdateTimesheet(jobUid, timeSheetUid, timesheetDs);
Utilities.WaitForQueue(q, jobUid)
--------------------------------------------------------------------------------
Source Code thrown an exception QueueUpdateTimesheet method. [<error
id="26000" name="GeneralQueueJobFailed" GroupType="TimesheetUpdate"]
After an exception, We manual set the actual any value on the timesheet task
line with any value, system set value and fix the timesheet error.
I guess, Project Server has a bug. We need your help ? Thanks
When we want to update timesheet actual work as a programmatically, then
Project Server Web Access Timesheet Detail Page shows an error :
"While communicating with the Project Server an error occured. Check
connectivity with your administrator to determine if further action is
necessary" and Job state is ERROR and also failing and blocking correlation.
My Source Code is
--------------------------------------------------------------------------------
actualsRow = timesheetDs.Actuals.NewActualsRow();
actualsRow.TS_ACT_FINISH_DATE = DateTime.Parse(row["EndDate"].ToString());
actualsRow.TS_ACT_PLAN_VALUE = 10000;
actualsRow.TS_ACT_START_DATE = DateTime.Parse(row["StartDate"].ToString());
actualsRow.TS_ACT_VALUE = Convert.ToDecimal(row["ActualWork"].ToString());
actualsRow.TS_ACT_COMMENT = "Incident";
actualsRow.TS_LINE_UID = timesheetDs.Lines.TS_LINE_UID;
timesheetDs.Actuals.AddActualsRow(actualsRow);
jobUid = Guid.NewGuid();
timeSheetSvc.QueueUpdateTimesheet(jobUid, timeSheetUid, timesheetDs);
Utilities.WaitForQueue(q, jobUid)
--------------------------------------------------------------------------------
Source Code thrown an exception QueueUpdateTimesheet method. [<error
id="26000" name="GeneralQueueJobFailed" GroupType="TimesheetUpdate"]
After an exception, We manual set the actual any value on the timesheet task
line with any value, system set value and fix the timesheet error.
I guess, Project Server has a bug. We need your help ? Thanks