Skip to main content
Question

Microsoft SQL server Spatial reader failing


Forum|alt.badge.img+1

Microsoft SQL Server Spatial Reader now fails to connect post upgrade to 2020.1. It worked with 2020.0. We are getting this error: Microsoft SQL Server Spatial Reader: Failed to connect using Microsoft OLE DB Driver for SQL Server. Provider error '(-2146824582) Provider cannot be found. It may not be properly installed.'. - is there something we need to install?

7 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • July 16, 2020

Just a thought:

Are both 32 or 64 bits?

The bits of the FME install have to match the SQL Server client components.


mattwilkie
Supporter
Forum|alt.badge.img+11
  • Supporter
  • September 17, 2020

Same problem here. Worked this morning, broken this afternoon after upgrading to 2020.1.2. Haven't dug in yet to find out about bitness. Later: actually this isn't a problem for our script. Yes the warning is there, but the next line is "Microsoft SQL Server Non-Spatial Reader: Trying to connect using SQL Server 2012 Native Client...", and that succeeds.

 Now to see if we can reverse the try order, or just tell it to not try OLE DB at all.


helmoet
Forum|alt.badge.img+8
  • November 25, 2020

Same here upgrading from FME Server 2017 to FME Server 2020.2.0.0


Forum|alt.badge.img
  • April 5, 2021

Did anyone ever find a resolution for this?


Forum|alt.badge.img
  • April 5, 2021
wjloy wrote:

Did anyone ever find a resolution for this?

I installed this and now the workspace is working.

 

https://docs.microsoft.com/en-us/sql/connect/oledb/download-oledb-driver-for-sql-server?view=sql-server-ver15


wjloy wrote:

@wjloy​ 

 

Did you have to install both 64 and 32-bit versions?


braggken
Supporter
Forum|alt.badge.img+6
  • Supporter
  • February 4, 2025

For the record I had this problem recently with FME 2022 and the client libary that actually worked was:
sqlncli.msi (64 bit for 64 bit FME)
At time of writing found here:
https://www.microsoft.com/en-us/download/details.aspx?id=50402

But with microsoft these links don’t seem to last forever. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings