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

A couple of different structs in the same single file???

$
0
0

Hi fellows,

Now it is doing by ctrl+c plus ctrl+v.  :-(

is there chance to do that dismissing by hand option?

Now, I have got two data flows: file1.txt and another, for file2.txt. My contractor wants the union of both -one after other- of this couple of files and keeping its original positions (are totally different)

?

Thank a lot for your time



SSIS Flat flat schema validation

$
0
0

Hi,

Does SSIS have a built in way to validate a flat-flat csv schema?

Something like BizTalk does?

If not, any other way?

Thanks,

JD

TCP error when executing SSIS Tranformation package

$
0
0

Dear Friends, 

I am getting an issue, in SSIS package running , we are getting 

   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)

from SQL Server database.  Any idea any one faced this earlier ?

Best Regards,

Kevin 

SAP BW source to OLEDB

$
0
0

Hi,

I'd like to integrate with SAP BW (I have the Bex Query and MultiProvider from SAP BW) and have the data in the SQL Server.

How can I do it?.

Thanks in advance!.

Changing SQL Server Job execution Language for SSIS

$
0
0

Hi there,

I recently had a problem with SSIS and OData Source.

My OS installation was in Spanish, and when I executed packages an error message always said, Connection  "conexión" cant be found in connection managers. Y tried everything, because I didn't have a connection with that name but validation errors said so. When I changed my Windows 10, SQL Server and Visual Studio to English the error was gone. So I think that is a bug in Visual Studio 2015.

Now when I publish a package, I can execute it with no problems. The problem I have is with Jobs, when I create a schedule Job, the  Spanglish error message appears again.

I tried Changing the SQL Server Language with

EXEC sp_configure 'default language', 0 ;
GO
RECONFIGURE ;

Then I changed the default language to my users, and I couldn't have a successful job execution.

So, I think when I execute the package directly I don't get that errors because my user default language is English, but I don't know what to do in order to execute it with job schedules.

Maybe if I can change the execution environment language for jobs to English, I can solve my problem.

Have you have this kind of errors?

Thanks!

Non-SysAdmins have been denied permission to run DTS Execution job steps without a proxy account

$
0
0

Hi,

I have a PRD server tht should be equal to my DEV server.

On both servers the SSIS is running with the NT Service\MsDtsServer110 account and the job is called from a user who is sysadmin

On the PRD Server I get this error?

Non-SysAdmins have been denied permission to run DTS Execution job steps without a proxy account

It seems I can deal with this issue using a proxy account but I would like to know what config is done on the PRD server that makes this restriction!?!

Any help?

Thanks,

JD

How do I set Validation Timeout?

$
0
0

I am experience problems with a package failing connections, I think because of timeouts.    I have already set the connection time out to be 600, without success.  So I'd like to try modifying the validation time out.  This is on SQL Server 2014.

Documentation here says this can be set from the properties dialog on the SSISDB catalog; https://msdn.microsoft.com/en-us/library/hh231008(v=sql.120).aspx

However when I look at this dialog there is no property listed for validation timeout.

Documentation here ; https://msdn.microsoft.com/en-us/library/ff878042.aspx

and here; https://msdn.microsoft.com/en-us/library/ff878147.aspx

says I can set the VALIDATION_TIMEOUT propery using catalog.configure_catalog

However when I try to do this I get the error "The value specified for the input parameter, 'property_name', is not valid."

Does anyone know if this VALIDATION_TIMEOUT even exists, and how do I set it?  Thanks.



OnPostExecute triggers before execution completes

$
0
0

A quick brief of the issue I am facing, there is an audit table that captures the execution status of the package. The package has an OnPreExecute event handler to update this table with status 'Started' and an OnPostExecute event handler to change the status to 'Completed'. I have set a breakpoint in one of the tasks to halt the progress. At this point when I check the execution table the status shows as 'Completed'.

My understanding is that the OnPostExecute event handler defined at the package level should execute only after the execution of the package completes, or am I wrong?! Kindly share your views.

Also, when I disable to OnPostExecute event handler the OnPreExecute handler gets triggered and the status gets updated to 'Started'. So I know for sure that, that part works as expected.


Loading character greater than 255 into an excel column

$
0
0

I have having problems when trying to load into an excel sheet with over 250 characters. I have recreated my issue with just one row to remove other noise in the package. so the package extract from one excel cel with one row(character greater that 255) into another excel. I used two conversion in between from Dt-ntext to str then from str to unicode str. But it still fails please any guide will be appreciated. Thanks

I get this Error:

Error: 0xC020901C at Data Flow Task, Excel Destination [22]: There was an error with Excel Destination.Inputs[Excel Destination Input].Columns[Copy of Copy of Test] on Excel Destination.Inputs[Excel Destination Input]. The column status returned was: "The value violated the schema's constraint for the column.".
Error: 0xC0209029 at Data Flow Task, Excel Destination [22]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "Excel Destination.Inputs[Excel Destination Input]" failed because error code 0xC0209076 occurred, and the error row disposition on "Excel Destination.Inputs[Excel Destination Input]" 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: 0xC0047022 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Excel Destination" (22) failed with error code 0xC0209029 while processing input "Excel Destination Input" (33). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.

How to expand more than a Sequence Container at the same time?

$
0
0

hi there, is it achievable?

In my Control Flow have 7 Seq.Containers

Thanks in advance,

SSIS packages can run in App Server but failed in SQL Server

$
0
0

Hi,

We have a quite a strange issue where we can run the SSIS packagessuccess from a App Server but when the same SSIS packages run directly in SQL Server, itfailed.

Scenario

1. We have 1 App server installed with SQL Server 2014 Integration Service only (no SQL Server Engine)

2. We have 1 SQL server installed with 4 SQL Instances and 1 SQL Instance installed with 2014 Integration Service and Data Quality Service (DQS).

3. The BI team developed SSIS packages that use DQS cleansing and perform some operations on some databases.

4. We deploy these SSIS packages to a folder to the App server and run using DTEXEC command line, and it's succeed.

5. But when these SSIS packages are deployed a folder in SQL server and run using DTEXEC command line, and some packages failed and hit with the below error.

6. We also deployed these SSIS packages to SQL Server itself and run using the SQL Agent job, and hit with the same below error for the same packages.

System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - The remote computer refused the network connection.) ---> System.ComponentModel.Win32Exception (0x80004005): The remote computer refused the network connection

 

We have the below settings in the SQL Server: -

- All services are up and running

- Enable TCP/IP in all 4 SQL Instances

- Allow remote connections in all 4 SQL Instances

- Temporarily given all service accounts with sysadmin and local administrator's right.

- We also specify the correct named instance for the DQS

Thanks

Tau Wan

SSIS package completes successfully when located in the file system but fails when located in the Integration Services Catalog

$
0
0

Hi,

I have a SSIS package that is executed from an agent job. When the package is located in the file system it completes successfully. However when the package is located in the Integration Services Catalog it fails to complete.

The package simply copies records from a SQL table to an Excel file destination.

While the package is running I was monitoring the performance statistcs by running [catalog].dm_execution_performance_counters],

the Buffers in use count was 8 for the duration of the package execution but shortly before failure the buffers spooled count went from 0 to 5 and Rows read/written counts stopped increasing.

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

Errors:

Data Flow Task:Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on OLE DB Source returned error code 0xC02020C4.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.

Data Flow Task:Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.

Data Flow Task:Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Excel Destination" (2) failed with error code 0xC0202009 while processing input "Excel Destination Input" (13). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.

Data Flow Task:Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x8007000E.

Data Flow Task:Information: The buffer manager detected that the system was low on virtual memory, but was unable to swap out any buffers. 14 buffers were considered and 14 were locked. Either not enough memory is available to the pipeline because not enough is installed, other processes are using it, or too many buffers are locked.

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

Apologies I cannot post images as I am a newly registered user.

Any advice would be appreciated.

Web Reference inside Script Task causes Binary code for script not found error

$
0
0

I am attempting to access a SOAP web API (sales force) from a SSIS package. To do this I created a script task.

Inside the script task I went to Add Service Reference. Then I click advanced to make it a web reference. Then I point it to the WSDL file and give it a name SFEnterprise. It successfully finds and adds the Web Reference to the script task.

I leave scriptMain.cs alone and I have no warnrings and no errors. Now in the solution explorer I right-click the script task and hit BUILD. I see the message from Output that BUILD succeeded.

I close the VSTA script editor and now I am back on the control flow window. However I have a red X on the script task with the following message. "The Binary code for the script is not found. Please open the script in the designer by clicking EditScript button and make sure it builds successfully"

But it does build successfully! And I have not even added any custom code except for the web reference using the WSDL file.

I am using SSIS 2012 and Visual Studio 2012. I have been reading about this binary code error message on Google searches and suggestions about delay validation and turning off pre-compile do not apply to SSIS 2012.

Is SSIS not capable of doing this?

Script task opens in VS2012 instead of VS2013

$
0
0

Hi,

I have VS2013 and VS2012 installed on my system. In addition to that I have SSDT-BI 2014 installed. I'm using VS2013 to develop SSIS packages. When I add a script task to the package, the edit script button opens up VS2012 instead of VS2013. I need to have the script task's code developed in VS2013. Is this normal that it opens VS2012 or am I using a lower version of SSDT BI which only supports VS2012?

