SCCM MPCONTROL.LOG Status Code 404, NOt found

Vince Di Nenna 6 Reputation points
2021-03-05T20:58:51.183+00:00

A couple weeks after running parallel migration of SCCM to new site, Management point stopped working. New SCCM (2006) site up on Server 2016. Old SCCM was 2012 R2. Noticed MP object missing in System Management folder in AD. Subnets and Site objects are listed.
Error in mpcontrol.log: Call to HttpSendRequestSync failed for port 80 with status code 404, text: Not Found Http test request failed, status code is 404, 'Not Found'.

Most solutions call for setting IIS binding to "unassigned", but are already are set to "unassigned". I set it to the IP and back to unassigned as a test, but did not fix.

What I have tried: Removed MP and reinstalled. Did not fix issue.
Removed MP, IIS and SUP. Removed SUSDB database.
Reinstalled MP only and still get port 80, 404 error, IIS logs show 404.2 error.

Checked for all MP preinstall requirements: BITS, IIS, .NET, etc. Working with other SCCM engineer, they do not have web.config file in SMS_MP virtual directory, my SCCM server does have it. Removed web.config, restarted site and still get 404 error.

Thanks for any suggestions.

Vince

Microsoft Configuration Manager
0 comments No comments
{count} votes

8 answers

Sort by: Most helpful
  1. Vince Di Nenna 6 Reputation points
    2021-03-11T21:11:40.017+00:00

    Opened a ticket with Microsoft (prior to posting here. I needed as many eye on this problem as possible.)
    Their SCCM and IIS engineers were not able to find the problem when looking at the IIS, MP and Procmon logs.
    We were seriously stumped. Nothing we tried made a difference. Even creating a test site in IIS failed to connect. No splash page on Default Web Site either.

    The problem was caused by 3rd party software. The software queries SCCM database for client system resources and creates reports management.

    I figured this out while trying different things and on a reboot, watched the MPControl.log file in CMTrace.
    This one time I saw a 200 OK message, then a 401 unauthorized, then the 404 Not Found error. The 200 and 401 messages did not appear before.
    Made me think that whatever was causing the error did not start fast enough this time during the reboot and the 5 minute interval for the HttpSendRequestSync check.
    Started to disable services of manually installed software, which wasn't many.
    Was able to re-create the error a few times. Got on call with MS SCCM support and he verified.
    All is well.

    The error:
    Call to HttpSendRequestSync failed for port 80 with status code 404, text: Not Found
    Http test request failed, status code is 404, 'Not Found'.

    The correct response:
    Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK

    1 person found this answer helpful.

  2. Fiona Yan-MSFT 2,311 Reputation points
    2021-03-08T08:18:57.343+00:00

    @Vince Di Nenna

    Thank you for posting in Microsoft Q&A forum.

    Could we know if we check the MPSetup.log on server side after reinstalling the MP role? If we have seen something like "SMSMP already installed->mp.msi exited with return code: 0" this means the Installation is successful.

    May we know if we have completely removed IIS like the image below? Based on my understanding, we could clear up the IIS firstly and then try to remove and install(ensure the role install correctly).
    75352-3-8.png

    Here is an error code article may for us to refer to:
    https://learn.microsoft.com/en-us/troubleshoot/iis/troubleshoot-404-file-not-found-error

    Have a good day!


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Vince Di Nenna 6 Reputation points
    2021-03-08T14:08:39.707+00:00

    Thank you for your reply.

    Yes, MPSetup.log has "return code 0".

    <03/04/21 14:41:28> mp.msi exited with return code: 0
    <03/04/21 14:41:28> Installation was successful.

    Yes, I have removed IIS from Server Manager and re-installed.
    Are you proposing deleting the site(s) in the screenshot only?

    Thanks,

    Vince

    0 comments No comments

  4. Vince Di Nenna 6 Reputation points
    2021-03-08T16:28:25.427+00:00

    Removed MP.
    Deleted IIS sites and removed IIS services.
    Installed IIS Services, no sites listed.
    MP install fails with error 1603: mp.msi exited with return code: 1603
    Removed MP from Site Server Rolls.
    Rebooted SCCM server.
    MPSetup.log: No versions of SMSMP are installed. Returning Success.

    Attempted to install MP again and get 1603 error.

    What I found about 1603 error is it happens because the CCM client is installed.
    However, CCM client was removed with ccmsetup.exe /uninstall.
    Also ran a powershell command to remove "ccm" from WMI.


  5. Vince Di Nenna 6 Reputation points
    2021-03-09T15:55:10.327+00:00

    I have read that 1603 error article a couple of times.

    Also tried ccmclean.exe for client cleanup and WMI cleanup and get same error(s).

    Yes, I have been tracking MP installs and uninstalls with mpcontrol.log, mpsetup.log and mpmsi.log.
    The errors are the same: MP failed to install, Error 404, depending on what are trying/troubleshooting.

    Without IIS Default Web Site, MP will not install.
    With IIS Default Web Site, MP installs, but get 404/404.2 errors. IIS logs showed 404.2 errors.

    There must be some permissions problem when installing MP.
    I just don't know enough about the MP and IIS relationship, or how IIS works to know where to look.
    We have checked permissions on the SMS_CCM folder against a working SCCM server and it checks out ok.
    Not sure where else to look.

    Thanks.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.