Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Software Center unable to connect to MECM server

Messages
23
Solutions
1
Reaction score
1
Points
3
Software Center is unable to connecto MECM and has the following error logs when opened the [email protected] on the local machine.
Most prominent one is Portal URL is null. I am deploying the software center through GPO after failed attempts to deploy from the console.

Starting up... (Microsoft.SoftwareCenter.Client.SingleInstanceApplication at Main) SCClient 30-May-23 4:04:10 PM 1 (0x0001)
Client is running .Net Version4.0.30319.42000 (Microsoft.SoftwareCenter.Client.SingleInstanceApplication at Main) SCClient 30-May-23 4:04:10 PM 1 (0x0001)
Current working area is 0,0,1920,1040 (Microsoft.SoftwareCenter.Client.SCClient at SetWindowPosition) SCClient 30-May-23 4:04:10 PM 1 (0x0001)
Default window boundaries for this size work area are 0,0,1520,950 (Microsoft.SoftwareCenter.Client.SCClient at SetWindowPosition) SCClient 30-May-23 4:04:10 PM 1 (0x0001)
Portal URL is null (is URL set in client agent settings?) (Microsoft.SoftwareCenter.Client.Pages.UtilityClass at SetServicePortalLink) SCClient 30-May-23 4:04:11 PM 1 (0x0001)
Portal URL is null (is URL set in client agent settings?) (Microsoft.SoftwareCenter.Client.Pages.UtilityClass at SetServicePortalLink) SCClient 30-May-23 4:04:11 PM 1 (0x0001)
Executing WMI query: Select * From CCM_ClientAgentSettings (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteQuery) SCClient 30-May-23 4:04:11 PM 10 (0x000A)
Retreiving App Model Applications from WMI. (Microsoft.SoftwareCenter.Client.Pages.PageControls.TabChildListControl at RetreiveAppModelApplications) SCClient 30-May-23 4:04:11 PM 10 (0x000A)
Getting all instances of CCM_Application (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector at GetAllApplicationsWithType) SCClient 30-May-23 4:04:11 PM 10 (0x000A)
Executing WMI query: Select * From CCM_Application WHERE EvaluationState != 2 AND UserUIExperience = TRUE (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteQuery) SCClient 30-May-23 4:04:11 PM 10 (0x000A)
Exception System.Runtime.InteropServices.COMException: (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteQuery) SCClient 30-May-23 4:06:11 PM 10 (0x000A)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager.ExecuteQuery(String query) SCClient 30-May-23 4:06:11 PM 10 (0x000A)
Found exception of type System.Runtime.InteropServices.COMException; wrapping in type Microsoft.SoftwareCenter.Client.Data.WmiException (Microsoft.SoftwareCenter.Client.Data.WmiException at .ctor) SCClient 30-May-23 4:06:11 PM 10 (0x000A)
Exception Microsoft.SoftwareCenter.Client.Data.WmiException: (Microsoft.SoftwareCenter.Client.Pages.PageControls.TabChildListControl at RetreiveAppModelApplications) SCClient 30-May-23 4:06:11 PM 10 (0x000A)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager.ExecuteQuery(String query) SCClient 30-May-23 4:06:11 PM 10 (0x000A)
Retreiving classic software distribution from WMI. (Microsoft.SoftwareCenter.Client.Pages.PageControls.TabChildListControl at RetreivePrograms) SCClient 30-May-23 4:06:11 PM 10 (0x000A)
Getting all instances of CCM_Program (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector at GetAllApplicationsWithType) SCClient 30-May-23 4:06:11 PM 10 (0x000A)
Executing WMI query: Select * From CCM_Program (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteQuery) SCClient 30-May-23 4:06:11 PM 10 (0x000A)
Retreiving Updates from WMI. (Microsoft.SoftwareCenter.Client.Pages.PageControls.TabChildListControl at RetreiveUpdates) SCClient 30-May-23 4:06:11 PM 10 (0x000A)
Getting all instances of CCM_SoftwareUpdate (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector at GetAllApplicationsWithType) SCClient 30-May-23 4:06:11 PM 10 (0x000A)
Executing WMI query: Select * From CCM_SoftwareUpdate (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteQuery) SCClient 30-May-23 4:06:11 PM 10 (0x000A)
Retreiving App Model Applications from WMI. (Microsoft.SoftwareCenter.Client.Pages.PageControls.TabChildListControl at RetreiveAppModelApplications) SCClient 30-May-23 4:06:12 PM 10 (0x000A)
Getting all instances of CCM_Application (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector at GetAllApplicationsWithType) SCClient 30-May-23 4:06:12 PM 10 (0x000A)
Executing WMI query: Select * From CCM_Application WHERE EvaluationState != 2 AND UserUIExperience = TRUE (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteQuery) SCClient 30-May-23 4:06:12 PM 10 (0x000A)
Exception System.Runtime.InteropServices.COMException: (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteQuery) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager.ExecuteQuery(String query) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
Found exception of type System.Runtime.InteropServices.COMException; wrapping in type Microsoft.SoftwareCenter.Client.Data.WmiException (Microsoft.SoftwareCenter.Client.Data.WmiException at .ctor) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
Exception Microsoft.SoftwareCenter.Client.Data.WmiException: (Microsoft.SoftwareCenter.Client.Pages.PageControls.TabChildListControl at RetreiveAppModelApplications) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager.ExecuteQuery(String query) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
Retreiving classic software distribution from WMI. (Microsoft.SoftwareCenter.Client.Pages.PageControls.TabChildListControl at RetreivePrograms) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
Getting all instances of CCM_Program (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector at GetAllApplicationsWithType) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
Executing WMI query: Select * From CCM_Program (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteQuery) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
Retreiving Updates from WMI. (Microsoft.SoftwareCenter.Client.Pages.PageControls.TabChildListControl at RetreiveUpdates) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
Getting all instances of CCM_SoftwareUpdate (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector at GetAllApplicationsWithType) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
Executing WMI query: Select * From CCM_SoftwareUpdate (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteQuery) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
Getting Remote Control settings from WMI. (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector at RetrieveRemoteControlSettings) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
Getting Power Management settings from WMI. (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector at RetrievePowerManagementSettings) SCClient 30-May-23 4:08:12 PM 10 (0x000A)
Exception Microsoft.SoftwareCenter.Client.Data.WmiException: (Microsoft.SoftwareCenter.Client.Common.ClientUXMain at RetreiveDataComplete) SCClient 30-May-23 4:08:12 PM 1 (0x0001)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager.ExecuteQuery(String query) SCClient 30-May-23 4:08:12 PM 1 (0x0001)
Returning COM exception -2146959355. (Microsoft.SoftwareCenter.Client.Data.WmiException at get_ErrorCode) SCClient 30-May-23 4:08:12 PM 1 (0x0001)
DialogBase base constructor called for Microsoft.SoftwareCenter.Client.Pages.MoreInfoDialog, isNotify = False, default brandingText = (Microsoft.SoftwareCenter.Client.Pages.DialogBase at .ctor) SCClient 30-May-23 4:08:12 PM 1 (0x0001)
ParseBrandingLogo: No logo information was found (Microsoft.SoftwareCenter.Client.Common.CustomUISettings at ParseBrandingLogo) SCClient 30-May-23 4:08:12 PM 1 (0x0001)
ParseNotificationLogo: No logo information was found (Microsoft.SoftwareCenter.Client.Common.CustomUISettings at ParseNotificationLogo) SCClient 30-May-23 4:08:12 PM 1 (0x0001)
 
do you have a firewall between your clients and SCCM ? sounds like a network problem if you cant deploy the client normally
 
Apparently no firewalls. The devices and the server are on the same subnet. I have also implemented the GPO to exclude the necessary ports as per the documentation
 
I have disabled the local firewall on the sccm server and the client and still the problem is there. I had all the inbound and outbound rules to open the ports, custom ports and the WMI / file types allowed from server and the client side too.
 
Make sure that both devices are fully patched. I recently had an issue like this when both where not fully patch.
 
would you try the below on one of the affected assests. run it on a command with admin rights
  1. net stop winmgmt
  2. winmgmt /resetrepository
  3. Reboot
 

Forum statistics

Threads
7,133
Messages
27,858
Members
18,151
Latest member
TonyGTR
Back
Top