Below are the version details:

Thanks.

Discussion: How to best load data from Excel Sheet saved in Office 365 Sharepoint and into SQL DB

$
0
0

Hi all

I have a question that I would like some input on. I thought that it was straight forward, but currently it seems rather tricky to actually be able to get data from an Excel sheet from a document folder in Office 365 Sharepoint and into a SQL Database using SSIS.

The setup is as follows.

I have a Office 365 Sharepoint setup, with a set of Subsites - one for each Customer Area.

So Customer1@company.com have access to https://company.sharepoint.com/customer1

On the site there is a document folder where the user can upload their timesheets. Ex. Timesheet_Jan2016.xls ... Timesheet_Nov2016.xls is stored in the document library called

https://company.sharepoint.com/customer1/DocumentsForUpload/Forms/AllItems.aspx

So question is now, how can I, from the Server running SSIS and SQL create a package that is allowed to access the folder and extract the data. I know how to design the SSIS flow to cycle through the files and import, but it's more about actually getting to the folder in Sharepoint. I have seen examples where, instead of a document folder, the user is directed to a OneDrive Location and then on the SSIS/SQL server the SQL agent account is then granted access to the OneDrive folder and after syncronizing it to the local OneDrive folder, it can then be accessed through SSIS. This however seems very cumbersome and at the same time, the OneDrive Sync seems only to be initiated once the agent account is logged on to the desktop..

Alternative i'm thinking of just booting up a FTP, join it to the Azure AD, grant the users access to respective folders on the FTP and then redirect the users to the FTP instead of using the Document folder

\Christian

 


Execute SQL Task size limitation?

$
0
0

Hi,

 

Im just wondering, does the Execute SQL task have a length limitation of how long the SQL statement can be, I tried to copy and paste a very long SQL statement from my DTS execute job task to a new SSIS execute SQL task and the statement was truncated and I cannot enter anymore text after that

 

anyone have experience with this ?

SSIS Records sent to error file with Error Code of 8

$
0
0

Hello

I have a SSIS project that exports data from MySQL to Oracle, this work very well however the last couple of days it been sending data to the Error text file instead of inputting it into the Oracle database.

Here is a sample of the error data;

"ORDER_ITEMID","GIFTAIDED","TRANSID","SALE_DATE","LOC_REF","CAT1","CAT2","CAT3","CAT4","PRICE_PAID","VAT_AMT","UNIT_COST","STATUS","STF_ID","ErrorCode","ErrorColumn"
"32000086","RA","19201859","2016-11-16 10:56:33","0","Gaming","Raffle","2016","Q4",".50",".00",".00","1","9292","8","0"

I have looked on the internet but can not find what error code 8 means, does any one know?

Also the only error I see in the data is that the LOC_REF should say 58 but it says 0 in the data.

I have run the job manual and no data was sent to the error file, doe any one know what this could be?

Regards

SQLSearcher99

Script SQL Task limitations

$
0
0

Hi,

I am not able to copy more than 600 lines in SqlStatement property on Execute SQL Task Task.

I need to repeat the operation over and over again till finally all my script is accepted.?¿

Does anyone has some experience with that?

Thanks for your thoughts,

EDIT: ok there is (or there was") an issue with that. In the meantime, I am dropping "GO" in my script for gaining room... :-(

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f4007081-fe64-406f-ae84-27a896a7d16b/execute-sql-task-size-limitation?forum=sqlintegrationservices

Architecture Integration Services

$
0
0

Hi all of you,

In my ecosystem I don't have any VM with Integration Services in any SQL server.

My idea (let me share wit your thoughts and ideas with you) is create a VM isolated for just place Integration Services for all the network or just create one IS for every datacenter.

SSIS Package Return Code - VBA Shell Command

$
0
0

 

Hi guys

 

Got a weird problem here. I run an SSIS package using DTExec via a VBA shell command, using the code below.

 

It works, but the problem is the return code. If I get the DTSER_SUCCESS (0) message, it seems to return a random value (well, long if you want to be specific) - recent runs have returned 2516, 2380, 3932 etc. I had expected it to return 1.

 

The danger is that if there is a failure in the SSIS package, the package shows DTSER_FAILURE(1) but still returns a random value.

 

So essentially I have no way of knowing if the package has run successfully.

 

Anyone got any ideas? I'm using an Access 2003 frontend (unfortunately) with SQL2005 backend.

 

varShellResponse = Shell(gcDTExecCommandFile, vbNormalFocus)

 

TIA

Viewing all 24688 articles
Browse latest View live


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