Skip to content

SMS_NOTIFICATION_SERVER-FAILED CRITICAL SCCM SP1 SQL 2012 SP1

Featured Replies

zerahzurc - For me i found logs/Event Manager showing that "Distributed Transaction Coordinator" was not started. After i started this service, i then cycled the "SMS_SITE_COMPONENT_MANAGER" service.

  • 2 weeks later...

zerahzurc - For me i found logs/Event Manager showing that "Distributed Transaction Coordinator" was not started. After i started this service, i then cycled the "SMS_SITE_COMPONENT_MANAGER" service.

 

Thanks for you reply Dave23.

 

I found the error in my case. As I used notepad to edit those XML files, something went wrong and it was presenting the invalid XML file error when trying to run RegSvcs.exe.

I've recreated both files using XMLMarker, a free tool from Symbolclick and now it worked.

 

Hope this helps someone else...

  • 1 month later...

Had the same issue had to open a support case due to deadline.

 

I worked with a Microsoft engineer on the case. The issue is now resolved. The problem was due to the server not being part of a local security group that caused it to not install a function. We reviewed several logs to isolate the problem. The Microsoft engineer approached this from a "what is the expected outcome" rather than just the specified error code. Before this was fixed all of my EU desktops were showing up inactive and with no inventory, and no historical data. Now everything works properly.
Details below
Had Microsoft review my settings on support call

confirmed boundaries were correct.
Discovery groups and settings are correct.
Secondary site settings and roles are correct.
Overall health of SCCM is correct.
Site hierarchy is correct
Server installation procedure is correct.
Server SCCM patch installation is correct.
Site to site functions are correct, however we have to double check logs to make sure all components are correct. Since imaging and remote controlling are functioning there might be a component error as initially suspected.

We isolated a machine in one office, and reviewed log files (inventoryagent.log and others)
confirmed that the machine is sending it logs files to management point.

We then took a look at log files on the servers to further isolate the issue.

<PROBLEM SECONDARY SITE SERVER>
U_ex***.log – iis server logs
Compmon.log – component information including installation
Perfsetup.log – performance counter information
Mpfdm.log - Moves client files to the corresponding SMS\INBOXES folder
Mp_Hinv.log to confirm that the mp is receiving and processing inventory
dataldr.log – logs .mif file processing for inventory on primary site

<PRIMARY SCCM SERVER>
dataldr.log – logs .mif file processing for inventory on primary site
dataldr.lo_ - logs .mif file processing for inventory on primary site

We noticed that the associated .mif file for the desktop machine was not present on <PRIMARY SCCM SERVER>. ( search on ConfigMgr\inboxes\auth\dataldr.box )

We reviewed additional logs and found errors in the
compmon.log files

We concluded that there is a communication error between <PROBLEM SECONDARY SITE SERVER> and <PRIMARY SCCM SERVER>, since the inventory logs were present and processing on <PROBLEM SECONDARY SITE SERVER>. Deeper analysis of the logs pointed us to the root communication issue between <PROBLEM SECONDARY SITE SERVER>
Local administrators group was correct with <PRIMARY SCCM SERVER> and <PROBLEM SECONDARY SITE SERVER> added.

The sitecomp & compmon logs were reviewed further and we found some additional issue with components not installing fully.
Per one of the logs we see a failed installation and a removal of the server from a local group.
<PROBLEM SECONDARY SITE SERVER> was being removed from a local group – SMS_SiteToSiteConnection_[sITECODE]
We added the server back to the group and restarted the SMS_SITE_COMPONENT_MANAGER service.
Once this was restarted we reviewed the logs again.

<PROBLEM SECONDARY SITE SERVER> started processing and completing any installation of missing components. Exit codes-0 for completed installations.
Sender.log started showing progress in transmitting the inventory and collected data from the workstations.

Results
BGB installed correctly.
<PROBLEM SECONDARY SITE SERVER> – shows green status in component settings in SCCM Console
Refreshed the SCCM Console on <PRIMARY SCCM SERVER>
<SECONDARY SITE> machines were now listed with the correct management point – <PROBLEM SECONDARY SITE SERVER> and are now showing as active.
Software deployment status has been updated for EU offices.

  • 4 months later...

I am having the same issue on my site. I also installed ConfigMgr to the D:\ drive and not C:\. I have tried editing the 2 files: InstallUtil.exe.config and regsvcs.exe.config located in: C:\Windows\Microsoft.NET\Framework64\v4.0.30319

 

