Quantcast
Channel: SQL Server Integration Services forum
Viewing all 24688 articles
Browse latest View live

How to schedule SSIS package with Azure

$
0
0
What are the cost effective ways to deploy and schedule SSIS package with azure?

SSIS

$
0
0
Hi everyone,
I've trying to get a report from a Website. I have the Username and Password. When I navigate through the website set my report and download it manually. The other way that I found with the browser open copy a link like this and download the automatically: https://exaple/file.csv?since=2019-08-01T00:00:00.000Z&until=2019-08-31T23:59:59.000Z. I'm wondering if it's exists a C# script that I can use in SSIS with the method WebResponse or other possible Solution. I would like to automate this process with SSIS

The task with the name "CDC Control Task" and the creation name "Attunity.SqlServer.CDCControlTask.CdcControlTask, Attunity.SqlServer.CDCControlTask, Version=6.0.0.0, Culture=neutral, PublicKeyToken=aa342389a732e31c" is not registered for use on this comp

$
0
0

Hi Team,

Am implementing CDC control in my SSIS package but when am try to open CDC controller am getting bellow error message please help on same

The task with the name "CDC Control Task" and the creation name "Attunity.SqlServer.CDCControlTask.CdcControlTask, Attunity.SqlServer.CDCControlTask, Version=6.0.0.0, Culture=neutral, PublicKeyToken=aa342389a732e31c" is not registered for use on this computer. 


Thanks Bala Narasimha

OST to PST Conversion

$
0
0

I have tried a lot of tools for conversion but found OST to PST Converter one of the best, it is ads free , easy to use, fast in processing, please recommend me any other tool also that can help me in  easy conversion from ost to pst conversion online.

coolutils dotcom slash OSTtoPSTConverter


ADO NET Destination with SqlHierarchyId Type

$
0
0

Hi,

I am rewriting all oledb connections to ADO NET connections. But the ADO NET Destionation does not support the SqlHierarchyId.
Exact message:

Error at <task name>: The data type "Microsoft.SqlServer.Types.SqlHierarchyId" found on column "ColumnName" is not supported for the ADO NET Destination

The ADO NET source works  fine. 

I can come up with solutions like writing in stage table and then insert into the other table with a sql command but this doesn't sound like a proper solution.

Any ideas?

Thanks

SSDT 2017 missing IS template

$
0
0

Hi.

I was having VS 2017 + SSDT 2017 installed on local computer. And yesterday, after having some win 8.1 update, VS is missing IS templates. I uninstalled VS and SSDT and installed it all. And after first running VS i was having IS templates. But second time i cant open IS project and i dont have IS templates.

Is there any ideas?

tnx

Add custom sheet in existing excel files.

$
0
0

I have created dynamic excel files with 2 worksheets in each file. I want to add another worksheet into each excel file which consists of my custom page which is needed to be added in each existing excel file.

All the existing excel files are in a folder and I am looking to loop through all the existing excel files in that folder and add the custom page to each file being as a 3rd worksheet of that excel file.

The changes made in the File Connection Manager Editor do not get saved

$
0
0

The changes made in the File Connection Manager Editor do not get saved.

I have the 'usage type' set to existing file, and I change the file path to a directory that has the file I want to process, I click OK; and after I run the package in debug mode and I go back into the File Connection Manager Editor the info has reverted to the original values.


For each loop -- Different Values

$
0
0

Hi There 

I need to design an ETL flow where I need to filter different start and end dates.

For example : 

Iteration 1

StartDate -- FirstDayofThisMonth

Enddate -- LastDayofThisMonth

Iteration 2 

StartDate -- FirstDayofPreviousMonth

EndDate -- LastDayofPreviousMonth

Iteration 2 

StartDate -- FirstDayofPreviousQuarter

EndDate  -- LastDayofPreviousQuarter

I have build a Time Table which holds all this data. I have an execute sql task and holds the different start and end date from my Time Table and results were stored in 6 different variables.

How can I pass the 3 scenarios one by one on For each loop , Please help 

SSIS: Value need to be fixed

