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

SSIS Sharepoint Adapter--Cannot write numeric values into SP list

$
0
0

Hello All,

Curious whether anyone here ,as well as me, ran into this issue.

I am using SSIS2012+Sharepoint List adapter. The pckage runs well but only all decimal column values cannot be wriiten into SP list but all other values are going down to destination SP list successfully. And the column defined in SP list isnnmeric type too.

The package run successfully too. Already debugged for som while... not figured out.
Did someone meet the same issue? Please share some lights, Thanks


Derek



Server Migration issue for ssis packages

$
0
0

Hi All,

           
We migrated our application from server1 to server2......server 2 is high configuration compared to server1 but sql queries and ssis packages are taking more time to execute,for example if same package in server1 its executing for an hour the same in server2 its executing for 2 hours.After some ten days we will dismantle server1 but why its taking much time comparing to server1? Need your help guys...

How do I configure a Send Mail Task for Groupwise?

$
0
0

We use Groupwise for email purposes. Is there any step-by-step approach for configuring a "Send Mail Task" using Gorupwise in SSIS?

Thanks in advance for your help and assistance.

PSULionRP

How to sort the packages in Integration services under SSMS.

$
0
0

How to sort the packages under a folder under stored packages in Integration services of a sql server? I have around 250+ packages in the server which are not in sorted order and it is frustrating to search the package one by one.

Thanks and Regards,

Shanoof Basheer

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

Please mark as answer or please vote helpful if you think the answer serves its purpose

Oracle data Import with SSIS (accents loss)

$
0
0
Hi everybody,

I work on SQL Server 2008.
I try to transfer data from Oracle to SQL Server.
In my Oracle data I have some accents (é,è...in french language).
I lose these accents during data transfer.
Does anyone have an idea of my problem origin?

Thanks 4 your help.

Pete

passing connection string dynamically to ssis package

$
0
0

hi,

i have create packages which loads the data from flat file to sql server table ,

now i want to make my destination table connection dynamic what is format of connection string 

i also need to pass user name and password for sql server dynamically

in this case, what is the format for the connection string

also  in package i used ADO.net  as source for  *.mdb files how i can set the commection to .mdb files dynamically which is used as source in my package

Conversion failed because the data value overflowed the specified type.

$
0
0
I have a field name maximum_inventory datatype double with value : 999999999.00000000

I want it to extract it , so I declared a field max_inv with float datatype 

But it is giving error like : Conversion failed because the data value overflowed the specified type.

SSIS Date Conversion Failure regardles of validation methods

$
0
0

Hello my friends:

I have a column in a text-file with dates like this: 20131207. I and trying to convert the date like this 2013-12-07 but everything I have tried has failed.

Here is my code: I have modified it many times to fix this problem.

(LEN(TRIM(MyDate)) < 8) || (TRIM(MyDate) == " ") || 
(ISNULL(MyDate)) ? NULL(DT_DBDATE) : 
(DT_DBDATE)(SUBSTRING(TRIM(MyDate),1,4) + "-" + 
SUBSTRING(TRIM(MyDate),5,2) + "-" + SUBSTRING(TRIM(MyDate),7,2))
I checked Retain Null Values in the Flat Source Task.

Thanks!



debugging from the db instead of the file system

$
0
0

Hi.  I'm used to debugging (and running in prod) my mstr and sub pkgs from the file system. 

I'm relatively new to 2012, using project params and interested in using the db instead of file system this time, minimally once I get to production.

I have all the servers I need including one designated for storing and executing ssis pkgs.   I'm assuming I can deploy them (and proj params) there from the file system when I'm ready. 

Should/can I plan on debugging (with graphics) from the db and foregoing tests from the file system?  Would I waste development and/or deployment time debugging in the file system and leaving the deployment to db for later?  What general direction should i plan on using for all of this?

SSIS packages are taking longer time to execute on a windows 2008R2 server while compared to windows 2008 server

$
0
0

Hi

We have migrated from windows 2008 to windows 2008 R2. All the hardware components are of higher capacity in the new server. However while executing the same SSIS packages in Windows 2008 R2 server  it takes double of the time while compared to the windows 2008 execution.

Nothing has been changed on the packages .

Can you help me in resolving this issue. Want to understand do I need to check any specific configuration on the new server.

Thanks

LMLOBO

why dont conn mgr properties show after being promoted to project level

