r/SQLServer • u/sqlguy007 • 27d ago
Question Mdac - ms 365 runtime error
Solved - access 365 runtime doesn't work. I installed clean version of MDAC 2016, even it's not supported and it works. Thank you for help!
hey guys, does anybody had an issue with loading excel sheets(xls,xlsx) into Microsoft SQL Server Developer (64-bit) 16.0.4305.5 through Microsoft.ACE.OLEDB.16.0? , installed MDAC 2016, then Microsoft 365 Access Runtime only 64bit, windows server 2025 Standard Edition. The problem is when I use OPENROWSET SELECT * FROM OPENROWSET ('Microsoft.ACE.OLEDB.16.0', 'Excel 12.0 Xml;HDR=YES;IMEX=1;Database=\ \SERVER.DOMAIN .INT\DWH \KFILE.xlsx', ' SELECT TOP 1 * FROM [SHEET$] ') SQL Server fails. SQL Server 2022 Import and Export Data (64-bit) works Msg 10054, Level 20, State 0, Line 0 A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.16.0', N'AllowInProcess', 1; EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.16.0', N'DynamicParameters', 1; EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.16.0', N'DisallowAdHocAccess', 0; Ad Hoc Distributed Queries set to 1
Edit:
Load through UNC path Powershell works, also through domain sql user. Everything worked till around June/July 2026( for 6years worked) then after September every restart SQL Server got message: System.Runtime.InteropServices.SEHException: External component has thrown an exception and Sql server service fail. When I got this exception, somethimes it's okay, sometimes it needs more service restarts, but it works.
Server where OS is Windows Server 2022 Datacenter, I return to the version C2R where it worked , but didn't
I'm sysadmin, have all rights to the folder.
Also tech user has all needed permission, also to temp folders
Provider : Microsoft.ACE.OLEDB.12.0
Architecture : x64
Registered : True
CLSID : {3BE786A0-0366-4F5C-9434-25CF162E475E}
DLLPath : C:\Program Files\Microsoft Office\root\VFS\ProgramFilesCommonX64\Microsoft Shared\Office16\ACEOLEDB.DLL
DLLExists : True
FileVersion : 16.0.20228.20014
ProductVersion : 16.0.20228.20014
SHA256 : 4BEB8EFCC966703858A1CB19CABDBF1A63468CC349C2CDCE388EE3C629EB8B1C
Provider : Microsoft.ACE.OLEDB.12.0
Architecture : x86
Registered : False
CLSID :
DLLPath :
DLLExists : False
FileVersion :
ProductVersion :
SHA256 :
Provider : Microsoft.ACE.OLEDB.16.0
Architecture : x64
Registered : True
CLSID : {3BE786A2-0366-4F5C-9434-25CF162E475E}
DLLPath : C:\Program Files\Microsoft Office\root\VFS\ProgramFilesCommonX64\Microsoft Shared\Office16\ACEOLEDB.DLL
DLLExists : True
FileVersion : 16.0.20228.20014
ProductVersion : 16.0.20228.20014
SHA256 : 4BEB8EFCC966703858A1CB19CABDBF1A63468CC349C2CDCE388EE3C629EB8B1C
Provider : Microsoft.ACE.OLEDB.16.0
Architecture : x86
Registered : False
CLSID :
DLLPath :
DLLExists : False
FileVersion :
ProductVersion :
SHA256 :
=== Office / Access Runtime (Uninstall entries) ===
DisplayName DisplayVersion PSChildName
----------- -------------- -----------
Microsoft Access Runtime 365 - en-us 16.0.20228.20276 AccessRuntimeRetail - en-us
Office 16 Click-to-Run Extensibility Component 16.0.20228.20276 {90160000-008C-0000-1000-0000000FF1CE}
=== Click-to-Run ===
VersionToReport : 16.0.20228.20276
Platform : x64
ProductReleaseIds : AccessRuntimeRetail
CDNBaseUrl : http://officecdn.microsoft.com/pr/55336b82-a18d-4dd6-b5f6-9e5095c314a6
UpdateChannel : http://officecdn.microsoft.com/pr/55336b82-a18d-4dd6-b5f6-9e5095c314a6
installed version through ODT
<Configuration>
<Add OfficeClientEdition="64"
Channel="MonthlyEnterprise"
Version="16.0.20228.20276"
SourcePath="c:\ODT\Office_MEC"
AllowCdnFallback="FALSE">
<Product ID="AccessRuntimeRetail">
<Language ID="en-us" />
</Product>
</Add>
<Updates Enabled="FALSE" />
<Display Level="None" AcceptEULA="TRUE" />
<Logging Level="Standard" Path="c:\\\\ODT\\\\Logs" />
</Configuration>
•
u/AutoModerator 27d ago
After your question has been solved /u/sqlguy007, 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.
1
u/dbrownems Microsoft Employee 26d ago
That's not supported, and it apparently crashing your SQL Server.
See:
"
The Access Database Engine 2016 Redistributable is not intended:
"
Download Microsoft Access Database Engine 2016 Redistributable from Official Microsoft Download Center
Use it from an SSIS package running in your logged-in desktop session.
1
u/krikrat 25d ago
My bet is you need to get updated drivers due to all the hardening.
Microsoft Patch Tuesday (September 2026)
• Microsoft rolled out a massive cumulative update package covering roughly 970+ CVEs (including over 100 critical ratings). • Key active exploits addressed included elevation-of-privilege issues like CVE-2026-81963 (Windows Update Stack) and CVE-2026-85880. • Extensive updates also hit Windows SKUs, Exchange, SQL Server, .NET, and Azure
1
u/CanProfessional766 24d ago
The
SEHExceptionis particularly concerning because it indicates a failure in an external component. I’d check the SQL Server crash dump and Windows Event Viewer to identify the faulting DLL, then test the latest supported Access Runtime version in a non-production environment. I’d also avoid enablingAllowInProcesson production until the cause is clear, as a provider crash can bring down SQL Server