I used Visual Studio 2010, as well as an attempt with Notepad to edit these files to include the lines stated above. Here is the regsvcs.exe.config

 

 

<?xml version ="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<requiredRuntime safemode="true" imageVersion="v4.0.30319" version="v4.0.30319"/>
</startup>
<runtime>
<loadFromRemoteSources enabled="true"/>
</runtime>
</configuration>

 

 

 

 

After doing this i tried both restarting the SMS_SITE_COMPONENT_MANAGER windows service as well as reinstalling the MP (I have a small environment with 1 site server, which serves all roles). The MP installs just fine, and MPsetup.log shows no errors. Once the MP is finished installing the BGBsetup kicks off, this is where i begin to see errors.

 

Here is an error from BgbSetup.log:

 

 

<12/04/14 11:14:36> ======== Completed Installation of Pre Reqs for Role SMSBGB ========
<12/04/14 11:14:36> Installing the SMSBGB
<12/04/14 11:14:36> Passed OS version check.
<12/04/14 11:14:36> IIS Service is installed.
<12/04/14 11:14:36> No versions of SMSBGB are installed. Installing new SMSBGB.
<12/04/14 11:14:36> Enabling MSI logging. bgbisapi.msi will log to D:\Program Files\Microsoft Configuration Manager\logs\bgbisapiMSI.log
<12/04/14 11:14:36> Installing D:\Program Files\Microsoft Configuration Manager\bin\x64\bgbisapi.msi CCMINSTALLDIR="D:\Program Files\SMS_CCM" CCMSERVERDATAROOT="D:\Program Files\Microsoft Configuration Manager" USESMSPORTS=TRUE SMSPORTS=80 USESMSSSLPORTS=TRUE SMSSSLPORTS=443 USESMSSSL=TRUE SMSSSLSTATE=0 CCMENABLELOGGING=TRUE CCMLOGLEVEL=1 CCMLOGMAXSIZE=1000000 CCMLOGMAXHISTORY=1
<12/04/14 11:14:42> bgbisapi.msi exited with return code: 0
<12/04/14 11:14:42> Installation was successful.
<12/04/14 11:14:42> CTool::RegisterComPlusService: run command line: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegSvcs.exe" /u "D:\Program Files\Microsoft Configuration Manager\bin\x64\microsoft.configurationmanager.bgbserverchannel.dll"
<12/04/14 11:14:45> CTool::RegisterComPlusService: Failed to unregister D:\Program Files\Microsoft Configuration Manager\bin\x64\microsoft.configurationmanager.bgbserverchannel.dll with .Net Fx 4.0
<12/04/14 11:14:45> CTool::RegisterComPlusService: run command line: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegSvcs.exe" /extlb /tlb:"D:\Program Files\SMS_CCM\microsoft.configurationmanager.bgbserverchannel.tlb" "D:\Program Files\Microsoft Configuration Manager\bin\x64\microsoft.configurationmanager.bgbserverchannel.dll"
<12/04/14 11:14:49> Successfully registered BGB server channel DLL D:\Program Files\Microsoft Configuration Manager\bin\x64\microsoft.configurationmanager.bgbserverchannel.dll
<12/04/14 11:14:49> CTool::InstallManagedAssembly: run command line: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe" "D:\Program Files\Microsoft Configuration Manager\bin\x64\microsoft.configurationmanager.bgbserverchannel.dll"
<12/04/14 11:14:52> Successfully installed BGB server channel DLL D:\Program Files\Microsoft Configuration Manager\bin\x64\microsoft.configurationmanager.bgbserverchannel.dll
<12/04/14 11:14:53> VERBOSE: GetAccountNameFromSID: LookupAccountSid succeeded. Result = NT AUTHORITY\SYSTEM
<12/04/14 11:14:54> VERBOSE: GetAccountNameFromSID: LookupAccountSid succeeded. Result = NT AUTHORITY\LOCAL SERVICE
<12/04/14 11:14:54> VERBOSE: GetAccountNameFromSID: LookupAccountSid succeeded. Result = NT AUTHORITY\IUSR
<12/04/14 11:14:55> Successfully configured BGB server application
<12/04/14 11:14:55> CreateProcess: D:\Program Files\Microsoft Configuration Manager, C:\Windows\system32\inetsrv\appcmd.exe set config "Default Web Site/bgb" -section:system.webServer/serverRuntime /appConcurrentRequestLimit:"25600" /maxRequestEntityAllowed:"16384" /commit:apphost
<12/04/14 11:14:56> CreateProcess: 0
<12/04/14 11:14:56> CreateProcess: D:\Program Files\Microsoft Configuration Manager, C:\Windows\system32\inetsrv\appcmd.exe set apppool "CCM Client Notification Proxy Pool" /autoStart:true
<12/04/14 11:14:56> CreateProcess: 0
<12/04/14 11:14:56> CreateProcess: D:\Program Files\Microsoft Configuration Manager, C:\Windows\system32\inetsrv\appcmd.exe start apppool "CCM Client Notification Proxy Pool"
<12/04/14 11:14:56> CreateProcess: 0
<12/04/14 11:14:56> ~RoleSetup().

 

 