$
0
0
hi i'm running 2012 and using vs 2010 to develop.  I just took the advice i got at another ssis msdn post to promote my oledb and smtp conn mgrs to project level.  But when I went to set their properties (at project level)  based on expressions, I saw that there was no choice to do so and I could only do that by rt clicking them in the pkg conn area.  Have I even accomplished anything by changing them in the pkg area?  Does this promotion to project level really work?  What if I go to another sub pkg that uses the same conn mgr and change props there?  What ends up being the props at the project level? 

Getting Error : while Converting double datatype

$
0
0

[Company 10 [33072]] Error: There was an error with output column "inv_carry_cost" (181548) on output "OLE DB Source Output" (33082). The column status returned was: "Deferred accessor validation failed.". 

[Company 10 [33072]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "output column "inv_carry_cost" (181548)" failed because error code 0xC0209071 occurred, and the error row disposition on "output column"inv_carry_cost" (181548)" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure. 

Error executing SSIS package from source control

$
0
0

Hi,

I am currently using visual studio 2012 ultimate edition and I am trying to execute an SSIS package that has been checked out of TFS.

I can open the package, modify any of the steps, but when I try to execute the package or even execute any step of the package i receive the following rather 'cryptic' error:

****************************************************************************************************

Failed to execute the package or element.  Build errors were encountered.  For more information, see the Output window.

Error 39 Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.   ---> System.Runtime.InteropServices.COMException: The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.       at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackagePersist100.LoadPackageFromXML(Object vSource, Boolean vbSourceIsLocation, IDTSEvents100 pEvents)     at Microsoft.SqlServer.Dts.Runtime.Package.LoadFromXML(String packageXml, IDTSEvents events)     --- End of inner exception stack trace ---     at Microsoft.SqlServer.Dts.Runtime.Package.LoadFromXML(String packageXml, IDTSEvents events)     at Microsoft.SqlServer.Dts.Runtime.Project.LoadPackage(IProjectStorage storage, Package package, String streamName, IDTSEvents events)     at Microsoft.SqlServer.Dts.Runtime.PackageItem.Load(IDTSEvents events)     at Microsoft.SqlServer.Dts.Runtime.PackageItem.get_Package()     at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.IncrementalBuildThroughObj(IOutputWindow outputWindow)     at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.BuildIncremental(IOutputWindow outputWindow)  0 0 

****************************************************************************************************

A few other things:

I have multiple version of VS on my machine (2008, 2010, and 2012).  I also have multipe version of SQL Server (2005, 2008R2, 2012).

I also decided to create a new integration services project from scratch on my local machine.  I imported the package that is giving me the error above into this project and it works fine.

Other people on my team also have the same setup as myself and they do not have any issues executing the package after checking out of TFS.

I was wondering if there were some more detailed error logging that I can check to see what the issue might be? Also, at this point I was thinking of just uninstalling and reinstalling vs 2012 from scratch. HAving said that, should i also uninstall sql 2012 or just leave it as it and just focus on vs 2012?

thanks

Scott

Reading Data from a Mainframe Mailbox

$
0
0

I have a task to load data directly from a mainframe into SQL Server table.

Here are the details

Mainframe: ftp.wen.trm.com File in mainframe mailbox: test.dat

Full file path in Mainframe: ca.s2.ts.rb.a20.test.dat

Because of the nature of the data and for efficiency, I don't want to use ftp to download the file first.

If possible, I just want to use VB.NET (or C#) to read the data directly and then store it in a SQL Server Table.

Please, can someone here explain (possibly with the READ script) how I can read this data?

Thanks.


modify / change schedule on sql jobs without sysadmin rights

$
0
0

We are using SQL server 2012 Standard Edition.

We have our development server where we do our research and development, before any process is deployed to production. These servers are managed by the DBA team. The DBA team does not want us to give sysadmin rights on the dev server. Right now the way the permissions are set up, we cannot modify or change schedule on any job without sysadmin rights. The DBA has mentioned that if we can suggest any way where we can do this without using sysadmin, they will let us do it.

Is there any way to be able to modify SQL agent jobs without having sysadmin rights?

Is there any way to be able to modify  schedule on SQL agent jobs without having sysadmin rights?

Thanks.


Issue while fetching records from text file - please help!

$
0
0
Hi,
    I am fetching data from a text file to a table and I am using Pivot transformation for doing this. 
It went fine for the couple of months - but for this month it is not working, the reason is below

No name country
1 John  usa
2 peter Italy

These are the sample records . In the previous files, the line ends at the country name, ie, if i place the cursor after 'a' in usa, 
the cursor will come to the secondline, similarly if i place the cursor after 'y', in Italy, it would go to the thirdline. The package worked perfect.

But in the current file, the line does not stop at the country name, ie, if i place the cursor after 'a' in usa, it goes to the next place in the same line, similarly if i move further, it goes till  the end of the line and only then it goes to the next line. similarly for all the rows. so, the package fails.

can you please tell us whats this problem called technically and how can I resolve this?

More than One code Page

$
0
0

Hi,

when i import data from Flat file to Oledb i am getting the following Error.

The column "xxxxxxx" cannot be processed because more than one code page (65001 and 1252) are specified for it.

I have changed the Defaultcodepage to True but getting Same.kindly help me to resolve this issue.

Thanks.


Auto run if Script get fails in Loop

$
0
0

Hi team,

I have used to create the report using script task and run through for each loop container. some times my script task webservice connection strings is getting time out for some times. after some times, it will come to up. so i need solution, even my package get failed for this loop, i don't want to get failure for whole package. i want to give chance to failure request 2 more times .

http://social.technet.microsoft.com/Forums/en-US/9c23f232-652b-48d9-af94-827778c02317/ssis-package-auto-retry-until-succeed

This is link extact solution for me, but its not clear to me how to use this.

SSIS Mysql best practices

$
0
0

We are in the process of moving our backend from ms sql server to mysql. Actually we currently use a couple mysql servers, but mostly ms sql server. I mention this because we are not totally new to mysql. Each day we do a lot of ETL to keep our backend in sync with a legacy system. We move a lot of data and working with sql server has been so much easier than working with mysql for ETL. I know SSIS is MS, but still it has been a headache.

We are using sql server 2012  64 bit and BIDS 2010 on windows 7 pro 64 bit. Most of the data that needs to be moved comes from out legacy backend via odbc. It has been a struggle to insert data into mysql at the same rate as ms sql data. We are mainly dealing with innodb tables in mysql. To summarize I have been using the mysql ODBC connector and the ODBC destination in SSIS. The first method is to turn autocommit off on imports. Even with that setting off I can see in package execution that the data source ends up waiting on the destination. It gets about 40,000 rows ahead and waits.

Second method I export the data to a text file and then import using a sql task and the INFILE command. This gives pretty good performance, but at the expense of more moving parts. I've had a couple issues with this approach, but it does work and perform well.

Lastly I tried a 3rd party SSIS component from Devart. It creates custom mysql source and destination components. The performance isn't as good as INFILE, but it's not bad and it makes the package simple like when dealing with sql server... a data source and a data destination. No messing with auto commits, exports, INFILE, etc. However I can't use the connections to do other tasks like truncate tables and stuff. So I still have my ODBC connection to do those tasks. I'm going to ask Devart about this.

Right now it looks like Devart is going to be a nice balance. If I absolutely need the performance I have the INFILE method. In a quick test I got 6,900 rows/sec using Devart mysql connection and destination vs. 1,700 rows/sec using mysql odbc connector and odbc destination.

I also tried the mysql net connector and could not get that to work at all. I'm running on Windows 7 64bit with Sql Server 2012 64bit. Basically everything I need in BIDS runs in 32bit so I'm guessing this part of issues.

My question is what are others doing when it comes to moving mysql data with SSIS? It has been such a hassle. It would be nice to get some input on what others are doing. What methods are you using? Are you using 3rd party components? Is there a better/dedicated place to discuss SSIS and mysql?

Using SQL Server 2012 SSIS to Extract Data From SAP

$
0
0

Hi

What is the current best practice for using SQL Server 2012 SSIS to extract data from SAP R3? Please note we are looking for a solution that does not use SAP BW or SAP OHS.

Ideally we would like to build our ETL SSIS process to make a .NET call to an SAP RFC procedure and avoid using web services.

With SS2012 can we use any of these without using SAP BW:

- SAP .NET Connector

- MS ADO .NET

- BizTalk .NET 3.0 Adapter

Thanks and take care,

Shayne

Viewing all 24688 articles
Browse latest View live


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