SCCM Report- Count of SQL Servers installed in my enviroment

Hello everyone,
I need to give count of SQL server installed in my organization for auditing.
i want the count of sql server edition wise ,for example,
SOFTWARE                                         COUNT
Microsoft SQL server 2008 express - 1000
Microsoft SQL server 2010 standard - 525
There are SQL servers 2005 to 2012 including all editions in my organization.
PLEASE anyone help me.
We have SCCM 2007 in my enviroment.

I am getting this error as i pulled a report
Invalid object name 'v_gs_sql_property0'.
Error Number:
-2147217865
Source:
Microsoft OLE DB Provider for SQL Server
Native Error:
208
REPORT SQL QUERY
select sys1.Netbios_name0,
max(Case sql.PropertyName0 when 'SKUName' then
   sql.PropertySTRValue0 end) as [SQL08 Type]
,max(Case sql.PropertyName0 when 'SPLEVEL' then
   sql.PropertyNUMValue0 end) as [SQL08 Service Pack]  
,max(Case sql.PropertyName0 when 'VERSION' then
   sql.PropertySTRValue0 end) as [SQL08 Version]
,max(Case sql.PropertyName0 when 'FILEVERSION' then
   sql.PropertySTRValue0 end) as [SQL08 CU Version]
,max(Case sql.PropertyName0 when 'INSTANCEID' then
   sql.PropertySTRValue0 end) as [SQL08 InstanceID]
,max(Case sql2.PropertyName0 when 'SKUName' then
   sql2.PropertySTRValue0 end) as [SQL05 Type]
,max(Case sql2.PropertyName0 when 'SPLEVEL' then
   sql2.PropertyNUMValue0 end) as [SQL05 Service Pack]
,max(Case sql2.PropertyName0 when 'VERSION' then
   sql2.PropertySTRValue0 end) as [SQL05 Version]
,max(Case sql2.PropertyName0 when 'FILEVERSION' then
   sql2.PropertySTRValue0 end) as [SQL05 CU Version]
,max(Case sql2.PropertyName0 when 'INSTANCEID' then
   sql2.PropertySTRValue0 end) as [SQL05 InstanceID]
from v_r_system sys1
left join v_gs_sql_property0 sql on sys1.resourceid=sql.ResourceID
left join v_gs_sql_property_legacy0 sql2 on sys1.ResourceID=sql2.ResourceID
where sql.PropertyName0 in ('instanceid','SKUNAME','SPLevel','version','fileversion')
or
sql2.PropertyName0 in ('instanceid','SKUNAME','SPLevel','version','fileversion')
group by sys1.Netbios_name0

