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

SSIS scheduled job fails

$
0
0

Hi,

I am running an SSIS scheduled job on an SQL Server 2012(SP3 11.0.6260.1) instance. This job is running on-premise and the target is Dynamics 365.  Starting from schedule the job always fail with an "Unexpected empty response". If i start the job manually it runs just fine. I use the same account as the proxy starting the job.

Error message:

"Copy CRM Data:Error: KingswaySoft.IntegrationToolkit.DynamicsCrm.WebAPI.WebApiServiceException: Unexpected empty response received from the resource URL: https://xyz.crm4.dynamics.com/api/data/v8.0/RetrieveVersion ---> System.Exception: Unexpected empty response received from the resource URL: https://xyx.crm4.dynamics.com/api/data/v8.0/RetrieveVersion
   at tzt.bcf(Uri mb, String& mc, String& md)
   at tzt.bce()
   at tzt.bcb()
   at uhk.iyn(String bdc, String bdd)
   at uhk.rlq.osq()
   at tzh.pfx[bz](Func`1 iq, Func`2 ir, Int32 is, PipelineComponent it)
   --- End of inner exception stack trace ---
   at tzh.pfx[bz](Func`1 iq, Func`2 ir, Int32 is, PipelineComponent it)
   at uhk.iyk(String bcx, String bcy, String bcz)
   at uhk.iyd(String bcs, String bct, String bcu, HttpStatusCode& bcv)
   at uhk.iyi()
   at uhn.tjs()
   at uhn.pye(String bir)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at uhn.pxm(String bge)
   at uhj..ctor(uhn bbr, uaa bbs)
   at uhn.tjk(uaa hgj)
   at KingswaySoft.IntegrationToolkit.DynamicsCrm.CrmSourceComponent.PreExecute()
   at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPreExecute(IDTSManagedComponentWrapper100 wrapper)"

Anyone have clue what can be the problem?

Best regards
Frode M


XML package in SSIS

$
0
0
I have downloaded SSIS from Microsoft website, but I don't see an XML tool as a target component. Could you please help me where can I find this XML component as a target.

DatabaseBackup

$
0
0

On SQL Server 2012 Version

I was trying to create a package to perform regular backup and archive of databases on my server.  I have created a table to store selected list of databases to be backed up, however I see that the backup database task is providing the drop down list to select the db.  Is there anyway to parameterized the db list?

Because I want to have control in table to decide which db to backup etc.  I have created object variable to hold the list of dbs using esql task, and defined couple of variables to catch these values in for each loop

I want to run backup of only those dbs which I list in the table (or flag with yes or no from db table)

 


Neil



executing PowerShell on a remote server from SSIS

$
0
0

I need to run just a single PS line from my SSIS package:

Disable-ScheduledTask -TaskName "MyWindowsTask"

Issues:

1)Different virtual machines -where the SSIS runs and where the Windows Task is published- although in same subnet

2)The proxy account who runs the SSIS package does not have permission on the target vm where it is required to disable the Windows Task.

Easily can solve out the step 2 using a service account with more permissions but I don't know if the call will work remotely

Let me know your thoughts and inputs on that,

Enric

Connecting to the Integration Services service on the computer "" failed with the following error: "Class not registered".

$
0
0

Hi 

SQL Server : 2016 SP2 EE

SSMS Version: v 18.4

when I try to connect SSIS using SSMS I get the following error. Can you please help me to fix this issue?. 


Error

Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)

For help, click: https://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&LinkId=20476

------------------------------

Connecting to the Integration Services service on the computer "****" failed with the following error: "Class not registered".

This error can occur when you try to connect to a SQL Server 2005 Integration Services service from the current version of the SQL Server tools. Instead, add folders to the service configuration file to let the local Integration Services service manage packages on the SQL Server 2005 instance.

For help, click: http://go.microsoft.com/fwlink/?LinkId=506689

------------------------------

Connecting to the Integration Services service on the computer "*****" failed with the following error: "Class not registered".

This error can occur when you try to connect to a SQL Server 2005 Integration Services service from the current version of the SQL Server tools. Instead, add folders to the service configuration file to let the local Integration Services service manage packages on the SQL Server 2005 instance.

------------------------------

BUTTONS:

OK

***** - instance name removed 

Message "column processing is not possible because more than one code page is specified for it (65000 and 1252)"

$
0
0

Dear All

I am trying to import csv file to SQL Server 2019 using SSIS. For file i choose code page 65000 but after starting of package i got message ""column processing is not possible because more than one code page is specified for it (65000 and 1252)". I didn't choose 1252 that's why can't understand how to fix it. 

SSIS Server configuration

$
0
0

Hello,

Our current SSIS packages resides on the same database servers abd we are also using very much dtx packages.

So we are thinking to move on new server but having question to dedicated v/s on same database server.

We are in process to decide weather SSIS on separate dedicated server v/s on the same database server.

I would prefer to have on dedicated server but also curious to know that it will be a network traffic will be involved which might slows the process back n forth.
If i go with dedicated server for SSIS then what kind of server configuration you are suggesting like CPU, MEMORY, DISK SPACE.
We have few SSIS packages and our databases are not that big which also resides on various instances.
We are right now confuse with dedicated v/s on the sane database server and what will be the new recommended server specification we should order?

Thank You!

running SSIS package with AWS CLI in SQL job

$
0
0

I have a SSIS ETL package with a process task that transfer files to AWS S3 through a AWS CLI command:

aws.exe s3 cp C:\folder s3://bucket_name/folder --recursive --exclude "*" --include "*.pdf"

If I run this ETL in visual studio the files get transfer to S3 fine.  If I run this ETL as a SQL job on the machine it does not work (no error.  the files do not get transfer).  Apparently the SQL job is unable to pick up the AWS credential.

