Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

How to change connection string for an Excel File Data Connection?

$
0
0

I've been needing to use and configure an Excel Workbook to retrieve data from another workbook (which is uploaded to a Document Library in SharePoint) and upload it to SharePoint 2013. So far, I am successful in retrieving and refreshing the data via the desktop application (Excel 2010) but I am having trouble when it is uploaded to SharePoint. I am receiving the error that "Sheet1$ does not exist".

Based on my troubleshooting, I traced it back to this:

It seems that what happens is, everytime I try to refresh the data from SharePoint, it 'creates' a temporary file as specified there in the connection string above instead of using the original Excel file (which is also uploaded into SharePoint). I tried accessing the file but it seemed to be corrupted or locked by some service / user. I tried manually changing the data source URL but whenever I save the properties, it reverts back and configures a new data source URL automatically. Granted, ANY CHANGE that I make to the connection string is ignored.

Why can't I change it? Is there any way to manually specify my own connection string? Or is Excel really just configured to auto-populate the connection string for an Excel file type of connection?


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>