FIM Reporting and SQL collation
In our existing FIM 2010 R2 implementation, we used the default collation of SQL 2008 R2, which is SQL_Latin1_General_CP1_CI_AS.
However, reading some articles, I got the impression that SQL server will need to be installed with Latin1_General_100_CI_AS collation for installing System Center 2012. I also read that FIM Service database will need to be in the same collation
(i.e. Latin1_General_100_CI_AS). This means we will need to rebuild the SQL server for FIM service.
However, reading the following article, I get a different impression. As long as the collation across all the SQL servers is the same, we should be good. Also, it is actually recommended to use SQL_Latin1_General_CP1_CI_AS rather than Latin1_General_100_CI_AS.
In fact, The SCOM data warehouse installer will always install the data warehouse with SQL_Latin1_General_CP1_CI_AS regardless of the SQL Server collation.
http://blogs.technet.com/b/servicemanager/archive/2012/05/24/clarification-on-sql-server-collation-requirements-for-system-center-2012.aspx
Can anybody please confirm the requirement?
Thanks Brian
I am planning to put ALL FIM roles onto two nodes behind F5. I understand that FIM reporting has to be installed with FIMservice so yes I want to install FIM reporting role onto both FIMService nodes. I understand that I CAN do this from your response (thankyou)
because "there's a safeguard in place to ensure that only one server processes the reporting jobs at a time if it's enabled on more than one FIM Service server
Can you explain what or how this safeguard works - specifically which FIMService node will run this and how the other FIMService node (2) will pick up the job if the first FIMService (node 1 )fails - do I have to configure anything ?
Brian- with respect ; is Tomek's reply incorrect in the context of my configuration - otherwise I would need a standalone FIM Service server (not part of the F5 virtual server) running Reporting with no FIM reporting HA (beyond Hyper-V or other single node
HA options) ?
I realllllyyyy appreciate this feedback and discussion as I have found very little w3 or forum information about load balancing and HA for FIM reporting (I don't mean the SCSM or DW components)
Thanks again
Nigel
Similar Messages
-
FIM Reporting and SCSM Database Query Issue
Hello,
We have been having issues with FIM Reporting, the ETL Process for some reason seems to be failing, we further drilled down and found that there was a SQL Query running on the SCSM database Server for a very long time.
"CREATE PROCEDURE dbo.[p_GroomManagedEntity] ( @TargetId uniqueidentifier, @RetentionPeriodInMinutes int, @GroomingCriteria nvarchar(max), @BatchSize int )
AS BEGIN DECLARE @LastErr int; DECLARE @RowCount int = 1; DECLARE @TotalRowCount int = 0; DECLARE @RetentionDateTime DATETIME; DECLARE @SelectEntitiesToBeGroomedStmt
nvarchar(max); DECLARE @CoreDeleteTypedEntitiesTable TypedManagedEntityType; DECLARE @TimeGenerated DATETIME = getutcdate(); DECLARE @Command nvarchar(MAX) DECLARE @GroomHistoryId
bigint DECLARE @Comment nvarchar(max); SET @Command = N'Exec dbo.p_GroomManagedEntity ' + CAST(@TargetId AS nvarchar(40)) + ', ' + CAST(@RetentionPeriodInMinutes AS nvarchar(10)) +
', ' + CAST(@GroomingCriteria AS nvarchar(100)) + ', ' + CAST(@BatchSize AS nvarchar(10)) -- Call the grooming history insert sproc EXEC @LastErr = dbo.p_InternalJobHistoryInsert @Command,
@GroomHistoryId OUT IF @LastErr <> 0 GOTO Err; CREATE TABLE #BaseManagedEntitiesToDelete ( BaseManagedEntityId uniqueidentifier
); -- Figure out the retention datetime SELECT @RetentionDateTime = DATEADD(mi, -@RetentionPeriodInMinutes, getutcdate()) -- Execute the grooming filter statement,
hence populate the table variable, with "BatchSize" many entities. WHILE (@RowCount > 0) BEGIN INSERT #BaseManagedEntitiesToDelete EXEC sp_executesql @GroomingCriteria,
N'@Retention DATETIME,@TargetTypeId uniqueidentifier,@NumOfEntities INT', @Retention = @RetentionDateTime, @TargetTypeId = @TargetId, @NumOfEntities = @BatchSize;
SELECT @LastErr = @@ERROR, @RowCount = @@ROWCOUNT; IF @LastErr <> 0 GOTO Err; IF (@RowCount >
0) BEGIN -- Convert the BMEIds to TMEIds. INSERT @CoreDeleteTypedEntitiesTable SELECT
TME.TypedManagedEntityId FROM #BaseManagedEntitiesToDelete D JOIN dbo.TypedManagedEntity TME ON D.BaseManagedEntityId
= TME.BaseManagedEntityId WHERE TME.IsDeleted = 0; SELECT @LastErr = @@ERROR;
IF @LastErr <> 0 GOTO Err; --
Use existing DDP code to delete the instances captured in the temp table. EXEC @LastErr = dbo.p_DDPWrapperForGroomManagedEntity @TimeGenerated, @CoreDeleteTypedEntitiesTable;
IF @LastErr <> 0 GOTO Err; TRUNCATE TABLE #BaseManagedEntitiesToDelete;
SELECT @LastErr = @@ERROR; IF @LastErr <> 0 GOTO Err; END
SET @TotalRowCount = @TotalRowCount + @RowCount; END -- Call the grooming history insert sproc to update status to success
SET @Comment = N'BaseManagedEntity: ' + CAST(@TotalRowCount AS nvarchar(10)) EXEC @LastErr = dbo.p_InternalJobHistoryUpdate @GroomHistoryId, 1, @Comment IF @LastErr <> 0
GOTO Err; RETURN 0 Err: -- Call the grooming history insert sproc to update status to failure. SET @Comment = N'BaseManagedEntity: ' + CAST(@TotalRowCount
AS nvarchar(10)) EXEC @LastErr = dbo.p_InternalJobHistoryUpdate @GroomHistoryId, 2, @Comment IF @LastErr <> 0 GOTO Err; RETURN 1 END"
Can somebody advise on what this query is really about and what is its fuction, we are thinking of killing this query since it has been running for a very long time, will that hamper or cause the database to corrupt.
Rgds,
Abhishek.Vijay,
Thanks for you reply.
I figure out a related bug:
Bug 12859472: Cannot browse store procedure in case-sensitive MS SQL Database
There are two possible workarounds:
1. Use a database name with capital letters
2. Do not use stored procedures, but access the tables directly.
The notes on the Bug ticket describes that the issue would be scheduled to be fixed in PS7 which is 11.1.1.8.
Cheers!
Leandro. -
Creating OLAP report with Crystal Reports and SQL Server Analysis Services 2005
Post Author: orahc_mao
CA Forum: Data Connectivity and SQL
Hi!
I am currently using the trial version of the Crystal Reports XI and I wanted to do an OLAP report. The problem is I cannot select a cube using "OLAP Connection Browser" (the popup window). I already selected Microsoft OLE DB Provider and entered the server name but still can't connect.
I don't think the problem is with SQL Server Analysis Services (2005) since Microsoft Excel - Import Data can detect the server as well as the cube I have created.
I also tried the "Database Expert" of Crystal Reports, created an OLE DB (ADO) connection with "OLE DB Provider for OLAP Services 8.0" driver, entered the server name, checked the integrated security and then I can readily select the database created at SQL Server Analysis Services. However, I still need the OLAP grid create the report but it goes back to my original problem... selecting a cube.
I hope somebody would help me with this issue.
Thanks a lot!
orahc_maoHello,
I don't recognize those variables as CR ones so it's likely something the original developer is setting in code.
You'll have to discuss with that person.
If your have SDK issues then post your question to one of the .NET or Java SDK forums.
Thank you
Don -
ConfigMgr 2012 R2 and SQL Collation
I am planning to install a new ConfigMgr 2012 R2 server and use SQL Server 2012 SP2.
Does ConfigMgr 2012 R2 already support other SQL Collations than "SQL_Latin1_General_CP1_CI_AS"?
In other System Center 2012 R2 products "SQL_* collations are being deprecated for their Windows equivalents" according to
http://technet.microsoft.com/library/dn281933.aspxGenerally speaking, no. There are two exceptions for use in China, see also:
http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_SupConfigSQLSrvReq
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
Crystal Reports and SQL Server 2000
Hi all,
I read the document "Troubleshooting Database Connectivity for Crystal Reports" and tried all SQL Server jdbc drivers (1.2, 2.0,2.0.1, 3) and I could not find a working driver with crystal reports at all.
http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/d05b3bb7-0f28-2c10-4ea3-84dbdc4e414e?quicklink=index&overridelayout=true
I'm also not sure if there is a working one?
Are there anybody who suggest me a jdbc driver for SQL server which also supports Crystal Reports?
The connection is ok, but the problem is I don't see tables and other staff under the connection...According to the document above, this means the driver does not support crystal reports...
Product versions which involve this issue as follows:
SQL Server 2000
JRE 5.0
Crystal Reports 11.8 (Comes with IBM RAD 7.5 IDE)
Platform : IBM Portal 6.1.0.2 ( IBM Websphere App. Server 6.1)
Any help would deeply be appreciated.
I'm totaly exhausted. I hope someone help me...
Best regards,
E.I gave up this issue since I learnt that Crystal Java Reporting Component does not support portlet. I also tried with SQL 2008 and I also updated my IDE for updating Crystal plug-in in it. It was finally working at portal but the pager buttons and other staff in the viewer were not working since it still does not support portlet.
Thanks a lot.
E. -
Crystal report and SQL 2000 Integration to BW?
HI All,
We have following two requirements to be implemented
1) We need crystal reports to be integrated with BW system.Please guide about the prerequisites as well as the procedure to be followed so as to generate Crystal reports once the plugins are in place.
2) We need SQL 200 server to be interfaced with our BW system.Pleas do let me know apart from DB2 connect is there any other method that can be implemented and aslo If we use DB2 how should we go about handeling Delata.Hi
1, once you setup the SAP Plugins you can connect to the BW system and view the tables and objects such as Query etc.
then you build the report (Crystal Rep) using this data source.
My experiance is that the performance is quite bad, so good luck to you.
2, we use a data base level access in our BW.
it means that the user has access rights on the DB level and then we can
access the db using MS Query Analyzer.
Reg's
Edan -
Interactive report and SQL including a function
Hi,
I created an interactive report based on a simple sql statement, all OK. I added a function based column and get this error:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
whenever I put a criteria in the search field large than one character long. It works with a single character search parameters but not more than one.
The sql:
select sc."SUPC_ID",
sc."SUPERCODE",
sc."NAME",
get_unit_codes(sc.supercode) units --this is the beastie here
from "#OWNER#"."SUPERCODES" sc
Any ideas, can I exclude the function based column from the search parameters somehow. I un-checked the 'Sort, Filter, Control Break, Aggregate, Computer and Chart options for that column
Thanks
GaryHi Gary,
Assuming that your get_unit_codes() function just returns a string and the entire statement works ok in SQL, you could try creating a view over the same statement and base the report on the view or nest your statement:
select SUPC_ID,
SUPERCODE,
NAME,
UNITS
FROM (select sc."SUPC_ID",
sc."SUPERCODE",
sc."NAME",
get_unit_codes(sc.supercode) units --this is the beastie here
from "#OWNER#"."SUPERCODES" sc)Andy -
Hello,
I am trying to build a report to ' determine the volume of calls with a specific call type that have a specific wrap up code associated with it' using IBM Cognos. However I couldn't able to find SQL query in CUIC and schema document. Can any one provide me the SQL details for Wrap-Up code.
We are using CUIC however, couldn't find any report for Wrap up code.
UCCE - 9.0.4
Regards,
SamThere is no special table for holding wrap-up data itself. However you can Termination_Call_Detail table and field name is WrapupData.
It will provide you the wrap-up-code associated with call.
And you will have build your query accordingly. -
I'm trying to print a report created by Crystal Reports, which the application is run on the client run, NOT run on Windows Azure, and I grant the client IP to allow it to connect to the SQL Azure to retrieve data for the report.
However, it throw an exception when the client application process the report file, I try to host the database locally and trace the sql it executed in profiler, then run each sql command on the SQL Azure to find out which line of sql command cause the
problem.
Finally, I find out that Crystal Report will call "sp_procedures_rowset" and "sp_columns_rowset", which are not existed on SQL Azure.
Any workarounds to solve this issue?Hi Barry,
Yes, "sp_procedures_rowset" and "sp_columns_rowset" are not existed on SQL Azure. You
can check with below statement:
EXEC
sp_helptext
'sp_procedures_rowset'
I’m afraid you cannot use it in your report. Could you create your own Stored
Procedure?
Thanks,
Raymond
Raymond Li - MSFT -
FIM reporting -- Run FIMPostInstallScirptsForDatawarehouse.ps1 script
We have 3 servers and
1. Server 1 -- FIM Service
2. Server 2 -- Service Manager server + Sql Server 2008 r2 with (ServiceManager DB on instance 1 +DWStagingAndConfig, DWRepository, and DWDataMart DB on instance 2)
3. Server 3 -- Data warehouse server
We have installed FIM reporting and MPSyncJob is successfully over. Next step is to run FIMPostInstallScirptsForDatawarehouse.ps1 on Data warehouse server but The FIM Reporting post installation scripts required to execute
.\FIMPostInstallScriptsForDataWarehouse.ps1
scripts in the Data Warehouse server. However, this script requires access to the "SQLCmd" tools and the "SMCmdletSnapIn" snapins. These two components are both present
when the SQL server resides in the Data Warehouse server. In this scenario that condition is not true. In this procedure, we will run the FIM post installation powershell script in the SQL server. We will create a PSSessionConfiguration in the Data Warehouse
server that will get called from the remote SQL server to execute the "SMCmdletSnapIn".
To run the script i was following the steps on this link social.technet.microsoft.com/wiki/contents/articles/17916.troubleshooting-fim-install-fim-data-warehouse-support-scripts-on-a-remote-sql-server.aspx
But in creating PSSession i am getting Access Denied error .
So is it possible, if i will install SQL server management studio on Data Warehouse server as i will get SQLCmdlets of powershell in Data Warehouse server so i can run the script directly on Data warehouse server without creating PSSession
Will it work ??You can download just the needed pieces from
http://www.microsoft.com/en-us/download/details.aspx?id=16978.
Thanks, Brian
I think Brian wanted to paste the link without dot at the end ;)
http://www.microsoft.com/en-us/download/details.aspx?id=16978
If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer. -
Crystal Reports 9 and SQL Server 2005 default parameter values
We're using Crystal Reports 9 and upgraded from SQL Server 2000 to SQL Server 2005.
I'm noticing a very weird problem which I wonder if anyone else has experienced (and hopefully found a resolution for). It appears that in using Crystal with SQL Server 2005 stored procedures, if we have default parameter values in the stored procedures, the default parameter values get completely ignored if you pass in a NULL value from Crystal!
For example, if you have a stored procedure that begins like this:
ALTER Procedure [dbo].[StoredProcedure]
@Param1 VarChar(200) = '',
@Param2 VarChar(200) = ''
AS ...
both @Param1 and @Param2 have a default value of an empty string, and therefore should become empty strings if nothing (NULL values) gets passed in for them.
But, like I said, what I'm finding is that with Crystal calling the stored procedure with NULL @Param1 and @Param2 values, they never become empty strings, but rather remain as NULLs.
This was never a problem with SQL 2000.
Very perplexing. Anyone else every experience this?
Thank you.Please ignore my earlier post -- answered my own question.
NULL parameter values do not get replaced by default values in SQL -- that is normal behavior in both SQL 2000 and SQL 2005. Just goes to show, that no many how many years programming experience you have, you can still get tripped up sometimes : ( -
Currently, my SharePoint 2013 Farm has Workflows 2013 and SQL Report Services installed on app servers, along with other applications. Workflows 2013 isn't working correctly (installed prior to my coming on board with the organization), I'm assuming it
is a configuration issue, but rather than re-configure, I've read that is recommended to be a standalone server. It was also recommended by a MSFT rep that our report services have its own independent server. Currently, Report Services is also installed on
an app server that runs other applications on the farm.
Has anyone had any experience with installing Workflows 2013 and/or SQL Report Services on independent vs. existing application servers?
Additionally, my existing application servers have 24 GB of RAM (I believe the recommendation for SharePoint production environments is 12 GB), should I plan for the potentially new servers (Workflows and Report Services) to also have 24 GB of RAM? Not really
sure if it will be needed if they have dedicated tasks.
Thanks for any input you can provide!It entirely depends on load. WFM will work just fine installed on servers in the SharePoint farm. SSRS preferably should go on the end-user facing servers for better performance.
The questions you're asking are all "it depends" :)
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
SQL Report not showing data - available in SQL Workshop and SQL Developer
I am having an issue with developing a SQL Report in APEX 3.2.1. I run the code in both SQL developer and SQL Workshop and I get data pulled back (both against my development environment). When I run the same code in a SQL Report region, it returns no data available. Does anyone have any idea what would be causing this? Other regions on the page accessing different tables in the same schema return data without issue. Any help would be appreciated.
Thanks
FreddieCould you explain the last comment a bit more. Here is a bit more info just in case I touch on the info with it. The db schema is BPAMGR, the Workspace is BPAMGR. We use the same schema for all of our reporting. All of our tables are in the same schema. We don't use any tables outside of this schema. Our APEX workspace has been associated to only this schema. The tables are able to be queried by SQL Workshop in the same APEX instance that the report application is under.
Freddie -
SAP Crystal Report using SQL Server Authentication and Windows Authenticati
I'm a SAP Crystal Report, version for Visual Studio 2010 Beginner
my ingredients are
1.windows 7 ultimate service pack1
2.sql server 2008 standard edition
3.visual studio 2010 pro
4.SAP Crystal Report, version for visual studio.net
I was created a report named customersByCity.rpt using OLE DB (ADO) -> Microsoft OLE DB Provider for SQL Server -> I'm supply Server, User ID, Password and Database. I assume me using SQL Server Authentication for my report
Then, my ASP.NET files as following
//ASP.NET
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="viewCustomersByCity.aspx.cs" Inherits="viewCustomersByCity" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div><asp:Label ID="lblMsg" runat="server" BackColor="Yellow" ForeColor="Black"></asp:Label>
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true"></CR:CrystalReportViewer>
</div>
</form>
</body>
</html>
//code-behind
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
public partial class viewCustomersByCity : System.Web.UI.Page
private const string PARAMETER_FIELD_NAME = "city";
private ReportDocument customersByCityReport;
private void ConfigureCrystalReports()
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.ServerName = @"WKM1925-PCWKM1925";
connectionInfo.DatabaseName = "Northwind";
connectionInfo.UserID = "sa";
connectionInfo.Password = "sysadmin25";
SetDBLogonForReport(connectionInfo);
private void SetDBLogonForReport(ConnectionInfo connectionInfo)
TableLogOnInfos tableLogOnInfos = CrystalReportViewer1.LogOnInfo;
foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
tableLogOnInfo.ConnectionInfo = connectionInfo;
private void SetCurrentValuesForParameterField(ReportDocument reportDocument, ArrayList arrayList)
ParameterValues currentParameterValues = new ParameterValues();
foreach (object submittedValue in arrayList)
ParameterDiscreteValue parameterDiscreteValue = new ParameterDiscreteValue();
parameterDiscreteValue.Value = submittedValue.ToString();
currentParameterValues.Add(parameterDiscreteValue);
ParameterFieldDefinitions parameterFieldDefinitions = reportDocument.DataDefinition.ParameterFields;
ParameterFieldDefinition parameterFieldDefinition = parameterFieldDefinitions[PARAMETER_FIELD_NAME];
parameterFieldDefinition.ApplyCurrentValues(currentParameterValues);
protected void Page_Load(object sender, EventArgs e)
customersByCityReport = new ReportDocument();
string reportPath = Server.MapPath("customersByCity.rpt");
customersByCityReport.Load(reportPath);
ConfigureCrystalReports();
ArrayList arrayList = new ArrayList();
arrayList.Add("paris");
arrayList.Add("Madrid");
arrayList.Add("Marseille");
arrayList.Add("Buenos Aires");
arrayList.Add("Sao Paulo");
ParameterFields parameterFields = CrystalReportViewer1.ParameterFieldInfo;
SetCurrentValuesForParameterField(customersByCityReport, arrayList);
CrystalReportViewer1.ReportSource = customersByCityReport;
1st scenario
When in a runtime, it's keep appear a dialog box. This dialog box ask me to suppy Server, User ID, Password and Database. Once all information is supplied, my report display the data as expected
2nd scenario
I change my report using OLE DB (ADO) -> Microsoft OLE DB Provider for SQL Server -> checked on Integrated Security. I just choose Server, and Database. I assume me using Windows Authentication
When in a runtime, there's no dialog box as above. My report display the data as expected. really cool
Look's like, when report using SQL Server Authentication there's some problem. but, when report using Windows Authentication, it's fine.
I'm looking for comment. Please help meHello,
MS SQL Server 2008 requires you to install the MS Client Tools for 2008.
Once install then update all of your reports to use the SQL Native 10 as the OLE DB driver.
The try again, if it still fails search, lots of sample log on code in this forum.
Don -
Adding update and delete buttons to a Report from SQL Query
There is an option when creating a QBE to add update and delete
links which i find quite useful, but this option doesn't seem to
be possible on a Report from SQL Query. Do i need to do
something special to add them? is the option located in a
different place?Hi,
You can only add Update ,Delete in QBE Reports,
there is no option in Portal which can be used to
have these buttons in the Reports from Query Wizard or
Report from SQL Query.
Thanks
Vineet
Maybe you are looking for
-
Hp Pavilion P6724IT Stuck at HP Splash screen after install of new VGA
Hello people. I buyed a new VGA, a Gigabyte GT740 2GB DDR5, before that i had an Asus GT630 2GB DDR3 and had no problems with it. After mounting the new VGA i noticed the computer remains stuck at the initial splash screen with the HP logo. Can't eve
-
Iphoto will no longer download from camera
I have been using the earliest version of iphoto for several years and it worked great downloading from my Canon Powershot S1IS. About 6 months ago some of the images started coming in with parts grayed out, not all there, etc. Then it went through t
-
Moving iTunes library from PC to Mac using external hard drive
Hi there, I recently bought myself a MacBook Air. This is my first Apple computer as I'd always used Windows before. On my old computer (running Vista), I built up a huge iTunes library. I really want to move this over to my Mac but there are two thi
-
Material reconciliation should be done vendor wise or project wise
Hi all, how to do material reconciliation should be done vendor wise or project wise?? any help....MIRCMR is not working
-
When I set the view to Zoom Font only, my email page looks normal, but facebook is off. I can't seem to get the settings back to where they were before I tried taking that screen shot. I have tried restarting the computer, but that doesn't help. Am I