r/SQLServer • u/FranceRocks2 • May 11 '26
Question SQL Server join against linked server mapping to MS Access database works sometimes, sometimes crashes the SQL Server instance.
There is a legacy MS Access database that has a table needed for a query. Occasionally when accessing the table from SQL Server, the SQL Server instance just crashes. In other words, the SQL Server process is killed and noone can access sql server until it is restarted. Some of the information I have read say it is a known issue, and recommended using OPENQUERY as opposed to prefacing the database name with the linked server. That seems to work better, however even OPENQUERY crashes sql server sometimes. What seems to always best is if I manually in SQL Mgmt studio expand the linked server to display the tables. However we have an automatic process that needs to run without any manual intervention. Any suggestions for manual queries to 'prime' sql server so it does not crash when accessing that data?
View all comments
Show parent comment
1
u/FranceRocks2 May 12 '26
Wow, this is very kind of you to spend time on this, and reply. Thank you!
That might be a good one to prime. That may suffice. We are also going to add the sql that SQL Management studio does to wake it up, but that proc might do the trick by itself. Thanks!!!!
I love the suggestion, by the way. I will check this in the morning.
Here you go:
Microsoft SQL Server 2017 (RTM-GDR) (KB5084819) - 14.0.2105.1 (X64) Mar 13 2026 01:00:28 Copyright (C) 2017 Microsoft Corporation Express Edition (64-bit) on Windows 10 Pro 10.0 <X64> (Build 19045: ) (Hypervisor)
Thank you again for your help and input. I really appreciate it!