Similar Messages

  • SCCM Reporting: Software Updates / Apllication the "Installed date" is missing or null in reports

    When the “V_GS_Add_Remove_Programs” or “V_GS_Quick_Fix_Engineering” queried for installed date (the views that contains information  on updates/application
    installed date),  the “installDate0” Column returns “Null” or is
    "blank" on most of the rows.
    The machine in this example is “X”
    2. As you can see from the machines X's add remove Programs installed Date is given clearly.
    Appreciate your help on this as its for an audit report of windows updates and applications installed date, I know that some applications do not populate this value but my argument is if its visible from Programs and Features why isn't the data being collected.
    Best Regards,
    Michael

    Duplicated post.
    http://social.technet.microsoft.com/Forums/en-US/678489ad-3289-4fd6-8e84-bbaf487abacf/sccm-reporting-software-updates-apllication-the-installed-date-is-missing-or-null-in-reports?forum=configmanagergeneral
    http://www.enhansoft.com/

  • SCCM Reports Will Not Run - SQL Connection Issue

    We have SCCM 2012 R2 CU2 and SQL 2012 SP1 CU6. We used to build our SCCM suites with SQL on the site server and have never had this problem that we now have on a new suite but this time we hosted SQL on its own server (SQ01) separate from the site server.
    SCCM made the SQL server a component server (makes sense) and forced us to put Reporting Services on the SQL server (when trying to put it on the site server it would not find the instance-CM01, as that one has SSRS on it). The site server is ABC01. We've
    already fixed a couple errors in regards to this issue.
    The Reporting Services installed on SQ01 fine. When you go to reports in admin console it loads the 419 default SCCM reports just fine. But none of them will run properly. They open up but a popup appears with this error in the error details popup:
    "An error has occurred during report processing....AbortedException: An error has occurred during report processing...ReportProcessingException: Cannot create a connection to data source AutoGen__(many numbers). System exception..."
    If you go to SQ01, open Reporting Services Config Mgr, connect to instance SC01, click the URL under Report Manager URL, it prompts you for a logon (but should not do so) and you can log in with the service account selected when the Reporting services were
    installed in SCCM Admin Console, drill down into ConfigMgr_ABC, click on the default created data source named {bunch of numbers}, and herein there are two more problems....1) it doesn't save the pwd for the service account, when clicking test connection we
    often have to reenter it, and 2) the ConnectionString has this entry for Source="ABC01.fqdn/CM01" but it will never connect with that. If we change it to just "CM01" and it is currently holding the pwd, it will test connect successfully
    but after just a few minutes it won't because something has reset the connection to "ABC01.fqdn/CM01" and forgotten the pwd. It is apparent that something is overwriting the settings in a way SQL currently doesn't like.
    Also, we have an alias within SQL in this format "SQ01.fqn/CM01" when SQL already has a "CM01" alias. This seems to be a problem too.
    Any input appreciated.
    Ben JohnsonWY

    OK, I'm duly web-embarrassed. Apparently due to some firewall blockage, my Admin Console on my workstation (which is in a different VLAN from these servers), could not save the changed Reporting Services configs to SQL. When we made the changes using the
    Admin Console on ABC01, it all started working.
    Ben JohnsonWY

  • Problems install SCCM 2012 with remote sql 2008 r2 sp2

    I am having issues installing sccm 2012 on a remote sql 2008 r2 sp2 server on a seperate instance.
    I get the error "The network path was not found"  
    if i point it at the primary instance it will let me continue but i cannot install sccm into that instance.
    I have turned off dynamic ports and set a static port but I do not see where i can enter that in the installer.
    I cannot seem to verify is the ssb port is working correctly or not.
    my account is local admin on both servers and a sql sysadm.
    There is no firewall between servers.
    Any suggestions?
    Regards
    Don

    SPN is setup to AUTO register and is working.  remote sql is not a cluster.  Windows firewall on both servers is disabled.  Sql browser is enabled and started.  we have a group for system center that contains site servers and this group
    is in the local admin of both servers and sysadm inside of sql server.
    Why  we are consolidating all or our lesser sql servers into a larger one.
    Snipt of the log.
    12/12/2012 2:57:37 PM: ConfigMgrSetupWizard Error: 1 : Exception message: [The network path was not found.
    ], Exception details: [System.IO.IOException: The network path was not found.
    Server stack trace: 
       at Microsoft.Win32.RegistryKey.Win32ErrorStatic(Int32 errorCode, String str)
       at Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(RegistryHive hKey, String machineName)
       at Microsoft.SystemCenter.ConfigMgr.Setup.DatabaseUtility.GetSqlConnection(String databaseName, String serverName, Boolean encrypt)
       at Microsoft.SystemCenter.ConfigMgr.Setup.DatabaseUtility.CheckSqlConnection(String serverName, String instanceName)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
       at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
       at Microsoft.SystemCenter.ConfigMgr.Setup.CheckSqlAsync.EndInvoke(IAsyncResult result)
       at Microsoft.SystemCenter.ConfigMgr.Setup.DatabasePage.ValidatePage()
       at Microsoft.SystemCenter.ConfigMgr.SetupFramework.WizardForm.ActivatePage(String pageId, Boolean goingNext)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.Controls.Button.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
       at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)].
    12/12/2012 3:01:42 PM: ConfigMgrSetupWizard Information: 1 : Creating SQL connection to database ADMIN\master on server YSQL030.srf.local.
    12/12/2012 3:01:42 PM: ConfigMgrSetupWizard Error: 1 : Exception message: [The network path was not found.
    ], Exception details: [System.IO.IOException: The network path was not found.

  • SCCM 2012 R2 Reporting issue updating SQL Reporting permissions

    I am in the process of setting up SCCM 2012 R2.  I am having an issue with the SCCM reporting.  If I set the permissions in the SCCM console, the permissions do not propagate to the SQL reporting... I get this... This is from SRSRP.log...
    Updating data source {5C6358F2-4BB6-4a1b-A16E-8D96795D8602} at ConfigMgr_DIT $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.384+300><thread=5432 (0x1538)>
    (!) Error retrieving folders - [A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The target principal name is incorrect.)]. $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.438+300><thread=5432 (0x1538)>
    No folder configuration information found. $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.441+300><thread=5432 (0x1538)>
    Does anyone know how to fix?
    I tried removing and re-installing the reporting point, changing the permissions in SQL Server... and a dozen other things.

    I am in the process of setting up SCCM 2012 R2.  I am having an issue with the SCCM reporting.  If I set the permissions in the SCCM console, the permissions do not propagate to the SQL reporting... I get this... This is from SRSRP.log...
    Updating data source {5C6358F2-4BB6-4a1b-A16E-8D96795D8602} at ConfigMgr_DIT  $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.384+300><thread=5432 (0x1538)>
    (!) Error retrieving folders - [A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The target principal name is incorrect.)].  $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.438+300><thread=5432 (0x1538)>
    No folder configuration information found.  $$<SMS_SRS_REPORTING_POINT><01-15-2015 12:00:55.441+300><thread=5432 (0x1538)>
    Does anyone know how to fix?
    I tried removing and re-installing the reporting point, changing the permissions in SQL Server... and a dozen other things.

  • Unable to install MBAM 2.5 with SCCM integration on named SQL instance

    Hi,
    in production i am installing MBAM 2.5 with SCCM integration but during the installation it asks for the SCCM reporting services point and which it is unable to recognize.
    whereas in my lab environment i have default SQL instance which has reporting installed, in that case it works fine.
    can someone let me know why the issue is coming?
    in the event log the issue is :  Description = "user domain\username is not able to get the lock at this time.Error:0x40480732"

    For the integration part, You need to install the MBAM SCCM Integration feature on SCCM server. For compliance reporting in integration, MBAM uses the Reporting service point for SCCM.
    When installing the SCCM integration feature, you need to provide the name of the reporting Server where Reporting Service point role is installed for SCCM. But it does not provides any option for the instance but for the Server only. We have two instances
    for SQL. One for CAS and other for Primary site. We need to run the installer on CAS and hence need to connect to the SQL instance for CAS.
    We have also tried with the powershell commands but it is not working either.
    Is there any way to install MBAM integration feature on a SQL instance. As far as I know, it automatically picks the instance but not happening for me.
    Gaurav Ranjan

  • Reporting Service Error Code 7403, on SCCM 2012 R2 with SQL 2012 SP1 CU6

    Dear All,
    I am facing issue to install Reporting Services Point on SCCM 2012 R2 with SQL 2012 SP1 CU6. getting error messages id 7403. please let me know if SQL 2012 SP1 CU6 is supported with SCCM 2012 R2 or not & if you have any solution on it.
    Error Message: The report server service is not running on Reporting Service Point server "SCCM2012"; start the service to enable reporting.

    I am getting below error msg when trying to browse both sites
    1) For Reports
    The report server cannot decrypt the
    symmetric key that is used to access sensitive or encrypted data in a report
    server database. You must either restore a backup key or delete all encrypted
    content. (rsReportServerDisabled)
    Get Online Help
    Keyset does not exist (Exception from
    HRESULT:
    0x80090016)
    2) For Reportserver
    Reporting Services Error
    The report server cannot decrypt the symmetric key that is used to access
    sensitive or encrypted data in a report server database. You must either restore
    a backup key or delete all encrypted content. (rsReportServerDisabled)
    Get Online Help
    Keyset does not exist (Exception from HRESULT: 0x80090016)
    SQL Server Reporting Services

  • SCCM Report for Applicable and Installed Updates Collection Wise

    Hi All, I was looking for a report on Applicable and Installed Updates Collection Wise and got this below query on the Internet and want to create a SCCM report with this below query. How to make this query working in SCCM report?
    Do I need to add prompts, if yes please guide me on adding prompts.
    SELECT
    DISTINCT
    SYS.Name0
    AS [Server Name], SIS.SMS_Installed_Sites0 AS [Site Code], UCS.Status AS [Patch Status Code],
    CASE WHEN UCS.Status = '2' THEN 'Applicable' WHEN UCS.Status = '3' THEN 'Installed' ELSE '' END AS 'Patch Status', UI.BulletinID AS [Bulletin ID],
    UI
    .ArticleID AS [Article ID], UI.
    Title
    FROM
    v_R_System AS SYS LEFT OUTER
    JOIN
    v_Update_ComplianceStatusAll
    AS UCS ON SYS.ResourceID = UCS.ResourceID INNER
    JOIN
    v_UpdateInfo
    AS UI ON UCS.CI_ID = UI.CI_ID INNER
    JOIN
    v_RA_System_SMSInstalledSites
    AS SIS ON SYS.ResourceID = SIS.
    ResourceID
    WHERE
    (UCS.Status IN ('2', '3')) AND (UI.ArticleID IN ('972270', '974392', '973904', '969947')) AND (SYS.Name0
    IN
    (SELECT DISTINCT v_FullCollectionMembership.
    Name
    FROM v_FullCollectionMembership INNER
    JOIN
    v_R_System
    ON v_R_System.ResourceID = v_FullCollectionMembership.ResourceID AND v_R_System.Active0 = 1 AND
    v_FullCollectionMembership
    .CollectionID IN ('Collection ID'
    ORDER
    BY
    [Patch Status Code]

    Yes it can be done and please run the query which i have shared in the thread
    I again pasted the query for you below..
    SELECT DISTINCT
    SYS.Name0 AS [Server Name], CASE WHEN UCS.Status = '2' THEN 'Applicable' WHEN UCS.Status = '3' THEN 'Installed' ELSE '' END AS 'Patch Status',
    UI.BulletinID AS [Bulletin ID], UI.ArticleID AS [Article ID], UI.Title
    FROM         v_R_System AS SYS LEFT OUTER JOIN
                          v_Update_ComplianceStatusAll
    AS UCS ON SYS.ResourceID = UCS.ResourceID INNER JOIN
                          v_UpdateInfo AS UI ON UCS.CI_ID
    = UI.CI_ID
    WHERE     (UCS.Status IN ('2', '3')) AND (SYS.Name0 IN (SELECT DISTINCT v_FullCollectionMembership.Name
    FROM v_FullCollectionMembership INNER JOIN
         v_R_System ON v_R_System.ResourceID = v_FullCollectionMembership.ResourceID AND v_R_System.Active0 = 1 AND
                                                       v_FullCollectionMembership.CollectionID
    IN ('XXX00000')))
    Kamala kannan.c| Please remember to click “Mark as Answer” or Vote as Helpful if its helpful for you. |Disclaimer: This posting is provided with no warranties and confers no rights

  • Showing column value as counter in sql query - report

    I created a classic report with search bar based on an sql query. I would like to show the "notes" column in this query using some sort of counter and as a hyperlink to another section on the page (same idea as footnotes in a book). So if I have 10 rows and 5 have "notes". I should show 1,2,3,4,5 in the notes column for those rows and the number gets displayed as a link to another section listing the notes 1 through 5.
    I was thinking of creating a hidden page item as the counter with value of 0 and then in my query doing counter+1 but i'm not sure how to do this or if i can do that...
    If anyone can help or have any other ideas I would really appreciate it!!
    Thanks,
    Hindy

    Well, I'm doing this in VB and the subquery is dynamic. I'm passing an ADO recordset to a routine that sets up a listview to display the results. The number of columns selected can vary. My idea was to size the columns appropriately based on the size of the data. Within the display routine I could:
    sql = "SELECT "
    for i = 0 to oRS.Fields.Count - 1
    sql = sql & "MAX(LENGTH(" & i & ")), "
    next 'i
    sql = sql & "FROM (" & oRS.Source & ")"

  • SCCM report query that displays count of cpus per host and if host is physical or virtual

    Hello,
    I have this query that displays the count of CPUs per host.  How can I add a column to show if the host a physical or virtual?
    SELECT
    DISTINCT(CPU.SystemName0) AS [System Name],
    CPU.Manufacturer0 AS Manufacturer,
    CPU.Name0 AS Name,
    COUNT(CPU.ResourceID) AS [Number of CPUs],
    CPU.NumberOfCores0 AS [Number of Cores per CPU],
    CPU.NumberOfLogicalProcessors0 AS [Logical CPU Count]
    FROM [dbo].[v_GS_PROCESSOR] CPU
    GROUP BY
    CPU.SystemName0,
    CPU.Manufacturer0,
    CPU.Name0,
    CPU.NumberOfCores0,
    CPU.NumberOfLogicalProcessors0

    I see that you have posted this exact question in another forum for CM12, however this is an CM07 forum.  
    Are you CM07 or CM12?
    If you are CM12, use my answer here.
    http://www.systemcentercentral.com/forums-archive/topic/sccm-report-query-for-cpu-cores/
    If you are CM07, this is NOT a simple how exactly do you detect that a computer is a VM? You can guess by looking at the manufacturer name but it is only a guess.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SCCM report to find total number of actual patches installed by update deployment on all the machines (present in target collection)

    Hi Guys,
    I am looking for a sccm report which should provide total number of actual patches installed by us on all the machines (present in target collection). For couple of updates after sync it shows installed already on some machines.
    Example:
    CName  |  Total Patches  |  Already Installed  | Installation triggered by Deployment   |  Collection ID
    AW001      (123)               (2)                         (17)                                                    CL00001
    AW002      (123)               (1)                        
    (21)                                                    CL00001
    AW003      (123)               (1)                        
    (26)                                                   CL00001
    I am specially looking for 'Installation triggered by Deployment ' number
    I would appriciate very much your the help.
    Thanks,
    Chandan

    Hi Chandan,
    You could try to create your custom report based on Software Updates Status views.
    Software Updates Views in Configuration Manager
    http://technet.microsoft.com/en-us/library/dn581945.aspx
    Best Regards,
    Joyce

  • Reporting Services Point Role - Not installing

    Hi,
    I installed SCCM 2012 R2 and SQL Server Standard 2012 with Reporting Services. SCCM is running in secure (HTTPS) mode for both MP and DP. I have also configured SQL Reporting Services WEB URL for HTTPS (443)
    Now I'm trying to install the Reporting Service Point Role but it wont install.
    If I check Monitoring --> Reporting --> Reports its blank. Reporting Services on SQL Server is working properly.
    I have the following errors reported
    "Site Component Manager failed to configure site system "
    Site Component Manager failed to configure site system
    \\xxxx.xxx.xx to receive Configuration Manager Server Components.
    Solution: Review the previous status messages to determine the exact reason for the failure. Site Component Manager cannot install any Configuration Manager Server Components on this site system until the site system is configured successfully. Site Component
    Manager will automatically retry this operation in 60 minutes. To force Site Component Manager to immediately retry this operation, stop and restart Site Component Manager using the Configuration Manager Service Manager.
    " to receive Configuration Manager Server Components.
    Solution: Review the previous status messages to determine the exact reason for the failure. Site Component Manager cannot install any Configuration Manager Server Components on this site system until the site system is configured successfully. Site Component
    Manager will automatically retry this operation in 60 minutes. To force Site Component Manager to immediately retry this operation, stop and restart Site Component Manager using the Configuration Manager Service Manager."
    "Site Component Manager could not find an NTFS partition on site system
    \\xxxx.xxx.xx to hold the Configuration Manager Server Components' files.
    Possible cause: The site system does not contain an NTFS partition.
    Solution: Using the Windows Disk Administrator, create an NTFS partition on the site system, or convert an existing FAT partition to NTFS.
    Possible cause: The site system is not exporting the default drive letter shares, such as "\\xxxx.xxx.xx\C$", "\\xxxx.xxx.xx\D$",
    and so on.
    Solution: You might have disabled the default drive letter shares for security purposes. Configuration Manager requires these shares. Please re-enable these shares using the Windows Disk Administrator.
    Possible cause: The site system is turned off, not connected to the network, or not functioning properly.
    Solution: Verify that the site system is turned on, connected to the network, and functioning properly.
    Possible cause: Site Component Manager does not have sufficient access rights to remotely administer the site system.
    Solution: Verify that the accounts are properly configured to allow the site server to remotely administer the site system.
    Possible cause: Network problems are preventing Site Component Manager from properly accessing the site system.
    Solution: Investigate and correct any problems on your network."
    I'm a bit perplexed because the admin shares can be accessed on the servers. Any help will be appreciated.
    Thanks

    I'm also seeing these in SMS_HIERARCHY_MANAGER
    Hierarchy Monitoring detected that the SQL Server xxxx.xxx.xx Service Broker certificate has missed or is expired, and failed to remediate with Error Failed to read SQL SSB certificate..
    Any ideas why this is happening?
    I ran this query and looks like the cert is fine
    "select s.name, c.name, c.start_date, c.expiry_date
     from sys.services s
     join sys.certificates c on s.principal_id = c.principal_id
     where c.pvt_key_encryption_type = 'MK'
      and c.is_active_for_begin_dialog = 1
      and GETUTCDATE() BETWEEN c.start_date AND c.expiry_date
      and s.service_id > 2;"
    http://schemas.microsoft.com/SQL/ServiceBroker/ServiceBroker
    ConfigMgrEndpointCert
    2009-01-01 00:00:00.000
    2029-01-01 00:00:00.000
    Why does it think my cert is near expired?

  • Custom report of Full SQL Server Installation using ConfigMgr 2012 R2

    I am trying to create a custom SQL report that would return servers and workstations that have a full version of SQL installed. The queries I try return clients that have the management tools and etc installed, but I just need a report that shows full
    installations. SQL versions in my environment range from 2005 to 2014. Any help is appreciated. Thanks!

    For some good information about your SQL installation you can use something like this:
    http://www.mnscug.org/blogs/sherry-kissinger/328-installed-sql05-sql08-sql12-sql14-version-information-via-configmgr-hardware-inventory
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • SCCM 2012 R2 CU2 Can't Edit WMI Query Code in SCCM Reports

    I built a new SCCM 2012 R2 CU2 suite on Server 2012 R2. This also uses SQL 2012 SP1 CU6. This suite has 4 servers: site server, two for WSUS and secondary DPs, and SQL. This problem is true for the built in reports and my custom reports. Our SQL guy has
    been helping me a lot but we've gotten nowhere. I can run a report. I can open one in edit mode after it prompts me for credentials. It loads Report Builder 3.0. But when I go to a dataset/query, enter credentials, and try to open it, I get a popup that
    says "Unable to connect to data source. 'AutoGen_5C6358F2_yayak..." When I click on details it says "The target principal name is incorrect. A connection was succesfully established with the server, but then an error occurred during the login
    process.  (SSL Provider, error: 0 -The target principal name is incorrect.)" In SQL Reporting Services Config Manager the paths for Web Service URL is
    http://ip.ip.ip.ip:80/ReportServer_SC01 and for Report Manager URL:
    http://ip.ip.ip.ip:80/Reports_SC01.
    This is one of three problems I'm having a lot of difficulty with on this network. I'm making separate threads for all three.
    Ben JohnsonWY

    When I do that, browse is dimmed out.
    But, if I deselect "create a data set" and click "choose an existing dataset in this report..." there is no data connection at the end.
    But if I don't use report builder and instead use IE to browse to my ConfigMgr_ABC, I do see the connection at the end: {123...}.
    This problem is on a network that is not on the 'net, so it's hard to do screen shots, so I'll reproduce this problem step by step:
    I pick a report to edit, it doesn't matter which one.
    If I try it in Admin Console, I right-click, Edit the report, it asks me for a login, I login, then I get a popup that says "Cannot continue. The application is improperly formatted. Contact the vendor for assistance. I click the Details button and
    get a long set of text but the key part is "Your web browser settings do not allow you to run signed applications." This msg didn't appear before, so something changed, so I will investigate. I think it used to give a SPN error.
    If I use IE within report builder and navigate to whatever report, click open, everything works, except, when I click on Dataset0 (the key one I normally need to edit), click query, it prompts me for a login and no matter which one I use, i get a popup that
    says "unable to connect to data source 'AutoGen_123...'". If I click details I get "the targe principal name is incorrect. A connection was successfully established with the server, but then an error occurred during the login process. (provider:
    SSL Provider 0-The target principal name is incorrect.)
    Ben JohnsonWY

  • SCCM - Reporting instance blank

    Hi,
    I have SQL reporting server installed on a different box. I am trying to configure SCCM 2012 sp1 reporting role in which the site database is detected by reporting instance is blank.
    I tried creating a new site system with SQL reporting server name, the instance detected automatically. Only problem is when i try adding site role from SCCM 2012 sp1 primary site server.
    SCCM primary server computer account and installation account has local admin access on the SQL reporting server and SQL site database. Is ter anything i can do to reflect. Please help
    Regards, Pratap

    Ya paul ur right.
    I am trying to add reporting services role from SCCM primary site server in which the local system doesnt have any SQL instance.
    After i created new site system  - remote SQL reporting server. And added the reporting services role it showed the instance. Thanks for your reply
    Regards, Pratap

Maybe you are looking for

  • Using AP3 for a website

    Hi, I have decided it's time to revamp my current website (HTML generated by iView MediaPro - yes its that old!) and was wondering if I can do it all in Aperture 3, to save a very convoluted round trip between iView and AP3... I can see I can export

  • HP Solution Center Problem

     I have an HP Pavillion a1400e desktop with an HP PSC 1410 All-In-One printer, scanner.  I've been using HP Solution Center to scan.  I now get the message "No HP devices detected" with HP Solution Center.   I can still print documents (not using the

  • DIS PDF with special Character like cyrillic or chinese

    Hello, does anybody know how I can solve my Problem with PDF-Documents with Special Character which are Checked In (Tcode CV02N) If I want to open the file again, it will be downloaded to C:\Users\....\AppData\Local\SAP\SAPGUI\tmp\#### and not with t

  • Script to update UDF in document to journal entries

    Hi, Customer is using 2007A PL30. In SAP B1, there is only 2 global analysis codes(ie Project and Profit Center) but customer has more information to analyse. We add UDF in document row(eg UDF=Customer)but after adding such UDF did not automatically

  • DW5 Navigation Bar

    So has the ability to insert a Navigation Bar (Insert/Images Objects) been removed from DW5 or has it been moved to another menu that I'm not seeing?