Posts Tagged ‘Reporting Services’

So, recently I decided to take the plunge and upgrade to SCOM 2012. So, there were a few pre-requisites that I needed as per the prereq checker that is built into OpsMan 2012.

The “big ones” were as follows.

1. OpsMan 2007 R2 CU5

2. And FTS (Full Text Search) for SQL.

So, these seem easy enough to fix.

1. Simple download Cumulative Update 5 for System Center Operations Manager 2007 R2 and install. To be honest, I found this article super helpful for the installation of this Cumulative Update, nice and easy to follow. Kudos to Kevin Holman. So after running through the process step by step, I found that the build number had NOT increased to 6.1.7221.81. Very strange indeed. This needed some more investigation, but more on that just now.

2. Simple go and add this feature to your SQL instance, not very difficult to, so I simply walk through the wizard and add the feature.

So, now time to run the Pre-Req checker again, and what do you know the Cumulative Update 5 is NO LONGER showing (but remember the build version in the console is NOT reflecting the correct build number. Also, the FTS (Full Text Search) requirement is still there and I am have installed the FTS feature.


However as you can see below.


Very strange indeed, so like I said some further investigation is required.

I remember being at some Microsoft IT Bootcamps, and the continued emphasis on SQL Collation and OpsMan in general. So I decided to check this. My Version below.


As per this TechNet Article, the only supported collation for English is SQL_Latin1_General_CP1_CI_AS. Oh oops!

Never fear though, his can be fixed, however the articles must be followed very carefully and within a reasonable amount of time as while you are doing this whole process, your OperationsManager and OperationsManagerDW databases will not be collecting all of the information all of the time. So, there WILL be some (very minimal) data loss in terms of agents reporting into the Management Group.

All the articles are TechNet Articles, see below.

How to Move the OperationsManager Database in Operations Manager 2007

How to Move the OperationsManagerDW Database in Operations Manager 2007

How to Move the Operations Manager Reporting Server in Operations Manager 2007

Once, I had made my way through all the articles, I tried my original steps again and this time, without any issues, I was able to install Cumulative Update 5 for System Center Operations Manager 2007 R2 and successfully able to get the pre-req checker to list all pre-reqs met.

Follow me.





Hi All,

I know it has been a little while.

The reports built into Service Manager are great, however when you try to get a bit creative and automate some of the reports, you are going to run into some issues. So to work around theses issues, I did the following.

Create a custom report from SQL Reporting Services and modified for my needs, I was focusing more on “Incident Analyst” and I was looking for a breakdown of the number of Incidents per Analysts in a week period. This becomes tricky as the Analyst wanted this to be automated for reporting purposes.

1. If you using SQL 2008 R2, Report Builder 3 will be available to you from the SSRS webpage.

2. Select File, Open, drill down to System Center\ServiceManager\ServiceManager.Console.Reporting.IncidentManagement and select


This time it opens OK – let’s try and do a “Save As”, just to see what we can do with a report.

The first error is complaining about a mismatch between allowed values and the default for the TimeZone parameter:


To “correct this” go to Parameters, TimeZone – double-click it.

Select the Default Values and change the option to No default Value:


Click OK and select Save As (Don’t forget to change the report name again as it would appear that when a failed save occurs then the original name is used – and thus you may make a change to the default report).

The next error again concerns a defaultvalue for the EndDate_OffsetValue parameter this time.


Again change the Default Value of this parameter to No Default Value


Again attempt the Save As (again check the name).  This time it should succeed.

So now we effectively have a report that we can manipulate to utilise a variable parameter for the StartDate and EndDate values.

Double-click the StartDate_BaseValue parameter. Click the Default Values option and select “Specify values”

Click Add and strike the (Null) that appears in the Value form.

Click the function button

In the Category chooser, select “Common Functions” “Date & Time”

Locate the “Today” item and double-click it.

Close the bracket in the “Set expression for Value option:


Click OK.

Repeat this step for the EndDate_BaseValue Parameter.

Now make the change to the StartDate_OffsetType to switch the interval from the past month to the past week.

Double-click StartDate_OffsetType, select Default Values and change the Value option from Month to Week.


So back to Report Manager – drill down to the new report and open it up.  Run the report using the View Report button – no results returned.

Check the NULL option for Incident IDs


And now re-run – data as expected.  The Challenge now is to select the NULL option for a scheduled report as opposed to the interactive one.

Click “New Subscription”

Populate the Report Delivery Options and Subscription Processing Options as required  – I used a File Share (NB it needs a UNC \\server\share) and just set up a schedule in 5 mins time to use an HTML 4 report.  (NB You will need to repeat the password for the account that will write the report after you have clicked the schedule button as it loses the password and saving the subscription will fail)

Then in the Report Parameter Values ensure the following two options are selected.  NB Do not set these in the Properties, Parameters option of Report Manager as they have a different impact.



Save the changes and wait for the report to run – this should now pick up the correct “current” date and provide a week’s worth of data!

3. Now, you try to run the report and under “Assigned To User”, you try to use UPN names or Display Names and nothing seems to work! This is because the Report is actually looking for a UserDimkey, this can be seen in this post. So how do you get this information. SQL is your friend.

4. Open SQL Management Studio on the Data Warehouse Server and run the following command substituting the User Display name you want to find the UserDimKey for.

/****** Script for SelectTopNRows command from SSMS  ******/
SELECT TOP 1000 [AssetStatus]
  FROM [DWDataMartR2].[dbo].[UserDimvw] where [DisplayName] = ‘DisplayNameofUserInActiveDirectory

5. Once you have this value(s), you can add these value(s) to your report and schedule them successfully.

Hope this helps,

Follow me

facebook-small3222 twitter-small3222

Do you ever have those days where it just starts bad and gets worse?

“Man Alive, what a day it has been and it is not over yet”

First, simple network change, enabling DHCP helper on our new Infrastructure. Sounds simple, right?. Well, our switches are stacked for connectivity and storage, so a reboot of the switches means shutting down the environment, IP and iSCSI. So I go and do this, not knowing about our cluster needing 3 nodes active, what a mission. We eventually got everything up and working after some help from “Call a Friend”, you know who you are and THANK YOU AGAIN Smile.

Then we decide to move one and continue the day’s work with our migration, hit some snags there, but got through that.

Got to my desk and decided to load up our helpdesk tool, only to find the Reporting component is playing up. However, I would like to introduce all of you to my good friend and you all know him, Uncle GOOGLE. After much digging through MS Articles and already having done these steps and not finding much wrong, I came across the following gem. . Gotta love these dedicated sites, followed the TEMP folder route and “voila” (almost as good as abracadabra, hehe), it is now working again.


In hindsight, should have stayed in bed and bunked today.