$
0
0
Hi, I'm processing a csv file and has some garbage example like this one 4.69E+15 the correct value is 4690720000000000. Anyone has and idea how fix it

Input files column formatting

$
0
0

Hello,

I have created a SSIS package and loaded .csv files to SQL server tables. On reviewing the data in SQL server tables I found scientific formatted data in my output, so I opened the input .csv file and looked at the format for that columns and I found that for some rows the format was 'Scientific' and for others it was 'General'. 

I wanted to know can we check the format of the input files using a Script Task or any other transformation and if it is needed to changed can we change that.

Please advise.

Thanks,

Ali.


Creating a flat file in SSIS

$
0
0

Hello,

I am trying to create a flat file as a destination, but the way the user want in a format that I am not sure how to do it.

This is how my data looks like:

150882||00641604710^60977011302^00641604701^10019010301^00641604501^00409677902|LORAZEPAM INJ (MDV) |||SOLUTION|4|MG|10|ML|||||INJECTION||

So basically, only MEDID and then all the NDC_CODE seperated by a ^ then GENERIC_NAME and then remainder of the columns. Can I able to achieve with SSIS ?

Thanks,

Ali.

Microsoft Visual Studio 2017 busy

$
0
0

We will automatically report this delay to microsoft based on your experience improvement program setting. 

I'm always getting this notification and SSDT 2017 hang on.

CDC Task in SSIS

$
0
0

Hi,

If I run the package twice, it will load duplicated records. Don't know what the specific reason is.

Anyone can give me a good advice or tutorial would be great.

Thanks.

Incremental load with history data

$
0
0

Hi Team,

Have one large table in production and daily 50000 new records are inserting. Want to move this data in new table (table with isActive column) with incremental load.
While implementing incremental load needs to follow bellow steps.
1. If data updated in production, we make isActive to '0' in destination table and reload updated records from source to destination
2. After make isActive to '0' in destination, load new records from source to destination

If it possible please help on same


Thanks Bala Narasimha


How Send POST Request with Authorization key using stored procedure

$
0
0
ALTER procedure [AVTRA].[export_order_from_local_to_server]
as
-- Variable declaration
DECLARE @authHeader NVARCHAR(64);
DECLARE @contentType NVARCHAR(64);
DECLARE @postData NVARCHAR(2000);
DECLARE @responseText NVARCHAR(2000);
DECLARE @responseXML NVARCHAR(2000);
DECLARE @ret INT;
DECLARE @body NVARCHAR(max);
DECLARE @status NVARCHAR(32);
DECLARE @statusText NVARCHAR(32);
DECLARE @token INT;
DECLARE @url NVARCHAR(256);
-- Set Authentications

