SQL Server Integration Services ForumAll questions related to SSIS, transforms/data flow, control flow, and other related topics.© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Nov 2009 07:33:59 Z00e50af7-5f43-43ad-af05-d98b73c1f760http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/c2016318-0f7f-4df2-ac57-3cb2acf2b79fhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/c2016318-0f7f-4df2-ac57-3cb2acf2b79fAbdshallhttp://social.msdn.microsoft.com/Profile/en-US/?user=AbdshallExecl with multiple tabsHello<br/><br/>I use SSIS to create a an Excel file and then sends it to a person. I did that using either a script task and a streamwriter or just using a DataFlow task with a datareader source and an Execl Destination, and then Send Mail task. However, I have a requirement to create a multi tab Execl Report instead of one tab. Basically the SQL Code that I use is for multiple events. For example, Events 1,2, and 3. I want each event to go on one tab.<br/>How can I do that? I have access to SQL Server 2005 and 2008. <br/><br/>Thank you<hr class="sig">Abdallah, PMP, ITIL, MCTSTue, 24 Nov 2009 15:39:38 Z2009-11-25T07:20:41Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/630684a1-60e6-4617-93d7-7be75141a3d0http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/630684a1-60e6-4617-93d7-7be75141a3d0JoeSchmoe115http://social.msdn.microsoft.com/Profile/en-US/?user=JoeSchmoe115Unable to delete breakpoint in SSIS C# scriptI created SSIS script task using C#. I placed a breakpoint within a script while debugging. Now I cannot remove it - execution always stops at this breakpoint.<br/> <br/> I tried everything - pressing &quot;F9&quot; while at the breakpoint, going to the list of breakpoints and disabling it (there was no &quot;delete&quot; option), saving project and restarting Visual Studio - nothing helps. Each time I start package via &quot;Start Debugging&quot; execution stops in the script.<br/> <br/> Anyone has any suggestions?Mon, 23 Nov 2009 15:36:46 Z2009-11-25T07:33:59Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/d6f05980-b92a-41c3-a73e-bcbb2c819f22http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/d6f05980-b92a-41c3-a73e-bcbb2c819f22sri_harihttp://social.msdn.microsoft.com/Profile/en-US/?user=sri_hariunable to find version of the runtime to run this applicationI am getting an error &quot;unable to find version of the runtime to run this application&quot; when i am try to deploy SSIS package by using manifest file.Sun, 22 Nov 2009 07:36:45 Z2009-11-25T07:03:57Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e40f5b48-47c0-4057-a679-7ebdc88811aahttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e40f5b48-47c0-4057-a679-7ebdc88811aaErik M.http://social.msdn.microsoft.com/Profile/en-US/?user=Erik%20M."Case when" statement in data flow taskIn a data flow I have to perform an action similar to a &quot;CASE WHEN&quot; statement. In other words, I have a column that needs to be checked on the value, if it's value A, B or C then the output column needs to have value 1, in case it's D or E, the output column needs to have value 2, etc. I can do this with a conditional split and a derived column for every case possible. That works well but when there are a lot of cases, there will be a lot of derived column transformations in there. Is there a better way of doing this? <div><br/></div> <div>Thanks!</div><hr class="sig">-Tue, 24 Nov 2009 12:20:58 Z2009-11-25T06:58:20Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/a4f23fa1-18f9-4948-a787-36ba07cac3b8http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/a4f23fa1-18f9-4948-a787-36ba07cac3b8Balhatohttp://social.msdn.microsoft.com/Profile/en-US/?user=BalhatoSSIS Error code -1071610801 ?<p>Good morning every body,<br/>Is any body know the Error code -1071610801. and where we can find the description of each error code?<br/>thx</p>Tue, 24 Nov 2009 09:13:45 Z2009-11-25T06:54:22Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e4e54652-862f-45b9-b609-eade10c3b130http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e4e54652-862f-45b9-b609-eade10c3b130Archana_tnhttp://social.msdn.microsoft.com/Profile/en-US/?user=Archana_tnCreating Exe in DTS 2000Is it possible to create a exe(say, final exe) by combining a batch file and a exe (say, first exe), that is, final exe = batch file+first exe...Is this possible in SQL server 2000 DTS packages?Wed, 25 Nov 2009 06:20:50 Z2009-11-25T06:47:02Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/81d95cc1-9970-442a-a80b-84e5b68d33a8http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/81d95cc1-9970-442a-a80b-84e5b68d33a8TaGenhttp://social.msdn.microsoft.com/Profile/en-US/?user=TaGenDB Developer<p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-size:12pt;font-family:'Times New Roman','serif'">I created DTS package on SQL Server 7.0</span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-size:12pt;font-family:'Times New Roman','serif'">What it does, it takes data from sql tables and inserting it to Access .mdb tables.</span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-size:12pt;font-family:'Times New Roman','serif'">When I run package manually it is fine, but scheduled job returns error:</span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-size:12pt;font-family:'Times New Roman','serif'"> </span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-size:12pt;font-family:'Times New Roman','serif'">...<span>   </span>DTSRun:<span>  </span>Executing...<span>   </span>DTSRun OnStart:<span>  </span>DTSStep_DTSExecuteSQLTask_6<span>   </span>DTSRun OnFinish:<span>  </span>DTSStep_DTSExecuteSQLTask_6<span>   </span>DTSRun OnStart:<span>  </span>DTSStep_DTSExecuteSQLTask_4<span>   </span>DTSRun OnFinish:<span>  </span>DTSStep_DTSExecuteSQLTask_4<span>   </span>DTSRun OnStart:<span>  </span>DTSStep_DTSExecuteSQLTask_1<span>   </span>DTSRun OnFinish:<span>  </span>DTSStep_DTSExecuteSQLTask_1<span>   </span>DTSRun OnStart:<span>  </span>Delete from Table invo_cost_centers Step<span>   </span>DTSRun OnError:<span>  </span>Delete from Table invo_cost_centers Step, Error = -2147008507 (80074005)<span>      </span>Error string:<span>  </span>Unspecified error<span>         </span>Error source:<span>  </span>Microsoft Data Transformation Services (DTS) Package<span>      </span>Help file:<span>  </span>sqldts.hlp<span>      </span>Help context:<span>  </span>1100<span>      </span>Error Detail Records:<span>      </span>Error:<span>  </span>-2147008507 (80074005); Provider Error:<span>  </span>0 (0)<span>      </span>Error string:<span>  </span>Unspecified error<span>         </span>Error source:<span>  </span>Microsoft Data Transformation Services (DTS) Package <span>     </span>Help file:<span>  </span>sqldts.hlp<span>      </span>Help context:<span>  </span>1100<span>         </span>Error:<span>  </span>-2147467259 (80004005); Provider Error:<span>  </span>-534774783 (E01FFC01)<span>      </span>Error stri...<span>  </span>Process Exit Code 1.<span>  </span>The step failed.</span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-size:12pt;font-family:'Times New Roman','serif'"> </span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-size:12pt;font-family:'Times New Roman','serif'">Need help to fix it.</span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-size:12pt;font-family:'Times New Roman','serif'"> </span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-size:12pt;font-family:'Times New Roman','serif'">Thanks,</span></p> <p class=MsoNoSpacing style="margin:0in 0in 0pt"><span style="font-size:12pt;font-family:'Times New Roman','serif'">GT</span></p>Sat, 21 Nov 2009 12:32:15 Z2009-11-25T06:26:53Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/f2f6239d-3a63-4545-bbe5-caa269152b0fhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/f2f6239d-3a63-4545-bbe5-caa269152b0fhemalmehta0223http://social.msdn.microsoft.com/Profile/en-US/?user=hemalmehta0223SFTP for SSISHello,<br/><br/>I am currently using the FTP connection manager and FTP task to download files for processing in my SSIS packages. The problem is that our client has migrated this to SFTP and I realized that our process is failing due to this. And I don't see any minor workaround that can start making SFTP connection instead.<br/><br/>How hard is it to make SFTP connectivity from SSIS? I see many blogs asking to use 3rd party tools which we can't due to cost factor.<br/><br/>Is this straight forward to do this in SSIS?<br/><br/>Thanks<hr class="sig">Hemal MehtaTue, 24 Nov 2009 21:02:15 Z2009-11-25T06:34:30Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/9c7dcdc8-d595-49f3-9b1b-8866109cb9e0http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/9c7dcdc8-d595-49f3-9b1b-8866109cb9e0Dorababuhttp://social.msdn.microsoft.com/Profile/en-US/?user=DorababuUnable to execute both the etl packages and cube process from same job due to buffer failure Hi All,<br/><br/>     I have a master package with 26 ETL packages (Execute Package Tasks) and one Analysis Services processing task. I scheduled this master package through sql server agent. It is working fine for few loads, now it is failing once it is reached the cube processing due to buffer allocation problem. If I am executing from my cube solution it is working fine. Is there any work around to release the buffer allocated by ETL ?  so that my cube can easily excute from scheduled job. right now I created two jobs one for ETL load and another one for cube process, once the ETL load is finished by using trigger only I am calling the second job. Now it is working fine but I want to do both the task from single job.<br/>so, please tell me how to release the buffer space before cube processing. Your help is greatly appreciated. <br/><br/> My RAM size is 64 GB<br/><br/>Thanks in Advance... <hr class=sig> LakshmanTue, 24 Nov 2009 09:00:01 Z2009-11-25T06:13:29Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/b5b3d118-86e4-4973-8e83-fa125d3b1d52http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/b5b3d118-86e4-4973-8e83-fa125d3b1d52cameron_eldridgehttp://social.msdn.microsoft.com/Profile/en-US/?user=cameron_eldridgeText import with text qualifier and delimiter appearing inside fieldsHi!<br/> <br/> Was wondering if anyone can shed some light on how to get SSIS to behave the same way as DTS in this situation.<br/> <br/> I'm importing several flat files around 1GB each. Some of the fields can have double quotes (the text qualifier) and also commas (the delimiter). The system that exports these files correctly duplicates the double quotes so it knows it's not the end of the text string. eg - <br/> <br/> &quot;ABC&quot;, &quot;123&quot;,&quot;Jack Said &quot;&quot;I know, donkey&quot;&quot;, to Jill&quot;,&quot;xyz&quot;<br/> <br/> <br/> DTS2000 handles this as expected which produces the following - <br/> <br/> ABC | 123 | Jack Said &quot;I Know, Donkey&quot;, to Jill | xyz<br/> <br/> <br/> SSIS however thinks it's this - <br/> <br/> ABC | 123 | Jack Said &quot;&quot; I Know | Donkey &quot;&quot; | to Jill | xyz<br/> <br/> <br/> How do I get SSIS to correctly interpret anything inside the text qualifier as text?<br/> <br/> Thanks,<br/> <br/> CameronWed, 25 Nov 2009 02:29:08 Z2009-11-25T06:09:50Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/748c490f-3135-4228-9630-b23534329e1dhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/748c490f-3135-4228-9630-b23534329e1dAmar.shttp://social.msdn.microsoft.com/Profile/en-US/?user=Amar.sParameter Passing in a For loop containerHi all, <div>       I want to generate data from Apr 2007 till date, so I took a for loop container , took a variable varStartDate &amp; in the for loop used InitialExpression as @varStartDate = 04/01/2007 , EvalExpression as @varStartDate&lt;GetDate()</div> <div>and Assign Expression as @varStartDate= DateAdd(&quot;m&quot;,1,@varStartDate). But inside that for loop if I try to take an Execute SQL task &amp; try to execute a statement like this &quot;INSERT INTO MHeadCount_History([Emp ID], [CurMonth])</div> <div>Select [Emp ID], @varStartDate from HeadCount_Temp Where [Hire Date]&lt; @varStartDate&quot; like this it is getting failed.</div> <div><br/></div> <div>If I remove the Execute sql task then it does not give any error. </div> <div>Can anyone tell me how to pass parameter's. I have also tried mapping the parameter's but it didn't worked.</div> <div><br/></div> <div>Thanks in advance</div> <div>Regards</div> <div>Amar</div>Tue, 24 Nov 2009 07:28:18 Z2009-11-25T05:43:40Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/98f22137-caac-42e4-a229-c9629c957262http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/98f22137-caac-42e4-a229-c9629c957262sadie2http://social.msdn.microsoft.com/Profile/en-US/?user=sadie2Invalid character value for cast specification<p align=left> </p> <p align=left>I have a Data Flow task that is simply copying data from table A to table B. (there is a derived column in between however)</p> <p align=left> </p> <p align=left>All the columns in table A are varchar(255). The columns in table B vary: floats, decimals, etc</p> <p align=left> </p> <p align=left>However, I am getting a bazillion errors when I run this, each of them to the effect that:</p> <p align=left> </p> <p align=left> Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available.  Source: &quot;Microsoft SQL Native Client&quot;  Hresult: 0x80004005  Description: &quot;Invalid character value for cast specification&quot;. An OLE DB record is available.  Source: &quot;Microsoft SQL Native Client&quot;  </p> <p align=left> </p> <p align=left>I don't understand why this is happening... I've succesfully run similar scenarios with other packages, ie) moving data from one table to another table even though the tables have different data types.</p> <p align=left> </p> <p align=left>Help</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left> </p> <p align=left> </p>Wed, 31 Oct 2007 06:36:27 Z2009-11-25T05:01:03Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/207631f8-ec05-4316-9892-029c1f0b4551http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/207631f8-ec05-4316-9892-029c1f0b4551nikp11http://social.msdn.microsoft.com/Profile/en-US/?user=nikp11convert unicode to non-unicodeI have student information in unicode data which is on linux. i want to convert that unicode data into non-unicode data and migrate to sql database<br/>so can anyone help me for this problem?Tue, 24 Nov 2009 19:07:31 Z2009-11-25T03:56:46Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/c8bbed3b-8018-4dc9-ba89-db15f0012b4dhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/c8bbed3b-8018-4dc9-ba89-db15f0012b4dtuncakinguchttp://social.msdn.microsoft.com/Profile/en-US/?user=tuncakingucset password for the project??hi there <div><br/></div> <div>i know that its possible to set a password for security... i have a project containing more than 20 packages that have protectionlevel property of encrypt all with password... but as u can imagine, its always a waste of time whenever i open my project... what i wonder is, if there is way to set password at project level</div> <div><br/></div> <div><br/></div>Thu, 19 Nov 2009 12:35:33 Z2009-11-25T02:53:59Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/dd5a64ad-1728-4008-9201-8590bf3a7999http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/dd5a64ad-1728-4008-9201-8590bf3a7999alicorn2http://social.msdn.microsoft.com/Profile/en-US/?user=alicorn2Best way to denormalize two tables using SSIS 2005?I am very new to SSIS but I think I'm starting to get it.<br/> <br/> I have a source database that has two tables, Log and LogResourceMap which I will just call LRM for short.  Log's key is &quot;logId&quot; and it has a 1-to-many relationship with LRM whose key is combined logId &amp; resourceId.  <br/> <br/> To make things fun, Log also has a resourceId.<br/> <br/> Usually (but NOT always) there is a matching entry in Log and LRM that has the same logid/resourceid combination, so I can ignore those ones from LRM.  Then I want to copy all of the rest of the LRM rows back into Log, matching them up with their original parent (Log) rows to copy the data from them, denormalizing the works (and introducing lots of duplication, I know, but that's what I'm trying to do!) for reporting purposes.  There would be a flag to indicate whether a given row was the original log or not<br/> <br/> I could do the first part with a straight Data Flow task, and allow SQL Server to bounce the duplicates by making use of a unique constraint on logid+resourceid, but that doesn't seem like it's probably the best way to do it.<br/> <br/> Is there a way to set up a Data Flow task to do an unmatched query kind of thing?  I'm dealing with about 7,000,000 records so I want to do it efficiently.<br/> <br/> Sample data might look like this:<br/> <br/> LOG<br/> logid, resourceid, message<br/> 1, 5000, test 1<br/> 2, 235, test 2<br/> 3, 111, test 3<br/> <br/> LRM<br/> logid, resourceid<br/> 1,5000<br/> 1,18<br/> 1,92<br/> 2, 222  <br/> 3,111<br/> * Note there is no entry in LRM for 2, 235.  I don't know why there aren't maches sometimes.  Perhaps a bug in the application that creates the data.<br/> <br/> Result desired<br/> LOG_LRM_Merge<br/> logid, resourceid, message, isOriginal<br/> 1,5000,test 1, 1<br/> 1, 18, test 1, 0<br/> 1, 92, test 1, 0<br/> 2, 235, test 2, 1<br/> 2, 222, test 2, 0<br/> 3, 111, test 3, 1<br/> <br/> Once I get the key values into Log, I think I would then use a Lookup task between two copies of Log (the reference table side would be filtered by isOriginal = 1) to populate the message column (and all of the other columns that I have not included here for simplicity - there's about 10 of them)<br/> <br/> Is this a good approach?  Is there a better way to get the unmatched ones than letting SQL Server reject some 2,000,000 records that already exist in both tables?  <br/> <br/> Actually.... I guess it's only the first time the package runs that it will have millions of rows to contend with.  After that it will be running on schedule very regularly and probably only have to deal with a few hundred at a time.<br/> <br/> Thanks for any pointers!Wed, 25 Nov 2009 00:32:37 Z2009-11-25T05:37:29Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/bcd87a7f-4b0e-49e9-bde7-77af2f190d0chttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/bcd87a7f-4b0e-49e9-bde7-77af2f190d0cNapohttp://social.msdn.microsoft.com/Profile/en-US/?user=NapoSSIS dt_numeric bug?Hi <br/>   <br/>    I meet a strange issue with SSIS sql server2005. My source and target are Oracle. I use &quot;Oracle provider for  OLEDB&quot; . One column is set number(2) in both database. After I select the source, SSIS generates this column's type as dt_numeric(2,0). Then I set a mapping , execute. However, I found if the value in this column is larger than(&gt;=) 10, the value in target will be 0. If I change the type in SSIS to dt_numeric(3,0), it works well.  Is it a bug of SSIS 2005?Wed, 25 Nov 2009 02:08:37 Z2009-11-25T06:07:27Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/1db22077-40a0-4061-85ec-806e952d89f6http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/1db22077-40a0-4061-85ec-806e952d89f6MSGuptahttp://social.msdn.microsoft.com/Profile/en-US/?user=MSGuptaError in Excel Connection Manager ExpressionHi all <br/><br/>I am new to this SSIS.<br/><br/>I am using an SSIS Package to upload the data from an Excel Sheet to SQL Server 2005 Database. I am doing the following Steps:<br/><br/><ol> <li>Excel Data Source to read the data from the Excel sheet.</li> <li>Data Conversion to convert my columns to String(DT_STR).</li> <li>SQL Server Destination to write the data to the SQL Table.</li> </ol>I have to do this upload every day. So the Upload file will be in the format Suman_11242009.xls. The next day it will be Suman_11252009.xls and so on. The Excel Connection String has to vary on each upload. <br/><br/><br/>I have put the Data Flow task in 2 for each loops(i followed the process as mentioned in this blog <a href="http://cr9itesh.blogspot.com/">http://cr9itesh.blogspot.com/</a>)<br/>Now at the Excel Source i get the following error:<br/><br/>Error at [Connection manger &quot;Excel Connection Manager&quot;]: SSISError Code STS_E_OLEDBERROR. An OLE DB error has ocured. Error Code: 0x80004005. An OLEDB record is available. Source:&quot;Microsoft Jet DataBase Hresult: 0x80004005 Description: &quot;invalid Argument.&quot;.<br/><br/><br/>Error 1 Validation error. Data Flow Task(Import the Aetna PolicyStatus XLS Data into the Staging Table): Excel Source [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager &quot;Excel Connection Manager&quot; failed with error code 0xC0202009.  <br/><br/>I also changed the DelayValidation to true<br/><br/>I could not figure out where the error is.Tue, 24 Nov 2009 18:52:05 Z2009-11-25T02:04:30Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/b576549b-9023-45ce-88a6-502c65de4e94http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/b576549b-9023-45ce-88a6-502c65de4e94dreamweaver547http://social.msdn.microsoft.com/Profile/en-US/?user=dreamweaver547Refresh Tables in SQL Server 2008I'm teaching myself SQL Server 2008 after finding a good book, which is not too heavy to learn from (<span>Microsoft SQL Server 2008 For Dummies).<br/><br/>Have noticed that when doing an ALTER TABLE query, the data is not automatically updated even when all tables and queries are closed. I imagine this also applies to other action queries.<br/><br/>Is there a simple solution for this?</span>Tue, 24 Nov 2009 18:04:31 Z2009-11-24T23:59:53Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/561e4e77-7fe2-43fa-ba01-a4fb12dc7c7ehttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/561e4e77-7fe2-43fa-ba01-a4fb12dc7c7evbmikehttp://social.msdn.microsoft.com/Profile/en-US/?user=vbmikeSSIS EDIIs there a free option to use SSIS (SQL 2008) to create (and read) a text file that is in HIPAA ASC X12N 270/271 (004010X092A1) EDI format?Mon, 23 Nov 2009 22:46:12 Z2009-11-24T22:40:36Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/7b99efef-288d-4ab9-885d-367a818b38bbhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/7b99efef-288d-4ab9-885d-367a818b38bbConfigSSIShttp://social.msdn.microsoft.com/Profile/en-US/?user=ConfigSSISX12 with SSIS Anybody?<p>Does anyone have any examples where they've successfully parsed EDI X12 using SSIS?</p> <p> </p> <p><font size=1><font face="Courier New, Courier, Monospace"><font color="#ff0000">ISA*00*          *01*000000    *ZZ*00000          *ZZ*ZMIXED         *051220*1040*U*00401*000075004*1*T*:~GS*HC*00000*ZMIXED*20051220*104033*75004*X*004010X098A1~ST*837*000000001~BHT*0019*00*075004*20051220*101233*CH~REF*87*004010X098DA1~NM1*41*2*FINAL SUPPORT*****46*00000~PER*IC*CONNIE GOSS*TE*8172820300*EM*V00979~NM1*40*2*TEXAS THIN*****46*ZMIXED~HL*1**20*1~NM1*85*2*MEDICAL CLINICS,PC*****24*451234564~N3*3790 W. FIRST ST~N4*RICHARDSON*TX*75248~REF*1G*Z46489~REF*0B*MDQ4512~HL*2*1*22*0~SBR*P*18*******MC~NM1*IL*1*MARSHALL*JACKIE****MI*354787451~N3*300 LAMESA COURT~N4*CARROLLTON*TX*75006~DMG*D8*19500812*F~NM1*PR*2*MEDICAID OF HAWAII*****PI*D86916~CLM*000133*160***11::1*Y*A*Y*Y*B~HI*BK:4139~NM1*DN*1*BAILEY*WILLIAM*R**MD*24*451234564~NM1*82*1*HEART*JOHN*E**MD*24*451234564~REF*1G*Z46489~REF*0B*MDQ4512~NM1*FA*2*RIVER OAKS*****24*451234564~N3*3790 W. FIRST ST~N4*DALLAS*TX*75248~LX*1~SV1*HC:99213*85*UN*1*22**1~DTP*472*D8*20030723~REF*6R*295~LX*2~SV1*HC:</font><font color="#ff0000"><font face="Courier New, Courier, Monospace">93000</font><font face="Courier New, Courier, Monospace">*75*UN*1***1~</font></font></font><font face="Courier New, Courier, Monospace" color="#ff0000">DTP*472*D8*20030723~REF*6R*296~SE*37*000000001~GE*1*75004~IEA*1*000075004~</font></font></p>Thu, 20 Jul 2006 15:53:42 Z2009-11-25T01:12:27Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/4e892ed6-a898-47c6-bfa9-5eb58c15a2f8http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/4e892ed6-a898-47c6-bfa9-5eb58c15a2f8Greg Frickehttp://social.msdn.microsoft.com/Profile/en-US/?user=Greg%20FrickeSSIS kill throughput to SQL 08, causing Network & Buffer I/O waits, slow disk writes on powerful serverI have an SSIS dataflow that (source and destination dbs are all on same box, nothing else is running) <div>1. Runs a query joining a small dates table with an effective period table that is large from one database, that results in 100 million rows</div> <div>2. I do a few lookups on some tables then as my next few steps, the lookup tables are small.</div> <div>3. I burn the data to a table with no constraints, keys, simple recovery, etc. etc.</div> <div><br/></div> <div>The initial query step fills tempdb up to 60 gigs, then it flushes through the rest of the steps, and burns to the db.</div> <div><br/></div> <div>The resulting table is  ~60gigs in size when burned.</div> <div><br/></div> <div>The process takes 50 mins on a 16 core monster server with 64 gigs memory, tempdb, the mdfs, logs, os are all on their own spindle groups, in raid 0 arrays.</div> <div><br/></div> <div><em>I want to speed this up, monitoring resource monitor during the process I noticed one major bottleneck:</em></div> <div>During the tempdb buildup, its burning at 10 gigs/min, which is great </div> <div><br/></div> <div>When burning to the db (streaming thru SSIS doing my tiny little lookup which is harmless then burning) is burning at 1 gig/min</div> <div>During that time I also notice network IO waits of 900ms/second, from what I gather, its waiting on the front end the whole time (SSIS).</div> <div>All resources are free during this time, cpu, disk etc, its just burning slow as ____.</div> <div><br/></div> <div>I read that if too much flows into SSIS that the buffers fill and it pages to disk?  </div> <div><br/>What could be causing this to grind to such a halt!?!?! </div> <div><br/></div> <div>I have tried this with both SQL datasource/destination and ole db, no differences seen</div>Thu, 19 Nov 2009 02:09:29 Z2009-11-24T22:13:28Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/69580938-8802-447f-962e-cb8555124989http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/69580938-8802-447f-962e-cb8555124989Ketankumar Patelhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ketankumar%20PatelConnection String for MS Access DB resides on the server.I am tying to connect to the ms access db resides on one of our server. I am able to get the data from access db when it's in my local machine, But I am not sure what should be in the connection string, when the access db on the server.<br/><br/><br/>In my local machine, I am using the following connection string, and it's working fine.<br/><br/><strong>Data Source=C:\Temp\Inventory.mdb;Provider=Microsoft.ACE.OLEDB.12.0;<br/></strong><br/><br/>From the server, I have tried the following connection string, but I couldn't make it.<br/><br/><strong>Data Source=\\ServerName\Temp\Inventory.mdb;Provider=Microsoft.ACE.OLEDB.12.0;</strong><br/><br/><br/><br/>Can someone please help me out here ?. what should be in the connection string of access db resides on server.<br/><br/><br/>Thank you very much for your help.<br/><br/><br/>KetanTue, 24 Nov 2009 20:23:36 Z2009-11-24T22:10:36Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/5b59f8ac-8a39-4c8a-b980-6c469a43ea90http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/5b59f8ac-8a39-4c8a-b980-6c469a43ea90sqlserverdotnethttp://social.msdn.microsoft.com/Profile/en-US/?user=sqlserverdotnetPass Null Date Value to SP in SSISI have a datetime SSIS Variable. If i remove it's 'value' via properties, it shows as  12/30/1899<br/><br/>Main task<br/>Package has execute sql task with sp as <br/>Execute SQL Task: exec spname ?<br/><br/>This maps to an SSIS Datetime Variable.<br/><br/>If package is called from frontend, and user prefers to enter the date, that date needs to go into proc as parameter.<br/><br/>if user only executes package from frontend without specifying the parameter, it needs to pass Null or some other value to SP. <br/><br/>Inside SP, it has If then condition to see :<br/>create proc proname<br/>@Date SMALLDATETIME = NULL<br/>AS<br/>BEGIN<br/>If @Date is null<br/>select @Date = getdate()<br/>..<br/>..<br/>..<br/>ENDTue, 24 Nov 2009 15:41:23 Z2009-11-24T21:31:26Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/c8a11d9a-3985-4084-afb3-39f0db528f38http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/c8a11d9a-3985-4084-afb3-39f0db528f38John Dalyhttp://social.msdn.microsoft.com/Profile/en-US/?user=John%20DalyDetermine Columns to update and updated columnsI am using SSIS to update a table from a 3rd party. The table uses 48 fields. I am currently selecting all the data (33,000+ records) and connecting to a ole db command object that updates my table using '?' as a parameter for each of the fields. I created a trigger on the table that attempts to determines which fields updated. I am using the update(column name) in the trigger. It appears that if the field is used as part of the update field this function returns true regardless if the data changed. What I want is: <div><br/></div> <div>1.) Only update rows that have changes or insert the row if it does not exist</div> <div>2.) Determine which fields actually changed and put those field names as a comma delimited string in 3rd table. This table has 4 fields. 1 defaults to current date using GetDate, two fields are from the current row being updated (using the inserted table) and the 4th field the list of fields that changed.</div> <div><br/></div> <div>I think I could resolve the first problem by using an inner join and a where clause based on the data. Something like where t1.a &lt;&gt; t2.a OR t1.b &lt;&gt; t2.b, etc should work. What would be the best way to complete the 2nd requirement? Am i corrct that the 1st requirement qill be resolved using a where clause like above?</div> <div>Thanks for all help...</div> <div>  </div>Sat, 21 Nov 2009 04:31:56 Z2009-11-24T20:22:06Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/a3b83d6d-64a0-4d0c-b1fa-1a8f0de49e01http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/a3b83d6d-64a0-4d0c-b1fa-1a8f0de49e01Maxer_Arshttp://social.msdn.microsoft.com/Profile/en-US/?user=Maxer_ArsForeach Loop - not passing file name into my variable - unsure as to why this isI was using the TechNet tutorial:  <div class=title><a href="http://technet.microsoft.com/en-us/library/ms345182.aspx">How to: Loop through Excel Files and Tables by Using a Foreach Loop Container</a><br/><br/>It all seems to work great, except that my For each file loop isn't picking up the actual file name of the Excel file and passing it to the variable.<br/><br/>I have the for each file enumerator, it points to a folder: &quot;C:\Current Data Processing&quot; and files: &quot;*.xls&quot; to retrieve the fully qualified name.<br/><br/>In variable mappings I created a variable of type string with scope as the name of my SSIS package and the index in the variable mappings is 0.<br/><br/>(Can someone explain index by the way, I don't understand that.  Do some variable mappings provide a range of columns/indexs I could place this stuff in?  How do I view that to see what my options are?  But that's a less pressing question)<br/><br/><br/><br/>Now the package runs just fine, but only because it points to the hard coded value I entered into the variable.  If I remove that the package fails to run.<br/><br/>I don't understand why my Foreach loop container isn't putting the name of the excel file in my C:\Current Data Processing folder into the variable&quot;ExcelFile&quot;?<br/><br/>Thanks!<br/></div>Mon, 23 Nov 2009 20:30:26 Z2009-11-24T19:59:57Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/37f9ada7-9eeb-4913-a940-aeccd84cb784http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/37f9ada7-9eeb-4913-a940-aeccd84cb784Garyonhttp://social.msdn.microsoft.com/Profile/en-US/?user=GaryonTrouble automating SSIS package to generate a XLS file using SQL Server Agent<br/> <strong>The Environment ... </strong> <br/> Window Server 2003 R2 - Enterprise x64 Edition sp2<br/> SQL Server 2005<br/> <strong><br/> <br/> The Scenario:</strong> <br/> I have written a stored procedure which collects and returns a result set from our dB.<br/> This Stored procedure is called from an SSIS package which outputs the results to an XLS file. <br/> This SSIS package was created using the EXPORT data 'wizard'<br/> This SSIS package has been imported into our servers Integration Services store.<br/> <br/> When I open the store and run the package directly ... <br/> <em>        &lt;server_name&gt;/Stored Packages/&lt;package_name&gt;</em> <br/> everything works as expected.<br/> <br/> <br/> <strong><br/> The Problem ...</strong> <br/> When I create a Job in SQL Agent on the db server, which is the same server which hosts the Integration Services, and schedule it to run ... it fails.<br/> <br/> <br/> <br/> Any idea why this would work manually but unable to be scheduled via SQL Server Agent?<br/> <br/> <br/> Thank You,<br/> Gary Stenstrom<br/> <img style="border:medium none;z-index:2147483647" alt="" width=24 height=24>Tue, 24 Nov 2009 17:06:12 Z2009-11-24T19:06:04Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/dfddc158-fc5b-46c8-8011-24e0a39406d2http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/dfddc158-fc5b-46c8-8011-24e0a39406d2jojoreddyhttp://social.msdn.microsoft.com/Profile/en-US/?user=jojoreddymaking store procsa variable in excute sql tashey hi, <div><br/></div> <div>i  have control id and each control is assigned to one specific store proc. so in initial step of the package(execute sql task)  we are getting information using a function which is basically a join query from two tables. once that is  done, execute sql task is attached to one more execute sql task. which basically has a stroe prco .</div> <div><br/></div> <div> so my question is if the input parameter is given example @controid =30 ,  then the store proc asscoiate to 30 should be run in execute sql task.</div> <div> and if i say @contorlId 31 then it should run the store proc assocuited to  31.</div> <div><br/></div> <div>please let me know in step  by step   as i am new to ssis.</div> <div><br/></div> <div><br/></div> <div>thanks a lot......</div> <div><br/></div>Mon, 23 Nov 2009 16:29:50 Z2009-11-24T18:49:33Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/40845265-d6df-4629-a4f0-9c432400918ehttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/40845265-d6df-4629-a4f0-9c432400918ecollie12http://social.msdn.microsoft.com/Profile/en-US/?user=collie12A user request from the session with SPID 61 generated a fatal exception. SQL Server is terminating this session.Hi,<br/><br/>When i call a different package from .net i get the following error in event viewer:<br/>A user request from the session with SPID 61 generated a fatal exception. SQL Server is terminating this session.<br/><br/>What does that mean?<br/><br/>ThanksTue, 24 Nov 2009 17:58:55 Z2009-11-25T06:28:06Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/a046657d-a322-4ee7-afbf-18fd19247d77http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/a046657d-a322-4ee7-afbf-18fd19247d77Knumhttp://social.msdn.microsoft.com/Profile/en-US/?user=KnumXML Source NOAAI am trying to import some XML data from the <em>National Oceanic and Atmospheric Administration</em> (<em>NOAA</em>) and I am running into roadbloks at every turn.<br/>XML file: <a href="http://www.weather.gov/xml/current_obs/KMCE.xml">http://www.weather.gov/xml/current_obs/KMCE.xml</a> <br/>XSD file: <a href="http://www.weather.gov/view/current_observation.xsd">http://www.weather.gov/view/current_observation.xsd</a><br/><br/>I can't get SSIS XML Source to see beyond the imageType. Any thoughts on how I can import the above xml in to a dB, I would really appreciate it.<br/><br/>Pleasae note Newbie to SSIS here.Tue, 24 Nov 2009 16:36:15 Z2009-11-24T18:35:43Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e851a422-f6c4-44f0-a61b-c2fe53f69228http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e851a422-f6c4-44f0-a61b-c2fe53f69228McGurkhttp://social.msdn.microsoft.com/Profile/en-US/?user=McGurkSequence Container I have two Sequence Containers.  I am trying to design a script task that will call one if a file is found but call the other if it is not found.  If this possible how do I call the containers?<br/><br/> <pre> Dim strFile As String = &quot;\\server\directory\file.txt&quot; 'check for file If System.IO.File.Exists(strFile) = True Then ElseIf System.IO.File.Exists(strFile) = False Then End If Dts.TaskResult = Dts.Results.Success</pre>Tue, 24 Nov 2009 17:53:25 Z2009-11-24T18:32:00Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/12b243a2-7125-42a3-a8b3-11e7ac265070http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/12b243a2-7125-42a3-a8b3-11e7ac265070SQLUSAhttp://social.msdn.microsoft.com/Profile/en-US/?user=SQLUSASQL Server 2008 Import/Export Wizard - DTSWizard.exeLocated in C:\Program Files\Microsoft SQL Server\100\DTS\Binn .<br/><br/>Just want to confirm it: stand-alone command-line utility, does not need Integration Services running<br/><br/>Thanks. <hr class=sig> Kalman Toth, SQL Server &amp; BI Training, SSAS, SSIS, SSRS; <a href="http://sqlusa.com/">http://www.SQLUSA.com</a>Mon, 23 Nov 2009 02:24:31 Z2009-11-24T18:29:00Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/86b0c692-fee4-4b2b-a47e-68fd778e828fhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/86b0c692-fee4-4b2b-a47e-68fd778e828fRingoschplingohttp://social.msdn.microsoft.com/Profile/en-US/?user=RingoschplingoReference SSIS Package Tasks Using Script Task within the same Package<p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman">Hi all,</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman"> </span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman">We have a third party application which takes user input and passes this through to an SSIS package which it then runs. The user input is used to modify or set task properties within the package, e.g. for an Execute SQL task it may set the query in the SqlStatementSource property before the Execute SQL task is then run. The application does this directly (i.e. it seems to be somehow directly referencing the tasks programmatically at runtime as opposed to using Expressions or package variables).</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman"> </span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman">We need to be able to read these properties at runtime and are trying to use an SSIS script to do this. Using the script and some VB.NET we’ve worked out how to read package variables easy enough, however we do not know how to read the properties of tasks within the package. </span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman"> </span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman">We’d have thought that the way to access this would be something like:</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman">Dts.packages(“package_name”).tasks(“task_name”).[property_name].tostring</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman">However the above seems to be no-where near the correct syntax.</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman"><br/>One thing we've found via help files/web search is IDTSName, this seems to let you access properties for a package, but again we're no sure how to use this or even if this is the correct thing to use.<br/></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman">Could anyone please point us in the direction of how to reference package tasks using a vb.net script within the same package?</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman"> </span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman">Many thanks,</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman"> </span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:small;font-family:Times New Roman">Iain<br/><br/>For reference we're using 32 SQL Server 2008 Standard on Windows server 2003</span></p>Mon, 23 Nov 2009 17:11:46 Z2009-11-24T17:54:22Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/4a4d4ab3-1f16-4079-99d7-121f25d830d8http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/4a4d4ab3-1f16-4079-99d7-121f25d830d8Diyanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Diyanghow to parse parameter/variable to sqlcommand when extracting data from ODBC data source?Hi there,<br/><br/>I would like to extract data from ODBC data source. There are data for many years (datetime field is like '2009.m11.d12'). But if I use select *, or select datetime, it only gives year and month for datetime value('2009.m11').<br/><br/>But we need datetime value by day, so I have to point out which day I am getting data for. Then I met the question: there is no parameter button in SQL Command panel. I tried to use variable as &quot;select * from Pages where TimePeriod =@[User::testDate]&quot;, but didn't work. Only the one below works:<br/>&quot;select * from Pages where TimePeriod ='2009.m11.d12'&quot;<br/><br/><br/>I am connecting to the ODBC data source with ADO NET Source and ADO.NET Connection.<br/><br/>Where did I do wrong and how can I solve this problem?<br/><br/>Thanks,<br/>DiMon, 23 Nov 2009 07:29:23 Z2009-11-24T17:53:57Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/ad1e3ed3-f387-4eea-a1ae-77c22b820b0fhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/ad1e3ed3-f387-4eea-a1ae-77c22b820b0fcat_cahttp://social.msdn.microsoft.com/Profile/en-US/?user=cat_cahow to convert empty cell in excel into null in ssisHi there:<br/>   My source excel file contains empty cell. In my ssis tasks, I used excel source data flow task to read the excel file and all empty cells are reserved as <br/> empty cell in ssis. My question is how to convert those empty cells into NULL in SSIS? <br/> <br/>  thanks<br/> <br/>  Hui<hr class="sig">--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --Tue, 24 Nov 2009 15:30:24 Z2009-11-24T17:23:14Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/35febb19-4cd7-4212-9d42-247e2a4209dchttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/35febb19-4cd7-4212-9d42-247e2a4209dccollie12http://social.msdn.microsoft.com/Profile/en-US/?user=collie12Problem importing excel file ssis 2005<p>Hi,<br/><br/>I am trying to import an excel file  (file below) using SSIS 2005. <br/>The target db and the .net application that runs the package is in a server.<br/>When I run the package locally or from the server itself (destination db is the server and not the sql on my pc) by executing only the dtsx and not calling it through the application it runs fine.<br/><br/>However, when i delete the rows before &quot;bill-to party&quot; then the package from the application runs fine. It seems that the problem lies with the rows above that row for some reason. <br/><br/>The excel connection is :<br/><br/>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\files\06102009.xls;Extended Properties=&quot;EXCEL 8.0;HDR=YES;IMEX=1 &quot;;<br/><br/>I have also increased TypeGuessRows in the server and locally.<br/><br/>What could be wrong?<br/><br/>Thanks<br/><br/>link to file<br/><br/><a title="example file" href="http://c-haosher.com/book1.xls">http://c-haosher.com/book1.xls</a></p>Tue, 24 Nov 2009 17:15:03 Z2009-11-24T17:16:34Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/b917b90f-39bf-4f35-9ff4-e20362ec0bf2http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/b917b90f-39bf-4f35-9ff4-e20362ec0bf2hemalmehta0223http://social.msdn.microsoft.com/Profile/en-US/?user=hemalmehta0223SFTP for SSISHello,<br/><br/>I have my current SSIS packages configured to make FTP connection to download and process the files. However our client has migrated this to SFTP all of sudden causing the FTP to fail. I have tried the FTP connection manager to point to port 22 instead and it doesn't seem to work. It seems that SSIS doesn't support SFTP.<br/><br/>Is anybody having any solution to this problem?<br/><br/>Thanks,<br/> <hr class="sig">Hemal MehtaTue, 24 Nov 2009 17:01:31 Z2009-11-25T06:40:33Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/bd49f066-e270-4043-9ba5-513d8ac52760http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/bd49f066-e270-4043-9ba5-513d8ac52760a1ace1ahttp://social.msdn.microsoft.com/Profile/en-US/?user=a1ace1ahow to run SSIS package until it succeeds<h1 class=titleHeader>I have a package that ones in a while fails because it connects to a server at a different building that runs late maintenance.  I want the package to retry until it succeeds.  Is this posible?</h1>Tue, 17 Nov 2009 22:07:57 Z2009-11-24T17:01:25Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/c115cfea-c47c-4787-98d1-dd1445c5225fhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/c115cfea-c47c-4787-98d1-dd1445c5225fevdbhttp://social.msdn.microsoft.com/Profile/en-US/?user=evdbError when using a parameter in OLE DB SourceHello,<br/> <br/> I'm quit new at SSIS and have a problem with the usage of a parameter in a SELECT.<br/> First a table 'Table Names', which exist of table names, must be read.<br/> After that I want to loop through the table names and get info from that table.<br/> Finally this info must be proccessed further.<br/> <br/> My project is build as follow:<br/> 1. Created variable objResult of the type Object<br/> 2. Created variable strTableName of the type String<br/> 3. Add a Execute SQL Task to load records from the table 'Table Names' into the resultset objResult.<br/> 4. Add a ForEach loop which loops through objResult.<br/>     At the option 'Variable Mappings' the variable strTableName is filled with the current Table<br/> 5. Add a Data Flow Task within the ForEach loop<br/> 6. Add variable strQuery of the type String with the following properties:<br/>     - EvaluateAsExpression<br/>     - Expression = &quot;SELECT * FROM &quot; + @[User::strTableName]<br/> 7. The evalueted value will be SELECT * FROM<br/>     My conclusion is the value of strTableName is empty.<br/> 8. Add a OLE DB Source in the Data Flow with the following:<br/>    - Data acces mode: SQL command from variable<br/>    - Variable name: User::strQuery<br/> 9. When generating a preview or push Ok an error message occures:<br/>    An OLE DB Error has occured. Error code: 0x80040E14<br/>    ...... Description: &quot;Incorrect syntax near '$Customer'.&quot;<br/> <br/> I hope someone can give me a hint.<br/> <br/> Thanks in advance.Tue, 24 Nov 2009 16:22:42 Z2009-11-24T16:41:41Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/0d0f6dd3-f693-45f9-9a09-77e6a9413efehttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/0d0f6dd3-f693-45f9-9a09-77e6a9413efeKPW1001http://social.msdn.microsoft.com/Profile/en-US/?user=KPW1001Error; - 0x8004D01B Yet DTC Service is running on serverHi,<br/>I wonder if you can help.<br/>I got the following error when running an SSIS script; - 'The SSIS Runtime has failed to start the distributed transaction due to error 0x8004D01B &quot;The Transaction Manager is not available.&quot;. The DTC transaction failed to start. This could occur because the MSDTC Service is not running.'<br/><br/>So I logged onto the Server as an Administrator; -<br/>Launched 'Control Panel', <br/>Opened 'Administrative Tools'<br/>Clicked on 'Services'<br/><br/>I then noticed that 'Distributed Transaction Coordinator' has a status of started.<br/><br/>Does anyone have any ideas where I should look next?<br/><br/>Thanks,<br/><br/>Kieran.Tue, 24 Nov 2009 13:48:02 Z2009-11-24T16:41:11Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/88e401a8-b9d7-48b4-aa2e-7ad6afff6ef8http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/88e401a8-b9d7-48b4-aa2e-7ad6afff6ef8Divya N Agrawalhttp://social.msdn.microsoft.com/Profile/en-US/?user=Divya%20N%20AgrawalSSIS Package Executes From BIDS, Not From SQL AgentHi Todd,<br/>I did what you have suggested to import the data from excel. The package works fine when executed from BI studio, but when deployed as a job it always says: <br/><br/><br/>&quot;Argument &quot;Excel&quot; for option &quot;connection&quot; is not valid.  The command line parameters are invalid.  &quot;<br/><br/>Do you have any solutin for this? Please let me know..Tue, 24 Nov 2009 10:44:32 Z2009-11-24T16:29:04Z