﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 Integration Services </title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 07:24:36 GMT</lastBuildDate><ttl>20</ttl><item><title>SSIS Package Optimization</title><link>http://www.sqlservercentral.com/Forums/Topic1450894-148-1.aspx</link><description>Folks,We are taking Oracle Source data using Data Flow Task in which Data Reader as Source [We have Separate DSN for this] and OLE DB as destination to store the same data into SQL Server table. There are some date condition from which we are extracting data.[b]EX: SELECT &amp;lt;COLUMN NAMES&amp;gt; FROM &amp;lt;TABLE&amp;gt; WHERE MODIFIED_DATE BETWEEN '2013-05-01 00:00:00.000' AND '2013-05-05 00:00:00.000' -- Actually it should returns 250 rows of record and we get so. [/b]If we using package level its taking nearly 30 to 35 minutes for extracting the data. But if i use Microsoft Query based on the same DSN [Using MS-Office Excel 2007 ODBC] it's taken only 05 minutes to get the data. Can i know are there any possible way how to optimize my SSIS package by using Data Reader/package level?</description><pubDate>Wed, 08 May 2013 23:59:31 GMT</pubDate><dc:creator>sqlusers</dc:creator></item><item><title>Execute Process Task to execute a .jar</title><link>http://www.sqlservercentral.com/Forums/Topic1455155-148-1.aspx</link><description>I'm trying to run an Execute Process Task that initiates a java program. The error I receive when I run it in debug mode is: [Execute Process Task] Error: An error occurred with the following error message : “The specified executable is not a valid application for this OS platform.”. The Process fields in the Execute Process Task are filled out as follows: RequireFullFileName = TrueExecutable = C:\Users\john.doe.corp\Desktop\Calc\rollupcalc.jarArguments = java -classpath .;rollupcalc.jar co.corp.Application filename.csv 12WorkingDirectory = C:\Users\john.doe.corp\Desktop\CalcAll other fields are left at the default value. Any and all help will be greatly appreciated.HankL.</description><pubDate>Tue, 21 May 2013 12:05:38 GMT</pubDate><dc:creator>HankL</dc:creator></item><item><title>Not Possible to Import Data from Excel sheet</title><link>http://www.sqlservercentral.com/Forums/Topic1454425-148-1.aspx</link><description>I was importing a table data from excel sheet using SSIE wizard. After mapping the table its giving errorOperation stopped...- Initializing Data Flow Task (Success)- Initializing Connections (Success)- Setting SQL Command (Success)- Setting Source Connection (Success)- Setting Destination Connection (Success)- Validating (Error)	Messages	* Error 0xc02020f6: Data Flow Task: Column "title" cannot convert between unicode and non-unicode string data types.	 (SQL Server Import and Export Wizard)		* Error 0xc02020f6: Data Flow Task: Column "objectiveIndication" cannot convert between unicode and non-unicode string data types.	 (SQL Server Import and Export Wizard)		* Error 0xc004706b: Data Flow Task: "component "Destination - Protocol" (104)" failed validation and returned validation status "VS_ISBROKEN".	 (SQL Server Import and Export Wizard)		* Error 0xc004700c: Data Flow Task: One or more component failed validation.	 (SQL Server Import and Export Wizard)		* Error 0xc0024107: Data Flow Task: There were errors during task validation.	 (SQL Server Import and Export Wizard)	Anybody help me out on this. Thanks in advance</description><pubDate>Mon, 20 May 2013 01:57:03 GMT</pubDate><dc:creator>guruprasadurs</dc:creator></item><item><title>no matter how large the destination column eg. nvarchar(max), excel source choke on column</title><link>http://www.sqlservercentral.com/Forums/Topic1453679-148-1.aspx</link><description>I'm using VS2010 BIDS, importing from Excel 97-2003 .xls worksheet. I've got the following config:Excel Source -&amp;gt; Conversion Split Transform -&amp;gt; OLE DB destination. As long as I exclude the column in question the package runs and all columns import.  However, if I enable the mapping for the column in question the excel source chokes on it. The column in the source document contains letters, numbers, hash marks (#), and dollar signs($) etc. So, I have the destination column set to nvarchar(max) and have also tried nvarchar(255) up to nvarchar(800) but this column just won't import.Within excel I have tried setting the column in question from General to Text format with no improvement. Because excel source chokes on this particular column I have found that adding a data conversion transform and doing a redirect on failure after the excel source transform to be useless.  Can you provide suggestions or explanation for what could be going on with this excel source column that makes ssis excel source transform choke on it???Thanks in advance:crying:</description><pubDate>Thu, 16 May 2013 10:55:02 GMT</pubDate><dc:creator>KoldCoffee</dc:creator></item><item><title>moving package from 1 env to anthother</title><link>http://www.sqlservercentral.com/Forums/Topic1454775-148-1.aspx</link><description>hii have 1 package which has filepath,connection string ,variable that store file path.when i move from 1  env o another,i want my package to automatically select path of connection string,filepathhow to do tht ,i really need answer for thtt?</description><pubDate>Mon, 20 May 2013 17:19:42 GMT</pubDate><dc:creator>riya_dave</dc:creator></item><item><title>Call SSRS report from ssis</title><link>http://www.sqlservercentral.com/Forums/Topic1020787-148-1.aspx</link><description>I need to call a ssrs report from SSIS using a script task that has a File_ID as a parameter from the SSIS package.I have created the ssrs report and the ssis package. But not sure how to call the report from SSIS. Also the report needs to be stored ata particular location and from that SSIS needs to email the report to the recipients in excel format.Thanks,</description><pubDate>Mon, 15 Nov 2010 07:48:00 GMT</pubDate><dc:creator>PSB</dc:creator></item><item><title>DTS Package Error</title><link>http://www.sqlservercentral.com/Forums/Topic785611-148-1.aspx</link><description>Hi,I have built a DTS Package to transfer data from one SQL server table in a database called NG on a server to another table on another SQL server hosted on another machine.When i run the package in debug mode i get no errors and the 130,000 rows copy across perfectly. I need to have it running in a SQL job so that it executes daily and this is where my issue lies.My Job executes the package and i get the following error and i could do with translating it to layman terms....Thanks for any help. [b]Error:[/b]Microsoft (R) SQL Server Execute Package UtilityVersion 9.00.4035.00 for 32-bitCopyright (C) Microsoft Corp 1984-2005. All rights reserved.Started:  11:36:00 AMError: 2009-09-10 11:36:01.86   Code: 0xC0016016   Source:     Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.End ErrorError: 2009-09-10 11:36:02.16   Code: 0xC0016016   Source:     Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.End ErrorError: 2009-09-10 11:36:03.06   Code: 0xC0202009   Source: NG-CRM4FE Connection manager "MIZZ1.NG.sa"   Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E4D.An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80040E4D  Description: "Login failed for user 'sa'.".End ErrorError: 2009-09-10 11:36:03.06   Code: 0xC020801C   Source: Data Flow Task OLE DB Source [1]   Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "MIZZ1.NG.sa" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.End ErrorError: 2009-09-10 11:36:03.06   Code: 0xC0047017   Source: Data Flow Task DTS.Pipeline   Description: component "OLE DB Source" (1) failed validation and returned error code 0xC020801C.End ErrorError: 2009-09-10 11:36:03.06   Code: 0xC004700C   Source: Data Flow Task DTS.Pipeline   Description: One or more component failed validation.End ErrorError: 2009-09-10 11:36:03.06   Code: 0xC0024107   Source: Data Flow Task    Description: There were errors during task validation.End ErrorDTExec: The package validation returned DTSER_FAILURE (1).Started:  11:36:00 AMFinished: 11:36:03 AMElapsed:  2.5 seconds</description><pubDate>Thu, 10 Sep 2009 04:51:10 GMT</pubDate><dc:creator>sc-w</dc:creator></item><item><title>SSIS only shows MS VB .Net for available language</title><link>http://www.sqlservercentral.com/Forums/Topic1454167-148-1.aspx</link><description>Hi,I'm trying to follow the instructions for this article:http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/91665/I got to the part where I'm setting up the script task. The article says to use MS C#, but like the title says, I only have VB .Net. This is my first time touching SSIS, so I'm sort of clueless how to get it to detect or install other languages. Any suggestions? The web searches I've tried are too end up with a broad range of results that don't relate to my issue.Thanks</description><pubDate>Fri, 17 May 2013 12:27:43 GMT</pubDate><dc:creator>erikd</dc:creator></item><item><title>SSIS 2005 Delete a File in a Directory</title><link>http://www.sqlservercentral.com/Forums/Topic1454096-148-1.aspx</link><description>The file name is 000_FILE001_yyyymmdd.csv. Each day the package runs, the yyyymmdd changes. the file path is on a server and it is \\server\product\application\ssis\outbound\00\. I want to avoid having a human go to the location and delete the files on a daily basis. I would like the first task of the SSIS package to simply find ALL files in that directory that end *.csv and DELETE them...ALL. The file name will never change except for the date. So I really dont care how I go about the deletion, I just want it simple. It can be VB.net, Foreach Loop Container, etc. Whatever is simple. Please and thank you...I have tried this article, but the expression test screams at me because it can't convert DT_WSTR to DT_DATE. [url]http://beyondrelational.com/modules/2/blogs/106/posts/11114/ssis-delete-files-in-a-folder-older-than-a-specified-number-of-days.aspx[/url]</description><pubDate>Fri, 17 May 2013 10:48:16 GMT</pubDate><dc:creator>SQL_Enthusiast</dc:creator></item><item><title>configuring ssis pakage for environmental variable</title><link>http://www.sqlservercentral.com/Forums/Topic1450759-148-1.aspx</link><description>I want proper steps to configure package for environmental variable and deploy that package and run it on another machine so it will use config from environmental variable.</description><pubDate>Wed, 08 May 2013 12:57:45 GMT</pubDate><dc:creator>sej2008</dc:creator></item><item><title>Import Excel 2010 file, and return an wrong row count</title><link>http://www.sqlservercentral.com/Forums/Topic1452611-148-1.aspx</link><description>Hi,I am trying to load a excel 2010 file to sqlserver2005, I used visual studio 2005 and excel datasource, the original excel file shows 9924 rows,however, I used the rowcount transform, and the rowcount transform only show 9680 row. Could any body help please</description><pubDate>Tue, 14 May 2013 08:22:18 GMT</pubDate><dc:creator>xuhui duan</dc:creator></item><item><title>SSIS Integration Task</title><link>http://www.sqlservercentral.com/Forums/Topic1450867-148-1.aspx</link><description>I have used SSIS a while ago where my requirement was to create a new table out of the excel sheet and name it as master table. I have updated the values of other tables using this master table and automated the whole process using sql server agent Jobs. But Now its a whole different scenario where I have an excel sheet in my local drive and I have my database in one of our test servers.. So Now I should use SSIS to map the columns of the excel sheet with the different existing tables in the database. I am little confused how I am supposed to map different columns from one spreadsheet to differnt columns of different tables..EXAMPLE:I have a database 'DATABASE'I have tables TABLE1, TABLE2, TABLE3and the spreadsheet SSSo My columns S1, S2, S3 in the Spreadsheet SS are matched to the columns C2 in TABLE1, C5 in TABLE2 and C1 in TABLE3. There is a relationship between all the tables though.. Like C3 is common in all the above tablesMy job is to update all the columns accordingly with values in the excel sheetPlease let me know if i can accomplish the above criteria using SSIS and if so, any ideas???</description><pubDate>Wed, 08 May 2013 20:55:15 GMT</pubDate><dc:creator>prathibha_aviator</dc:creator></item><item><title>SSIS For each Container with file task</title><link>http://www.sqlservercentral.com/Forums/Topic1452875-148-1.aspx</link><description>SSIS For each Container with file task I am trying to rename a file that is place in a directory every month with different names. I can get a rename to work but its just appending to what is there. I need to know how the expression would work to replace what's there with what I need.example 4254_output.txt I need to have it output.txtwhen I use the my expression in the variables I created I get 4254_output.txtoutput.txtThanks in advance</description><pubDate>Tue, 14 May 2013 16:21:59 GMT</pubDate><dc:creator>D-SQL</dc:creator></item><item><title>Paramater in AS400 Source</title><link>http://www.sqlservercentral.com/Forums/Topic1452586-148-1.aspx</link><description>Currently I have an SSIS Package Truncates a Holding Table. Loads all of the records from an AS400 Table using an OLE DB Source &amp; Destination.Then it performs a performs and loads it into a Staging Table.What I believe that I need to do is add an Execute SQL Task that gets that max DateWritten (AS400) format which has an output parameter and store it in a variable.Then I need to Execute a Select against the AS400 Table and pass the variable DateWritten to the Where Clause.I know I can't do this with an OLE DB Source Task but can I do it with the OLE DB Command?If so does anyone know of any articles on how to accomplish this?I seem to recall doing this in DTS many years ago.</description><pubDate>Tue, 14 May 2013 07:50:08 GMT</pubDate><dc:creator>Welsh Corgi</dc:creator></item><item><title>error row disposition on "output column in SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1034590-148-1.aspx</link><description>I am importing Data from a SAP table to a SQL Table. Just a straight loading into SQL Table no Transformations used in this.I got this Error:: [SAP with Biztalk adapter [1]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "component "SAP with Biztalk adapter" (1)" failed because error code 0x80131537 occurred, and the error row disposition on "output column "XXXXX" (897)" 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.I am selecting the SAP data using a query. I have this problem with only one Column; If I remove the column from that query everything working fine.  Can anybody help me with this Error. Is this Error related to the Data or is any thing related to package creation ??Thanks in advance</description><pubDate>Tue, 14 Dec 2010 10:55:36 GMT</pubDate><dc:creator>anand_vanam</dc:creator></item><item><title>scheduling ssis pkg using sql agent in sql2005/2008</title><link>http://www.sqlservercentral.com/Forums/Topic1450755-148-1.aspx</link><description>I have deployed a ssis pkg that only has a script task showing messagebox.dabaseeployment was successfully done in sql database.now I want to schedule it as job.I am getting various error as machinename/administrator user does not have permission or bad password logon failure.I did create proper credentila and mapped it to amchinename/administrator user and created proxy for this credential. still not job does not start.Can anyone tell me in detail the proper steps for scheduling ssis pkg in ssms.and security account required for user.</description><pubDate>Wed, 08 May 2013 12:54:31 GMT</pubDate><dc:creator>sej2008</dc:creator></item><item><title>Process data with special characters</title><link>http://www.sqlservercentral.com/Forums/Topic1452424-148-1.aspx</link><description>Hi I am having difficulties with data that has hidden characters.I have the following and need to transfer this data to a .txt file. The query after the union works fine but the first one just wont pass through to the destination. If I put the query in a variable I get an error that there is invalid characters in the data. Please assist this line definately has to be part of the outputSELECT '&#x2;Col1&#x2;, ' + '&#x2;Col2&#x2;, ' +'&#x2;Col3&#x2;, '  +'&#x2;Col4&#x2;'  as col1unionSELECT					CAST([Col1] AS CHAR(6)) + 			CAST([Col2] AS CHAR(2)) + 			CAST([Col3] AS CHAR(4)) + 			convert(varchar(7),convert(decimal(18, 2), [Col4])) FROM tabel1;:crying:</description><pubDate>Tue, 14 May 2013 02:26:37 GMT</pubDate><dc:creator>Trybbe</dc:creator></item><item><title>**************DD/MM/YY to MM/DD/YY************</title><link>http://www.sqlservercentral.com/Forums/Topic423392-148-1.aspx</link><description>:crying:Hi,I need help on the following.I have a column 'Date' in Staging table with the following [b]Data type=varchar(50)Format/Style='dd/mm/yy'Example='18/11/07'[/b]I need to convert 'Date' column to the following .This conversion would take place from a staging table to a destination table.[b]Data type = datetimeFormat/Style ='mm/dd/yy'Example='11/18/07'[/b]I have tried the following query SELECT Date,CONVERT(varchar(50),Date,101) FROM staging_table BUT NOTHING CHANGED .Where am I going wrong ?I need to include this conversion in my SSIS package.</description><pubDate>Sun, 18 Nov 2007 13:46:33 GMT</pubDate><dc:creator>Lookup_BI</dc:creator></item><item><title>how to merge single page tiff file to multi page tiff file</title><link>http://www.sqlservercentral.com/Forums/Topic1197171-148-1.aspx</link><description>HiI have a requirement to merge single page tiff files stroed in a table to a muli page tiff file...Can I accomplish this using SSIS?Thanks</description><pubDate>Thu, 27 Oct 2011 12:43:37 GMT</pubDate><dc:creator>Learner1</dc:creator></item><item><title>Flat file import gives Null value in destination table</title><link>http://www.sqlservercentral.com/Forums/Topic1451572-148-1.aspx</link><description>I have two columns in a flat file that have 1's and 0's for data in both columns. SSIS is pulling both columns in as string [DT_STR] and the desination table columns are both [SCORECARD_ELIGIBLE] [varchar](50) NULL, [BR_SBRILESE] [varchar](50) NULL. When the import is complete I get the expected 1's and 0's in [SCORECARD_ELIGIBLE] but null's in [BR_SBRILESE]. Has anyone seen this before? Both columns have the same input data but one gets nulls and the other doesn't.</description><pubDate>Fri, 10 May 2013 07:12:36 GMT</pubDate><dc:creator>jdbrown239</dc:creator></item><item><title>ssis2008 package containig script task failed to run as a job in sql server</title><link>http://www.sqlservercentral.com/Forums/Topic1450974-148-1.aspx</link><description>I tried to ran a package containing simple script task having messagebox.show(string) in sql server agent as a job using proxy account.It gave me a error stating following message:MessageExecuted as user: SRM1\SYSTEM. Microsoft (R) SQL Server Execute Package Utility  Version 10.0.2531.0 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  1:18:30 PM  Error: 2013-05-23 13:18:31.04     Code: 0x00000001     Source: Script Task      Description: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; [b]System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.     at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)     at System.Windows.Forms.MessageBox.Show(String text)     at ST_7999b53452eb43ee8a98fe4494c8ccb0.csproj.ScriptMain.Main()[/b]     --- End of inner exception stack trace ---     at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct&amp; sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)     at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)     at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)     at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)     at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  1:18:30 PM  Finished: 1:18:31 PM  Elapsed:  0.579 seconds.  The package execution failed.  The step failed. what is wrong  here not understanding can anybody tell me??</description><pubDate>Thu, 09 May 2013 04:00:37 GMT</pubDate><dc:creator>sej2008</dc:creator></item><item><title>How to read data in a pdf file in SSIS</title><link>http://www.sqlservercentral.com/Forums/Topic1339455-148-1.aspx</link><description>I was wondering if any body had a situation where data needs to be extracted from pdf files and exported to SQL Server. I really appreciate in advance.</description><pubDate>Thu, 02 Aug 2012 12:48:29 GMT</pubDate><dc:creator>sql server developer</dc:creator></item><item><title>ssis2008 package containig script task failed to run as a job in sql server</title><link>http://www.sqlservercentral.com/Forums/Topic1450973-148-1.aspx</link><description>I tried to ran a package containing simple script task having messagebox.show(string) in sql server agent as a job using proxy account.It gave me a error stating following message:MessageExecuted as user: SRM1\SYSTEM. Microsoft (R) SQL Server Execute Package Utility  Version 10.0.2531.0 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  1:18:30 PM  Error: 2013-05-23 13:18:31.04     Code: 0x00000001     Source: Script Task      Description: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; [b]System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.     at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)     at System.Windows.Forms.MessageBox.Show(String text)     at ST_7999b53452eb43ee8a98fe4494c8ccb0.csproj.ScriptMain.Main()[/b]     --- End of inner exception stack trace ---     at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct&amp; sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)     at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)     at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)     at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)     at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  1:18:30 PM  Finished: 1:18:31 PM  Elapsed:  0.579 seconds.  The package execution failed.  The step failed. what is wrong  here not understanding can anybody tell me??</description><pubDate>Thu, 09 May 2013 04:00:32 GMT</pubDate><dc:creator>sej2008</dc:creator></item><item><title>using constraint and expression precedent constraint editor</title><link>http://www.sqlservercentral.com/Forums/Topic1450762-148-1.aspx</link><description>can I get   proper example on use of constraint and expressions in prcedent constraint in ssis 2008 ???</description><pubDate>Wed, 08 May 2013 13:01:45 GMT</pubDate><dc:creator>sej2008</dc:creator></item><item><title>SSIS and MIMER</title><link>http://www.sqlservercentral.com/Forums/Topic1450020-148-1.aspx</link><description>Hi,   I have to copy some data on a nightly bassis from a MIMER database hosted on a UNIX platform. However as the MIMER engine is so old i can not use the ADO.Net connectors for mimer. The only way i can create a connection is VIA ODBC, but if i use the ado.net connectors for ODBC, retrieving data is painfully slow, even if i compare this to a straight forward linked server connection using OLEDB for ODBC drivers. Is there another angle I could take for this?Thanks,Karl McIntyre</description><pubDate>Tue, 07 May 2013 02:01:37 GMT</pubDate><dc:creator>Karl McIntyre</dc:creator></item><item><title>Exporting Multiple SSIS packages from MSDB</title><link>http://www.sqlservercentral.com/Forums/Topic759424-148-1.aspx</link><description>If we need to export a package from MSDB into the file system we can do it using the SQL Management Studio...However, if we need to export all the SSIS packages available from MSDB onto the file system all at once without doing one at a time...Is there a smart way to achieve this ?</description><pubDate>Fri, 24 Jul 2009 12:45:57 GMT</pubDate><dc:creator>anilkumar0902</dc:creator></item><item><title>create a SSIS package which will call the stored procedure and dump the output of the procedure into table</title><link>http://www.sqlservercentral.com/Forums/Topic1049873-148-1.aspx</link><description>I want to create a SSIS package which will call the stored procedure and dump the output of the procedure into table.This stored procedure accept an input parameter e.g. Date which i can retrieve from another table like select max(Date) from userid and pass to procedure.SSIS packae will return the output and i need this resultset ouput to dump into another table.But before inserting i want to delete the rows from that tables if any rows exist for that date and then finally insert the resultset.</description><pubDate>Wed, 19 Jan 2011 03:07:50 GMT</pubDate><dc:creator>Karan_W</dc:creator></item><item><title>SSIS - Truncation Warnings</title><link>http://www.sqlservercentral.com/Forums/Topic570714-148-1.aspx</link><description>I have created a package to import data into a table that has been created per a data dictionary. I used Bryan Knight's book as a guide to get everything set up and am confident with that part. The package runs when I sart debugging, and it appears to be going through all the rows in the text file, then it ends without inserting any rows, and I see a list of Truncation warnings pertaining to 66 columns in the rows under the progress tab. My data flow task finishes successfully, although no rows make it into the table. Several of these warnings appear:[Load alphaData [346]] Warning: Truncation may occur due to inserting data from data flow column "Gl Co Cd" with a length of 50 to database column "GL_CO_CD" with a length of 5. Any thoughts? Thanks, bph</description><pubDate>Tue, 16 Sep 2008 20:25:32 GMT</pubDate><dc:creator>BPH</dc:creator></item><item><title>SSIS Error - Code : 0xC002F304 (At Send Mail Task)</title><link>http://www.sqlservercentral.com/Forums/Topic1449974-148-1.aspx</link><description>Hi all I have an SSIS package scheduled to run once a month.  It's running under the SA Account and account has all privileges.  The package used to run fine with no errors until two months ago.  Error (Only happens when SQL Server Job executes the package) - Code: 0xC002F304     Source: Send Mail Task Description: An error occurred with the following error message: "Service not available, closing transmission channel. The server response was: 4.4.1 Connection timed out".  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  12:53:43 PM  Finished: 1:05:25 PM  Elapsed:  701.953 seconds.  The package execution failed.  The step failed.However, when the package is run from visual studio, outside the scope of the SQL Job it runs fine.  Can any one suggest any pointers / areas I could investigate thanksvani </description><pubDate>Mon, 06 May 2013 22:53:28 GMT</pubDate><dc:creator>vani_r14</dc:creator></item><item><title>Merge records in a sorted order in SSIS.</title><link>http://www.sqlservercentral.com/Forums/Topic1449268-148-1.aspx</link><description>I have a set of record types saying TH as Header and T1a, T1b, T1c, T1d, T1e, T2a, T2b, T2c, T2d, T2e as other type of records. TH table has a SortKey column with values 1, 2, 3, 4, 5. All these record types are tied by a column called RecordID. The output fashion I desire is below having corresponding number of records listed under associated TH record:RecordType       RecordID               SortKey  TH                    3678                        1 T1a                   3678             T1b                   3678        T1e                   3678                  TH                     2455                       2T1c                    2445             T2d                    2445              TH                     4522                       3T2d                    4522                          The SortKey order has to be maintained in 1, 2, 3 fashion in output file, and keeping all the record types tied by RecordID because the output file has to be read in the order of SortKey. I am doing this all in SSIS using Merge task to have the records merged as TH -&amp;gt;T1a -&amp;gt;T1b....Thank you for you help!</description><pubDate>Fri, 03 May 2013 09:37:03 GMT</pubDate><dc:creator>Learner093</dc:creator></item><item><title>Script to open encrypted, dynamic excel files</title><link>http://www.sqlservercentral.com/Forums/Topic1448095-148-1.aspx</link><description>Hi I need a script for my SSIS package that will open my encrypted excel file, that has a dynamic filename ending in "mmddyyyy".  I have a powershell script that will open and reset the password, but I think I would prefer a vb script that will open the file and remove the password (or maybe not as long as I can extract the data while it is open?) as I will likely set it up as a SQL job  to extract and send to sql daily.  Any insight greatly appreciated!Thanks,Lorna</description><pubDate>Tue, 30 Apr 2013 09:04:31 GMT</pubDate><dc:creator>Lrobinson 93181</dc:creator></item><item><title>SSIS Execute SQL Task with String Output Parameter problem, using ADO.NET</title><link>http://www.sqlservercentral.com/Forums/Topic1448890-148-1.aspx</link><description>Greetings ... SSIS newb here.I have an Execute SQL task using ado.net that successfully uses an output parameter that is an integer.  What I really want, however, is for the output parameter to be a string.  I've been banging my head against the wall for a couple of days on this now.  I'm using VS 2008, sp1 against SQL Server 2005.However, when I change the (1) parameter in the sproc to a varchar(250) and (2) in the SSIS variable to a string, defaulting the value to MyOutput, and (3) changing the datatype from Int32 to String in the Execute SQL Task Editor Parameter Mapping I get an error that's not too terribly informative: "A severe error occurred on the current command.  The results, if any, should be discarded.A severe error occurred on the current command.  The results, if any, should be discarded.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.For testing, I've set the string output to a constant making sure there's no issues with Null values.  Any ideas about where I've gone wrong?  Again, works fine when the output is an INT -- the STRING is giving me fits.  I'd really prefer not to use OLE_DB.  I know that I could always use a resultset but it's now a personal mission to make this work!  :-)Thanks so much for any thoughts or ideas.-Steve</description><pubDate>Thu, 02 May 2013 10:04:35 GMT</pubDate><dc:creator>steve lord</dc:creator></item><item><title>Problem with connection argument in CMDEXEC command</title><link>http://www.sqlservercentral.com/Forums/Topic1448566-148-1.aspx</link><description>I'm putting this under the SQL Server 2005 Integration Services subject because I'm trying to execute a package using a SQL Server Agent Job and I can't get the change I need to make to work.To make a long story short, I have to use the "Operating System(CmdExec)" type when using the SQLl Server Agent Job because my package uses Excel and I have to access the 32-bit DTExec.exe.  I'm having trouble with my package database connections, in all likelihood related to the lack of a password in the connection string.  So, I went to the Execute Package Utility (DTExecUI), added a password to the connection string under the connection managers, went to the command line, saw that the connection command was there ("How nice," I thought, "DTExecUI did all the work for me"), tested everything (everything ran just fine), copied the command line text, then pasted the part I needed into the command of my SQL Server Agent Job.  But it didn't work.Here is an example of my command:"C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\DTExec.exe" /FILE "D:\MyFile\MyPackage.dtsx" /DECRYPT "mypassword"/[b]CONNECTION "My Connection String Name"[/b];"\"Data Source=MyServer;User ID=myuserid;pwd=thepassword;Initial Catalog=MyCatalog;Provider=SQLNCLI.1;Persist Security Info=True;Auto Translate=False;\"" /CONNECTION "MySecond.Connection.String";"\"Data Source=MyServer;User ID=myuserid;pwd=thepassword;Initial Catalog=mycatalog;Persist Security Info=True;\"" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF  /REPORTING EWCDI And here is an example of the error message I'm getting from the agent job:Argument "My" for option "connection" is not valid.  Process Exit Code 6.  The step failed. So what's wrong?  And why does it work when using DTExecUI?  I seem to remember that in the past I've had to edit some apostrophes when using the DTExecUI command text in an agent job but I can't remember what I did.  Or, is it that there are spaces in "My Connection String Name?"  When I've tried to search for the correct syntax, there is paltry information available online.If I go back to my original command text without the database connection information, everything works fine (well, except for the password problem when trying to make the connection), so I don't believe this is a problem with running a command in a job Any ideas?</description><pubDate>Wed, 01 May 2013 12:41:12 GMT</pubDate><dc:creator>rburko</dc:creator></item><item><title>Problem in loading filenames through ForEachLoop container</title><link>http://www.sqlservercentral.com/Forums/Topic1447947-148-1.aspx</link><description>Hi,I am using SSIS 2005 ForEachLoop container to pick the files from a location. My files have mainly 3 types of names. 1.XYZ_ra20130406289018wb_59815.NOR2.XYZ_a201304300926hbv0_58099.NOR3.XYZ_ca20130406289012vq_8.NORI have configured the ForEachLoop accordingly by providing appropriate variable name as into 'directory'  property (in collection)  and set the variable mapping to a variable which will store the filename for each file.I am storing the file names in a table. The problem is, I could store only single type of filenames (starting with XYZ_a) and not the other types which are starting with XYZ_ra and XYZ_ca. Any inputs on where I am making any mistake will be very helpful.Regards. --------------------------------------------------------------------------------</description><pubDate>Tue, 30 Apr 2013 04:24:48 GMT</pubDate><dc:creator>Sachin Vaidya</dc:creator></item><item><title>Downgrade SSIS 2008 package to 2005</title><link>http://www.sqlservercentral.com/Forums/Topic1046316-148-1.aspx</link><description>I developed and tested 3 .dtsx packages in my development environment using Visual Studio 2008 v9.0.30729.4462 QFE, not realising that the servers these packages should be run on are still SQL server 2005. How do I make these packages  created using Visual Studio 2008 with SQL Server Integration Services installed run on SQL server 2005 ?The error messages I get when trying to execute the packages on SQL 2005 are:[code="other"]The version number in the package is not valid. The version number cannot be greater than current version number.Package migration from version 3 to version 2 failed with error 0xC001700A "The version number in the package is not valid. The version number cannot be greater than current version number".Error loading value "&amp;lt;DTS:Property xmlns:DTS="www.microsoft.com/SqlServer/Dts" DTS:Name="PackageFormatVersion"&amp;gt;3&amp;lt;/DTS:Property&amp;gt;" from node "DTS:Property".[/code]The servers can not be upgraded to SQL 2008, so I need a way to get my packages saved in a format acceptable for SQL 2005.Thanks a lot.</description><pubDate>Wed, 12 Jan 2011 01:40:26 GMT</pubDate><dc:creator>R.P.Rozema</dc:creator></item><item><title>SSIS Importing A Null DateTime Problem</title><link>http://www.sqlservercentral.com/Forums/Topic399430-148-1.aspx</link><description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im running SQL Server 2005 and having a problem importing a text file using SSIS. &lt;/P&gt;&lt;P&gt;I was using DTS to import an ASCII text file into a table in SQL 2000. The table has 2 fields: a primary key varchar(10), and a DateTime field which can be null. Everything was working fine with DTS, if the text file's date field was emtpy, i.e. (~20070914BM~, ), a Null value was placed in the table. &lt;/P&gt;&lt;P&gt;After I migrated to SSIS, the table shows a value of 1753-01-01 00:00:00.000 instead of a null value using the same text file as before. Scouring the net, I found that this value is the lowest possible value for a DateTime field. &lt;/P&gt;&lt;P&gt;To hopefully solve the problem, I tried making a new table with the same structure as the other table and manually entering in a record leaving the datetime null. Then using SSIS to export this value (from the new table) to a text file and importing that into the original table. It still loaded as 1753-01-01 00:00:00.000.&lt;/P&gt;&lt;P&gt;On the table structure, the default value of the DateTime field is set to use Null.&lt;/P&gt;&lt;P&gt;My question is why is it defaulting to this value and not using the null from the text file.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description><pubDate>Fri, 14 Sep 2007 12:53:00 GMT</pubDate><dc:creator>markwnorsoft</dc:creator></item><item><title>store the select query result as variable and load on another table in ssis</title><link>http://www.sqlservercentral.com/Forums/Topic1444598-148-1.aspx</link><description>Hi guys ... Like to know how i can store select query result in variable and then  load it to the other table in SSIS-2005. i am using select count (*) from dbo.my_Table on Server1. want to store this query result in variable and then load this result on Server2\MY_db.dbo.xyz.Thanks for help</description><pubDate>Fri, 19 Apr 2013 14:06:10 GMT</pubDate><dc:creator>logicinside22</dc:creator></item><item><title>Data Conversion error after redirect row on OLEDB Destination</title><link>http://www.sqlservercentral.com/Forums/Topic1446734-148-1.aspx</link><description>Using SQL Server 2008 Integration Services.In the oledb destination I have set data access mode as Table or View and have set a redirect row to a exception table.  The field that I need to insert is type DT_STR and the exception table expects the field as DT_WSTR.  So after the redirect row I added a Data Conversion to convert the field from DT_STR to DT_WSTR.  But I get the error below:[Data Conversion [9010]] Error: Data conversion failed while converting column A  to column B .  The conversion returned status value 8 and status text "DBSTATUS_UNAVAILABLE".I tried to convert other columns from DT_STR to DT_WSTR, but get the same error.  If I don't include any fields from the oledb destination and just sample text then the record gets inserted successfully in the exception table.  Is there something I need to do the fields after a redirect row?When doing a table or view - fast load there are no issue with the data conversions.</description><pubDate>Thu, 25 Apr 2013 15:14:10 GMT</pubDate><dc:creator>rs80</dc:creator></item><item><title>combining the flat file without changing its original spaces between the columns...Spaces are critical</title><link>http://www.sqlservercentral.com/Forums/Topic1446702-148-1.aspx</link><description>Hi All,I have created an ETL process which could delete sapces and have managed to get a flat file with required spaces between the columns (spaces between the columns are not fixed). i have 4 output flat files now i have to union them ( they are of same datatype). i dont want any delimiter in my output i just want to union those flat files.i want the flat files one after the other.1) combining the output flatfiles in exact same way.2)they must be one below the other eg:1    ----------------------------------- 2                                                                                          ---------------------------------------3---------------------------------------4Can Anyone Help Please its urgent!!!Thanks:-D</description><pubDate>Thu, 25 Apr 2013 13:59:40 GMT</pubDate><dc:creator>shrsan</dc:creator></item><item><title>File System Task &amp;gt; Move Files &amp;gt; Error - Process cannot access the file because its being used by another process</title><link>http://www.sqlservercentral.com/Forums/Topic862651-148-1.aspx</link><description>Hi,I have 2 foreach loop containers within my control flow:The first foreach loop container loops through a directory and loads files into a tableThe second foreach loop container loops through the same directory and moves the files to an archive directory.When executing the package I receive the following error message:[File System Task] Error: An error occurred with the following error message: "The process cannot access the file because it is being used by another process".Any suggestions would be greatly appreciated.Regards,Chris</description><pubDate>Tue, 09 Feb 2010 12:01:18 GMT</pubDate><dc:creator>chrismgarvey</dc:creator></item></channel></rss>