I am trying to connect to Azure SQL Server from function App 2.0 using .NET core.
After i have added the SQL Data client reference and run the app i am getting not supported error can you please help on this.
You need to import SQL version 4.4.0 to make it work latest nuget update is breaking the changes,
Related
I tried to develop a simple Task but encountred this error
You can try this :
Download and install “SQL Server Data Tools in Visual Studio” the
last version
Repair SQL Server along with client components. This can be done by
choosing option in SQL Setup
I got VS 2017 15.8.1 version installed and a legacy SSIS package created and run in VS 2012 version 11.0.61219.00 Update 5. So basically two VS instances on one machine. I also installed SSDT 15.4.0 version for VS 2017. My app saves .csv file on the server, makes a call to SQL Server 2016 which invokes SSIS packages and passes the address of .csv file to it. SSIS processes the file and saves data to the database. All this is working correctly, however, instead of displaying the uploaded file on page as a link the UI throws the following error.
"Error: 2019-05-09 12:06:03.61, Code: 0xC000F427, Source:
SCR_Chk_UploadTypes, Description: To run a SSIS package outside of SQL
Server Data Tools you must install SCR_Chk_UploadTypes of Integration
Services or higher.,End Error,DTExec: The package execution returned
DTSER_FAILURE (1)."
Any ideas what "SCR_Chk_UploadTypes" is? I'm guessing it might have some relation to SSDT and VS compatibility.
Thanks!
Any ideas what "SCR_Chk_UploadTypes" is? I'm guessing it might have
some relation to SSDT and VS compatibility.
I imagine that is either the name of a connection manager or a Data Source in the data flow(s). Can you post a screenshot?
With respect to the error itself, please note that Microsoft requires a package to target a specific version of SQL Server.
The package that runs in VS2012 can only target SQL Server 2012.
Starting with VS2015, Microsoft introduced the concept of Server targeting. By default, when creating a package in VS2017 the targeted SQL Server will be SQL Server 2017. Have you confirmed that the SQL Server version that the package is targeting is SQL Server 2016?
For more information on targeting
I am trying to deploy a package using a Microsoft SQL Server Integration Services Designer Version 14.0.800.90, but when I try to execute the package through integration Services Catalogs I get the following error:
The SQL Server version of the destination server is this: 13.0.5149.0 - SQL Server 2016 SP2 CU1 and the ssis product version in the server is 13.0.1601.5
I believe the issue lies on the script component of the data flow inside the package, which in my VS version is higher that in the destination server.
How can I solve this?
In Visual Studio, change the Target SQL Server Version of your project to 2016, then re-build it and deploy it.
I have deployed the entire solution and it worked.
I made a C# Script in SSIS pulling data from GA API. On Monday, Google closed the access to the api via basic authentication
AnalyticsService service = new AnalyticsService(Dts.Variables["CONFIG_GA_PROJECT"].Value.ToString());
service.setUserCredentials(username, pass);
=> Got 404 error
So I want to move to the following security implementation : Accessing older GData APIs (Spreadsheet API) using OAuth 2 and a service account
The problem is : seems like we can't use nuget installation in SSIS Script as dll has to be pushed in the GAC.
I tried using : How to install a DLL to the GAC on Windows Server 2012 using only PowerShell (without having to install SDK or Visual Studio) but didn't work...
Is anyone found a way to use Google.Apis.Auth.dll in a SSIS C# Script task ?
The problem you are having is due to the fact that the Google .net client library aren't strong name signed, so they cant be pushed to GAC. Also remember that the current Google .net client only works with .net 4 and .net 4.5 so you are going to be locking out the older versions of SSIS I think.
This is reason I didn't use them in my Google Analytics Custom SSIS Data Reader and Connection Manager which uses Oauth2.
Options:
Strong name sign the Client library yourself. code here
Wait for the strong name signed version of the library to be released. I hope its done soon. Strong Naming in binaries #238
Do what I did and code it all yourself with out the Client library, this allows you to code for .net 3.0 and support SQL server 2005 - 2012 like mine.
I hope this helps. The one I made is free for download you are welcome to have a look Data Reader for Google Analytics
I have a .NET 4.0 Windows service application (VS2010), I need to call an SSIS 2008 package.
I know that it is easier to create a web service and call that service from SSIS, I am not at liberty to do that.
So, I figured my next best option is to call my SSIS package from my windows service. I know in .NET 2.0 you can call the DTS package, and if i have SQL Server 2012 installed.
But I am not able to find a solution for this specific combination. .NET 4 and SQL server 2008 SSIS.
Or is there a way using the same combination that i can start and stop a windows service using SSIS 2008. And figure out when the windows service is finished running.
Refer the section Using a Web Service or Remote Component to Run a Remote Package Programmatically in the below MSDN documentation.
Loading and Running a Remote Package Programmatically