r/SQLServer • u/PotatoHasAGun • Mar 24 '26
Solved Issues with SQL 2025 - Log Shipping
Anyone else running into issues with SQL 2025 and log shipping? I keep getting errors about missing DLLs for all LS jobs. I’ve been able to get past some of the errors by changing the folder names of some DLLs but still having more issues. Original error: “could not load file or assembly ‘’Microsoft.sqlserver.connectioninfo””
This is for both in-place upgrades and fresh installs. I have tested on Enterprise Developer edition with latest CU.
5
Upvotes
•
u/AutoModerator Mar 24 '26
After your question has been solved /u/PotatoHasAGun, please reply to the helpful user's comment with the phrase "Solution verified".
This will not only award a point to the contributor for their assistance but also update the post's flair to "Solved".
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/DannyKruge Microsoft MVP Mar 24 '26
Curious… did you patch the server it runs on? Do you have antivirus running? Also is it only log shipping affected?
2
u/NoNotice5674 Mar 25 '26
Try a SQL Server repair. Go to add remove program features and click on SQL Server. There should be an option to Modify, Repair, Remove / Uninstall. Select "Repair"
2
u/Old-Figure-1047 1 Mar 27 '26
Do you by chance have the binaries installed somewhere other than C:? I ran into this exact issue--using dbatools to set up the log shipping, btw--and that ended up being my problem.
Log shipping uses sqllogship.exe hosted by SQL Server Agent. For SQL 2025, sqllogship.exe resolves its SMO dependencies via hard‑coded relative paths defined in sqllogship.exe.config. sqllogship.* are installed with the rest of the binaries, but the SMO assemblies are installed on the system drive regardless; specifically
C:\Program Files\Microsoft SQL Server\170\Shared\MDS5xSMO.Copy
MDS5xSMOto the same path on the SQL Install drive (you'll have to create\Shared\manually), restart the SQL Server Agent service, and then try executing the failing log shipping jobs again.1
u/chicaneuk Mar 24 '26
Have you tried using some prior CU's?
1
u/KickAltruistic7740 Mar 24 '26
If you are doing data migration dbatools is easier, for long term either log shipping or availability groups
2
u/muaddba 1 Mar 25 '26
I recall a similar issue with it on sql2019 that was patched, but it was just an.issue logging history.and error messages, not a DLL problem.
I hope you are able to get it running. I have not encountered this issue yet.
2
u/7amitsingh7 Apr 02 '26
SQL Server 2025 seems to have broken log shipping for a lot of users. That “could not load file or assembly ‘Microsoft.SqlServer.ConnectionInfo’ error usually happens because the LS jobs can’t find the DLLs where they expect them MS moved some assemblies around compared to 2019/2022. People have gotten around it temporarily by renaming or manually registering DLLs with gacutil, making sure all tooling (SSMS, SQL, CUs) matches the 2025 baseline, and verifying the SQL Agent account has access to the new paths, but it’s kind of a bandaid(here is an article about log shipping hope it will help). Most of the community is waiting on a hotfix or CU to fully fix LS, and if possible, some shops are just switching to AG backups to avoid these headaches entirely.
1
u/CPDRAGMEISH Apr 06 '26
IT's OK
Update SSMS.