B
Barbara - Austria
On the one hand I hope for all of you that you can’t answer my question since
you never ran into it. On the other hand I hope that anyone has an idea what
I could try:
I have the situation that a timesheet was created at some day. A few days
later this timesheet was deleted. We don’t know exactly when that was done,
but it could be during a timeframe when disk space was full.
The issue is now, that we have the old timesheet data in Reporting DB, but
no information for that timesheetUID in Published DB. When resource create a
new timesheet for that period, there is an error in the queue for Reporting
(Timesheet*). This new timesheet can be found in Published DB with its new
UID, but not in Reporting DB since reporting job fails.
There are no timesheet entries for that old timesheet UID in any
MSP_Timesheet* tables in Published DB. So it seems that deleting went through
successfully in Published DB, but was not updating Published DB.
Error in ‘Manage Queue Jobs‘:
<?xml version="1.0" encoding="utf-16"?>
<errinfo>
<general>
<class name="Queue">
<error id="26000" name="GeneralQueueJobFailed"
uid="6369dc01-c860-40b8-8d60-01eb833e5300"
JobUID="0be13321-74dc-446f-9787-584ca281c98d" ComputerName="xxxxxxx"
GroupType="ReportingTimesheetSave" MessageType="ReportTimesheetSaveMessageEx"
MessageId="1" Stage="" />
</class>
</general>
</errinfo>
ULS tells that there was an System.Data.SqlClient.SqlError because of an
UNIQUE KEY constraint 'UK_MSP_Timesheet'. No duplicate key can be inserted
into 'dbo.MSP_Timesheet' Object (This is a translation)
Attempts to correct:
- Delete, modify, re-create timesheet for this resource and period several
times.
- Create a new timesheet for that resource and period. Force a rebuild of
Reporting DB by backing up and restore of Enterprise fields.
Result: Old Timesheet UID still in Reporting DB. Timesheet UID and actuals
do not match between Reporting DB and Published DB.
- Delete timesheet for that resource and period. Force a rebuild of
Reporting DB by backup and restore of Enterprise fields.
Result: Old Timesheet UID still in Reporting DB.
- Delete all timesheets for that period with Server Settings – Delete
Enterprise Objects – Timesheets. Force a rebuild of Reporting DB by backing
up and restore of Enterprise fields.
Result: Old Timesheet UID still in Reporting DB.
Has anyone an idea how can we get rid of the old timesheet information in
Reporting DB? Where does that information come from when forcing a rebuild of
Reporting DB since I can’t find this old TimesheetUID in Timesheet tables in
Published DB? We don’t want to edit reporting DB since wrong situation will
be back whenever we force another rebuild of Reporting DB in future.
Any ideas are welcome!
Thanks in advance
Barbara
you never ran into it. On the other hand I hope that anyone has an idea what
I could try:
I have the situation that a timesheet was created at some day. A few days
later this timesheet was deleted. We don’t know exactly when that was done,
but it could be during a timeframe when disk space was full.
The issue is now, that we have the old timesheet data in Reporting DB, but
no information for that timesheetUID in Published DB. When resource create a
new timesheet for that period, there is an error in the queue for Reporting
(Timesheet*). This new timesheet can be found in Published DB with its new
UID, but not in Reporting DB since reporting job fails.
There are no timesheet entries for that old timesheet UID in any
MSP_Timesheet* tables in Published DB. So it seems that deleting went through
successfully in Published DB, but was not updating Published DB.
Error in ‘Manage Queue Jobs‘:
<?xml version="1.0" encoding="utf-16"?>
<errinfo>
<general>
<class name="Queue">
<error id="26000" name="GeneralQueueJobFailed"
uid="6369dc01-c860-40b8-8d60-01eb833e5300"
JobUID="0be13321-74dc-446f-9787-584ca281c98d" ComputerName="xxxxxxx"
GroupType="ReportingTimesheetSave" MessageType="ReportTimesheetSaveMessageEx"
MessageId="1" Stage="" />
</class>
</general>
</errinfo>
ULS tells that there was an System.Data.SqlClient.SqlError because of an
UNIQUE KEY constraint 'UK_MSP_Timesheet'. No duplicate key can be inserted
into 'dbo.MSP_Timesheet' Object (This is a translation)
Attempts to correct:
- Delete, modify, re-create timesheet for this resource and period several
times.
- Create a new timesheet for that resource and period. Force a rebuild of
Reporting DB by backing up and restore of Enterprise fields.
Result: Old Timesheet UID still in Reporting DB. Timesheet UID and actuals
do not match between Reporting DB and Published DB.
- Delete timesheet for that resource and period. Force a rebuild of
Reporting DB by backup and restore of Enterprise fields.
Result: Old Timesheet UID still in Reporting DB.
- Delete all timesheets for that period with Server Settings – Delete
Enterprise Objects – Timesheets. Force a rebuild of Reporting DB by backing
up and restore of Enterprise fields.
Result: Old Timesheet UID still in Reporting DB.
Has anyone an idea how can we get rid of the old timesheet information in
Reporting DB? Where does that information come from when forcing a rebuild of
Reporting DB since I can’t find this old TimesheetUID in Timesheet tables in
Published DB? We don’t want to edit reporting DB since wrong situation will
be back whenever we force another rebuild of Reporting DB in future.
Any ideas are welcome!
Thanks in advance
Barbara