Veeam ONE Upgrade Fails with "Win32 exception occurred while executing SQL script."
| KB ID: | 4823 |
| Product: | Veeam ONE | 13 |
| Published: | 2026-02-24 |
| Last Modified: | 2026-02-24 |
Challenge
When upgrading Veeam ONE from version 12.3 to version 13, the following error occurs:
Win32 exception occurred while executing SQL script. Error code: 0x80004004. Error details: The SELECT permission was denied on the object 'sysjobs', database 'msdb', schema 'dbo'.
Cause
This error occurs because the service account lacks permissions to the 'sysjobs' table in the 'msdb' database.
Access to this table is mandatory starting with Veeam ONE v13. Veeam ONE needs access to the 'sysjobs' table to ensure there are no outdated SQL Server Agent Jobs for the Veeam ONE database Indexes Maintenance task created by older versions of Veeam ONE.
Solution
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.