Hi all,
the Data Viewer in SSIS with Visial Studio 2019 is not working as used. You can see it, but the content of data viewer window is empty...
olaf870
Hi all,
the Data Viewer in SSIS with Visial Studio 2019 is not working as used. You can see it, but the content of data viewer window is empty...
olaf870
Hi Team,
I am using DataTool 2013 and Excel.xls.
The package is loading data from Multiple excel to Table as expected. But afer loading the end sheet (Sheet3) data its throwing error like...
[Excel Source [2]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E37.
[Excel Source [2]] Error: Opening a rowset for "Sheet3$_" failed. Check that the object exists in the database.
[SSIS.Pipeline] Error: Excel Source failed the pre-execute phase and returned error code 0xC02020E8.
Please help to solve the issue.
Thanks
Anil Acharya
We are experiencing strange behaviour when reading a DataTable in an SSIS script task.
Scenario:
My package contains two tasks.
The recordset exposes no records when the package uses checkpoints, but all records appear when it doesn't!
Environment:
OS Name Microsoft Windows Server 2016 Standard
Version 10.0.14393 Build 14393
Microsoft Visual Studio 2015 Shell (Integrated)
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.7.02053
Installed Version: IDE Standard
Microsoft Visual Studio Tools for Applications 2015 00322-10000-00000-AA323
Microsoft Visual Studio Tools for Applications 2015
Visual Basic 2015 00322-10000-00000-AA323
Microsoft Visual Basic 2015
Visual C# 2015 00322-10000-00000-AA323
Microsoft Visual C# 2015
SQL Server Data Tools 14.0.61712.050
Microsoft SQL Server Data Tools
SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Hi All,
Is it possible migrate the excel data in ssis from Excel source transformation to SQL Table ?
Ex : I have lot of string columns in excel like following
2010-0021544
2010-0074
2011-02342
2011-50500
2013-0501939
2015-0211930
2016-0201356
The entire string is in one cell I want to display in the table as it is. I sit possible in ssis ?
Please let me know thought or any link will help me on this .
Thanks
Sriraj
Hello
I have searched for few hours over internet of how to attach date and time to a file name after the processing and not much luck
In EXPRESSION BUILDER, I'm able to evaluate the syntax and it's all correct.
SSIS will throw an error at the time of running the package, and I can't see any reason why, if the syntax of the expression I'm using is incorrect then the 'Evaluate Expression' button would throw an error at that time of entering the expression?
Any help is greatly appreciated
@[User::ArchiveFolder]+"\\"+(DT_STR,30, 1252) GETDATE()+"_"+@[User::FileName]
Thanks
TT
Hi,
Anyone able to help.
Got an SSIS Package with a Foreach Loop Container using Collection Foreach ADO Emunator
The variable is User::Lookup_results - There are 4 results which names of 4x AD Groups)
In the For loop, I have
a) Execute SQL Task which truncates Table X
b) Then after the SQL Task I have a Script Task with C# which grabs users from AD Group 1 and inserts them into Table X
What is happening is, after the Group 1 members have been written to Table X, Group 2 members are appended to the bottom of Table X, why?
After Group 1 is inserted, I want the loop to again delete Table X and then insert AD Group 2 members.
Any ideas?
Both the truncate task and script task are in the For loop
After looping AD Group 1, I would expect it to go back to a) then b)
This should only hit if the variable = 'True'. In the screenshot below it clearly says 'False' but still hit. I have tried Changing the 'Logical AND' to 'Logical OR' as well have tried changing every other operation and combination with "Evaluation operation:"
https://imgur.com/VuSPgqn
I'm getting APPCRASH each time I edit the Excel Source Data Flow object.
I have an existing SSIS Package that I change the source of the file through a Variable so I pick the Excel sheet through"Name of the Excel sheet" then click on the "Columns" to verify the columns associated to this sheet. I get the
error either by clicking 'Ok' to exit the Excel Source Editor or by clicking the "Preview" button.
I have tried selecting different driver version of the Excel connection manager but with same error.
VS give the following error:
Problem signature:... when you're a phan, be phanatix!
Been stuck on this since last night; working through countless threads and making too many updates/changes. Gotta punt.
Just discovered that I cannot connect to Excel as I set up a simple SSIS job to read from a table and write to a spreadsheet. In the Excel Destination Editor, I got the infamous "no tables or views could be loaded" instead of the name of the Excel sheet.
What I discovered was that I have a mismatch of 32/64-bit drivers between Visual Studio, SQL Server and Office. Please correct me, if I got this wrong.
---------------------------------------
I am using:
MS Windows 10 64 Bit
MS Office 2013 64 Bit
SQL Server 2017 Developer Version
MS Visual Studio 2019
----------------------------------------
Upon reading the threads in this forum- which is not where I started -I updated the
https://www.microsoft.com/en-us/download/details.aspx?id=56730
----------------------------------------
This was after I tried loading the 32-bit driver for 2007 and 2010, as I followed various threads before landing here. That is where I learned about resetting theRun64BitRunTime flag to false in the configuration properties for the project.
But no matter what change(s) I make, I cannot configuration to connect correctly.
Interestingly, I have been able to do stuff like this at work, where we use VS2017 and Office365. In addition, I have connected for this type of operation correctly using older versions; Office2013 & VS2013. However, I upgraded my Visual Studio copy from 2013 Professional to the latest (2019) Community Edition, and lost my Excel connectivity.
----------------------------------------
What is the RCA (Root Cause Analysis) here? Is it Visual Studio, Office or SQL Server? I suspect this relates to the Office (64) versus Visual Studio (32) bit drivers. I have not tried rolling back Office 2013 to 32 bit. Will that fix the problems here?
Yeah, a lot of these threads are similar, but not always congruent. In my case, I had a current Win10/64 with an older Office2013/64 install that I put a new development environment on.
Of course, I appreciate all, particularly those who can point me in the right direction towards getting my Excel/Office drivers talking to my latest/greatest MS Dev environment.
We need some urgent help regarding a unusual error occurrence happening very frequently during our SSIS executions from SSIS catalog. We have few projects were parent package calls many child packages. we get below error while package executions
" Error 0x80131500 while executing package from project reference package abc.dtsx" 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. "
I have read many blogs and forums on this issue and followed suggested instructions but none of them have worked.
Database and SSIS servers are separate. we using SQL Agent to run the packages and packages are using PostGre SQL 9.0.
Recently we have installed PostGre SQL 11 on the SSIS server. since we faced this problem very frequently so we stop the PostGre services and we are still getting this issue.
We never faced this issue before but in recent days the occurrence has gone up. We thought of PostGre SQL Oledb driver used by SSIS but still not sure.
When we restart the server then everything works fine for few days and the issue then again pops up after 3-4 days.
Any suggestions or help would be a great help for us.
Thanks
I have searched through many forums concerning this error:
Error at Load Data Table Position Requisition [Load Data Table SFactor_PositionReqisition [1]]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB Record is available. Source: "Microsoft OLE DB Provider for Oracle" Hresult: 0x80004005 Description: "Unspecified error."
An OLE DB record is available. Source: "Microsoft OLE DB Provider for Oracle" Hresult: 0x80004005 Description: "Oracle error occurred, but error message coud not be retrieved from Oracle.".
An OlE DB record is available. Source: "Microsfot OLE DB Provider for Oracle" Hresult: 0x80004005 Description: DataType is not supported.".
Error at Load Data Table Position Requisition [Load Data Table SFactor_PositionRequisition [1]]: Opening a rowset for "PHSF"."SFACTOR_POSITIONREQUISITION"" failed. Check that the object exists in the database.
Additional information
|__> Exception from HRSULT: 0xC02020E8 (Microsoft.SqlServer.DTSPipelineWrap)
I am using SQL Server 2008 R2 (BIDS).
I think I get the issue as this only occurs on one of five table loads and this table is trying to take an NTEXT (Excel) data column and send it to a NCLOB Oracle (10g) data table. This behavior was not experienced until I added the NCLOB column to the data table. The data is required and setting the Oracle data column to VARCHAR2(2000) is not large enough to hold the data being imported.
Is there a way to import the data to an NCLOB with this version of SSIS? Maybe transform the data from NTEXT to TEXT to Varchar(Max)? Any help and direction offered will be greatly appreciated.
Thank you.
MT
Is it possible to implement SCD for many attributes for my FactEmployee at the same time ?
The attributes I am tracking : EmployeeStatus,EmployeeType,Manager (it can go up to 6 attributes)
Occasionally a SSIS package fails to connect to a remote server because, we suspect, the remote server is experiencing high CPU (e.g. during backup process). How can we recognize this type of failure from inside our SSIS package?
TIA,
edm2
P.S. You may be able to ping the remote server at the time but that doesn't mean that an external app canaccess data in a database on that server.
SQL Server In place upgrade from 2014 to 2017 RTM -CU17 failing with Assertion error.
'IS_OFF (BUF_MINLOGGED, m_buf->bstat) || pageModifyType != PageModifyType_Contents || GetPagePtr ()->IsTextPage ()'.
1. Database and SSIS is upgraded to 2017 and redeployed after in place upgrade from 2014 to 2017
2. we have a master package which runs around 120 child packages and failing continuously on a particular ETL package.This SSIS job calls a Stored procedure which contains merge statement ( around 80K records).
3.Same error when we run the individual package or running the Stored procedure on SSMS.
Following workaround are done but no luck
1. Drop and recreate SP
2.DBCC check on table
Hi,
I have a weird case in SSIS with an aggregation. I have a column which I aggregate on (I have sorted the data), and the aggregator removes rows that are not equal. Here you probably say - you have a case-sensitive problem...Well I guess so, but I cannot fathom how.
The column that I aggregate on all comprise of the following pattern: <6 numbers>¤<4 numbers> (Ex. 152733¤8440). So, no characters, at all. I have over 7 mio. rows in my source, and of those I 'lose' around 2.300 unique combinations, that should not have been aggregated.
The super-weird thing is that if I tell the aggregator to be case-sensitive, then it does not remove the rows. So - how can a number + ¤ + number be affected by case? The above example (152733¤8440) is one of the rows that's remove in a non-case sensitive setup. This makes no sense to me - and I have a very hard time coming up with a way to debug which other rows cause the actual 'wrong' aggregate.
Does anyone have suggestion as to what might be 'hitting' me here? I can, as a workaround, continue with the case-sensitive comparison. I just don't understand what happens - and I don't like the solution, as my database is case insensitive - so that should be the correct comparison. (Note: The source has the column in question as an unique key, so the SQL server does not see the rows as equal). The datatype in SSIS is (DT_STR, 100, 1252) - it's varchar(100) in the source.
Thanks in advance
It seems there is a big,big bug inside the newest version of SSIS:
When I try to create a "execute sql-task" in Visual Studio 2019, I get only very small dialogbox without any tabs, there I can enter a sql statement, but I can't choose an existing connection. The option "read sql statements from file" is not available too. Somebody knows, if there is any work aound or what is wrong?
best regards
Olaf
olaf870
Hello,
i have a question regarting the Replace function in SSIS. I want to replace ";" with ; within a text.
For example i have the text '
Hello";"World'
in the column NAME. I want to change the text in 'Hello;World'.
REPLACE(NAME,"";"",";") does not work. Do you know what my mistake is? Can you guys please help me?
Many Thanks
I've built an SSIS package over the last year which has grown quite big over the last few iterations. There are probably about 200 objects in various Sequences, Groups and Loops. Visual Studio has been getting slower and slower to the point now where running the job takes 60-90 seconds to build it before it runs.
Has anyone got any pointers on optimising this? I think the first point of call would be splitting it into separate packages and calling them from a parent package. I've put this off so far as the deployment is managed by the client and the server and installation accounts are locked down quite a bit.
I'm using SSDT 2015 with Visual Studio 2015.
Any books/Youtube vidoes/websites, or general advice would be greatly appreciated.
TIA :)