SCOM 2012 SP1 failed to send notifications by IM Channel

Hello, I have a problem with my SCOM 2012 SP1. When it tries to send notification by IM Channel I get the following alert in SCOM:
Notification subsystem failed to send notification using
device/server 'live.august.ru:5060' over 'sip' protocol to
'sip:[email protected]'.
Microsoft.Rtc.Signaling.OperationFailureException: The GetInbandDataAsyncResult
operation has failed with message: "The data session subscription to server
failed.". See the InnerException and FailureReason properties as well as the
logs for additional information. . Rule id:
Subscription077dc311_59c0_4ba5_a432_072b486cd287
At the same time the following event in the Application Event Log generates on the server with IM service:
Event Type: Warning
Event Source: Live Communications Server Authentication
Event Category: (1003)
Event ID: 16435
User:  N/A
Computer: LCS
Description:
At least one invalid authentication signature was detected.
There were 2 messages with invalid signatures in the last 7112 minutes. The last one had the FROM header: sip:[email protected]
Cause: This could be due to a client or server which is not handling authentication correctly, or it could be due to an attacker.
Resolution:
None needed unless the failure count is high (>100). Check your network for any rogue clients. Restart the server if problem persists.
Notifications sent by the SMTP channel work fine!
I Have the following Servers:
LCS (live.august.ru) - Win 2003 EE SP2 + Live Communication Server 2005 SP1
SCOM - Win 2012 + SCOM 2012 SP1
Also I have a third server (Win 2003 + SCOM 2007 R2) and it sends notifications to the same VMLCS server successfully. The configurations of IM Channels are identical on both servers:
IM server: live.august.ru
Return address: sip:[email protected]
Protocol option: TCP
Authentication method: Kerberos
IM port: 5060
I tried to change the Authentication method to NTLM, and the port to 5061, but it doesn't help...

Hi,
Please refer to these following articles to configure IM channel correctly:
How to Create and Configure the Notification Action Account
http://technet.microsoft.com/en-us/library/hh212835.aspx
How to Enable an Instant Message Notification Channel
http://technet.microsoft.com/en-us/library/hh212690.aspx
Enabling Instant Messaging Notifications in System Center 2012 Operations Manager
http://opsmgrunleashed.wordpress.com/2012/02/24/enabling-instant-messaging-notifications-in-system-center-2012-operations-manager/
Alex Zhao
TechNet Community Support

