I have two instances on a single server. Instances are named TEST and LIVE for simplicity. Both are running SQL Server 2019. Only the LIVE instance has SQL Agent jobs running (Basic backup jobs via maintenance plans). SSIS is not installed on this environment.
I have just upgraded the TEST instance to SQL Server 2022. All was quite straight forward except for the ODBC and OLEDB components having to be uninstalled for it to be able to upgrade correctly. All looks okay now on the TEST instance.
However there is an issue with the LIVE instance which is still running SQL Server 2019. The backup jobs are failing with:
Could not load package "Maintenance Plans\Backup" because of error 0x80070002.
Description: The system cannot find the file specified.
I have determined that the issue is with the DTExec component by running the backup code, from the SQLAgent job, via the command prompt. If I attempt to run it with the 150\DTS\Binn version (i.e. The SQL Server 2019 version) it fails. However when I run it with the 160\DTS\Binn (i.e. the newly installed SQL Server 2022 version) it works.
I would assumed that if anything it would be the other way around.
I cannot see any changes to files within the SQL Server 2019 folders. I am guessing some shared component has altered and is causing this but I cannot track it down.
I am quite sure that when I upgrade the LIVE instance then this problem will be resolved but I would like to know why this upgrade has caused an issue. If there were multiple instance on a server then this could be much more of a problem.
I have tried all the obvious sources of information (Including ChatGPT) for help but nothing is telling me why this is happening.
Does anyone have an idea?
Additional information: Reinstalling the old drivers makes no difference. I get the same results.