SSIS Package stuck at validation phase in active batch and running forever.

Hello Team -
There is a peculiar situation where an SSIS package has been running forever in active batch (cmd). It is stuck at validation phase . However upon restart it executes normally . The scenario occurs intermittently like once in a week or two. There is also
no blocking or locks on the server.
Please give your inputs. Have a nice day.
Happy to help! Thanks. Regards and good Wishes, Deepak. http://deepaksqlmsbusinessintelligence.blogspot.com/

But it does execute on a manual run from the job. I saw several other threads in a similar fashion , and there are solutions but those look inappropriate and temporary and do not deal with active batch ( dtexec) , looking for a standard and a permanant
solution and whether there are any service packs or patches? Its SSIS 2008 and AB8.
Happy to help! Thanks. Regards and good Wishes, Deepak. http://deepaksqlmsbusinessintelligence.blogspot.com/

Similar Messages

  • To configure SSIS packages out of these SQL Server Standard, Web and Workgroup editions which is preferred?

    Hi All,
    To configure SSIS packages out of these SQL Server Standard, Web and Workgroup editions which is preferred?
    Grateful to your time and support. Regards, Shiva

    Hi Shiva,
    SSIS designer and runtime, basic transforms, and data profiling tools are only supported by Standard and higher editions. Besides, some advanced SSIS adapters such as High performance Oracle/Teradata destination and Dimension processing destination adapter
    are only supported in Enterprise edition. So, if you need to develop/modify SSIS packages on this server, Standard or even Enterprise editor is recommended.
    Reference:
    http://msdn.microsoft.com/en-us/library/cc645993.aspx#SSIS 
    Regards,
    Mike Yin
    TechNet Community Support

  • How to execute an SSIS package on a scheduled basis from remote server and pass in input files

    I have an application server and a db server.  My db server has all things SQL Server stored on it (DBMS, SSRS, SSIS, etc.)  I have several nightly batch process SSIS packages (dtsx files currently) that will pickup an input file and import them
    into the database.  I would like to execute all batch processes from my application server as I have quite a few other ones as well that do other stuff outside of SQL Server via powershell.  My question is how to do this?  Is there away to execute
    them remotely via DTexec.exe, should I set them up as Agent jobs and somehow pass in the file names\location (how?), create and SSIS catalog, etc.?  
    I need to easily be able to see if the packages execute successfully or not and if not capture the detailed information of why they failed from the remote server so I can use that to drive my process flow logic in the batch processes.

    Hi Jason,
    According to your description, you want to execute a package on a schedule and receive notification when package ends with error in the job.
    After testing the issue in my environment, we can directly add the package in a step of a job, then add a schedule and set the Alert and Notification property in the job to achieve your requirement. For more details, please see:
    Create a Database Mail in the SSMS.
    Right-click the SQL Server Agent services to Enable mail profile, then select the appropriate Mail profile.
    Under the Operators folder, create an operator with the correct E-mail name.
    Right-click the Jobs folder to add a new job.
    In the Steps pane, New a step with SQL Server Integration Services Package Type to run the package.
    In the Schedules pane, New a schedule for the job.
    In the Alerts pane, New an alert with SQL Server event alert, then enable Notify operators option with an operator in the Response pane.
    In the Notifications pane, enable Email option with same operator and When the job fails selection.
    Then when the package fails, the job would be failed and we can receive the error message in the mailbox.
    Besides, please make sure the account that execute the job has correct permissions for the file, for the folder that contains the file, and for the database.
    References:
    Configure Database Mail – Send Email From SQL Database
    How to setup SQL Server alerts and email operator notifications
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Error when exporting to xslx using export wizard or SSIS package

    Greetings:
    SQL Server 2008 R2, SSMS version 10.50.2500.0
    I tried to use the import/export wizard to create a SSIS package that takes the results of a query and outputs to an excel file. 
    Here is the table it is deriving from:
    CREATE TABLE OrderTravOutput (
    TravelerID int
    ,FirstName varchar(255)
    ,LastName varchar(255)
    ,Email varchar(255)
    ,Email2 varchar(255)
    ,Cell varchar(255)
    ,OrderID varchar(255)
    ,OrderSkillSet varchar(255)
    ,FacilityName varchar(255)
    ,City varchar(255)
    ,StateProvinceID varchar(255)
    ,ParentID int
    ,HealthSystem varchar(255)
    ,UnitName varchar(255)
    ,LastContact datetime
    ,OrderStart datetime
    ,OrderEnd datetime
    ,Tag varchar(255)
    ,CompleteDate datetime
    ,Recruiter varchar(255)
    ,Brand varchar(255)
    ,RecruiterEmail varchar(255)
    ,NumberOfWeeks int
    ,OrderShifts varchar(255)
    ,MaxPayrate varchar(255)
    ,FileOut int
    ,JobDescription varchar(max)
    ,RequiredQualifications varchar(max)
    ,PreferredQualifications varchar(max))
    Here is the query being used in the wizard:
    select DISTINCT r2.*
    from OrderTravOutput r2
    JOIN OrderTravOutput r3 ON r2.OrderID = r3.OrderID
    AND r2.CompleteDate = (SELECT max(CompleteDate)
    FROM OrderTravOutput
    WHERE OrderID = r2.OrderID
    AND TravelerID = r2.TravelerID
    AND r2.OrderSkillSet = ( SELECT TOP 1 OrderSkillSet
    FROM OrderTravOutput
    WHERE OrderID = r2.OrderID
    AND TravelerID = r2.TravelerID)
    When I run it, it fails. Here is the report:
    Operation stopped...
    - Initializing Data Flow Task (Success)
    - Initializing Connections (Success)
    - Setting SQL Command (Success)
    - Setting Source Connection (Success)
    - Setting Destination Connection (Success)
    - Validating (Success)
    - Saving (Success)
    - Prepare for Execute (Success)
    - Pre-execute (Error)
    Messages
    * Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21.
    (SQL Server Import and Export Wizard)
    * Error 0xc0202025: Data Flow Task 1: Cannot create an OLE DB accessor. Verify that the column metadata is valid.
    (SQL Server Import and Export Wizard)
    * Error 0xc004701a: Data Flow Task 1: component "Destination - Query" (103) failed the pre-execute phase and returned error code 0xC0202025.
    (SQL Server Import and Export Wizard)
    - Executing (Warning)
    Messages
    * Warning: Preparation SQL Task 1: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done. (SQL Server Import and Export Wizard)
    * Warning: Preparation SQL Task 1: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done. (SQL Server Import and Export Wizard)
    - Copying to `Query` (Stopped)
    - Post-execute (Stopped)
    Messages
    * Information 0x4004300b: Data Flow Task 1: "component "Destination - Query" (103)" wrote 0 rows.
    (SQL Server Import and Export Wizard)
    What did I do wrong?
    Thanks for any help. 

    I see some possible problems with the query.  Does it return expected results when executed in the Query window in SQL Server Management Studio (SSMS)?
    1.  You will want to specify fields explicitly in the select list, rather than using "*"
    2.  You will want to add r3 and r4 aliases in the subqueries, because OrderTravOutput r2 and r3 are definitely in scope there, and specifying an unqualified "OrderID" in the join condition would be ambiguous.
    3.  Add an ORDER BY clause to the second subquery, because otherwise TOP 1 OrderSkillSet is meaningless.
    4.  The intersection of these two subqueries may exclude records you want to see.  For example, you might have 20 records for a particular combination of OrderID and TravelerID.  But if one of those records has
    the MAX(CompleteDate) and a different record has the TOP 1 OrderSkillSet, the query will return zero records for this OrderID and TravelerID, because there is no single record that satisfies both conditions.  Is this what you intend?  Running the
    query first in SSMS helps to clarify whether it is returning the expected results.
    Anyway, you could start with something like this version of the query:
    SELECT DISTINCT r2.TravelerID,
    r2.FirstName,
    r2.LastName,
    r2.Email
    FROM OrderTravOutput r2
    JOIN OrderTravOutput r3 ON r2.OrderID = r3.OrderID
    AND r2.CompleteDate = (SELECT MAX(CompleteDate)
    FROM OrderTravOutput r3
    WHERE r3.OrderID = r2.OrderID
    AND r3.TravelerID = r2.TravelerID)
    AND r2.OrderSkillSet = (SELECT TOP 1 OrderSkillSet
    FROM OrderTravOutput r4
    WHERE r4.OrderID = r2.OrderID
    AND r4.TravelerID = r2.TravelerID
    ORDER BY r4.OrderSkillSet)

  • SSIS package Upgrade from 2005 to 2012

    Hi,
    We have a Solution file with 8 projects for SSIS packages. All of them are in VSS. They all have been created in 2005. Now we installed VS 2012 and SSDT on our local machines. I got latest of solution and projects from VSS on new machine. I tried to open
    solution file which took me SSIS package Upgrade wizard. I followed the steps and in the last step of conversion, it displayed that it had errors. The errors are:
    Error 0xc001f429: Package Upgrade: The file, "C:\SSIS\compay\hello.dtsx", could not be opened for writing. The file could be read-only, or you do not have the correct permissions.
    and for some packages, it is like this:
    Messages
     * Information 0x40019316: : The provider name for the connection manager "OLEDBConnection" has been changed from "SQLNCLI.1" to "SQLNCLI10".
     * Information 0x40019316: : The provider name for the connection manager "OLEDBConnection" has been changed from "SQLNCLI10" to "SQLNCLI11".
     * Information 0x40016019: : The package format was migrated from version 2 to version 6. It must be saved to retain migration changes.
     * Warning: PackageName: Found SQL Server Integration Services 2005 Script Task "ScriptTask_49664f73e0f440bbb0e7d44f01036bff" that requires migration!
     * Information 0x4001601a:PackageName: The Script Task "ScriptTask_49664f73e0f440bbb0e7d44f01036bff" has been migrated. The package must be saved to retain migration changes.
     * Error 0xc001f429: Package Upgrade: The file, "C:\SSIS\company\Hi.dtsx", could not be opened for writing. The file could be read-only, or you do not have the correct permissions.
    But solution and all projects and packages show that they are checked out. I checked properties also. Read only checkbox is not checked. 
    Please suggest what to do. I appreciate your response.
    Thanks,

    Why didnt you check it out directly from VSS rather than going this long route?  How would VSS now that file is in checked out status if you go and manually change readwrite property? I think it may be that its getting confused when you tried to save
    it into its working folder as it still has status as checked in and not locked by anyone.
    Can you try saving packages copies to different folder and then do the upgrade by including them onto a IS project?
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to pull a Specific files from the local path using SSIS package

    Hi Friends,
    I have 15 Dealers files .With the Files name as follows
    1. ''ACTEST00001_20141112_0408_INV.TXT''
    2. ''ACTEST00002_20141112_0408_INV.TXT''
    I will get these files through FTP on Daily basis with changes on date alone.
    I will have 4 files for each dealers.like INV,SERVICE,SALES,APPOINTMENT.
    SO i need to fetch a particular dealer with particular date.
    I need to create this scenario in SSIS package.Please suggest me how to create this and what are all the Tasks i need to use to implement this process.
    Arunraj Kumar

    http://microsoft-ssis.blogspot.jp/2011/08/foreach-ftp-file-enumerator.html
    http://www.bidn.com/blogs/MikeDavis/ssis/559/ssis-skip-certain-files-in-a-for-each-loop
    http://www.sqlis.com/sqlis/post/Looping-over-files-with-the-Foreach-Loop.aspx
    http://www.rad.pasfu.com/index.php?/archives/22-Looping-through-specific-files-SSIS.html
    http://www.mssqltips.com/sqlservertip/1641/get-list-of-files-from-an-ftp-server-in-sql-server-integration-services/

  • How to Execute SSIS package through MySQL Procedure

    Hi Everyone,
    How to Execute SSIS package from MySQL Stored Procedure.
    Please share your suggestions on this.
    Regards,
    Vaishu

    I am not sure whether you have SSIS license version installed in the system where MYSQL is there. In order to run SSIS package we need to have DTEXEC executable file and it comes with SSIS license version.
    An SSIS package can be executed from command prompt as,
    C:\>dtexec /f E:\package.dtsx
    I am not expert in MYSQL however in TSQL we can run dos command or scripting language such as vbscript.
    Similarly you need to check in MYSQL. This is MSSQL Server forum.
    Refer
    http://www.ehow.com/how_8789576_call-ssis-package-vbscript.html
    http://www.mssqltips.com/sqlservertip/1775/different-ways-to-execute-a-sql-server-ssis-package/
    Regards, RSingh

  • How to make SSIS packages automatically read the input file from a path?

    Currently I am using a SSIS package to read data from a .dat file and load it into SQL Server tables.
    I am placing the input .dat file on the desktop. In the connection manager -> Browse option, I am pointing this file to create connection.
    The file naming convention is like - aSNAP_Data_20140926_P-2014-09-26_07.02.36
    However, I need the SSIS package to automatically read the input file from a folder which is located in a remote server. This folder has lots of files where input files are added on a daily basis with the date value in the file name as mentioned above.
    I want to schedule the SSIS package to run daily and take the latest file in the folder based on the date.
    Please let me know how to do it. Any help would be highly appreciated.....
    Thanks in advance.

    Hi SQL_SSIS_Dev,
    According to your description, you want to get the latest file from a path to a SQL Server table. After testing the issue in my environment, we can refer to the following steps to achieve your requirement:
    Create two variables, VarFolderPath stores the folder path in which our files exist, VarFileName hold the value of most recent File Name.
    Drag a Script Task from SSIS Toolbox to Control Flow Pane, then select “User::VarFolderPath” as ReadOnlyVariables, select “User::VarFileName” as ReadWriteVariables.
    Then Edit Script with the C# code below:
    Add “using System.IO;” into namespace.
    Add the code below under Main function:
    var directory= new DirectoryInfo(Dts.Variables["User::VarFolderPath"].Value.ToString());
                FileInfo[] files = directory.GetFiles();
                DateTime lastModified = DateTime.MinValue;
                foreach (FileInfo file in files)
                    if (file.LastWriteTime > lastModified)
                        lastModified = file.LastWriteTime;
                        Dts.Variables["User::VarFileName"].Value = file.ToString();
    Drag a Data Flow Task to Control Flow Pane and connect to Script Task.
    In the Data Flow Task, drag a Flat File Source with a file in the source folder as all the files have same structure as the File name.
    Add the property below the Flat File Connection Manger expression:
    Property: ConnectionString      Expression: @[User::VarFolderPath] +"\\"+ @[User::VarFileName]
    Drag an OLE DB Destination that connect to the Flat File Source, then configure a table to store the data.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • .rdl file for ssis package execution reports.

    Can I get a .rdl file for the SSIS Packages execution report  which shows execution timing status and etc.. .where it stores (location) and possibility of the Stored procedure for the .rdl file

    Not sure where the SQL Server is storing the .rdl file for the above mentioned reports. But if you just want to get summary of ETL execution you can use something similar to below query and create your own report in SSRS.
    SELECT e.executable_id AS [ID] , CASE es.execution_result when 0 then 'Success' when 1 then 'Failure' when 2 then 'Completion' when 3 then 'Cancelled'  END AS [Status] , ex.folder_name AS [FolderName] , ex.project_name AS [ProjectName] , e.package_name AS [PackageName] , CONVERT(datetime, es.start_time) AS [StartTime] , CONVERT(datetime, es.end_time) AS [EndTime] , CAST(es.execution_duration AS float)/1000 AS [Duration]FROM catalog.executables e INNER JOIN catalog.executable_statistics es ON e.executable_id = es.executable_id AND e.execution_id = es.execution_id INNER JOIN catalog.executions ex ON e.execution_id = ex.execution_id  AND es.execution_id = ex.execution_idWHERE package_path = '\Package'ORDER BY StartTime DESC
    More info can be found
    here.

  • Packages Stuck in Active Queue

    This seems to happen 2-3 times a month in our environment. Someone will update a package and the console will show "In Progress. Starting to process content" for days. While this is
    happening, we can update other packages and they'll copy out to our DPs almost immediately. When I check the DISTMGR.log, the affected packages always show up as "Package XXXXXXXX is already in the queue. Package XXXXXXXX is found in the active queue,
    will try it later." We are on SCCM 2012 R2. Restarting SMS_EXEC didn't seem to help. The stuck packages don't appear in the DP Job Queue Manager either.
    Eventually, this resolves itself after 2-4 days and the package finally copies out, but I'm obviously looking for a faster fix. It seems like something is getting stuck. Any suggestions as to
    what this could be or how to further troubleshoot it?
    Thanks.

    Have you configured AV exclusions on the DPs ?

  • 10.7.2 install getting stuck at validating packages

    I have tried the install through the software update and downloaded it from the website. Both are getting stuck at validating packages. What should I try next?

    just about to go to bed and, at long last, the progress bar has moved!!!  and the installer has moved on to "Registering updated applications".  Finally it has told me that the installation has been successful!!!! 
    That last "about a minute" has taken nearly an hour - haven't people at Apple grasped the concept of time?
    I have clicked Restart to complete the installation, and the MBP has rebooted successfully.  Tomorrow I'll check that all my applications work
    This upgrade has taken me over one day of messing about, downloading fixes, rebooting, etc, etc.  Whilst it is a relief that the problem has been fixed / gone away (hopefully), it always leaves a feeling of doubt and uncertainty when you don't know exactly what the problem was, or what the definitive action was that you took to make it go away.
    Thanks to everyone for their input and suggestions.  Good luck to those still battling with their problems

  • SSIS Package Validation Error

    I receive the error 'Error at Extract Data From Access Table [SSIS Pipelin]: The "runtime conneciton "OleDbConnection" does not have a vlue for the ID property"
    What is causing this to occur and what can I do to rectify it?  All my fields in my Source Table as well as my Destination Table are mapped to one another?

    Are you trying to programmatically create a package?
    if yes see
    http://copydatabasedd.blogspot.in/2012/03/how-to-create-ssis-package-correctly-by.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
    I am trying to create the package using Visual Studio.
    EDIT-
    My project builds okay but when I attempt to run it, that is where it throws the error.
    I am going from Ole DB Source (Access) to a Data Conversion to a Ole DB Destination (SQL Server)
    And it is throwing the above error.

  • Error while executing SSIS Package after upgrading the Oracle Client

    Hello,
    I am running to the below error after we upgraded the Oracle client to 11g from 10g. The source of the Data is Oracle database . Looked online but each error is pointing towards different route, Confused here any help is very much appreciated. Have to say
    I am not a pro with SSIS.
    SSIS package "Bentek_ISO_Package (2).dtsx" starting.
    Information: 0x4004300A at Temp_tbl Injection Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
    Information: 0x4004300A at Temp_tbl Injection Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
    Warning: 0x80049304 at Temp_tbl Injection Data Flow Task, SSIS.Pipeline: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available.  To resolve, run this package as an administrator,
    or on the system's console.
    Information: 0x40043006 at Temp_tbl Injection Data Flow Task, SSIS.Pipeline: Prepare for Execute phase is beginning.
    Information: 0x40043007 at Temp_tbl Injection Data Flow Task, SSIS.Pipeline: Pre-Execute phase is beginning.
    Error: 0xC0202009 at Temp_tbl Injection Data Flow Task, OLE DB Source [1]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E14.
    An OLE DB record is available.  Source: "OraOLEDB"  Hresult: 0x80040E14  Description: "ORA-12801: error signaled in parallel query server P183, instance *****:qrmgmt2 (2)
    ORA-01861: literal does not match format string".
    An OLE DB record is available.  Source: "OraOLEDB"  Hresult: 0x80004005  Description: "ORA-12801: error signaled in parallel query server P183, instance ****:qrmgmt2 (2)
    ORA-01861: literal does not match format string".
    Error: 0xC004701A at Temp_tbl Injection Data Flow Task, SSIS.Pipeline: component "OLE DB Source" (1) failed the pre-execute phase and returned error code 0xC0202009.
    Information: 0x4004300B at Temp_tbl Injection Data Flow Task, SSIS.Pipeline: "component "OLE DB Destination" (52)" wrote 0 rows.
    Information: 0x40043009 at Temp_tbl Injection Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning.
    Task failed: Temp_tbl Injection Data Flow Task
    Warning: 0x80019002 at *******: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches
    the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    SSIS package "****** (2).dtsx" finished: Failure.

    Do you have any Date conversion functions in your Oracle datetime fields? I did run into a similar issue when we upgraded the oracle client and the provider started to decipher the metadata of the date columns. The SSIS metadata conversion for the date
    columns yielded dates that were not valid. I had to update my queries to use the TO_CHAR conversion to bring it out as a string and then save it to the date field.
    TO_CHAR (DATE, 'MM/DD/YYYY HH24:MI:SS')
    Regards, Dinesh

  • Upgrade Preparation: How to map applications, DTS packages, SSIS packages and reports to databases

    Hi,
    I am on the initial phase of upgrading SQL Server 2005 to SQL Server 2012. Right now, I'm taking as much inventory as I can from our current server, SQL Server 2005. If anyone could help me, how can I map the following:
    Map applications to databases
    Map DTS packages to databases
    Map SSIS packages to databases
    Map reports to databases
    Thank you!

    Some questions and suggestions:
    How are we planning to upgrade whether in-place\parallel\others?
    Will this be with HA[Clustered one] or with standalone?
    Do you have time to do actual migration from now on and you will need to setup the environment for end to end testing for application validation so that all differences between application or system variables can be known before actual deployment?
    Also, it will be good to check with Upgrade Advisor for below pointers preparedness too.
    Map applications to databases: If you have already need to setup databases and logins for each and every applications then your mapping to database for applications will be lot  easier and you will have less challenge.
    Map DTS packages to databases: Good link to check
    https://www.simple-talk.com/sql/ssis/dts-to-ssis-migration/
    Map SSIS packages to databases: Good link to check
    http://www.experts-exchange.com/Database/MS-SQL-Server/Q_28340818.html http://www.sqlservercentral.com/Forums/Topic1531839-2799-1.aspx
    Map reports to databases -- Good link for Reporting Services if you meant that:
    http://msdn.microsoft.com/en-us/library/ms143747.aspx
    http://www.mssqltips.com/sqlservertip/2627/migrating-sql-reporting-services-to-a-new-server/
    Good link to check other thing as well :
    http://thomaslarock.com/2013/03/upgrading-to-sql-2012-ten-things-you-dont-want-to-miss/
    Santosh Singh

  • SSIS Package with Scheduled Task

    Hi there,
    We have on a SQL-Server some SSIS Packages which refers to Navision. If I start the job manually directly in Navision, it works fine. If I start the Job in MSSQL manually (SQL Server Agent --> Jobs --> 'MyJobPackage' --> Start Job at Setp) or through
    the Job Activity Monitor ('MyJobPackage' --> Start Job at Step) it works also fine without any problems. But if the Job starts automatically (Scheduled Job in MSSQL) it will never end. So the Job is running endless. Now, we thought we could try to start
    this SQL Job with a Scheduled Task in Windows. So I created a cmd-File with the following line:
    dtexec /f "E:\SSIS Schnittstelle\TEST_Navision2XAPF\Navision2X.APF\bin\EGHU.dtsx" /De MyPassword
    And then I get this errors:
    C:\Users\exprma\Desktop>dtexec /f "E:\SSIS Schnittstelle\TEST_Navision2XAPF\Navision2X.APF\bin\EGHU.dtsx" /De MyPassword
    Microsoft (R) SQL Server Execute Package Utility
    Version 10.50.2500.0 for 64-bit
    Copyright (C) Microsoft Corporation 2010. All rights reserved.
    Started:  10:17:44
    Progress: 2014-03-12 10:17:45.32
       Source: Dimensionen
       Validating: 0% complete
    End Progress
    Error: 2014-03-12 10:17:45.34
       Code: 0xC0047062
       Source: Dimensionen Dimension [134]
       Description: System.Data.Odbc.OdbcException: ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
       at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
       at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
       at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
       at System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.Odbc.OdbcConnection.Open()
       at Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String connStr, Object transaction)
       at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction)
       at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction)
       at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100 wrapper, Object transaction)
    End Error
    Error: 2014-03-12 10:17:45.34
       Code: 0xC0047017
       Source: Dimensionen SSIS.Pipeline
       Description: component "Dimension" (134) failed validation and returned error code 0x80131937.
    End Error
    Progress: 2014-03-12 10:17:45.34
       Source: Dimensionen
       Validating: 4% complete
    End Progress
    Error: 2014-03-12 10:17:45.34
       Code: 0xC004700C
       Source: Dimensionen SSIS.Pipeline
       Description: One or more component failed validation.
    End Error
    Error: 2014-03-12 10:17:45.34
       Code: 0xC0024107
       Source: Dimensionen
       Description: There were errors during task validation.
    End Error
    DTExec: The package execution returned DTSER_FAILURE (1).
    Started:  10:17:44
    Finished: 10:17:45
    Elapsed:  0.999 seconds
    So what could I try at the next step?
    Regards
    ÖFES

    Hi Öfes,
    Based on the error message when executing the package from batch file and the solution provided by Visakh, we can conclude that the package uses 32-bit ODBC drivers. Now let’s go back to the original SQL Server Agent job issue. Since you can run the job
    manually from SSMS, the package should run in 32-bit SSIS runtime mode, e.g. the “Use 32 bit runtime” option should be checked for the package executions with in the job step. In this case, SSIS automatically uses the 32-bit DTExec utility, therefore, we don’t
    need to specify the 32-bit DTExec utility in the command line for the job step.
    Based on the current information, the issue may occur due to two possible factors:
    The Dimension component in the package uses User DSN rather than System DSN.
    The user account under which the job runs doesn’t have sufficient permissions to execute the package.
    So, please try the following steps:
    Open the C:\Windows\SysWOW646\odbcad32.exe, and make sure the DSN is a System DSN which can be accessed by any user on the server.
    Create a new SQL Server Agent proxy account which has sufficient permissions to execute the package, for example, the user account that you execute the job manually from SSMS.
    Reference:
    http://technet.microsoft.com/en-us/library/ms190698(v=sql.105).aspx 
    Regards,
    Mike Yin
    TechNet Community Support

Maybe you are looking for

  • Backing up a *single* 10TB datafile

    What are some best practices for this scenario? How can I get multiple channels/threads to attack this datafile? Backing up via a single channel seems like a waste of time and underutilizing the resources. It seems PARALLELISM only creates multiple t

  • Data import from hyperion to bi

    hi i have 11 version installed in my server but i don't have 11 version essbase client installed in my pc when i tried to do that it seems that i need to install to complete Essbase package can any 1 suggest me how to install the essbase 11 version c

  • SCHANNEL Fatal Alert:80 in Event Viewer

    See a post in 2012 that tweaks the registry to set the alert to O thus eliminating the alert but it doesn't explain why it happens or whats causing it. On my machine it didn't start til Windows did the last .NET update leading me to believe that this

  • Portal server Installation

    Hi All, I am trying to install Portal server in my machine using BS_2005_SR3_SAP_Installation_Master. At the time of installation I didnu2019t get the "SAP Systems" Folder in the SAP GUI list screen at the "Choose Service" step to define "Central Sys

  • Computer shuts off ???

    Whenever I am working on this iMac in Maya the computer shuts down by itself and I need to restart. Has anyone else seen this happen?