Sage 100

 View Only
  • 1.  Premium migration error 0x80004005 The semaphore timeout period has expired

    Posted 04-12-2023 21:02
    Edited by Kevin Moyes 04-12-2023 21:02

    (Test migration).
    Source server is 2020 Premium (with SQL on the same server).
    Destination is 2022 Premium on a different server (with SQL on a third machine).
    I get through the migration wizard, choose companies, click to start, then see the "backing up System database...".  After about 5 seconds, I get the error.


    The migration log has nothing useful.


    I've run backups successfully from the source SQL to the C$ shares on the three machines.  SQL services (both) are running as domain accounts with local admin permission to the three servers.  Google says it is a network error, but I'm connected remotely and everything is stable.

    Anyone seen this before?



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    ------------------------------



  • 2.  RE: Premium migration error 0x80004005 The semaphore timeout period has expired

    Posted 04-12-2023 21:09

    I did a DUckDuckGo search and most of the posts pertaining to error 0x80004005 point to a folder/file permissions issue.



    ------------------------------
    Doug Higgs
    Midwest Commerce Solutions, Inc
    (312) 315-0960
    Chauffeur, Chef, and Personal Assistant to Sprinkles
    ------------------------------



  • 3.  RE: Premium migration error 0x80004005 The semaphore timeout period has expired

    Posted 04-12-2023 21:26

    Thanks Doug.  I successfully ran backups from the source SQL to the specific folders I believe Sage uses during the migration, so I'm pretty sure I tested for permission issues.
    IT guy has an idea...
    *fingers crossed*



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    ------------------------------



  • 4.  RE: Premium migration error 0x80004005 The semaphore timeout period has expired

    Posted 04-12-2023 21:11

    https://answers.microsoft.com/en-us/windows/forum/all/error-code-0x80004005-unspecified-error-windows-10/1a46ee52-741e-4726-bcb5-f0c10af372d3



    ------------------------------
    Doug Higgs
    Midwest Commerce Solutions, Inc
    (312) 315-0960
    Chauffeur, Chef, and Personal Assistant to Sprinkles
    ------------------------------



  • 5.  RE: Premium migration error 0x80004005 The semaphore timeout period has expired

    Posted 04-12-2023 21:26
    Here you go and it is network, configurations related

    The Semaphore Timeout Period Has Expired – How to fix SQL error 121

    by  | Mar 9, 2022

    The semaphore timeout period has expired and not sure what to do? Read on to find out how to solve the SQL error 121.

    At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Services.

    Let's take a look at how our Support Team is ready to help customers when the semaphore timeout period has expired.

    How to resolve: The semaphore timeout period has expired

    One of our customers recently found themselves facing the following error while executing a T-SQL script:

    A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 – The semaphore timeout period has expired.) (Microsoft SQL Server, Error:121)

    According to our proficient Support Team, this error is due to unstable network connectivity. The unstable network may be due to various parameters like:

    • Incorrect TCP\IP settings
    • Inappropriate network packet size configured in SQL Server
    • Improperly configured TCP Chimney Offload
    • Network Interface Card (NIC) driver issue

    Our Support Team has put together this guide to help you troubleshoot the reason behind the unstable network.

    How to check TCP\IP Settings

    1. First, open the SQL Server configuration manager and verify the TCP configuration settings.
    2. Then, verify all the settings on the SQL Server Network configuration settings as well.

    If you require further assistance, this article will come in handy.

    How to review Network Packet Size

    The next troubleshooting tip involves reviewing the network packet size configuration in SQL Server. Preferably, it is better to stick to the default value and change it only if we have a particular requirement to change network packet size. We can change the value easily by referring to this article.

    How to review TCP Chimney Offload

    In case we are facing a network-related connectivity issue it is essential to review the TCP Chimney Offload setting. It is a networking technology responsible for transferring the workload from the CPU to a network adapter for the duration of the network data transfer. We can either enable or disable this feature at both of the following locations:

    • Operating system
    • Advanced properties page of the network adapter

    Our Support Techs would like to point out that the TCP Chimney Offload features works only if we enable the feature at both locations. It is usually disabled by default at both these locations. However, OEM installation tends to enable the feature in the operating system, network adapter, or both.

    How to validate Network related Driver Issues

    This troubleshooting tip involves validating all the drivers at the OS and network layer by checking whether they are up-to-date and have no issue. In case we find any issue at any layer, we have to update the drivers.



    Carmen Cruz
    Sage Consultant
    carmen.cruz@compudata.com
    215-969-1000 Ext. 279
    www.compudata.com
    Work Smarter... Together 

    CompuData, Inc. • 325 Chestnut St, Ste 700 • Philadelphia • PA • 19106





  • 6.  RE: Premium migration error 0x80004005 The semaphore timeout period has expired

    Posted 04-12-2023 21:36

    Thanks Carmen.  I saw that (Google top results)... and can connect with SQL, run queries / backups... no problem.  The issue is with the Sage migration program's backup and copy function... and I highly suspect it is the copy, which would be a Windows error, not SQL error.
    The source SQL is a stable Live instance that has been running smoothly for years, so I'd hesitate to dive into such settings.



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    ------------------------------



  • 7.  RE: Premium migration error 0x80004005 The semaphore timeout period has expired

    Posted 04-12-2023 21:52
    Edited by Kevin Moyes 04-12-2023 22:00

    The customer IT guy did something (..."re-IP then reboot"... the destination server...), and I'm past the error now.
    If I get more details I'll post them here for future reference.



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    ------------------------------



  • 8.  RE: Premium migration error 0x80004005 The semaphore timeout period has expired

    Posted 04-12-2023 22:19

    "... I had the {NewSageServer} on a different network and I think router firewall rules were causing grief.  I should have had them on the same network initially but missed that step..."
    So, basically a network / IT issue, unrelated to Windows or SQL.  Fun!



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    ------------------------------



  • 9.  RE: Premium migration error 0x80004005 The semaphore timeout period has expired

    Posted 04-13-2023 08:17

    So it was the network.  We all know Sage hates that being on separate networks.  That will always fail.  Well glad you got it and have a greater day.  



    ------------------------------
    Carmen Cruz
    Sage Consultant
    CompuData
    ------------------------------