We’re trying to upgrade (and move to a new tenant)
In our test environment, I’m able to install the CSF module. But when I try in the production environment, I’m getting timeouts:
[2/21/2025 9:28:55 PM] Processing Extension definitions...
[2/21/2025 9:31:56 PM] Error An error occurred while reading from the store provider's data reader. See the inner exception for details.
Lock request time out period exceeded.
[2/21/2025 9:31:56 PM] Error Import cancelled or failed for 'EInvoice_1b1ad440-674e-456b-a81d-fcfcfe6e622f'.
[2/21/2025 9:34:56 PM] Error An error occurred while reading from the store provider's data reader. See the inner exception for details.
Lock request time out period exceeded.
[2/21/2025 9:34:56 PM] Error Import cancelled or failed for 'Sweden_285ee131-afee-42db-b26d-4c5e03eaa1e4'.
I’ve tried rebooting the servers to no avail. Nobody is using the servers, and there isn’t any other issues with the installation.
It seems to be a SQL issue, but I’m baffled about what to look at/try next.
Run an Sp_who2 in ssms to check if there are any blocking processes.
If you have multiple app servers shut them all down except for your master app server and retry installing the CSF on that, install on the app server not from a client machine.
It’s Sweden (SE). I did all that and nothing is showing. If I run it immediately again, it works. I just tried that, so I don’t have a clue what’s going on.
I found two posts about the error, not for CSF sadly, but it indicates the, just as the errors suggest, you are getting a blocking/locking occurring.
I’m assuming there is part of the sql side of things (DB Scripts Runner) that is making it fail. In the Aus CSF I see an Import_Einvoice scrript, not sure if it is the same, but it appears to operate on the EFTHead table.
It tries to add records into the EFTHead table. But they may be different to the Sweden CSF.
In the Aus version there are some preinstall settings for EInvoice in company maintenance that also need to be carried out, perhaps this is related.
Another thought did come to mind. In the AUS csf it mentions if you have multiple companies when installing the second solution file you only need to check the DELETE PREVIOUS INSTALL for the first company, all subsequent times you don’t… Are you multiple company?