SET @authHeader = 'bearer rGVU9eegEK-CrahyVOMi53_Wai6b6TXFg78vi0jHZ53HzRGZL-3lqEkP2vmny6XJE4uqbSM96BTXQ6miBfQ7OOtEuG0pMO6VcwMW_FNGPQskSMbivdrBFJ0VdzTwBpMl-I1dobw8pL1qRqujsIpMUCSR-jWcu8DIwl-UWr0fEHfQJgWd8vbWYF-8P09Ob-sYwIx9wjkpWQiRsToiwMWGeGK2-VG1rn7_bkvg7-sxtHSnBtbBR4Gq4oKqAnkHAdeSb7JeEPaGbX9hrNskzlPIJ8TVPjL0YUoiU5ndDppGdPlRPLEgXRz604nbvsw_FDopZ-qjRfX8dFWqbkTleui-7A';
SET @contentType = 'application/json';
SET @body='{"WHSEID":"ENTERPRISE","BUSINESSUNITID":"1","ITEM":[{"SKU":"00068900001","DESCR":"Test Item Descr","PRICE":"1","BRAND":"1","PRODUCTLINE":"1","PRODUCTTYPE":"1","STDNETWGT":"55.23","SKUGROUP":"","ABC_CLASS":"B","CLASS":"15","ACTIVE":"YES"}]}';
-- Set your desired url where you want to fire request
SET @url = 'rel="noopener">http://localhost/BOATAPI/api/ISKUMST/IMPORTISKUMST/'
-- Open a connection
EXEC @ret = sp_OACreate 'MSXML2.ServerXMLHTTP', @token OUT;
IF @ret <> 0 RAISERROR('Unable to open HTTP connection.', 10, 1);
-- make a request
EXEC @ret = sp_OAMethod @token, 'open', NULL, 'POST', @url, 'false';
EXEC @ret = sp_OAMethod @token, 'setRequestHeader', NULL, 'Authentication', @authHeader;
EXEC @ret = sp_OAMethod @token, 'setRequestHeader', NULL, 'Content-type', @contentType;
--EXEC @ret = sp_OAMethod @token,'setRequestBody',@body;
EXEC @ret = sp_OAMethod @token, 'send'
EXEC @ret=sp_OAMethod @token , 'FullRequestString',@body OUT, 'POST';
--EXEC @ret=sp_OAGetProperty @token, 'LastMethodSuccess', @iTmp0 OUT
-- Handle responce
EXEC @ret = sp_OAGetProperty @token, 'status', @status OUT;
EXEC @ret = sp_OAGetProperty @token, 'statusText', @statusText OUT;
EXEC @ret = sp_OAGetProperty @token, 'responseText', @responseText OUT;
-- Print responec
PRINT 'Status: ' + @status + ' (' + @statusText + ')';
PRINT 'Response text: ' + @responseText

Download JSON using API to Azure Blob Storage

$
0
0

Hi Experts,

I would like to know how to download JSON (API token is already available) from a url to Azure Blob storage using SSIS?

Thanks in Advance,


Naveen J V

The Script Task uses version 15.0 script that is not supported in this release of Integration Services

$
0
0

Hi All,

We are migrating an SSIS project from SQL 2012 to SQL 2016. The project upgraded successfully without any issues and able to run few packages without any errors. But there are few packages which has got the script task and they are failing. The error message is as below: -

Error: There was an exception while loading Script Task from XML: System.Exception: The Script Task "ST_bb19096e98ab45d2a2d6132b995cd509" uses version 15.0 script that is not supported in this release
of Integration Services. To run the package, use the Script Task to create a new VSTA script. In most cases, scripts
are converted automatically to use a supported version, when you open a SQL Server Integration Services package
in %SQL_PRODUCT_SHORT_NAME% Integration Services. at
Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask.Load
FromXML(XmlElement elemProj, IDTSInfoEvents events)

This runs fine when run from BIDS (VS2015). It also runs fine if the project is deployed from BIDS and run through agent job. But when the deployment happens through .ispac (deployment) file, this error occurs. Can somebody suggest how to get past this error?

Is it any known issues with migration or with SSIS 2016?

Thanks.


How to fix this problem? RPC server error and its error log

$
0
0

from one server to connect to SSIS on another server. Have opened firewall ports.



Find the following error from event log:

Source is DistributedCom

event id is 10016

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 
{D63B10C5-BB46-4990-A94F-E40B9D520160}
 and APPID 
{9CA88EE3-ACB7-47C8-AFC4-AB702511C276}
 to the user NT AUTHORITY\SYSTEM SID (S-1-5-18) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.


Excel connection manager - no tables or views could be loaded

$
0
0

I'm running BIDS on my xp pro client trying to create an SSIS package to move data from an excel document to an MS SQL Server DB on a remote windows 2008 server.  I create a SSIS package, create a new connection manager for excel (new connection>connection manager for excel files>browse to the excel document on my client>specify microsoft excel 2007).  From the toolbox I drag in a control flow, create an excel source within it, specify my excel connection manager within the excel source, select table or view as the access mode and when I click on the drop down to select the name of the file I get the "unspecified error" alert...when I close the alert the textbox contains "no tables or views could be loaded".

Can someone tell me what I'm doing wrong?  Thanks lots for any help, Roscoe

Viewing all 24688 articles
Browse latest View live


Latest Images

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