I want to connect SSIS packages to my SharePoint, to get excel or csv file and insert it into SQL server 2019. I've tried HTTP and OData connections but both of them gives same error 403.
In Server URL I am typing URL in this format :
https://companydoamin.sharepoint.com/sites/site_name/Shared%20Documents/Forms/AllItems.aspx
I've also tried with http://mySharePointServer/mySite/_vti_bin/listdata.svc
Image 1
Image 2
Image 3
Image 4
Image 5
Image 6
Related
I have an excel file on OneDrive (teams). I want to import the data from the excel file into SQL table. Which SSIS task can I use for this?
Here is what I have tried (https://www.techbrothersit.com/2016/07/how-to-download-file-from-sharepoint-by.html)
In Onedrive (teams), Share the file with everyone, copy link
In visual studio, create a new SSIS projects, Create new connection (HTTP) - this creates the HTTP connection manager
In the new http connection give the server url as the link copied from step 1
Click on test connection - error: The remote server returned an error: (403) Forbidden. Even if I enter my credentials then also I get the same error.
If I paste the link in web browser (incognito mode), then it opens the excel file in browser.
I also tried the OData connection manager, same error.
Other references (same error):
https://medium.com/#smitagudale712/download-excel-file-from-online-in-ssis-a830c32389f5
https://sqlis.com/Downloading-a-file-over-HTTP-the-SSIS-way/
Replicate SQL image here
Result error image description here
enter image description hereI am getting listener related error when trying to connect to database using sql developer and through odbc DSN config testing saying "ORA-12505" TNS listener doesn't currently know of the SID given in connect descriptor... please help me i have to reinstall every time this error shows which every 3 days it has become a hassle for me
enter image description hereenter image description here
I have a SSIS package and a Script Task on Windows Server 2008 R2. This Script Task downloads the file
System.Net.WebClient myWebClient = new System.Net.WebClient();
string webResource = varCollection["User::RemoteUri"].Value.ToString();
string fileName = varCollection["User::SourcePath"].Value.ToString() + "filename.csv";
myWebClient.DownloadFile(webResource, fileName);
Working Test Case:-
1. If I execute this SSIS package from Visual Studio, then it successfully downloads this file. Here Important note is Im not sending any type of authentication.
Failing Use case:-
1. If I call this SSIS package from SQL Server Agent Job, then this SSIS package fails to download the file and gives following error
System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required. at System.Net.WebClient.DownloadFile(Uri address<c/> String fileName)
I'm struggling this issue from last two days, please help me.
This is very important to resolve this issue.
Thanks in advance.
I was using OData source to load data from SharePoint 2013 List to SQL Server and the same was working for months. Now I am receiving below error in OData Source connection manager. SharePoint server is UP and I am able to access it from browser using the same credentials. Please help
Image shows the Error
Error Information:
The partner returned a bad sign-in name or password error. For more information, see Federation Error-handling Scenarios. (Microsoft.SqlServer.IntegrationServices.ODataConnectionManager)