<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Thomas Ellermanns view on System Center</title><subtitle type="html">This blog will discuss features, functions and views on Operations Manager and Service Manager</subtitle><id>http://blogs.technet.com/b/thomase/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/thomase/" /><link rel="self" type="application/atom+xml" href="http://blogs.technet.com/b/thomase/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2012-05-29T14:40:00Z</updated><entry><title>Data Warehouse problems after upgrading to SP1</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/thomase/archive/2013/05/13/data-warehouse-problems-after-upgrading-to-sp1.aspx" /><id>http://blogs.technet.com/b/thomase/archive/2013/05/13/data-warehouse-problems-after-upgrading-to-sp1.aspx</id><published>2013-05-13T11:59:00Z</published><updated>2013-05-13T11:59:00Z</updated><content type="html">&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Recently I discovered that an otherwise working SCSM installation had begun to fail the MP synchronization after upgrading to SP1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/6562.DW_2D00_sync_2D00_1.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/6562.DW_2D00_sync_2D00_1.PNG" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;The following error was logged in the event log:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Event ID:&lt;/strong&gt; &lt;em&gt;33333&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;strong&gt;Description:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;em&gt;Data Access Layer rejected retry on SqlError:&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;em&gt;Request: Ral_ExecuteSql -- (statement=exec('IF OBJECT_ID(''[dbo].[WorkItemAffectedUserFact_2013_Jan]'') IS NULL&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;em&gt; BEGIN&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;em&gt; &amp;nbsp; CREATE TABLE [dbo].[WorkItemAffectedUserFact_2...), (RETURN_VALUE=0)&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;em&gt; &amp;nbsp;Class: 16&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;em&gt; &amp;nbsp;Number: 1779&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;em&gt; &amp;nbsp;Message: Table 'WorkItemAffectedUserFact_2013_Jan' already has a primary key defined on it.&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;This is caused by a&amp;nbsp;problem with the management packs trying to sync to the Data Warehouse.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;span style="color: black;"&gt;What's happening is that some of the data warehouse management packs are trying to redeploy after the upgrade to SP1.&amp;nbsp; Several other management packs under the Data Warehouse wunderbar are in a "waiting" state, and the "&lt;/span&gt;System Center Data Warehouse Base Library" MP is in a "failed" state.&amp;nbsp; Looking at a DB trace, you can see that when the MP tries to sync, the T-SQL is querying to see if a "base" PK exists, finds that it does not, and tries to create it&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;To recover from this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;1. Create a backup of your DWDataMart, DWStagingAndConfig, and DWRepository DBs.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;2. For each primary key&amp;nbsp;that shows up in your event logs with the message e.g. "&lt;span style="color: #282828;"&gt;Message: &lt;strong&gt;Table 'ConfigItemServicedByUserFact_2013_Jan' already has a primary key defined on it.&lt;/strong&gt;"&lt;/span&gt;, delete the primary key from the DWRepository DB.&amp;nbsp; For me there were around 70 of them in total that were causing the "System Center Data Warehouse Base Library" MP to fail.&amp;nbsp; This can be done with a T-SQL statement such as the following:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;&lt;em&gt;&lt;span style="color: blue;"&gt;USE&amp;nbsp;&lt;/span&gt;DWRepository &lt;span style="color: blue;"&gt;ALTER TABLE&lt;br /&gt;&lt;/span&gt;dbo&lt;span style="color: gray;"&gt;.&lt;/span&gt;BillableTimeHasWorkingUserFact_2013_Jan &lt;span style="color: blue;"&gt;drop&lt;/span&gt;&lt;span style="color: blue;"&gt;constraint&lt;/span&gt; &lt;br /&gt;[PK_BillableTimeHasWorkingUserFact_2013_Jan]&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Note that your fact table might be a different year and/or month than shown in the example above.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;3. Go to the management packs under the Data Warehouse wunderbar and click on the "redeploy" task on the failed MP.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Once you delete the primary keys, the&amp;nbsp;SQL call will be able to successfully create the new primary keys on the affected tables&amp;nbsp;and the "System Center Data Warehouse Base Library" MP will now be imported, allowing the MPs in a "waiting" state to continue.&amp;nbsp; You will have additional primary keys&amp;nbsp;that you will need to do the same with as well, as the MPs that were waiting will try to create their own primary keys.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;It is very important that you check your event logs for a listing to see which tables and primary keys&amp;nbsp;are affected.&amp;nbsp; If you no longer have these events, you can click on the "redeploy" task on the failed MP to get a new set of events written to the logs.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;4. When cleaned up all Primary key errors and started the redelpoy, &lt;strong&gt;new errors migth occour and you then need to start with step&amp;nbsp;2 again&lt;/strong&gt;, until all the&amp;nbsp;MPs are synced with success&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: arial,helvetica,sans-serif; font-size: small;"&gt;Thanks to Andrew Barton for creating the workaround.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3572305" width="1" height="1"&gt;</content><author><name>Thomas Ellermann</name><uri>http://blogs.technet.com/Thomas-Ellermann/ProfileUrlRedirect.ashx</uri></author><category term="Data Warehouse" scheme="http://blogs.technet.com/b/thomase/archive/tags/Data+Warehouse/" /></entry><entry><title>Failed to Apply UR2 to SCSM 2012 SP1 - Performance Counters not found</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/thomase/archive/2013/04/16/failed-to-apply-ur2-to-scsm-2012-sp1-performance-counters-not-found.aspx" /><link rel="enclosure" type="application/zip" length="385444" href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-03-56-70-01/MOMConnector.zip" /><id>http://blogs.technet.com/b/thomase/archive/2013/04/16/failed-to-apply-ur2-to-scsm-2012-sp1-performance-counters-not-found.aspx</id><published>2013-04-16T10:48:00Z</published><updated>2013-04-16T10:48:00Z</updated><content type="html">&lt;p&gt;I've been updating a couple of SCSM2012 SP1 installations to UR2 and everytime time I run into the same problem -&amp;nbsp;the installation fails.&lt;/p&gt;
&lt;p&gt;The installations fails with: &amp;nbsp;&lt;em&gt;&lt;strong&gt;error occured while executing custom action: "_Installhealthserviceperfcountersforpatching"&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Looking at the SCSM2012_CU_KB2802159_AMD64_7.5.2905.125.msp.0.log I can see the following errors:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;&lt;strong&gt;InstallCounters: LoadPerfCounterTextStrings() failed . Error Code: 0x80070002. momv3 "D:\Microsoft System Center 2012\Service Manager\MOMConnectorCounters.ini"&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;InstallPerfCountersHelper: pcCounterInstaller-&amp;gt;InstallCounters() for the default counters failed. Error Code: 0x80070002. MOMConnector&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;InstallPerfCountersLib: InstallHealthServicePerfCounters() failed . Error Code: 0x80070002. &lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;InstallPerfCountersLib: Retry Count : . &lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;InstallHSPerfCounters: Failed to install agent perf counters. Error Code: 0x80070002. &lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;The arguments are: -2147024894, The system cannot find the file specified.,&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It turns out that the environments were missing a registry entry for the MOMConnector Performance counters and this caused the error. The key missing is: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MOMConnector&lt;/p&gt;
&lt;p&gt;I created the reg entry (found on a SCSM DW MS)&amp;nbsp;and reran the installation of UR2 with success. The reg-file to created the entry is added to this post. Before importing the Reg-File, make sure the path of where SCSM is installed is correct, if not change this linie in the reg-file: &lt;em&gt;&amp;nbsp;""Library"="C:\\Program Files\\Microsoft System Center 2012\\Service Manager\\MOMConnectorPerformance.dll" and then do the import.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note: After the failed installation of the update, all the workflows stopped running and as soon as the updated completed successfully, they started to be processed again.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3567001" width="1" height="1"&gt;</content><author><name>Thomas Ellermann</name><uri>http://blogs.technet.com/Thomas-Ellermann/ProfileUrlRedirect.ashx</uri></author><category term="SCSM" scheme="http://blogs.technet.com/b/thomase/archive/tags/SCSM/" /><category term="UR2" scheme="http://blogs.technet.com/b/thomase/archive/tags/UR2/" /></entry><entry><title>SCSM Active Directory Connector optimization</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/thomase/archive/2013/04/08/scsm-active-directory-connector-optimization.aspx" /><id>http://blogs.technet.com/b/thomase/archive/2013/04/08/scsm-active-directory-connector-optimization.aspx</id><published>2013-04-08T11:26:00Z</published><updated>2013-04-08T11:26:00Z</updated><content type="html">&lt;p&gt;Often customers setup Active Directory connectors to import all objects from the root of the Domain. This means that all users (enabled and disabled), groups and computer objects are imported.&lt;/p&gt;
&lt;p&gt;First thing to consider about the AD Connector is to determine whether we need all objects in the CMDB.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Lets start with the computers:&lt;/em&gt; If you're also using the Configuration Manager connector, there really isn't a&amp;nbsp;need for the AD connector to import all computers, as it only means SCSM needs to import, merge and maintain two sources. All relevant information about the computers are delivered by the SCCM connector. I therefore often recommend my customers not to&amp;nbsp;import computers via the AD Connector. There could of course be examples where the AD connector needs to import computers from AD.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Next up&amp;nbsp;are the AD Groups&lt;/em&gt;: Groups are often not used in SCSM as they don't contain membership and often WIs are assigned to support groups and then to individual user accounts. What I recommend my customer is not to import all AD groups and only import the relevant ones, if any.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Last and final are the User accounts&lt;/em&gt;: The AD connector imports all users in a domain, regardless enabled or disabled. Also if the customer has contacts in AD that are created as Domain users, these are imported as well. If is therefore very important to consider which OUs to import and also whether or not to import both Enabled and Disabled users.&lt;/p&gt;
&lt;p&gt;What I typically do, depending on the&amp;nbsp;customers OU structure,&amp;nbsp;is create separate AD connectors to avoid populating the CMDB with unneeded data.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Create a different run as account for each connector. This will create a separate Monitoringhost.exe process on the workflow management server for each connector when it runs. This makes it easier to see which connector is currently running and how much memory/CPU it is consuming. It also makes it easier to isolate that one process from other workflows/connectors so that it can be terminated without affecting other workflows/connectors running.&lt;/p&gt;
&lt;p&gt;When configuring a connector to only import user accounts that are enabled, you need to use LDAP filters that were introduced in SCSM2012.&lt;/p&gt;
&lt;p&gt;Create the Connector and at the Select Objects option, select 'Users or User Groups' and insert the following LDAP query:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;em&gt;(&amp;amp;(ObjectCategory=User)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/5811.AD-LDAP.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/5811.AD-LDAP.PNG" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt;Unless needed for a purpose, always select the option &amp;lsquo;Do not write null values for properties not set in Active Directory&amp;rsquo;. Using this setting ensures the connectors do not update the same attributes, despite being null.&lt;/p&gt;
&lt;p&gt;This will only import the User accounts that are Enabled.&lt;/p&gt;
&lt;p&gt;When looking in the CMDB with SQL Management studio, you can identify which user is imported with what AD Connector.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;em&gt;Select * from LFXSTG.AD_User Where&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;em&gt;Username = '&amp;lt;Username&amp;gt;'&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This will return the source of the specific user, in this example 3 different connectors - (before the cleanup of duplicate connectors)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1018.AD-LDAP-2.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1018.AD-LDAP-2.PNG" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you then run the SQL Query:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;&lt;em&gt;Select * from LFX.Datasource&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000;"&gt;You will get a list of connectors&amp;nbsp; where the Datasource ID equals the LFX_SourceID from the previus query.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000;"&gt;Setting up the connectors to only import relevant data, helps you keep an optimized and relevant CMDB. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000;"&gt;Remember that Service Manager is not a laundrymat, dirty data doesn't get cleaned when imported :-)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3564068" width="1" height="1"&gt;</content><author><name>Thomas Ellermann</name><uri>http://blogs.technet.com/Thomas-Ellermann/ProfileUrlRedirect.ashx</uri></author><category term="SCSM" scheme="http://blogs.technet.com/b/thomase/archive/tags/SCSM/" /><category term="AD Connector" scheme="http://blogs.technet.com/b/thomase/archive/tags/AD+Connector/" /></entry><entry><title>Orchestrator Runbook to reassign SCSM Incidents</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/thomase/archive/2013/03/12/runbook-to-reassign-incidents.aspx" /><id>http://blogs.technet.com/b/thomase/archive/2013/03/12/runbook-to-reassign-incidents.aspx</id><published>2013-03-12T13:06:00Z</published><updated>2013-03-12T13:06:00Z</updated><content type="html">&lt;p&gt;I was working at a customer that was doing a domain migration. Service Manager was installed in the new domain, but up til now the analysts and users have used their old accounts. The task was to create a runbook, that reassinged all Incidents from the old user account to the new account.&lt;/p&gt;
&lt;p&gt;It was a fairly new installation and there was less than 5.000 incidents to go through. So&amp;nbsp;I decided to use Orhcestrator to be able to run the job, whenever new users were domain migrated.&lt;/p&gt;
&lt;p&gt;I created the following runbook:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/5342.SCO_2D00_Migrate-user.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/5342.SCO_2D00_Migrate-user.PNG" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;First part in the runbook was a Read line activity, to parse a file that contained the newest batch of migrated users. The file had a format of Username,Old_Domain.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/8204.ReadLine.PNG"&gt;&lt;img style="float: left;" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/8204.ReadLine.PNG" alt="" width="369" height="118" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Second part in the runbook found the relevant&amp;nbsp;user in the CMDB, based on the input from the Read Line activity. In order to read the username&amp;nbsp; and domain, I used the following filters:&lt;/p&gt;
&lt;p&gt;[Field('{&lt;strong&gt;Line text from "Read Line"&lt;/strong&gt;}',',',1)]&lt;/p&gt;
&lt;p&gt;[Field('{&lt;strong&gt;Line text from "Read Line"&lt;/strong&gt;}',',',2)]&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/6740.GetOldUser.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/6740.GetOldUser.PNG" alt="" width="316" height="180" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Third part in the runbook was a powershell script, this runs the SMLets&amp;nbsp;locally on the Orchestrator Server and&amp;nbsp;and returns a list of incidents, where the user is the Affected User.&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; To get SMLets to run remotely&amp;nbsp;I normally follow these guidelines: &lt;a href="http://datacenterautomation.at/?p=233"&gt;http://datacenterautomation.at/?p=233&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;Import-module smlets&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;$computername = "SCSM Management Server"&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;$incident = Get-SCSMIncident -ComputerName $computername | Where-Object {$_.AffectedUser -like '{&lt;strong&gt;Display Name from "Get Old User details"&lt;/strong&gt;}*'}&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;if ($incident -ne $Null)&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;{&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $Incidentlist = @()&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach ($ir in $Incident)&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $IncidentList += $ir.ID.value.tostring()&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;}&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The powershell script returned a variable named 'IncidentList' with the related incidents.&lt;/p&gt;
&lt;p&gt;It's not best practise using the Where-Object function, but my limited powershell skills on how to do a filter instead, forced me to use the where-object. Luckily the environment didn't contain that many objects and I belive, it didn't affect performance in general.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/5353.PowershellScript.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/5353.PowershellScript.PNG" alt="" width="345" height="143" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Fourth part in the runbook, used in output from the powershell script to load all the incidents&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/5141.GetIncident.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/5141.GetIncident.PNG" alt="" width="399" height="150" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Fifth part in the runbook, loads the newly migrated user account. I knew the username was the same as the source account and also the name of the new domain. So I read the username from the input file and hardcoded the domain name.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/6445.LoadUser.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/6445.LoadUser.PNG" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Last and final part of the runbook change the Assigned to user with the newly migrated User object for all the Incidents that was previuosly returned.&lt;/p&gt;
&lt;p&gt;I also created a similar runbook that changed the Affected User, which only requires a few changes in the powershell script and the last activity.&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;Get-SCSMIncident -ComputerName $SCSMServer | Where-Object {$_.&lt;span style="background-color: #ffff00;"&gt;AffectedUser&lt;/span&gt; -like '{&lt;strong&gt;Display Name from "Get Old User details"&lt;/strong&gt;}*'}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1104.ChangeAffected.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1104.ChangeAffected.PNG" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3558054" width="1" height="1"&gt;</content><author><name>Thomas Ellermann</name><uri>http://blogs.technet.com/Thomas-Ellermann/ProfileUrlRedirect.ashx</uri></author><category term="SCSM" scheme="http://blogs.technet.com/b/thomase/archive/tags/SCSM/" /><category term="SCO" scheme="http://blogs.technet.com/b/thomase/archive/tags/SCO/" /></entry><entry><title>SCSM Portal error, due to Web Content Server being out of sync</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/thomase/archive/2013/01/13/scsm-portal-error-due-to-web-content-server-being-out-of-sync.aspx" /><id>http://blogs.technet.com/b/thomase/archive/2013/01/13/scsm-portal-error-due-to-web-content-server-being-out-of-sync.aspx</id><published>2013-01-13T17:43:00Z</published><updated>2013-01-13T17:43:00Z</updated><content type="html">&lt;p&gt;Recently one of my customers had issues with their SCSM Portal where new categories didn't appear and several of the Request offerings failed.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/0878.Portal_2D00_error.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/0878.Portal_2D00_error.png" alt="" width="579" height="30" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looking in the SMPortalTrace.log it stated that a Management pack was missing from system:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ressourcestrings for troubleshooting&amp;nbsp;is not available.&amp;nbsp;Keys and arguments often contains enough information to start the troubleshooting a problem. See &lt;a href="http://go.microsoft.com/fwlink/?linkid=106663&amp;amp;Version=5.0.10411.00&amp;amp;File=mscorlib.dll&amp;amp;Key=Arg_TargetInvocationException"&gt;http://go.microsoft.com/fwlink/?linkid=106663&amp;amp;Version=5.0.10411.00&amp;amp;File=mscorlib.dll&amp;amp;Key=Arg_TargetInvocationException&lt;/a&gt; ---&amp;gt; Microsoft.EnterpriseManagement.Presentation.DataAccess.DataAccessConverterException: Microsoft.EnterpriseManagement.Presentation.DataAccess.DataAccessConverterException: An error occurred during a results conversion using type: Microsoft.EnterpriseManagement.ServiceManager.Portal.DataProviders.RequestOfferingOutputConverter ---&amp;gt; Microsoft.EnterpriseManagement.Common.InconsistentDataException: The requested objects had an unknown management pack. ---&amp;gt; Microsoft.EnterpriseManagement.Common.InconsistentDataException: The call produced inconsistent results. The data on the client does not match the data returned from the server. The most likely cause is that client-side cache is out of sync with server data. ---&amp;gt; &lt;strong&gt;Microsoft.EnterpriseManagement.Common.ObjectNotFoundException: An object of class ManagementPack with ID 40b87bdd-608a-8858-9ada-e6de1ee8ed9f was not found.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;See &lt;a title="Troubleshoot SMPortal" href="http://blogs.technet.com/b/servicemanager/archive/2012/01/20/troubleshooting-self-service-portal-issues-in-scsm-2012-your-request-could-not-be-submitted.aspx"&gt;this blog post&lt;/a&gt; on where to the find the SMPortalTrace.log&lt;/p&gt;
&lt;p&gt;Looking in the SCSM database the management pack missing is actually the MP containing&amp;nbsp;the offering&amp;nbsp;and is therefore not missing. Do this to check if the MP is&amp;nbsp;in the database: &lt;em&gt;&lt;span style="color: #000000;"&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: DA; mso-bidi-language: AR-SA;" lang="EN-US"&gt;SELECT * FROM ManagementPack &lt;/span&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: DA; mso-bidi-language: AR-SA;" lang="EN-US"&gt;WHERE ManagementPackID = &amp;lsquo;40b87bdd-608a-8858-9ada-e6de1ee8ed9f&amp;rsquo;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;But looking at the line just above, there is a message about client-side cache being out of sync:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft.EnterpriseManagement.Common.InconsistentDataException: The call produced inconsistent results. The data on the client does not match the data returned from the server. The most likely cause is that client-side cache is out of sync with server data.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Since my customer is using a corporate SharePoint farm, the&amp;nbsp;Web Content Server (WCS) is on a dedicated server. I therefore uninstalled the WCS and installed it again. After that the portal worked..&lt;/p&gt;
&lt;p&gt;If you have this problem, maybe a simple restart of the application pools is enough, otherwise reinstall is the way to go.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks to Ruth Lilly from Microsoft Support for helping with the troubleshooting.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3545580" width="1" height="1"&gt;</content><author><name>Thomas Ellermann</name><uri>http://blogs.technet.com/Thomas-Ellermann/ProfileUrlRedirect.ashx</uri></author><category term="SCSM" scheme="http://blogs.technet.com/b/thomase/archive/tags/SCSM/" /><category term="Portal" scheme="http://blogs.technet.com/b/thomase/archive/tags/Portal/" /></entry><entry><title>SCSM - The item cannot be updated.....aka. Click Apply and die :-)</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/thomase/archive/2012/11/15/scsm-the-item-cannot-be-updated-aka-click-apply-and-die.aspx" /><id>http://blogs.technet.com/b/thomase/archive/2012/11/15/scsm-the-item-cannot-be-updated-aka-click-apply-and-die.aspx</id><published>2012-11-15T12:53:00Z</published><updated>2012-11-15T12:53:00Z</updated><content type="html">&lt;p&gt;I guess you all have seen the error message below:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1385.CannotBeUpdated.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1385.CannotBeUpdated.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The problem all relates to internal workflows, that kicks in as soon as you hit Apply.&lt;/p&gt;
&lt;p&gt;Here's a short example:&lt;/p&gt;
&lt;p&gt;1. The incident is created and you click Apply. This will add the following entry to the history log:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/8306.step1.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/8306.step1.PNG" alt="" width="320" height="272" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;2. Internal workflow engine starts and will within a minute or two, add the newly created IR to queues that are used SLO measurement.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/2867.step2.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/2867.step2.PNG" alt="" width="479" height="254" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. Next the workflow applies the SLO targets, based on queue membership&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/6708.step3.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/6708.step3.PNG" alt="" width="559" height="241" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you click apply and start working in the IR, you&amp;nbsp;can end up getting the 'The item cannot be updated.....' because the workflows have updated the IR and you&amp;nbsp;don't have these updates in the current form. If you have clicked apply, make sure to refresh before you start making any changes to the IR.&lt;/p&gt;
&lt;p&gt;If you disable SLO and queues, you will not have these problems. So when you plan for introducing SLM to your organization, make sure to inform the SCSM console users about the 'Refresh' button.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another new challenge is introduced with SCSM 2012, the new attribute "First Assigned Date' is introduced for SLA measurement. So when a user is added to the 'Assigned To', the workflow after a minute or 2, updates the First Assigned date:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/6082.step4.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/6082.step4.PNG" alt="" border="0" /&gt;&lt;/a&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1401.step5.PNG"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1401.step5.PNG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;If you don't plan&amp;nbsp;on using the&amp;nbsp;First Assigned date for any reporting purposes, you can&amp;nbsp;disable this workflow, by importing the MP that Anders Asp&amp;nbsp;has&amp;nbsp;created. You&amp;nbsp;can read more here: &lt;a href="http://www.scsm.se/?p=853"&gt;http://www.scsm.se/?p=853&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For more information, see here: &lt;a href="http://blogs.technet.com/b/servicemanager/archive/2010/09/24/faq-what-happens-when-two-people-edit-the-same-object-at-the-same-time.aspx"&gt;http://blogs.technet.com/b/servicemanager/archive/2010/09/24/faq-what-happens-when-two-people-edit-the-same-object-at-the-same-time.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update: &lt;/strong&gt;There now is a official KB on the issue: &lt;a href="http://support.microsoft.com/kb/2830814"&gt;http://support.microsoft.com/kb/2830814&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3532717" width="1" height="1"&gt;</content><author><name>Thomas Ellermann</name><uri>http://blogs.technet.com/Thomas-Ellermann/ProfileUrlRedirect.ashx</uri></author><category term="SCSM" scheme="http://blogs.technet.com/b/thomase/archive/tags/SCSM/" /><category term="Workflow" scheme="http://blogs.technet.com/b/thomase/archive/tags/Workflow/" /></entry><entry><title>Service Manager 2012 services won't start after applying KB2677070</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/thomase/archive/2012/10/01/service-manager-2012-services-wont-start-after-applying-kb2677070.aspx" /><id>http://blogs.technet.com/b/thomase/archive/2012/10/01/service-manager-2012-services-wont-start-after-applying-kb2677070.aspx</id><published>2012-10-01T07:54:00Z</published><updated>2012-10-01T07:54:00Z</updated><content type="html">&lt;p&gt;After applying the recently released security update KB2677070&amp;nbsp;the System Center Data Access Service and the System Center Management Configuration Service wont start. Both services will log a "Error 1053: The service did not respond to the start or control request in a timely fashion"&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The following error is shown:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/2086.SCSM_2D00_ServiceFailure.PNG"&gt;&lt;img alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/2086.SCSM_2D00_ServiceFailure.PNG" border="0" /&gt;&lt;/a&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/3482.SCSM_2D00_ServiceFailure.PNG"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When applying KB2677070, the server is not required to be restarted and therefore the error will not show until the next planned reboot.&lt;/p&gt;
&lt;p&gt;The problem is fixed by following &lt;a title="The System Center Data Access Service fails to start after applying KB2677070" href="http://support.microsoft.com/kb/2730040"&gt;KB2730040&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3523470" width="1" height="1"&gt;</content><author><name>Thomas Ellermann</name><uri>http://blogs.technet.com/Thomas-Ellermann/ProfileUrlRedirect.ashx</uri></author><category term="SCSM" scheme="http://blogs.technet.com/b/thomase/archive/tags/SCSM/" /></entry><entry><title>SCSM 2012 Data Warehouse jobs keep failing</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/thomase/archive/2012/08/27/data-warehouse-jobs-keep-failing.aspx" /><id>http://blogs.technet.com/b/thomase/archive/2012/08/27/data-warehouse-jobs-keep-failing.aspx</id><published>2012-08-27T00:11:00Z</published><updated>2012-08-27T00:11:00Z</updated><content type="html">&lt;p&gt;I often run into the same problem with the SCSM 2012 Data Warehouse, that the cubes jobs all fail. When resuming one of the jobs the following errors appear in the log:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Message : An Exception was encountered while trying during cube processing.&amp;nbsp; Message=&amp;nbsp; Processing warning encountered - Location: , Source: Microsoft SQL Server 2008 R2 Analysis Services Code: 1092550657, Description: Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'ConfigItemDim', Column: 'ConfigItemDimKey', Value: '13760'. The attribute is 'ConfigItemDimKey'..&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;And / Or&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Message : An Exception was encountered while trying during cube processing.&amp;nbsp; Message=&amp;nbsp; Processing warning encountered - Location: , Source: Microsoft SQL Server 2008 R2 Analysis Services Code: 1092550657, Description: Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'ProcessorDim', Column: 'ProcessorDimKey', Value: '156'. The attribute is 'ProcessorDimKey'..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;And / Or&lt;/p&gt;
&lt;p&gt;Message : An Exception was encountered while trying during cube processing.&amp;nbsp; Message=&amp;nbsp; Processing error encountered - Location: , Source: Microsoft SQL Server 2008 R2 Analysis Services Code: -1055129595, Description: Server: The operation has been cancelled due to memory pressure..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Processing error encountered - Location: , Source: Microsoft SQL Server 2008 R2 Analysis Services Code: -1055129598, Description: Server: The operation has been cancelled..&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When the cube processing is started, the Analysis service slowly consumes all available memory and does not stop until it cancels the process due to memory pressure.&lt;/p&gt;
&lt;p&gt;Connecting to the server hosting the analysis service and looking at the properties of the cubes, shows that the cubes haven&amp;rsquo;t been processed and looking in SCSM all the jobs are set to failed:&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/3113.Unprocessed.png"&gt;&lt;img style="margin-right: auto; margin-left: auto; display: block;" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/3113.Unprocessed.png" border="0" /&gt;&lt;/a&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/8662.Failed-processing.png"&gt;&lt;img alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/8662.Failed-processing.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="text-align: left;"&gt;Looking at the errors that are logged, they often relate to errors in the dimensions and their attributes. Reading the&amp;nbsp;&lt;a title="SCSM 2012 Administration guide" href="http://technet.microsoft.com/en-us/library/jj218930" target="_blank"&gt;SCSM 2012 Administration guide&lt;/a&gt;, there is a script that processes all the dimensions in one step.&lt;/p&gt;
&lt;p&gt;The script is not entirely correct, so I've changed it to:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;em&gt;[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.AnalysisServices")&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;$Server = New-Object Microsoft.AnalysisServices.Server&lt;/em&gt;&lt;br /&gt;&lt;em&gt;$Server.Connect("&lt;strong&gt;serverdw.blog.com&lt;/strong&gt;")&lt;/em&gt;&lt;br /&gt;&lt;em&gt;$Databases = $Server.Databases&lt;/em&gt;&lt;br /&gt;&lt;em&gt;$DWASDB = $Databases["DWASDataBase"]&lt;/em&gt;&lt;br /&gt;&lt;em&gt;$Dimensions = New-Object Microsoft.AnalysisServices.Dimension&lt;/em&gt;&lt;br /&gt;&lt;em&gt;$Dimensions = $DWASDB.Dimensions&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;foreach ($Dimension in $Dimensions){$Dimension.Process("ProcessFull")}&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Login to the server hosting the Analysis service and run the powershell script, just remember to change the &lt;strong&gt;$Server.Connect&lt;/strong&gt; and the &lt;strong&gt;&lt;em&gt;$DWASDB &lt;/em&gt;&lt;/strong&gt;with the correct server (being the name of the SQL Server) and database name. It usually runs for 5-15 minutes. When complete, you can verify by looking at the properties at one of the dimensions:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/2022.dimension.png"&gt;&lt;img style="margin-right: auto; margin-left: auto; display: block;" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/2022.dimension.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After all the dimensions have been processed, you can start the cube processing from the SCSM console and they should all complete with success. Note that the jobs will change from Failed to Running to Not Started.&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1033.complete-DW-job.png"&gt;&lt;img alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1033.complete-DW-job.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="text-align: left;"&gt;Instead look at the Cubes tab in the Data Warehouse wunderbar to see the status&lt;/p&gt;
&lt;p style="text-align: left;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1460.cubes.PNG"&gt;&lt;img style="margin-right: auto; margin-left: auto; display: block;" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/1460.cubes.PNG" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="text-align: left;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;But remember, this will just get the cubes processed once which is because it gets your cubes up to the latest set of data, but if the cube processing jobs starts failing again right away, it could&amp;nbsp;because it is doing a full&lt;br /&gt;processing job instead of a less resource demanding job like incremental.&lt;/p&gt;
&lt;p&gt;The only way to fix this is to:&lt;/p&gt;
&lt;p&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Have a look at the HW and see if you could relocate DB-files, log files, temp etc. on more spindles / more VHD-files, add more processors&amp;nbsp;or even RAM to help the SSAS with completing.&lt;/p&gt;
&lt;p&gt;And/Or&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Upgrade to SQL Enterprise (Enterprise has&amp;nbsp;the feature that allows for &lt;i&gt;incremental &lt;/i&gt;processing instead of a full)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3516462" width="1" height="1"&gt;</content><author><name>Thomas Ellermann</name><uri>http://blogs.technet.com/Thomas-Ellermann/ProfileUrlRedirect.ashx</uri></author><category term="SCSM" scheme="http://blogs.technet.com/b/thomase/archive/tags/SCSM/" /><category term="Data Warehouse" scheme="http://blogs.technet.com/b/thomase/archive/tags/Data+Warehouse/" /><category term="Dimensions" scheme="http://blogs.technet.com/b/thomase/archive/tags/Dimensions/" /><category term="Cubes" scheme="http://blogs.technet.com/b/thomase/archive/tags/Cubes/" /></entry><entry><title>SCOM 2007 R2 Universal Connector, Interop Provider certificate expired</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/thomase/archive/2012/06/27/scom-2007-r2-universal-connector-interop-provider-certificate-expired.aspx" /><id>http://blogs.technet.com/b/thomase/archive/2012/06/27/scom-2007-r2-universal-connector-interop-provider-certificate-expired.aspx</id><published>2012-06-27T09:34:00Z</published><updated>2012-06-27T09:34:00Z</updated><content type="html">&lt;p&gt;I recently ran into the problem that a normal working Universal connector stopped working and generated three different entries in the Application event log and alerts in the OpsMgr console:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EventID 1500:&lt;br /&gt;&lt;/strong&gt;2012-06-26 15:21:21.835 [Microsoft.SystemCenter.Interop.Framework.Modules.WSManModule] ERROR No&lt;br /&gt;providers could be contacted.&amp;nbsp; Could not get update events.&amp;nbsp; Could not connect to any providers to retrieve update events&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EventID 1501:&lt;/strong&gt; &lt;br /&gt;2012-06-26 15:20:53.944&lt;br /&gt;[Microsoft.SystemCenter.Interop.Framework.Modules.WSManModule] ERROR Could not&lt;br /&gt;deliver some events.&amp;nbsp; No providers were available.&amp;nbsp; Could not forward any provider&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EventID 1516:&lt;/strong&gt; &lt;br /&gt;2012-06-26 15:20:53.944 [Microsoft.SystemCenter.Interop.Framework.Modules.WSManWrapper]&lt;br /&gt;ERROR COMException An internal error occurred.&amp;nbsp;&lt;br /&gt;occurred while sending event &amp;lt;p:CreateEvt_INPUT&lt;br /&gt;xmlns:p="http://schemas.microsoft.com/wbem/wsman/1/wmi/root/scx/SCX_Connector"&lt;br /&gt;xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;/p&gt;
&lt;p&gt;......&lt;/p&gt;
&lt;p&gt;On the Management server where the Universal connector is installed, I opened a command prompt and browsed to &lt;em&gt;c:\Program Files\System Center Operations Manager 2007 R2 Connectors\OpsMgr Universal Connector&lt;/em&gt; and ran the Interop Certificate tool to verify the connection&lt;/p&gt;
&lt;p&gt;&lt;em&gt;scicert.exe &amp;lt;hostname name of interop provider&amp;gt; &amp;lt;Domain\Username of the user also used in the connector config&amp;gt; &amp;lt;password&amp;gt; "OpsMgr Universal Connector" Test&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This command opens a connection to the Interop Connector and verifies it, including the certificate. The result of the test showed that the SSL certificate was expired.&lt;/p&gt;
&lt;p&gt;The SSL Certificate is generated when installing the Interop Provider and is valid for 2 years.&lt;/p&gt;
&lt;p&gt;Following the guide here: &lt;a href="http://technet.microsoft.com/en-us/library/dd795252.aspx"&gt;http://technet.microsoft.com/en-us/library/dd795252.aspx&lt;/a&gt; solved the problem and the steps are:&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;1. Uninstall the Interop Provider&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;2. Delete the certificate&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;3. Install the Interop Provider again&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;4, Verify the certificate is valid for the next two years&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;5. Run the scicert.exe command on the connector server to import the certificate&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;6. Restart the connector service and you're back on track.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: The guide states the certificates are valid for 3 years, which is not correct, it is only valid for 2.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3506197" width="1" height="1"&gt;</content><author><name>Thomas Ellermann</name><uri>http://blogs.technet.com/Thomas-Ellermann/ProfileUrlRedirect.ashx</uri></author><category term="Opsmgr" scheme="http://blogs.technet.com/b/thomase/archive/tags/Opsmgr/" /><category term="Universal Connector" scheme="http://blogs.technet.com/b/thomase/archive/tags/Universal+Connector/" /></entry><entry><title>Orchestrator Runbooks not appearing on the web console</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/thomase/archive/2012/05/29/orchestrator-runbooks-not-apperaring-on-the-web-console.aspx" /><id>http://blogs.technet.com/b/thomase/archive/2012/05/29/orchestrator-runbooks-not-apperaring-on-the-web-console.aspx</id><published>2012-05-29T12:40:00Z</published><updated>2012-05-29T12:40:00Z</updated><content type="html">&lt;p&gt;I was creating new runbooks in System Center Orchestrator 2012 and wanted to synchronize them to Service Manager 2012, but after running the connector the runbooks still didn't appear.&lt;/p&gt;
&lt;p&gt;Browsing to the Orchestrator web console I could see the runbooks wasn't even available here.&lt;/p&gt;
&lt;p&gt;Solution:&lt;/p&gt;
&lt;p&gt;1. Open SQL Management studio and connect to the SQL Server and instance hosting the Orchestrator Database&lt;/p&gt;
&lt;p&gt;2.Type in the following SQL Query:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;TRUNCATE TABLE&lt;/em&gt;&lt;br /&gt;&lt;em&gt;[Microsoft.SystemCenter.Orchestrator.Internal].AuthorizationCache&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/3618.SCO_2D00_runbooks-missing.PNG"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/3618.SCO_2D00_runbooks-missing.PNG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. Refresh the Orchestrator web console and&amp;nbsp;the runbooks are there.&lt;/p&gt;
&lt;p&gt;4. Start the SCO -&amp;gt; SCSM connector and the runbooks will be available as well.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the problem &lt;span style="color: black; line-height: 115%; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;reoccurs&lt;/span&gt;, you can do the following to run a scheduled cleanup of the Authorization table:&lt;/p&gt;
&lt;p&gt;1. Open SQL Management studio and connect to the SQL Server and instance hosting the Orchestrator Database&lt;/p&gt;
&lt;p&gt;2.Type in the following SQL Query:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;EXEC &lt;/em&gt;&lt;em&gt;[Microsoft.SystemCenter.Orchestrator.Maintenance].EnqueueRecurrentTask &amp;lsquo;ClearAuthorizationCache&amp;rsquo;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/8233.SCO_2D00_runbooks-missing-II.PNG"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-85-81/8233.SCO_2D00_runbooks-missing-II.PNG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This will establish a new SQL Service Broker conversation to flush the authorization cache every 10 minutes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3500670" width="1" height="1"&gt;</content><author><name>Thomas Ellermann</name><uri>http://blogs.technet.com/Thomas-Ellermann/ProfileUrlRedirect.ashx</uri></author><category term="SCSM" scheme="http://blogs.technet.com/b/thomase/archive/tags/SCSM/" /><category term="Connector" scheme="http://blogs.technet.com/b/thomase/archive/tags/Connector/" /><category term="Orchestrator" scheme="http://blogs.technet.com/b/thomase/archive/tags/Orchestrator/" /><category term="SCO" scheme="http://blogs.technet.com/b/thomase/archive/tags/SCO/" /></entry></feed>