I already have the AWS credential (access key and secret access key) setup in a service account on this machine.  In the SQL job, SSIS package is "run as" a proxy account of this service account.  The proxy is active on SSIS and cmd.  Any ideas?  Thanks.

I have SQL Server 2014 and AWS CLI v2.


Partial Cache sending matched rows to no match in ssis

$
0
0

HI,

i am facing issues with partial cache during lookup transformation, it is sending matched rows to no match output but it works during full cache but degrades the performance.

Any thoughts on this?

REgards,

AJay Dhanwani


DB bkup

$
0
0

On SQL Server 2012 Version

I was trying to create a package to perform regular backup and archive of databases on my server.  I have created a table to store selected list of databases to be backed up, however I see that the backup database task is providing the drop down list to select the db.  Is there anyway to parameterized the db list?

Because I want to have control in table to decide which db to backup etc.  I have created object variable to hold the list of dbs using esql task, and defined couple of variables to catch these values in for each loop

I want to run backup of only those dbs which I list in the table (or flag with yes or no from db table)

 


Neil




Reading Excel file in different cells

$
0
0

Good day,

i have to import data based on the header being in a cell and collumns or rowd next to it contains the value

its not a stright header file, please help. Date = 23/04/2020

What to extract all Database Objects from SSIS Packages?

$
0
0

Hi All,

I am looking for options to extract Database Objects (Source Query or table/sp/view, Destination Query or table/sp/view, any lookup table, any Execute SQL Task query) from SSIS Packages. 

This is need to prepare data dictionary or create Extraction flow. 

Would like to know has anyone tried this..? any free or paid tool in market to extract Database Objects from SSIS packages...?


Thanks Shiven:) If Answer is Helpful, Please Vote

Failed to connect to the Integration Services in SSMS

$
0
0
I want to connect to SSIS in SSMS .
Error message:
Connecting to the Integration Services Service on the computer "localhost" failed with the following error:"Access is denied."

What to extract all Database Objects from SSIS Packages 2014?

$
0
0

Hi All,

I am looking for options to extract Database Objects (Source Query or table/sp/view, Destination Query or table/sp/view, any lookup table, any Execute SQL Task query) from SSIS Packages 2014. 

This is need to prepare data dictionary or create Extraction flow. 

Would like to know has anyone tried this..? any free or paid tool in market to extract Database Objects from SSIS packages...?


Thanks Shiven:) If Answer is Helpful, Please Vote


Not able to Access Shared Folder from SQL Server using SSIS

$
0
0

I have created a OLE DB Connection and Created a Flat File Connection pointing to a Shared Folder Location.
When i execute in BIDS, its working fine in placing the file, But when i deploy the code in SSISDB, its errors out, "Cannot Open Datafile", Access Denied

We are using SSIS 2012 and executing the package through stored procedure.

Any Idea!!



Insert SSIS package Name in Destination Table? This is to identify which process loading this table..?

$
0
0

Hi All,

What is best way to identify which process or SSIS Packages loading data to a destination table?

My idea is to put SSIS package name into each of the table So that when someone queries tables, can easily find out package or process name in that table.


How other people implement and manage such metadata..?

CREATE TABLE [EMP].[ODS_EMPLOYEE](
[EMPLOYEE_KEY] [int] IDENTITY(1,1) NOT NULL,
[EMPLOYEE_ID] INT NOT NULL,
[EMPLOYEE_NAME] [varchar](250) NOT NULL,
[COMMENTS] [varchar](250) NULL,
[LOAD_DT] [datetime] NOT NULL DEFAULT Getdate(),
[PACKAGE_NAME] [varchar](400) NOT NULL
) ON [PRIMARY]

Populate column [PACKAGE_NAME] using SSIS System Variable: @[System::PackageName]

Would love to her other options and ideas?


Thanks Shiven:) If Answer is Helpful, Please Vote

restore database SSIS catalog

$
0
0

One developer accidently deploy a SSIS project and overwrite an exisitng project with the same name.

I would  like to restore the SSIS database on the same server overwriting the existing SSISDB database.

I see online there is a need to restore the master key.

Do I need to do that step?

I use the backup of yesterday, I do this on same database on same server.

THanks


Thanks

How to extract all Database Objects from SSIS Packages 2014?

$
0
0

Hi All,

I am looking for options to extract Database Objects (Source Query or table/sp/view, Destination Query or table/sp/view, any lookup table, any Execute SQL Task query) from SSIS Packages 2014. 

This is need to prepare data dictionary or create Extraction flow. 

Would like to know has anyone tried this..? any free or paid tool in market to extract Database Objects from SSIS packages...?


Thanks Shiven:) If Answer is Helpful, Please Vote



Track failed filenames in a table SSIS

$
0
0

I am having 30 files in a folder. So i am using foreachloop container to load the data coming from all the files. If any one of the file among all the files having issue we don't fail the total package instead of failing package load all successful files into destination table and want to track failed filename . We loaded all the successful files in to deatination using propagate property.

How to know/track in table which file having issue / not loaded while execution of package

Thanks In Advance 

Siddanth


Siddanth

How to reduce Lookup Transformation performance cost?

$
0
0

Hi,

I have to insert thousand records of data each day into the table. I use Lookup Transformation and use "Redirect rows to no match output" to insert data into the table. The table itself contains (at least) hundred thousands of data. I am using the "Use results of an SQL query" and Full Cache mode in the lookup. My question is, is there any way to reduce the performance cost beside using customized query? I am new to SSIS and haven't explore it much, so I am afraid that I miss some configuration.

Thank you in advance

Viewing all 24688 articles
Browse latest View live


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