SCSM 2012 SP1 Data Warehouse Jobs failed with error message of <xxxx>vw is not updatable because a partitioning column was not found.

Wyatt Wong 116 Reputation points
2020-12-02T06:55:13.05+00:00

I found 4 data warehouse jobs have a Failed status. After further checking, the error messages mentioned "UNION ALL view '<xxxx>vw' is not updatable because a partitioning column was not found." How can I resolve the issue ?

Load.Common
Transform.Common
Load.CMDWDataMart
Load.OMDWDataMart

Service Manager
Service Manager
A family of System Center products for managing incidents and problems.
209 questions
{count} votes

Accepted answer
  1. D B 111 Reputation points
    2020-12-03T23:38:36.76+00:00

    steps provided by MS Support...I did these with all the job schedules disabled...

    on the datawarehouse SQL server...

    select max(datekey) from DWRepository..DateDim --should be 20501230
    select max(datekey) from DwDataMart..DateDim --should be 20501230
    select max(datekey) from CMDwDataMart..DateDim --should be 20501230
    select max(datekey) from OMDwDataMart..DateDim --should be 20501230

    If your errors are caused by this issue, the above queries will return 20201230

    If date keys are from Dec 2020, please use the below steps:

    1. Backup all DW DBs
    2. Add additional date keys until 2050
      Exec DWRepository.dbo.PopulateDateDim '20210101','20501231'
      Exec DwDataMart.dbo.PopulateDateDim '20210101','20501231'
      Exec CMDwDataMart.dbo.PopulateDateDim '20210101','20501231'
      Exec OMDwDataMart.dbo.PopulateDateDim '20210101','20501231'
    3. rebuild the constraints on all 2021 fact tables by using the following script Run the following on DWRepository, DWDatamart, CMDwDatamart, OMDwDatamart

    declare @objName sysname, @newChk as nvarchar(max)
    declare c cursor local FORWARD_ONLY READ_ONLY for
    select name from sys.sysobjects where xtype='C' and name like '%_2020_Dec_Chk' escape '\' order by 1
    open c; while 1=1 begin; fetch c into @objName if @@Fetch _STATUS<>0 break;
    set @objName = replace(@objName,'_2020_Dec_','_2021_Jan_')
    set @objName = replace(@objName,'_Chk','')
    set @newChk=replace('ALTER TABLE [dbo].[XYZFact_2021_Jan] WITH CHECK ADD CONSTRAINT [XYZFact_2021_Jan_Chk] CHECK (([DateKey]>=(20210101)));ALTER TABLE [dbo].[XYZFact_2021_Jan] CHECK CONSTRAINT [XYZFact_2021_Jan_Chk];','XYZFact_2021_Jan',@objName)
    exec sp_executesql @newChk
    end; close c; deallocate c;

    1. Restart Microsoft Monitoring Agent

    After this I was able to manually start each of the failed jobs, waited for completion, then enabled my job schedules.

    6 people found this answer helpful.

38 additional answers

Sort by: Most helpful
  1. Pablo Schlegel 6 Reputation points
    2020-12-03T19:03:51.117+00:00

    I have the same problem since 01-Dec-2020 (SCSM 2016)

    0 comments No comments

  2. Andrew Gordon 11 Reputation points
    2020-12-03T22:05:03.947+00:00

    This is a list of my Facts that are showing errors. Does anybody else see the same ones?

    LoadCMDWDataMart02ComputerHasSoftwareUpdateInstalledFact
    LoadCMDWDataMart02ComputerHostsLogicalDiskFact
    LoadCMDWDataMart02ComputerHostsOperatingSystemFact
    LoadCMDWDataMart02ComputerHostsProcessorFact
    LoadCMDWDataMart02ConfigurationManagerCollectionHasComputer
    LoadCMDWDataMart02DeployedComputerRunsWindowsComputerFact
    LoadCMDWDataMart02GroupContainsConfigItemFact
    LoadCMDWDataMart02PowerActivityDayFact
    LoadCMDWDataMart02ServiceContainsConfigItemFact
    LoadDWDataMart02ActivityStageDurationFact
    LoadDWDataMart02ActivityStatusDurationFact
    LoadDWDataMart02ChangeRequestStatusDurationFact
    LoadDWDataMart02EntityManagedTypeFact
    LoadDWDataMart02EntityRelatesToEntityFact
    LoadDWDataMart02IncidentStatusDurationFact
    LoadDWDataMart02IncidentTierQueueDurationFact
    LoadDWDataMart02ProblemStatusDurationFact
    LoadDWDataMart02ReleaseRecordStatusDurationFact
    LoadDWDataMart02ReviewerDecisionDurationFact
    LoadDWDataMart02ServiceRequestStatusDurationFact
    LoadDWDataMart02ServiceRequestSupportGroupStatusDurationFact
    LoadDWDataMart02SLAInstanceInformationFact
    LoadOMDWDataMart02ComputerHostsLogicalDiskFact
    LoadOMDWDataMart02ComputerHostsOperatingSystemFact
    LoadOMDWDataMart02ComputerHostsProcessorFact
    LoadOMDWDataMart02ConfigurationManagerCollectionHasComputer
    LoadOMDWDataMart02DeployedComputerRunsWindowsComputerFact
    LoadOMDWDataMart02GroupContainsConfigItemFact
    LoadOMDWDataMart02ServiceContainsConfigItemFact
    TransformEntityManagedTypeFact
    TransformEntityRelatesToEntityFact
    TransformIncidentStatusDurationFact
    TransformIncidentTierQueueDurationFact
    TransformSLAInstanceInformationFact

    0 comments No comments

  3. D B 111 Reputation points
    2020-12-03T22:42:44.883+00:00

    The official answer from Microsoft is to upgrade to SCSM 2016 UR 5 or newer...any versions prior to that were not developed to support dates into 2021 apparently.


  4. Georges Mouawad 11 Reputation points
    2020-12-04T06:56:56.847+00:00

    guys, is any of you facing problem on the management packs aswell? I have a set of reporting management packs that need to be re-deployed because they have a Failed Status, are you facing the same alongside the Transform Load jobs' Failures?

    0 comments No comments