问题
I am trying to create a linked server to SAGE 50 using server in management studio but keep getting an error. I am hoping that someone has done this before and can provide some guidance.I set up and tested "ODBC data source administrator (64bit)" with as seen below and it works for Microsoft access when I used "External data - ODBC database" connection.
I then added a linked server with the security tab set up like so using the same credentials that I used to add it to Access like so:
And set up the general tab like below and tested but keep getting this error
Not sure what I am doing wrong as I google how to do this and the results only brought me this far.
回答1:
The only way I was able to get around this was to install a completely separate 32-bit SQL Server Express and create the linked server to SAGE there. Just install the minimal 32-bit server itself, you don't need an extra management studio or any additional fluff.
You can log onto both SQL versions through the same Management Studio. Use the 32-bit version of SQL to load data into staging tables. Then select that data directly from your 64-bit SQL using the same interface.
It's a dirty solution, and slight bit higher overhead, but my IT department was not able to find any better solution that would actually work with the 32-bit Pervasive SQL ~v10 that older versions of PeachTree employ for SAGE.
来源:https://stackoverflow.com/questions/50157076/create-linked-server-in-management-studio-to-sage-50-us-database-using-odbc-data