I have restarted the services, reinstalled the MP, rebooted the server....still no such luck. The SMS_NOTIFICATION_SERVER component still reports that the server failed to connect to the site database. Does anyone have any ideas for me? Any help is greatly appreciated! Thank you

  • 7 months later...

I am having the same issue on my site. I also installed ConfigMgr to the D:\ drive and not C:\. I have tried editing the 2 files: InstallUtil.exe.config and regsvcs.exe.config located in: C:\Windows\Microsoft.NET\Framework64\v4.0.30319

 

I used Visual Studio 2010, as well as an attempt with Notepad to edit these files to include the lines stated above. Here is the regsvcs.exe.config

 

 

 

 

 

After doing this i tried both restarting the SMS_SITE_COMPONENT_MANAGER windows service as well as reinstalling the MP (I have a small environment with 1 site server, which serves all roles). The MP installs just fine, and MPsetup.log shows no errors. Once the MP is finished installing the BGBsetup kicks off, this is where i begin to see errors.

 

Here is an error from BgbSetup.log:

 

 

 

I have restarted the services, reinstalled the MP, rebooted the server....still no such luck. The SMS_NOTIFICATION_SERVER component still reports that the server failed to connect to the site database. Does anyone have any ideas for me? Any help is greatly appreciated! Thank you

 

We also tried the above solutions but they didn't help.

In our system the problem was a corruption in Windows performance counter library.

 

Run this command in an Administrator CMD:

cd C:\WINDOWS\system32

lodctr /R

You should see a success message after the above command.

 

Then restart SMS_SITE_COMPONENT_MANAGER and see if it works.

 

BR

Achim

  • 1 month later...

This solution worked for me but I had troubles to editing the InstallUtil.exe.config so I ran installtakeownership form the zip file, do the job and then removetakeownership then the msi installed like a charm and the SMS_NOTIFICATION_SERVER went up and running.

 

Harmen

TakeOwnership.zip

  • 1 year later...

I know I'm bumping an old one, but I finally have something that migh help someone else. I edited the RegSrvc.exe.config with Notepad and the line where "<loadFromRemoteSources enabled="true"/> " it looked like double quotes, but after more than a year of fighting this I saw the post from zerahzurc that says he had to use and XML editor instead of notepad. Downloaded the editor he mentioned and as it opened the file it showed it couldn't parse the "true" because it was expecting quotes. In the editor they looked like asterisks. Changed it and restarted the SMS_EXUTIVE Site Service. Then the SMS_WSUS_SYNC_MANAGER "couldn't download all files" went away and the SMS_NOTIFICATION_SERVER also installed. Cleared out the only errors I had. left in "monitoring".

Edited by Darcfyre

  • 5 months later...

Hello All, 

I ran into this problem as well when trying to install the SUP Role.  I see the work around. After coming across this blog about this topic, i dug deep to understand the problem and what the work around works and is needed. 

Answer: 

The reason we get this error: Failed to Register …with .Net Fx 4.0  is because when enabling the Server Feature .Net 4.5 Framework, the install process provides an option to use an alternative source for fetching the files to install .Net. When you skip this option, that’s when you can potentially get the failed to register .Net 4.0 and 2.0. 2.0 gets installed with 4.0 is selected for installation.

So, if you ensure to use the alternative option to install .Net, this issue won’t happen.

The workaround I decided to use was to remove the .net 4.0 feature, Reboot, then reinstall .net 4.0 using the alternative option.

I then attempt to push the SUP Role out again, and it was successful.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.