Forum Discussion

charlieferreira's avatar
charlieferreira
Copper Contributor
Apr 29, 2023

SCCM / MECM Metering - Could not get a SQL connection to database

I have an SCCM infrastructure with a Site Server and a separate database server. I am running the .\\runmetersumm.exe CM\_XX0 tool (I filled XX0 with the name of my database) on the database server but I am getting the error: Could not get a SQL connection to database: CM\_XX0.

I am not able to see any errors in the swmproc.log, sinvproc.log, and smsdbmon.log logs.

Can you please help me?

1 Reply

  • PraveenSingh_'s avatar
    PraveenSingh_
    Copper Contributor

    Please specify the full path cd "C:\Program Files\Microsoft Configuration Manager\tools\ServerTools"
    Then after that, run .\runmetersumm.exe CM_XX0

    I hope this will help you.
     charlieferreira 

Resources