I built a SSIS package last week, and could manually execute each step manually, stop debug, execute the next step.But now that I logged off, and back on and reopen the package through BIDS, the "Execute" option is not there when I right click each step. What am I missing ?
↧
How to Execute Steps of SSIS Package ? Option Gone
↧
Problems with excel 2007 import using SSIS 2005
Hi,I am trying to import data from excel 2007 into my sql server 2005 database using SSIS 2005. SSIS 2005 cannot read .xlsx files using excel data source. So I have used OLE DB data source alongwith Microsoft Office 12.0 Access Database Engine OLE DB provider.This works out fine except for [b]text[/b] fields which are getting truncated when they have more than 255 characters. These columns are comments to be included by the business and as such have the potential of exceeding the 255 character barrier. [Note that the table where the text column is targeted has [b]ntext[/b] as datatype]. On doing some web searches I have come across suggestions to increase TypeGuessRows doing registry edit. Ref: http://support.microsoft.com/kb/281517But found that [i]that[/i] only works when the source in SSIS dataflow is an excel datasource.Any ideas?Regards,Palash.
↧
↧
Using Script Task to check if Folder Exists
I am creating a new directory/folder in my package, but before I do that I want to check if the directory/folder has not been created. The way these folders are getting created is by using the date the package was run, so between 1 and 15 of the month, the folder will get a folder name of, for example, 01-15-2009. The reason why I want to check if the folder exists is because I might potentially use the package on, for example, the 2nd and 15th of the month so the package will error with the 15th run time because the directory has already been created on the 2nd. I don't believe there is a rule inside the "Create Directory" of the File System Task so I started to write a Script Task that will check if the Folder Exist. Below is what I currently have but the script errors out because it doesn't like the DTS.variable I'm assigning. Dim di As DirectoryInfo = New DirectoryInfo("E:\test\01-15-2009") If di.Exists = True Then Dts.Variables("User::FolderExists").Value = True Else Dts.Variables("User::FolderExists").Value = False End If Dts.TaskResult = Dts.Results.SuccessUser::FolderExists is a variable I created which is boolean with default value of False.The "E:\test\01-15-2009" folder is hard coded in there for testing purposes because it already exists. Once I figure out why the script doesn't like the User::FolderExists code, I will replace the dated sub directory with a SSIS variable that will determine this folder name.Anyone know why the script errors out?Thanks.
↧
convert datatype DT_STRING to DT_DBDATE in ssis
Hi ssis gurus,i have a source file it contains some colums and in this file one column is string(20061026) format with date and i have to convert this column into date format(26-10-2006).for that i use derived column its working fine but another problem is in that same column some rows are contain null values.when i convert the values its navigate perform cast error.what is the solution to load data with null values.ex:source file(String datatype)----------1.200610262.200611153.200707124 05.200712046.200709227. 08.20080124my target is1.2006-10-26(Date Datatype)2.2006-11-153.2007-07-124.Null5.2007-12-046.2007-09-227.Null8.2008-01-24any body help appriciatedthanksmurali
↧
ssis insert to target before check parent child relationship
Dear all,i am new one ssis,we have to implement the following steps in ssis:source is sql server ,destination is oracle1) we need to insert the sql to oracle based on some condition.This step can be completed sucessfully.2) parent child relationship table records we need to insert to target.we need to check the condition before insert,the condition is foreign key table record check the primary key table if record is available insert to target,otherwise we need give retry time period (5 times retry),for that time records is not in primary key table send error msg to mail.how we do this please help me on this?3) how to implment the load balance,that means we have 50000 records in source,but i need to insert the 1000 by 1000.please help me on this?
↧
↧
SSIS job failing intermittently, connectionmanager failing
I have an SSIS package running fine 90% of the time, but for stretches of the day it fails over and over with Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Login timeout expired".An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.".An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Named Pipes Provider: Could not open a connection to SQL Server [2]. ".End ErrorError: 2013-06-13 15:13:26.13 Code: 0xC020801C Source: 03) Asset - RDP Link Update RdpFirstLinkCallLogId [14273] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "E2Prod2" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.Every time it fails it's different. Different task flow, different connection manager failing, different times of the dayUsing a config file<ConfiguredValue>Data Source=localhost;User ID=sa;Initial Catalog=RdpTransactionServer;Provider=SQLNCLI.1;Persist Security Info=True;</ConfiguredValue>Password is kep on a separate line. But, the rest of the day it works fine. It also only fails when running from SQL agent, never fails from BIDS. Anyone have any ideas?
↧
NULL Date Value to Conditional Split in DTS Package
Hi,I am trying to set up a condition so that all Records with NULL Dates are separated. The Data Type of incoming field is DT_DBTimeStamp. So, how to use the 'Condition Expression' ??My_Date == NULL(DT_DBDate,My_Date)
↧
How to read data from multiple sheets in excel file in SSIS
Hi, I'm beginner of SSIS. Hereby i wish to know how to create a package which read the data from Multiple Sheets in excel file and send sql table..Can anyone help how to do this..thanks in advance.Regards,Anandhaksc
↧
How to Decrypt flat file using SSIS?
Hi All,We have a flat file in the FTP Server which is in encrypted form, now we need to get those file from FTP Server and then decrypt that file.How can we do this?I have found two ways to decrypt the flat file1. Execute Process task 2. Script taskCan anyone let me know what will be the command if we use Execute Process task? or is there any other way to do this.Thanks,Swetha
↧
↧
Executing Procedure in SSIS package
Hi everyone..I have two stored procedures in two data bases,two procedures returns some binary record,my question is i have to two variables in my ssis package,i want to store the that two return values to the SSIS variables.Can any one help me its very urgent.
↧
Stored procedures and data flow task
Hello,I have a complex stored procedure which returns some results. I want to take this stored procedure and use it in a Data Flow task to move these results to a table. The data flow source task only gives me the option for using SQL commands not stored procedures. Even if I use 'exec proceduredname' it still doesn't work. anyone know how would I go about transfering stored procedure results to a table?Thanks,Strick
↧
Troubleshoot Report
Help! Can you point me too some resources that will help me to work out how to identify the source and transformations on data used by a report. The report is based on datamart data which is copied and possible transformed from production databases by ssis and sp's. The reason I need this is because I have been given the task of finding the root cause of why 2 reports are different and I am not very familiar with SSIS. One of the reports is from a production system and the other is from a datamart which is populated by SSIS. The report is populated from a number of tables some of which are derived and others a direct copy of the production data. tiaMartin
↧
How can automate report from sqlserver to be sent on email everyday.
Hello! Everyday i run a querry in sqlserver 2008 to get a report to sent to my boss, but i want to automate this, so that the email will be sent at 5:00 pm everday without having me to do it ....can anyone help me on this....thanks.
↧
↧
Save execution results - how?
I've created a package with 7 containers with 3 to 5 control flow items each. When I run a test in SSIS (SQL Server 2005 9.00.4035 - all service packs) some useful messages, errors and warnings, are left in the execution results. Individual lines can be saved by right-clicking on it and selecting "Copy Message Text".How can I cave the whole stream of messages?Thank you for any assistance.
↧
How to move file in archive folder when package failed in ssis.
Hi All,I have one scenario I create one package in which file is coming at daily basis and data is load in table but in case bad data will come and it fails to load data in table in that case file should be move at error archive folder and that source location will be free for next file. it get copy but i want to move file permanently at error archive folder when package get failed .So please anybody look into this..Thanks in Advance..
↧
Cannot connect to Sharepoint List Darasource (could not establish trust relationship for the SSL/TLS secure channel:The underlying connection was closed)
Dear All,We are in a kind of a standstill and will appreciate any word of wisdom on the topics below.We were developing an SSIS package to extract data from sharepoint list (after installing sharepoint adapter, downloaded from codeplex) and import the same into a SQL Server table. We used an XP desktop intiially, (as we did not have enough rights on the dev server). The attempt initially generated an NTLN error, while connecting to Sharepoint List Datasource at run-time, however, this was later resolved by altering the windows login. (and configuring a proxy when ran through a Agent job). The package was developed and tested successfully.However, when the same was tried on the dev server (after adequate rights were granted, and adapters installed) we could not connect to the sharepoint List Datasource due to the following error [i][u]…could not establish trust relationship for the SSL/TLS secure channel : The underlying connection was closed...[/u][/i] The OS on server is WIN2003 SP2, and sharepoint site could be accessed from IE. A brief search did seem to suggest the fix to be to get the root cert for the site being secured with HTTPS/SSL and put it in the SharePoint Trust store in Central Admin (http://www.c-sharpcorner.com/uploadfile/anavijai/could-not-establish-trust-relationship-for-the-ssltls-secure-channel/). However, our technical team opined otherwise, as par them, it is more of the DB Server storing the certificates and not the other way round.Any suggestion help will be greatly appreciated.Kind Regards.
↧
Clustering Question
Hi,We hv 8 nodes in sql server clustering,1) Let say now active node is failed in this case now which node will be active ?what are the parameter for this process? How it will decides ?2)In clustering if one server fails then user can access from another server but how the dba know about that3) What will be process to update patches in above scenario ?3) No of concurrent connections in Active/Active or Active/Passive clustering mode ?4) What is Virtual IP address in SQl Server clustering,?Any explanation is highly appreciated.Thanks
↧
↧
Extract users from Active Directory using SSIS
Hi,I need to implement a solution in my work company, they want to know the group members from diferent groups listed in active directory. So I presented a solution that was building a SSIS package that extract the info from active directory, list it to a txt file, and then put all the data in the SQL Server tables. My problem here is that i'm not a developer, and my problem here is to get a code that build me the txt file with the data I need. the fields are, "samaccountname", "memberof", "displayname", "departament" and "group". any one can help me with this? thks
↧
SSIS Output to csv with differing columns in each row
Hi,I have a requirement to produce a csv file with three differing number of columns.For example i need to produce a file similar H,ThisIsAHeaderRowD,Details,Mr,Test,PersonF,Footer,2Is this actually possible?One horrible way i can think of doing it it output strings from sql so there is only 1 column and do it that way but there must be a nicer way than this[code="sql"]select 'H,ThisIsAHeaderRow'[/code]Thanks in advanceJohn
↧
Not getting last column of excel while Importing into SQL table
I am importing an excel having 5 columns into a SQL table.Howevevr I am not able to see last column of excel in Excel Source Editor neither in columns nor in preview.Please suggest.
↧