Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Exceeded the execution time limit for the script: InventSysSetup

Posted on by 40
Tier 1 - Cloud-hosted Environment
Environment Type: Customer Managed
Environment Sub-Type: Develop
 
Current Application Version: Microsoft Dynamics 365 for Finance and Operations (10.0.36)
Current Platform Version: Update60 (7.0.7036.156)
 
General Description:
Upgrading D365FO Cloud-hosted Environment from version 10.0.36 to 10.0.39
Stuck in Step 25 - GlobalUpdate script for service model: AOSService on machine
 
Some information in Error Log
Microsoft.Dynamics.Ax.Xpp.TimeoutException: Exceeded the execution time limit for the script: InventSysSetup
 
 
 
 
Founded some fix as below:
 
In Development Machine, run the SQL Script in D365FO Database.
 
INSERT INTO DBO.SYSFLIGHTING (FLIGHTNAME, ENABLED, FLIGHTSERVICEID) VALUES ('DbSyncSysSetupTimeoutKillSwitch', 1, 12719367)
 
Then try to resume Service Updates
  • Verified answer
    Ariston Javier Profile Picture
    Ariston Javier 40 on at
    Exceeded the execution time limit for the script: InventSysSetup
    Run the below script in Environment SQL Database. 
     
    INSERT INTO DBO.SYSFLIGHTING (FLIGHTNAME, ENABLED, FLIGHTSERVICEID) VALUES ('DbSyncSysSetupTimeoutKillSwitch', 1, 12719367)
  • Ariston Javier Profile Picture
    Ariston Javier 40 on at
    Exceeded the execution time limit for the script: InventSysSetup
    INSERT INTO DBO.SYSFLIGHTING (FLIGHTNAME, ENABLED, FLIGHTSERVICEID) VALUES ('DbSyncSysSetupTimeoutKillSwitch', 1, 12719367)
    Run the below script in Environment SQL Database. 

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,188 Super User 2024 Season 2 on at
    Exceeded the execution time limit for the script: InventSysSetup
    Hi Ariston, 

    Please provide more information and your question. What exactly did you start? How long was a script running before you got this message Is this happening in a developer instance, sandbox, or production environment? Is your environment a cloud-hosted instance or on-premises with local business data?
  • Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,492 Super User 2024 Season 2 on at
    Exceeded the execution time limit for the script: InventSysSetup
    Hi,
     
    Can you please give us more details ?
     
    Best regards,
    Mohamed Amine Mahmoudi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans