Hi, I'm completely lost here... I have a SQL Server Agent job that execute a SSIS package. The same job works perfectly at on SQL server but errored out at the other with the "system error: Logon failure: unknown user name or bad password". As far as I can tell, both are setup the same. Here is my setup:1. Create a credential AccountName to use the credential of a domain account (domain\AccountName).2. Create a proxy AccountName that utilize the credential created from step 1.3. In the "Run As" of the SQL Server Agent job step, use the proxy created from step 2.When I executed the SQL Server Agent job, it prompted failed at one server with this unknown user name or bad password message. I know for sure that the user exists and the password is correct. It failed "before" executing the package. It acts like the SQL Server Agent Service account is unable to use the security context of the proxy account. As I said, the same job works fine at another server. The problem is I cannot find why. The account is sysadmin at both SQL Servers.Could someone shed some light? Thank.s
↧
Logon failure: unknown user name or bad password
↧
How to force a SSIS to Stop when warnings/errors happen?
I have a SSIS package executing (32-bit) within a SQL Server Agent job. The 'Retry Attempts' is sent to 4 times every hour (if the Database I'm extracting from is down for maintenance I want to try for up to 4 hours) on the Step in the SQL Server Agent job.Sometimes I get the following warning/error:Executed as user: sqladmin. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 4:15:00 AM Error: 2014-03-01 04:19:15.52 Code: 0xC0202009 Source: Insert Result Records message_details [160] Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". End Error Error: 2014-03-01 04:19:15.52 Code: 0xC020901C Source: Insert Result Records message_details [160] Description: There was an error with input column "MYCol" (232) on input "OLE DB Destination Input" (173). The column status returned was: "The value could not be converted because of a potential loss of data.". End Error Error: 2014-03-01 04:19:15.52 Code: 0xC0209029 Source: Insert Result Records message_details [160] Description: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "OLE DB Destination Input" (173)" failed because error code 0xC0209077 occurred, and the error row disposition on "input "OLE DB Destination Input" (173)" 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. End Error Error: 2014-03-01 04:19:15.52 Code: 0xC0047022 Source: Insert Result Records SSIS.Pipeline Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "message_details" (160) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (173). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure. End Error Error: 2014-03-01 04:19:15.52 Code: 0xC0209017 Source: Insert Result Records tmp_message_details [1] Description: Setting the end of rowset for the buffer failed with error code 0xC0047020. End Error Error: 2014-03-01 04:19:15.52 Code: 0xC0047038 Source: Insert Result Records SSIS.Pipeline Description: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "tmp_message_details" (1) returned error code 0xC0209017. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 4:15:00 AM Finished: 4:19:15 AM Elapsed: 254.797 seconds. The package execution failed.Now I know what the Error is and I'm expecting the Step to go to the 'On Failure Action' Step I have specified within my Agent job. But that's not what's happening. It appears the Flow Task the error occurs in is stopping at that point and then moves on to the next Flow Task in the Control Flow, thus completing the Package. When the Package completes the Agent job thinks it needs to Re-try, so an hour later it does.I want this Package that when this error occurs it 'abends' Stops executing the package at that point. Is there a setting within the Package or the Flow Task I need to set to accomplish this?Thanks,Sqlraider
↧
↧
Job Scheduling problem
Hi Exerts,I am trying to schedule the SSIS job which is creating a problem. am currently using Sql server 2008 and client and server. When i schedule the job in sql server agent, the job is getting failed am not sure why it is getting failed and this is the first time am scheduling the job. and am scheduling the job in sql server agent.I have read almost all the documents about scheduling and also activated the sql server agent in server which was down. Now the job is getting started successfully but execution is getting failed. Id any solution or any thing am missing plz post the solutions and suggest me.Thank you & Regards,Vijay Vanamala
↧
How to see old ssis logs ?
Hi ! I don't know where or how SSIS (the SSIS tool, not sql server agent) stores logs for old jobs. Is there a way to see the log of SSIS jobs from past day, week, month etc . ?Thanks.
↧
Cannot see drive in SQL server agent
I want to use config files for a package. I stored them on my C drive. However, the C drive I see in the config options tab is totally different from my C. Also, there is a new drive F there which is not even present on my computer. I cannot access any of the drives in config options/tab of agent. So, I am not able to even configure my job for running. How do I fix this ?Thanks.
↧
↧
HOW TO EXPORT A TABLE TO A CSV FILE --IN MS SQL SERVER 2008
[b][font="Comic Sans MS"]HiIam working on sql server and performed some queries and got required tables as results. Now I want to Export the table to a CSV file USING SCRIPT (only).help me if anyone knows.:w00t:[/font][/b]
↧
SSIS Expression w/ imbedded DOUBLE QUOTES not passing syntax check
I'm using an expression in my SSIS pkg to reference my EXCEL 20007 input data source. When I attempt to evaluate the expression I receive an error --- attributed to the nest DOUBLE QUOTES around the ---> [b]Properties="Excel 12.0;HDR=YES";[/b]These double quotes are required. Any Ideas as to how to get this expression to successfully evaluate?@[User::Excel2007Files] + "\\XLS_Test_Type_T.xlsx;Provider=Microsoft.ACE.OLEDB.12.0;Extended Properties="Excel 12.0;HDR=YES";"thx in advance...
↧
SSIS : loading data from recordSet (variable :object) by Script task
Hi,i was trying to get data from a recordSet variable. but it's not working :ermm:Code : [quote]public void Main() { OleDbDataAdapter A = new OleDbDataAdapter(); System.Data.DataTable dt = new System.Data.DataTable(); A.Fill(dt, Dts.Variables["User::Var1"].Value); // TODO: Add your code here foreach (DataRow row in dt.Rows) { string DeviceID; object[] array = row.ItemArray; DeviceID = array[0].ToString(); // I Declare both variables ID And Name as String, So I can show in Messagebox. You can Declare ID as INT and set the value and use //However you want to use. MessageBox.Show("ID Value=" + DeviceID); } Dts.TaskResult = (int)ScriptResults.Success; }[/quote]
↧
Lost connection changes after saving the SSIS project
Hi,I export and open a 2005 ssis package in BIDS and modify the package by changing the connection strings (flat and SQL connections) and then saving the package and closing it.But when I reopen the same package all the changes I made are lost. Saw the other post suggesting changing configuration file but there is no .dtsConfig file in the package.Do I need to do anything other than just Saving the package?Thanks.
↧
↧
I want to run someone else's SSIS package, which file do they need to send me?
Someone in my organization send me their .dtsx file and said 'here, reverse engineer it for your needs'. I have Visual Studio 2012 and all BI add-ins, so, I created a new project and tried to add the .dtsx to it as a package. ie. File->New Project->Integration Services Project, right click on ssis packages folder and selected 'add existing package' and browsed to the .dtsx file, hit OK. Error resulted:The connection type "" specified for connection manager is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. ..However, since I can't open the package, I'm unable to edit the connection.How can I open a .dtsx to edit the connection properties, if the cause of the failure to load is the connection type? Does my colleague need to send the .sln file?
↧
Creating a package for upsert_industry
I need to create one package and i have to do upsert (update/insert) operations. I need to know how should i select fields n tables from sql devp. How to write codings for customer datas.
↧
Parse String SSIS
Hello, I want to parse a string in SSIS. My strings looks like this:CAT@@@DOG@@@yyyyMOUSE@@@bbb@@@aaar@@@s@@@gThey are separated by @@@ and I need code that is able to pull the 1st or 2nd or 3rd characters.Thanks.
↧
SSIS Script Task error
Hi All,I am using Script task component for creating query (Can not handled due to 4000 Character issue) and running this query later in the package on Sybase Database using ADO.net connection and giving me (while running the above query on Sybase DB) below error while doing the same. Error description below:"[Script Component Extract ICTS-FAMM MTM [3590]] Error: System.Data.Odbc.OdbcException: ERROR [ZZZZZ] [Sybase][ODBC Driver][Adaptive Server Enterprise]Unable to allocate work table for processing group by or distinct clause during query optimization. Maximum limit (14) of work tables is exceeded. Simplify the query and retry.ERROR [ZZZZZ] [Sybase][ODBC Driver][Adaptive Server Enterprise]Unable to allocate ancillary table for query optimization. Maximum number of tables in a query (14) exceeded. at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception e) at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.PreExecute() at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPreExecute(IDTSManagedComponentWrapper100 wrapper)".Not able to get any answer from Google.Please Help !!!!!!
↧
↧
Multiple flat files to import into multiple tables (different formats)
I have about 30 flat files each in different formats with different column names.I need to import them creating new tables respectively. I am open to let it pick the datatypes.I just need them to get into the database.Bulk insert doesn't work for me because it inserts into the same table.I would have to create a new connection for each file to create a table so I wasn't sure if SSIS for each container could do any good.we get many files from clients throughout the year and so far they were scattered around the year so import wizard or SSIS dataflow task with OLEDB conn worked.These days I am on a tight deadline with these files so i need a quicker and automated way to do it.Even a batch file would work. Please help!Thanks,Sirisha
↧
How to schedule ssis package to run only on Business working days ?
hi friends, I have a stored procedure (performing some transformations) , which is in SSIS package.I need to schedule SSIS package to run only on Business working days.How can I implement this?can anyone tell me please ? Thanks,Komal
↧
Set Excel Connection Manager connection string dynamically using variables
I have developed an SSIS package (using BIDS 2005) that requires almost everything to be set dynamically; Connections Managers, package variables, SQL statements executed by Execute SQL tasks etc.The reason for this is that the package is designed to be a generic utility package that produces Excel files in various directories and is called from a stored procedure. The stored procedure sets some of the package variables; others are set using an xml variable. It is based on [url=http://beyondrelational.com/modules/2/blogs/66/posts/9928/calling-a-ssis-package-from-a-stored-procedure.aspx]this[/url] excellent article by Jeff Wharton.The Excel Connection Manager is set using a package variable and that variable in turn is constructed from a number of other variables. Everything works fine when those other variables are hard-coded, but if one of them is itself set dynamically, the package fails with an error which basically says that the Excel Connection Manager cannot be acquired because it is incorrectly formed. I have set the [b]'Delay Validation'[/b] property on the Excel Connection Manager to True, but this doesn't seem to make a difference.To better illustrate the situation, my Excel Connection Manager's connection string is set, via an Expression to use a variable, [b]User::Conn_ExcelFile[/b]The User::Conn_ExcelFile variable has its [b]EvaluateAsExpression[/b] property set to True and the expression it uses is: [code="plain"]@[User::vDriver] + @[User::vExtendedProperties] + @[User::vExcelFile][/code]The [b]User::vDriver[/b] and [b]User::vExtendedProperties[/b] variables are hard-coded, but the [b]User::vExcelFile[/b] variable is set dynamically using a /SET option in the dtexec command line. I can see using breakpoints that the User::vExcelFile variable is indeed being correctly set to the value specified by the /SET option, but the value is blank when the User::Conn_ExcelFile variable is set.[b]Q:[/b] Are variables set dynamically in the order in which they are created (in which case I can resolve this easily by ensuring that my User::Conn_ExcelFile appears further down the list of variables than my User::vExcelFile variable)? [b]Q:[/b]Is it even possible to create this chain of dynamically-set variables?ThanksLempster
↧
Load data from excel , is it possible?
col1 col2 col35.0 6.0 3.59.5 9.8 6.3 9.0 6.0 8.0Col4 col5 col69.5 6.0 8.0 6.3 9.3 3.98.7 8.0 8.89.0 8.3 6.98.6 9.0 6.2I have data like this in excel, how to load into 2 different tablesfirst table contain col1,col2,col3 as columnssecond table contain Col4,col5,col6 as columns.Note: Here the number of columns are fixed(3).
↧
↧
SSIS configuration on production servers
Hi all i have been following this forum since very long time and it is really helpful to learn and improve. This is my first question hereI have an ETL which connects to a production server to extract data, i am using a service account in the connection string(hard coding it) package works fine. but when orther users tries to open it the package fails. The other main issue is, the connection string is used in many tasks of the package and when different user tries to open the package service account credentials are not being validated and when these validations fail for 3 times, the production server is locking the service account, which is a big problem.how can i overcome this, instead of using hard coded credentials i can use a configuration table to the get these details, in addintion to this do i need to consider anything else to not face the above issue? your help will be appreciated
↧
SSIS configuration on production servers
Hi all i have been following this forum since very long time and it is really helpful to learn and improve. This is my first question hereI have an ETL which connects to a production server to extract data, i am using a service account in the connection string(hard coding it) package works fine. but when orther users tries to open it the package fails. The other main issue is, the connection string is used in many tasks of the package and when different user tries to open the package service account credentials are not being validated and when these validations fail for 3 times, the production server is locking the service account, which is a big problem.how can i overcome this, instead of using hard coded credentials i can use a configuration table to the get these details, in addintion to this do i need to consider anything else to not face the above issue? your help will be appreciated
↧
How to learn SSIS
Hi Experts,I'm newbie to SSIS. I just used this for data movement between servers. I wanted to learn more about SSIS ...What to learn ?How to learn?Thanks In Advance
↧