HTTP Error 500.37 - ANCM Failed to Start Within Startup Time Limit

 Error:


Solution:

Get this error when CommerceOps service is not reachable. Here is one such scenario:

Ensure you run the application with a local windows user account. I encountered this error when I had logged in to my machine with microsoft live id and there wasn't any local user created at that point. The bootstrapping failed since the commerceops service wasn't reachable. I then created the local user account. The commerceops service was reachable -




Detailed Error:

VERBOSE: POST https://commerceops.scomm10sc.com/commerceops/Bootstrap() with 0-byte payload                             Install-SitecoreConfiguration :                                                                                                                                                                                                                                                                                                                                                  HTTP Error 500.37 - ANCM Failed to Start Within Startup Time Limit                                                                                                                                                                                 body {                                                                                                                      font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;                                                          font-size: .813em;                                                                                                      color: #222;                                                                                                            background-color: #fff;                                                                                             }                                                                                                                       h1, h2, h3, h4, h5 {                                                                                                        /*font-family: 'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;*/                                                          font-weight: 100;                                                                                                   }                                                                                                                       h1 {                                                                                                                        color: #44525e;                                                                                                         margin: 15px 0 15px 0;                                                                                              }                                                                                                                       h2 {                                                                                                                        margin: 10px 5px 0 0;                                                                                               }                                                                                                                       h3 {                                                                                                                        color: #363636;                                                                                                         margin: 5px 5px 0 0;                                                                                                }                                                                                                                       code {                                                                                                                      font-family: Consolas, "Courier New", courier, monospace;                                                           }                                                                                                                       body .titleerror {

                padding: 3px 3px 6px 3px;

                display: block;

                font-size: 1.5em;

                font-weight: 100;

            }

            a {

                color: #1ba1e2;

                text-decoration: none;

            }

                a:hover {

                    color: #13709e;

                    text-decoration: underline;

                }

            li {

                margin: 5px;

            }




         HTTP Error 500.37 - ANCM Failed to Start Within Startup Time Limit

         Common solutions to this issue: ANCM failed to start after 600000 milliseconds


         Troubleshooting steps:


             Check the system event log for error messages

             Enable logging the application process' stdout messages

             Attach a debugger to the application process and inspect



            For more information visit:

               https://go.microsoft.com/fwlink/?LinkID=2028265



At C:\sitecore\Sitecore.Commerce.WDP.2020.08-6.0.238\SIF.Sitecore.Commerce.5.0.49\scomm10sc.dev.local_Install_Script.ps

1:290 char:2

+     Install-SitecoreConfiguration @deployCommerceParams -Verbose *>&1 ...

+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException

    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration


[TIME] 00:10:06

Invoke-RestMethod :



         HTTP Error 500.37 - ANCM Failed to Start Within Startup Time Limit


            body {

                font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;

                font-size: .813em;

                color: #222;

                background-color: #fff;

            }

            h1, h2, h3, h4, h5 {

                /*font-family: 'Segoe UI',Tahoma,Arial,Helvetica,sans-serif;*/

                font-weight: 100;

            }

            h1 {

                color: #44525e;

                margin: 15px 0 15px 0;

            }

            h2 {

                margin: 10px 5px 0 0;

            }

            h3 {

                color: #363636;

                margin: 5px 5px 0 0;

            }

            code {

                font-family: Consolas, "Courier New", courier, monospace;

            }

            body .titleerror {

                padding: 3px 3px 6px 3px;

                display: block;

                font-size: 1.5em;

                font-weight: 100;

            }

            a {

                color: #1ba1e2;

                text-decoration: none;

            }

                a:hover {

                    color: #13709e;

                    text-decoration: underline;

                }

            li {

                margin: 5px;

            }




         HTTP Error 500.37 - ANCM Failed to Start Within Startup Time Limit

         Common solutions to this issue: ANCM failed to start after 600000 milliseconds


         Troubleshooting steps:


             Check the system event log for error messages

             Enable logging the application process' stdout messages

             Attach a debugger to the application process and inspect



            For more information visit:

               https://go.microsoft.com/fwlink/?LinkID=2028265



At C:\sitecore\Sitecore.Commerce.WDP.2020.08-6.0.238\SIF.Sitecore.Commerce.5.0.49\Modules\InitializeCommerce\Initialize

Commerce.psm1:121 char:5

+     Invoke-RestMethod $UrlCommerceOpsServicesBootstrap -TimeoutSec 12 ...

+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc

   eption

    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Comments

Popular Posts