Hi there
I am having a weird issue when trying to import data from an XLSX file into SQL (2008). The data is test data provided by a client. I noted that when I opened it in Excel on my workstation it opened in Protected View (as expected). If I try to import (Select from OpenRowset...) from the original XLSX file I just get 2 columns (F1,F2) with 3 rows of nulls. If I open the file on my PC, disable protected view and save it two things happen. 1 the file trebles in size, and the other is that I can now import from it on the server using the OpenRowset query. At this point I am assuming that the issue is protected view, and that the ACE engine is also enforcing this.
The real problem is that I cannot import from the Excel file on the clients site, even though the file was created on their network. We need an automated solution for this. As I have no office products installed on the servers I have no way to access the trust center to turn it off.
Can anyone confirm if Protected view is the cause of my issue? Can anyone suggest a setting / switch / option that will switch it off for ACE?
Thanks