Similar Messages

  • SCOM 2012 SP1 Notifications - Escalation

    Hi,
    I am looking to implement a tiered notification, with escalation..so for example..
    Initial alert hits Email Group
    Unresolved after 30 mins text sent to on call engineer
    Unresolved after a further 60 mins all engineers receive text
    Is this possible to configure in scom 2012 sp1?
    Thanks
    Gareth

    Hi,
    You can try this Process if still not done…
    We assume that you have created one Group in SCOM and added respective servers or devices into that group. (Explicit or dynamic member)
    We assume that for each level of notification you have created distribution list in
    AD or Exchange and added those DL in to SCOM Subscriber
    Also assume that mail delivery channel is created in SCOM
    Subscription 1: 
    In Condition, Select
    Raised by any instance in specific group and specify group name in Criteria
    Also you can specify
    severity, priority and resolution state
    –if required.
    Add Immediate Alert Subscriber’s Distribution list ( Ex:-
    Helpdesk Team DL)
    In Channels, select Email Channel which you create already also selects
    Send notifications without delay
    And Enable this notification subscription when finish.
    Subscription 2: 
    In Condition, Select
    Raised by any instance in specific group and specify group name in Criteria
    Also you can specify
    severity, priority and resolution state
    –if required.
    Add Call Engineers Distribution list ( Ex:-
    L1 Support Team DL)
    In Channels, select Email Channel which you create already also selects
    Delay sending notifications if conditions remain unchanged for longer than (in minutes) and specify the time as you mentioned 30 minutes
    And Enable this notification subscription when finish.
    Subscription 3: 
    In Condition, Select
    Raised by any instance in specific group and specify group name in Criteria
    Also you can specify
    severity, priority and resolution state
    –if required.
    Add All Engineers Distribution list ( Ex:-
    L2 Support Team DL)
    In Channels, select Email Channel which you create already also selects
    Delay sending notifications if conditions remain unchanged for longer than (in minutes) and specify the time as you mentioned 60 minutes
    And Enable this notification subscription when finish.
    All three subscriptions 
    severity, priority
    and resolution state should select the same if you specified otherwise no need to worry.
    Above steps will solve your query i think. 
    Thanks & Regards, Kesa_Kara

  • SCOM 2012 SP1 - PowerShell Script failed to run - 3 alerts appear after every reboot of the SCOM Server

    Brand new SCOM 2012 SP1 install with Update Rollup 1 applied
    Single server, local SQL install, SQL Server 2012 SP1
    Hyper-V VM running on Server 2012.  VM has 8GB Ram, single vCPU
    Going through initial management pack importing and configuration, at this point I have the Windows Server 2012 and SQL 2012 MP's installed.
    See screenshot
    http://i.imgur.com/l0Molh1.png
    I am getting the following alerts in my SCOM console and cannot find a resolution to fix the issue.  I don't want to set an override, as an override will prevent the PowerShell alert in other instances, where I might want to receive an alert.
    Looking at the alert description, it states "The Data Access service is either not running or not yet initialized"
    The SCOM Console launches and responds fine, and I get no other errors.  I check the Data Access service and it is online.  I have left the system alone for a couple of hours and no other errors.  I then closed those alerts and restarted the
    server, and they came right back in, so I know that this is something that is happening at either server startup of during the start of the SCOM services.
    Is it possible that SCOM is trying to execute these scripts and the Data Access service has not come online yet?
    Has anyone else come across this before?

    Please try the method in the following thread:
    Note: As there is operations related to Registry, please perform a backup before doing this.
    OpsMgr 2012 - Power Shell Script failed to run 
    http://social.technet.microsoft.com/Forums/de-DE/systemcenterde/thread/4be37f8d-1e7b-450c-8cb9-f1e95f3b2bd0/
    Thanks.
    Nicholas Li
    TechNet Community Support

  • SCOM 2012 SP1 : Update rollup installation failed

    Hello,
    I'm trying to update SCOM 2012 SP1 with UR7 but the installation rollback automatically.
    Same error with others UR.
    LOG MSP :
    MSI (c) (08:1C) [14:49:24:772]: Product: System Center Operations Manager 2012 Server - Update 'System Center 2012 - Operations Manager SP1 UR7 Update Patch' could not be installed. Error code 1603. Additional information is available in the log file c:\logs3.log.
    MSI (c) (08:1C) [14:49:24:772]: Windows Installer installed an update. Product Name: System Center Operations Manager 2012 Server. Product Version: 7.0.9538.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Update Name: System Center 2012 - Operations
    Manager SP1 UR7 Update Patch. Installation success or error status: 1603.
    MSI (c) (08:1C) [14:49:24:772]: Note: 1: 1729 
    MSI (c) (08:1C) [14:49:24:772]: Product: System Center Operations Manager 2012 Server -- Configuration failed.
    MSI (c) (08:1C) [14:49:24:772]: Windows Installer reconfigured the product. Product Name: System Center Operations Manager 2012 Server. Product Version: 7.0.9538.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error
    status: 1603.
    MSI (c) (08:1C) [14:49:24:772]: Attempting to delete file C:\Users\ADMINJ~1\AppData\Local\Temp\10c36d.msp
    MSI (c) (08:1C) [14:49:24:772]: Unable to delete the file. LastError = 32
    MSI (c) (08:1C) [14:49:24:772]: Grabbed execution mutex.
    MSI (c) (08:1C) [14:49:24:772]: Cleaning up uninstalled install packages, if any exist
    MSI (c) (08:1C) [14:49:24:772]: Attempting to delete file C:\Users\ADMINJ~1\AppData\Local\Temp\10c36d.msp
    MSI (c) (08:1C) [14:49:24:772]: MainEngineThread is returning 1603
    === Verbose logging stopped: 15/10/2014  14:49:24 ===
    MOMPerfCtrsInstall.log
    The uninstall is beginning.
    See the contents of the log file for the D:\Program Files\System Center 2012\Operations Manager\Server\APMDOTNETAgent\Microsoft.EnterpriseManagement.OperationsManager.Apm.PerformanceCounters.dll assembly's progress.
    The file is located at D:\Program Files\System Center 2012\Operations Manager\Server\APMDOTNETAgent\Microsoft.EnterpriseManagement.OperationsManager.Apm.PerformanceCounters.InstallLog.
    The uninstall has completed.
    The uninstall is beginning.
    See the contents of the log file for the D:\Program Files\System Center 2012\Operations Manager\Server\Microsoft.EnterpriseManagement.HealthService.Modules.DataWarehouse.dll assembly's progress.
    The file is located at D:\Program Files\System Center 2012\Operations Manager\Server\Microsoft.EnterpriseManagement.HealthService.Modules.DataWarehouse.InstallLog.
    See the contents of the log file for the D:\Program Files\System Center 2012\Operations Manager\Server\Microsoft.Mom.DatabaseWriteModules.dll assembly's progress.
    The file is located at D:\Program Files\System Center 2012\Operations Manager\Server\Microsoft.Mom.DatabaseWriteModules.InstallLog.
    The uninstall has completed.
    Running a transacted installation.
    Beginning the Install phase of the installation.
    See the contents of the log file for the D:\Program Files\System Center 2012\Operations Manager\Server\Microsoft.Mom.DatabaseWriteModules.dll assembly's progress.
    The file is located at D:\Program Files\System Center 2012\Operations Manager\Server\Microsoft.Mom.DatabaseWriteModules.InstallLog.
    An exception occurred during the Install phase.
    System.FormatException: Input string was not in a correct format.
    The Rollback phase of the installation is beginning.
    See the contents of the log file for the D:\Program Files\System Center 2012\Operations Manager\Server\Microsoft.Mom.DatabaseWriteModules.dll assembly's progress.
    The file is located at D:\Program Files\System Center 2012\Operations Manager\Server\Microsoft.Mom.DatabaseWriteModules.InstallLog.
    The Rollback phase completed successfully.
    The transacted install has completed.
    Running a transacted installation.
    Beginning the Install phase of the installation.
    See the contents of the log file for the D:\Program Files\System Center 2012\Operations Manager\Server\APMDOTNETAgent\Microsoft.EnterpriseManagement.OperationsManager.Apm.PerformanceCounters.dll assembly's progress.
    The file is located at D:\Program Files\System Center 2012\Operations Manager\Server\APMDOTNETAgent\Microsoft.EnterpriseManagement.OperationsManager.Apm.PerformanceCounters.InstallLog.
    An exception occurred during the Install phase.
    System.FormatException: Input string was not in a correct format.
    The Rollback phase of the installation is beginning.
    See the contents of the log file for the D:\Program Files\System Center 2012\Operations Manager\Server\APMDOTNETAgent\Microsoft.EnterpriseManagement.OperationsManager.Apm.PerformanceCounters.dll assembly's progress.
    The file is located at D:\Program Files\System Center 2012\Operations Manager\Server\APMDOTNETAgent\Microsoft.EnterpriseManagement.OperationsManager.Apm.PerformanceCounters.InstallLog.
    The Rollback phase completed successfully.
    The transacted install has completed.
    Maybe someone have a idea about that ?
    Thank you !
    Jérémy

    Hi,
    Have your tried to review the c:\logs3.log for any potential error or indication of cause?
    For more information, please review the link below:
    Update Rollup 7 for System Center 2012 Operations Manager Service Pack 1
    http://support.microsoft.com/kb/2965420
    Update rollup packages for System Center 2012 Operations Manager
    http://support.microsoft.com/kb/2906925
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SCOM 2012 SP1 is failing to install - SQL not compatible

    I'm getting an error when installing SCOM 2012 SP1 stating the SQL is not supported. I have seen a few posts on the forum about this error message but so far none of the resolutions resolved my issue.
    Using named instance on port 2433.  Entering SQL\instance and port 2433 yields same message as seen in another post:
    "The installed version of SQL server is not supported.  Verify that the computer and installed version of SQL Server meet the minimum requirements for installation.  Please see the Supported Configurations document for further information."
    I noticed I get this in my OpsMgrSetupWizard.log
    [15:03:28]: Error: :StackTrace:   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at System.Management.ManagementScope.InitializeGuts(Object o)
       at System.Management.ManagementScope.Initialize()
       at System.Management.ManagementObjectSearcher.Initialize()
       at System.Management.ManagementObjectSearcher.Get()
       at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SetupValidationHelpers.GetRemoteOSVersion(String remoteComputer)
    [15:03:28]: Debug: :IsSQLOnAValidComputer: remote OS version string was null or empty.
    Notice the last line - IsSQLOnAValidComputer is null/empty.  The solutions I found are to open the ports between these servers but the SQL server and SCOM server are on the same network - no firewall between them.  The registry key for domain firewall
    policy to 'EnableFirewall' is 0.  The firewall service is disabled on both machines.
    I am running the installation as a domain service account - for the DAA.  It has local admin on the SQL and SCOM server.  It has sysadmin DB access to the instance.
    SCOM Server:
    Server 2008 R2 Standard SP1
    SQL Server:
    Server 2008 R2 Enterprise SP1 | SQL 2012 RM 64-bit version 11.0.2100.60
    Any help is greatly appreciated.

    Glad to hear the issue has been resolved. Thanks for the update.
    Niki Han
    TechNet Community Support

  • Issue upgrading SCOM 2012 SP1 to SCOM 2012 R2

    I have been having a really fun time trying to get my test SCOM 2012 SP1 environment upgraded to SCOM 2012 R2.  I initially had an issue with the DB server not accepting connections to SMB which was causing the upgrade to fail stating database permission
    issues (that was a fun one to troubleshoot).  Once I figured out that problem I am now getting an error in the OpsMgrSetupWizard log that is stating the following:
    [14:46:47]: Always:
    :LaunchMsiSetup: Complete: 2 seconds
    [14:46:47]: Error:
    :LaunchMsiSetup: Failed, return code: 1612
    [14:46:47]: Error:
    :Error:Failed to uninstall previous MOM product on this machine, cannot proceed with upgrade
    [14:46:47]: Error:
    :Error:Failed to uninstall Operations Manager Agent on this machine. This is fatal error, we cannot proceed with upgrade
    [14:46:50]: Error:
    :LaunchMSI: MSI E:\Setup\AMD64\Server\OMServer.msi returned error 1603
    [14:46:50]: Error:
    :ProcessInstalls: Install Item Management Server failed to install.  We did not launch the post process delegate.
    In the application log I am getting the following error:
    "Product: System Center Operations Manager 2012 Server -- The Operations Manager management server cannot be installed on a computer on which the Operations Manager agent, Operations Manager gateway, System Center Essentials, or System Center Service
    Manager is already installed. These must be uninstalled to proceed."
    I have verified that I don't have any of these installed and have even gone so far as to remove my Config man agent and System Center Endpoint Protection just in case it was getting confused with System Center Essentials.
    I am at a loss as to what to try next.  Any suggestions?

    Hi,
    Check if you have the following registry. If so, please back it up first, then delete for a test.
     HKEY_CLASSES_ROOT\Installer\UpgradeCodes\C96403E8AD6025B4F9E1FE9C574E34AE
    Also, please uninstall MOM product and Operations Manager Agent manually to check the result.
    Upgrading System Center 2012 SP1 - Operations Manager to System Center 2012 R2
    http://technet.microsoft.com/en-us/library/dn249707.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Manage DPM servers, running DPM jobs, etc from SCOM 2012 SP1

    Hi,
    Little background about our systems.
    We have a dedicated SCOM 2012.
    We have 22 DPM servers, DPM 2010 and DPM 2012 (we are upgrading to 2012 SP1, we have customers that still using Windows 2003 servers) to be managed by SCOM
    We have a few DPM servers that are not located on the same domain as the SCOM server (untrusted domain).
    Some problem we have
    1. When we try to manage the DPM servers from the SCOM server.
    From SCOM 2012 server I can “Manage DPM server” that are located in our domain but I cannot manage DPM servers located on untrusted domains (customer’s domains). I receive the below error message
    "Unable to connect to <untrusted domain DPM SERVER> ID: 948
    Verify that the DPM service is running on this computer"
    I guess it’s because the account that I’m using to run SCOM server located in our domain and does not have the permission to open the DPM console on the untrusted domain. So I wonder if it is possible to use “RUN AS profiles/accounts”
    to solve this issue, and how?
    2. I have installed SCOM 2012 Operations Manager Console on my computer and then installed DPM Central Console.
    When I select one dpm server (from my computer), that is on our domain, and then click “Manage DPM server” I got this error message
    "Unable to connect to <our domain DPM SERVER> ID: 33333
    1. Verify that the DPM service is running on this computer (YES)
    2. Verify that the current user has been added to at least one of the roles in Operations Manager. (YES)
    3. Open Operations Manage console and then try launching the DPM Console (THAT IS WHAT I AM TRYING TO DO)
    4. If you have re-imported the management pack recently, the role configuration may be corrupt. Open the DPM-specific roles and check if the roles have task assigned to them. If not, delete the roles and recreate the...."
    When I click on “Get more information” I get this error message.
    "You don´t have access permission to connect to the System Center Data Access service on <SCOM SERVER>. Please check if it is a permission issue".....
    Do you know why I cannot connect to any DPM server on our own domain?
    Why do I get access permission error on my computer but not on the SCOM server (using the same account)?
    What should we do to be able to connect to DPM servers that are on untrusted domain?
    3. Is it possible to see Last Recovery Point date/time in SCOM alerts?
    For me it is the first thing I look at. If it has failed 10 min ago it is not critical.
    But if it is a date and time more than 1 day old, then it is critical.
    I hope someone can help us with this
    Br
    SvBoho

    Hi,
    To manager DPM, I think we may need to add the account to local admin group of the DPM server.
    In addition, to connect to DPM the user needs permissions to DPM/SQL Server DPMDB.
    For your DCs, have your enabled agent proxy option? If not, please enable that option for all DCs.
    To monitor DPM with SCOM, please also go through the below links:
    http://kevingreeneitblog.blogspot.com/2011/10/managing-and-monitoring-system-center.html
    http://damatisystemcenter.com/2013/10/14/monitor-data-protection-manager-2012-using-scom-2012-sp1/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    Yan Li
    Regards, Yan Li

  • SCOM 2012 Installation fails while deploying Datawarehouse

    Hi All,
    I have a strange issue, My SCOM 2012 installation fails during Datawarehouse deployment. (This setup is not SCOM 2012 SP1 OR 2012 R2 it is just SCOM 2012)
    When i check the SCOM installation logs it says it tried to connect to my Management server and it could not open Port 5724.
    During the installation i checked that the SDK Service was stopping frequently and also a Visual studio debugger popup also occured. Can any one assist in solving the issue ?
    Screenshots:
    Error logs
    Microsoft.EnterpriseManagement.OperationsManager.Setup.ReportingComponent.GetExistingManagementServerFromOMDB(String omSQLServer, Nullable`1 omSqlPort, String omDatabaseName, String& firstWorkingManagementServer)
    [01:08:57]: Error:
    :Inner Exception.Type: System.ServiceModel.EndpointNotFoundException, Exception Error Code: 0x80131500, Exception.Message: Could not connect to net.tcp://My management server:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:03.0079280.
    TCP error code 10061: No connection could be made because the target machine actively refused it 172.17.221.45:5724. 
    [01:08:57]: Error:
    :InnerException.StackTrace:
    Server stack trace: 
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
       at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
       at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
    [01:08:57]: Error:
    :Inner Exception.Type: System.Net.Sockets.SocketException, Exception Error Code: 0x80131500, Exception.Message: No connection could be made because the target machine actively refused it 172.17.221.45:5724
    [01:08:57]: Error:
    :InnerException.StackTrace:   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
    [01:08:57]: Always:
    :Management Server My management server failed to connect, now trying another one.
    [01:08:57]: Warn:
    :Failed to connect to any SDK in the management group, trying again
    [01:09:17]: Info:
    :Info:trying to connect with server My management server
    [01:09:26]: Info:
    :Info:Error while connecting to management server: The Data Access service is either not running or not yet initialized. Check the event log for more information.
    [01:09:26]: Error:
    :Couldn't connect to mgt server stack: : Threw Exception.Type: Microsoft.EnterpriseManagement.Common.ServiceNotRunningException, Exception Error Code: 0x80131500, Exception.Message: The Data Access service is either not running or not yet initialized.
    Check the event log for more information.
    [01:09:26]: Error:
    :StackTrace:   at Microsoft.EnterpriseManagement.Common.Internal.ExceptionHandlers.HandleChannelExceptions(Exception ex)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConstructEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore clientCallback)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.RetrieveEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Connect[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
       at Microsoft.EnterpriseManagement.ManagementGroup.InternalInitialize(EnterpriseManagementConnectionSettings connectionSettings, ManagementGroupInternal internals)
       at Microsoft.EnterpriseManagement.OperationsManager.Setup.ReportingComponent.GetExistingManagementServerFromOMDB(String omSQLServer, Nullable`1 omSqlPort, String omDatabaseName, String& firstWorkingManagementServer)
    [01:09:26]: Error:
    :Inner Exception.Type: System.ServiceModel.EndpointNotFoundException, Exception Error Code: 0x80131500, Exception.Message: Could not connect to net.tcp://My management server:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:03.0040216.
    TCP error code 10061: No connection could be made because the target machine actively refused it 172.17.221.45:5724. 
    [01:09:26]: Error:
    :InnerException.StackTrace:
    Server stack trace: 
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
       at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
       at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
       at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
       at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
    [01:09:26]: Error:
    :Inner Exception.Type: System.Net.Sockets.SocketException, Exception Error Code: 0x80131500, Exception.Message: No connection could be made because the target machine actively refused it 172.17.221.45:5724
    [01:09:26]: Error:
    :InnerException.StackTrace:   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
    [01:09:26]: Always:
    :Management Server My management server failed to connect, now trying another one.
    [01:09:26]: Warn:
    :Failed to connect to any SDK in the management group, trying again
    [01:09:46]: Error:
    :Error:Could not connect to management group. Can not continue with DW upgrade...
    [01:09:46]: Info:
    :Info:got MG connection
    [01:09:46]: Error:
    :Error:Could not connect to management group. Cannot continue with current action...
    [01:09:46]: Error:
    :FATAL ACTION: GetManagementGroup
    [01:09:46]: Error:
    :FATAL ACTION: DWInstallActionsPostProcessor
    [01:09:46]: Error:
    :ProcessInstalls: Running the PostProcessDelegate returned false.
    [01:09:46]: Always:
    :SetErrorType: Setting VitalFailure. currentInstallItem: Data Warehouse Configuration
    [01:09:46]: Error:
    :ProcessInstalls: Running the PostProcessDelegate for OMDATAWAREHOUSE failed.... This is a fatal item.  Setting rollback.
    [01:09:46]: Info:
    :SetProgressScreen: FinishMinorStep.
    [01:09:46]: Always:
    :!***** Installing: OMCONSOLE ***
    [01:09:46]: Info:
    :ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
    [01:09:46]: Always:
    [01:09:46]: Always:
    :****Starting*RollBack*******************************************
    [01:09:46]: Always:
    [01:09:46]: Info:
    :SetProgressScreen: StartMinorStep.
    [01:09:46]: Info:
    :SetProgressScreen: StartMinorStep.
    [01:09:46]: Debug:
    :ProcessInstalls: Install Item Data Warehouse Configuration has a Preprocessing delegate of RunXamlPreProcessor.  Launching it now.
    [01:09:46]: Always:
    :Determining actions to be run.
    [01:09:46]: Always:
    :Done validating action list; now running individual actions.
    [01:09:46]: Always:
    :Current Action: UninstallPrePreprocessor
    [01:09:46]: Info:
    :UninstallPrePreprocessor completed.
    [01:09:46]: Always:
    :Current Action: UpgradePreprocessor
    [01:09:46]: Info:
    :UpgradePreprocessor completed.
    [01:09:46]: Always:
    :LaunchExeSetup: Launching E:\SCOM setups\SCOM 2012\Setup\AMD64\SetupInstallItem.exe with arguments:  
    [01:09:46]: Info:
    :SetProgressScreen: Init Exe Install progress.
    [01:09:47]: Always:
    :LaunchExeSetup: Install return value was: 0
    [01:09:47]: Info:
    :CheckPointPassed is removing the Rollback property as this is an uninstall.
    [01:09:47]: Always:
    :SetErrorType: Setting VitalFailure. currentInstallItem: Data Warehouse
    Gautam.75801

    Hi All,
    So i got the actual commands to register the SPN. So the above were wrong. Hope the below is useful for some one if the face the above issue.
    In Windows Server 2008R2 – the command is SETSPN –A. In WS2012, it changed to SETPSPN –S which checks for duplicates before it allows you to create them.
    Legend: SCOM Server - SCOMSVR.Contoso.com
    DNS Domain: Contoso.com
    SDK Account: SDKSVC
    To add SPN for the SDK Service:
    ===================================
    In Win2k 12
    setspn -S MSOMSdkSvc/SCOM Server FQDN Domain\SDK Account name
    setspn -S MSOMSdkSvc/SCOM Server name without FQDN Domain\SDK Account name
    Ex: setspn -S MSOMSdkSvc/SCOMSVR.Contoso.com Contoso\SDKSVC
    setspn -S MSOMSdkSvc/SCOMSVR Contoso\SDKSVC
    In Win2k8
    setspn -A MSOMSdkSvc/SCOM Server FQDN Domain\SDK Account name
    setspn -A MSOMSdkSvc/SCOM Server name without FQDN Domain\SDK Account name
    Ex: setspn -A MSOMSdkSvc/SCOMSVR.Contoso.com Contoso\SDKSVC
    setspn -A MSOMSdkSvc/SCOMSVR Contoso\SDKSVC
    To verify the SPN's
    ============================
    1. setspn -L MS Host name without FQDN
    Ex: setspn -L SCOMSVR
    2. setspn -L Domain\DSK Action account
    Ex: setspn -L Contoso\SDKSVC
    Post entering the above commands you should see the entries of the Healthservice and not the entries of the SDK Service.
    1. If you are are using a Domain account for SDK / DAS then that entry should not appear when execute the command “setspn -L  SCOMSVR”. Where SCOMSVR is the name of the MS and it should be without FQDN.
    Example: The below entry should not appear when you enter setspn -L SCOMSVR
    MSOMSdkSvc/SCOMSVR
    MSOMSdkSvc/SCOMSVR.contoso.com
    If you get the above entries for "setspn -L SCOMSVR" then you need to delete and re add the SPN again and re check.
    If you get Duplicate entries the below post entering "setspn -L Contoso\SDKSVC" then you need to delete the duplicate entries and re add the SPN again and re check.
    Ex: MSOMSdkSvc/SCOMSVR
    MSOMSdkSvc/SCOMSVR.contoso.com
    MSOMSdkSvc/SCOMSVR.contoso.com
    MSOMSdkSvc/SCOMSVR
    To delete a SPN if required:
    ===============================
    setspn -D MSOMSdkSvc/SCOM MS FQDN Hostname without FQDN Hostname
    setspn -D MSOMSdkSvc/Hostname without FQDN Hostname without FQDN again
    Ex: setspn -D MSOMSdkSvc/SCOMSVR.Contoso.com SCOMSVR
    setspn -D MSOMSdkSvc/SCOMSVR SCOMSVR
    Reference used : http://blogs.technet.com/b/kevinholman/archive/2011/08/08/opsmgr-2012-what-should-the-spn-s-look-like.aspx
    Gautam.75801

  • System center data access service crashes with event id 26339 ad 26380 in SCOM 2012 Sp1 RTM

    hi all,
    I have deployed scom 2012 sp1 rtm on Os 2012 std and database is on another VM Machine having SQL 2012 sp1 with OS 2008 R2 SP1 std, suddenly sql vm get stopped and unable to start , so I have delete it from hyper-v 2012 console and imported the VM again
    in Hyper-0S 2012 cluster.
    Now, System centre data access service get crashed again and again with mentioned events
    event 26339, OpsMgr SDKService
    event 26380, opsmgr SDkService
    An exception was thrown while initializing the service container.
    Exception message: Initialize
    Full exception: HTTP could not register URL
    http://+:51905/ConnectorFramework/ because TCP port 51905 is being used by another application.
    The System Center Data Access service failed due to an unhandled exception. 
    The service will attempt to restart.
    Exception:
    System.ServiceModel.AddressAlreadyInUseException: HTTP could not register URL http://+:51905/ConnectorFramework/ because TCP port 51905 is being used by another application. ---> System.Net.HttpListenerException: The process cannot access the file
    because it is being used by another process
       at System.Net.HttpListener.AddAllPrefixes()
       at System.Net.HttpListener.Start()
       at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
       --- End of inner exception stack trace ---
       at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
       at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
       at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
       at System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at Microsoft.EnterpriseManagement.ConnectorFramework.ServiceDataLayer.ConnectorFrameworkDataAccessChannel.Initialize()
       at Microsoft.EnterpriseManagement.ServiceDataLayer.DispatcherService.Initialize(InProcEnterpriseManagementConnectionSettings configuration)
       at Microsoft.EnterpriseManagement.ServiceDataLayer.DispatcherService.InitializeRunner(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    Kirpal Singh

    Hi Kirpal
    Can you try this it might help as its an known issue of getting event id 's 26361,26380 try out & lets see if it helps.
    The manifest files are located on the RMS at the \Program Files\System Center Operations Manager 2007\ root directory. The manifest files will need to be edited for the config and sdk service on affected RMS. The file names are:
    Microsoft.Mom.Sdk.ServiceHost.exe.config
    Microsoft.Mom.ConfigServiceHost.exe.config
    In between the EXISTING <runtime> and </runtime> lines – you need to ADD a NEW LINE with the following:
    <generatePublisherEvidence enabled="false"/>
    This solution disables CRL checking for the specified execute-ables, permanently.

  • Bulk URL Monitoring is SCOM 2012 SP1

    Hey Team,
    i need to setup 100 + url monitors in scom 2012 sp1, i came across a term named BULK URL Monitor which suits my requirement. The issue is i am failing to get it to work when i click Bulkmonitor.exe i am gettign the below error and not sure how to resolve
    it.
    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
       at Microsoft.EnterpriseManagement.BulkUrlManager.BulkUrlManagerForm..ctor()
       at Microsoft.EnterpriseManagement.BulkUrlManager.Program.Main()
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    Any suggestions will be highly appreciated.
    -vrkumar01
    RajKumar

    It worked.
    intially i tried to install in \System Center 2012\Operations Manager\Setup & System Center 2012\Operations Manager\Server both failed but this
    System Center 2012\Operations Manager\Console worked.
    thanks a lot
    -vrkumar01
    RajKumar

  • Mssql collation conflict while update scom 2012 sp1 to r2

    hi all
    i have scom 2012 sp1 (windows server2008 r2), mssql 2012 sp1 (windows server2008 r2)
    while updating scom 2012 sp1 to r2 error is appears:
    "DB operations failed with SQL error 468: Cannot resolve the collation conflict between "Cyrillic_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation."
    how can i change collation of db "OperationsManager" from "Cyrillic_General_CI_AS" to "SQL_Latin1_General_CP1_CI_AS"?
    thanks in advance

    For Failed to store data in the Data Warehouse. Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" in the equal to operation, you can refer below link
    http://thoughtsonopsmgr.blogspot.com/2010/04/failed-to-store-data-in-data-warehouse.html
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • SCOM 2012 SP1 Can't get email alerts for Heartbeat Failure or Computer Unreachable when combined with Group.

    Hello,
    I have SCOM 2012 SP1 RTM POC lab.  I have created a dynamic group that picks up my system center servers based on some simple criteria and this works fine.
    I have set up a subscription for critical and high severity alerts originating from this dynamic group called SCOM Servers to send emails to a distribution.  This also worked well for any critical alert that was NOT Heartbeat Failure or Computer Unreachable. 
    I see those in the console but no email.
    So I set up a new subscription by right clicking on the alerts and here's the kicker.  If add no other conditions to these subscriptions, they will send emails to the DL I provided, but if add the condition initiating from group, and specify my dynamic
    group SCOM servers, no email alert.  But the alert still appears in the console.
    Any ideas on this?  I would like the appropriate support groups to get these types of alerts for the servers that they support (i.e. SCOM will get SCOM servers, Exchange Admin will get Exchange and never the two roads shall meet.).
    I even tried some internet posted custom management pack, but I couldn't import it after adding the code that he listed.
    I mean, isn't this a basic requirement for any mid-sized company?
    Any help is greatly appreciated.

    Hi Donald,
    Like Dan says you need to add the "Health Service Watcher" objects to the groups as wel. Unfortunately this cannot be done in the Dynamic group Editor but has to be done in the XML. Export the XML and add the following piece of code between the
    lines </MembershipRule></MembershipRules>:
    <MembershipRule>
     <MonitoringClass>$MPElement[Name="SystemCenter!Microsoft.SystemCenter.HealthServiceWatcher"]$</MonitoringClass>
    <RelationshipClass>$MPElement[Name="MicrosoftSystemCenterInstanceGroupLibrary7084300!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$</RelationshipClass>
    <Expression>
    <Contains>             
    <MonitoringClass>$MPElement[Name="SystemCenter!Microsoft.SystemCenter.HealthService"]$</MonitoringClass>
          <Expression>
    <Contained>         
    <MonitoringClass>$MPElement[Name="MicrosoftWindowsLibrary7084300!Microsoft.Windows.Computer"]$</MonitoringClass>
              <Expression>
                <Contained>
                  <MonitoringClass>$Target/Id$</MonitoringClass>
                </Contained>
              </Expression>
            </Contained>
          </Expression>
        </Contains>
      </Expression>
    </MembershipRule>
    Save the XML delete the old one in OpsMgr and import the edited.
    For SP1 the SystemLibrary version is 7.0.8430.0. If this is not your version you need to edit this in the code above.
    Hope this helps,
    Regards Marthijn van Rheenen
    Blog: Heading To The Clouds

  • SCOM 2012 SP1 UR4 management servers grey state

    Hi,
    My SCOM environment is made up of the below :-
    SCOM 2012 SP1 UR4.
    3 SCOM Management Servers all on Windows 2008 R2 SP1.
    Shared SQL 2008 cluster with 2 Windows nodes also on same OS.
    Just recently all our SCOM management servers have been flipping in and out from grey to green state.  Gateways/agents all look ok as showing green.  Alerting from agents appears normal as can see lots of them in console.
    Have flushed the health state cache folder on all 3 SCOM MS's and still the same issue.
    Appreciate any help on this one.

    Event id: 7011 - Was your server recently patched (Installed by any automatic updates) ?
    IS SCCM Configured in your MS? If Yes disable and check?
    Is Windows update service running ? Stop if for one or two days and check if this issue still appears
    Reference threads:
    http://social.technet.microsoft.com/Forums/en-US/b86e5a3d-0c2e-4d5e-9d3d-905da91fc982/scom-2012-event-id-7011-service-control-manager-error-when-fep-definition-updates-apply?forum=configmanagersecurity
    http://stefanroth.net/2012/09/26/scom-2012-event-id-7011-service-control-manager-error/
    Solution also available in: http://technet.microsoft.com/en-us/library/cc756319(v=ws.10).aspx
    ===========================================
    For Event id 20026 - 
    1. Does your Operationsmanager database have enough space ? Check that first.
    What is you DB size ?
    How much is the free space left ?
    2. Was there any resent change in the SCOM Action accoutn password ? Or has the password expired. Try re entering the SCOM Action password by re directing your self to Administration tab --> Run as Config -- > Accounts --> SCOM Action account.
    The description would be - This is the user account under which all rules run by default on the agent.
    Right click and go to properties and re enter the account name and password there and check.
    Refer the below screen shot
    Check this article as well:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/102d443c-db0e-4bf2-b0d6-31d7f9328537/all-agents-greyed-out-multiple-event-errors-with-ids-20026-20028?forum=operationsmanagergeneral
    ============================================
    Event id : 11904 - As per my knowledge appears due to incorrect Alrting string display name selected in any Rule or monitor.
    Also the description what you pasted in Event id : 11904 says Microsoft.SystemCenter.HealthService.ActionAccountConfigured.Error as highlighted below.
    Suggest to re enter the action account password and tell the results.
    Also is the Healthservice on the MS running using System account or Domain account ?
    =================================================================
    Description : The Microsoft Operations Manager Expression filter Module failed to query the delivered item, item was dropped.
    Property Expression: Reachability/State
    Error : 0XC00EE22
    One or more workflows were affected by this. Workflow
    name: Microsoft.SystemCenter.HealthService.ActionAccountConfigured.Error
    Gautam.75801

  • SCOM 2012 SP1 Upgrade

    Hello,
    I have a SCOM 2007 R2 CU7 server that I upgraded to SCOM 2012.  I am running Windows Server 2008 R2 SP1 and SQL Server 2008 R2 SP2.  I tried twice to upgrade it to SCOM 2012 SP1 and it failed both times.  In the OpsMgrSetupWizard.log file,
    I see this error:
    : Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Incorrect syntax near 'MERGE'. You may need to set the compatibility level of the current database to a higher value to enable this feature.
    See help for the SET COMPATIBILITY_LEVEL option of ALTER DATABASE.
    Incorrect syntax near the keyword 'AND'.
    Incorrect syntax near the keyword 'THEN'.
    [10:58:04]: Error: :StackTrace:   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlCommandsList(IEnumerable`1 sqlCommands)
    [10:58:04]: Error: :RunStandardScripts failed with the following exception: : Threw Exception.Type: System.Reflection.TargetInvocationException, Exception Error Code: 0x80131604, Exception.Message: Exception has been thrown by the target of an invocation.
    [10:58:04]: Error: :StackTrace:   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at Microsoft.EnterpriseManagement.SetupFramework.ActionEngine.Action.Run(String displayStringNamespace, ProgressData progressData, Func`2 progressDelegate)
       at Microsoft.EnterpriseManagement.SetupFramework.ActionEngine.InstallStep.Run(String displayStringNamespace, ProgressData progressData, Func`2 progressDelegate)
    [10:58:04]: Error: :Inner Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131604, Exception.Message: Incorrect syntax near 'MERGE'. You may need to set the compatibility level of the current database to a higher value
    to enable this feature. See help for the SET COMPATIBILITY_LEVEL option of ALTER DATABASE.
    Incorrect syntax near the keyword 'AND'.
    Incorrect syntax near the keyword 'THEN'.
    After both failed upgrades, I had to re-install SCOM 2007.  How can I get the upgrade to complete?  The prerequisites have been installed.

    So try to change the SQL database Compatibility Level to SQL 2008 (100):
    1. Open SQL Server Management Studio
    2. Connect to the SQL server hosting the Operations Manager Databases
    3. Expand Databases, Right Click on OperationsManager and click properties
    4. Click Options, Change the Compatibility level: drop down to SQL Server 2008 (100), Click OK
    5. Right Click on OperationsManagerDW and click properties, Click Options
    6. Change the Compatibility level: drop down to SQL Server 2008 (100), Click OK
    Niki Han
    TechNet Community Support

  • SCOM 2012 SP1 Datawarehouse event id 31553 and after 2 minutes successful id 31572

    Hello guys,
    I'm running SCOM 2012 SP1 and in one of my 3 Management groups i got the following events. I get them every few minutes and i cannot explain it. I have checked the aggregation of the DW and its fine. I Have extended the timeout from 5 to 15 minutes ... What
    should i do next. Please help with this. I have checked all 2007 posts but they are not related to my problem. I have tried a number of queries but they don't return any result. Do I have a SQL server performance issue ?
    Date and Time:
    10/27/2014 11:05:10 AM
    Log Name:
    Operations Manager
    Source:
    Health Service Modules
    Generating Rule:
    Data Warehouse related event collection
    Event Number:
    31553
    Level:
     Error
    Logging Computer:
    User:
    N/A
    Description:
    Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations. Exception 'SqlException': Transaction (Process ID 71) was deadlocked on lock resources with another process and has been chosen as the deadlock
    victim. Rerun the transaction.
    One or more workflows were affected by this.
    Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectPerformanceData
    Instance name: server2.mymg.corp
    Instance ID: {EBD49B2A-D314-07DF-9E2C-B79CF86B1A72}
    Management group: MyMG
    Date and Time:
    10/27/2014 11:26:36 AM
    Log Name:
    Operations Manager
    Source:
    Health Service Modules
    Generating Rule:
    Data Warehouse related event collection
    Event Number:
    31553
    Level:
     Error
    Logging Computer:
    server10.mymg.corp
    User:
    N/A
    Description:
    Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations. Exception 'SqlException': Transaction (Process ID 68) was deadlocked on lock resources with another process and has been chosen as the deadlock
    victim. Rerun the transaction.
    One or more workflows were affected by this.
    Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectPerformanceData
    Instance name: server10.mymg.corp
    Instance ID: {DBDD19A5-98B3-F90A-641E-7C4693BFD6EB}
    Management group: MyMG
    Event Data:
     View Event Data
    < DataItem
    type ="
    System.XmlData "
    time =" 2014-10-27T11:26:36.2773982-05:00
    " sourceHealthServiceId
    =" DBDD19A5-98B3-F90A-641E-7C4693BFD6EB
    " >
    < EventData
    >
    < Data > MyMG</
    Data >
    < Data >
    Microsoft.SystemCenter.DataWarehouse.CollectPerformanceData
    </ Data
    >
    < Data > server10.mymg.corp
    </ Data
    >
    < Data >
    {DBDD19A5-98B3-F90A-641E-7C4693BFD6EB}
    </ Data >
    < Data >
    SqlException </
    Data >
    < Data >
    Transaction (Process ID 68) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    </ Data
    >
    </ EventData
    >
    </ DataItem
    >
    User:
    N/A
    After 2 minutes i will have the 31572 which is
    Data writer successfully performed data maintenance operations. What would be the reason for this ?

    There are a few things that can cause this. Your hint here is the deadlock message; processes are competing to write data in the DW, so you need to find out what that is. You also have a message stating that data is written to staging, but timing out moving
    the data. If you happen to be running the Exchange MP, this creates an additional data set that can quietly clog up the works--but you would see that dataset in the event message as well.
    Because you say aggregation is moving, try following these steps, they have served me well. I think you are seeing the results of data getting 'stuck' that causes the system to slowly choke itself. Note: You can focus on just the perf dataset, but always
    a good idea to make sure everything is healthy while you're at it.
    Steps:
    Check to see if the staging area for data written to the DW is clear and data is moving:
    select count(*) from Alert.AlertStage
    select count (*) from Event.eventstage
    select count (*) from Perf.PerformanceStage
    select count (*) from state.statestage
    These values normally rise and fall rapidly. If you open each table, they should also only contain recent data. If you find any data points older than a day, something is stuck. In one case I found state.statestage stuck around 14300. A look at the data
    showed a few hundred rows of data that had information 4 months old.
    See if data is moving (if you have old data, the answer is evident):
    1. select * from StandardDataset
    2. Plug the appropriate GUID into exec StandardDatasetMaintenance @DatasetId='<GUID from query>'
    3. See if the count decreases
    If it doesn't, if the data is expendable, just truncate the table (don't be afraid to do this--if OpsMgr is choking, stop the choking, and don't fret over missing data points)
    truncate table state.statechange
    Optional query:
    Plug the DatasetId into the below query
    USE [OperationsManagerDW]
    DECLARE @DataSet uniqueidentifier
    SET @DataSet = (SELECT DatasetId FROM StandardDataset WHERE DatasetId = '138B1324-BE31-42D7-A6CB-EA10139E309C')
    EXEC StandardDatasetMaintenance @DataSet
    Note: Valid current values are Event, Alert, CM, Perf, State
    If these check out, it's time to
    See if any SQL jobs are running that could be interfering
    If you are not out of space, but close, and autogrow is killing your performance
    Run the large table query to see if you have unchecked perf data growth that exceeds the performance capability of the SQL box
    You may indeed have a SQL performance issue, but that's the last thing you troubleshoot--make sure OpsMgr is healthy first

Maybe you are looking for