Quantcast
Channel: SQL Server Integration Services forum
Viewing all 24688 articles
Browse latest View live

Script task: Align Table with Headers

$
0
0

I have a requirement, Where I need to align header and table contents , as a part EMAIL body in HTML format. I'm using String.Format() in Script task to get the resultset from a table.

Here is the code :

public void Main()
        {
            // TODO: Add your code here
            Variables varCollection = null;
            string header = string.Empty;
            string message = string.Empty;

            Dts.VariableDispenser.LockForWrite("User::Email_Body");
            Dts.VariableDispenser.LockForWrite("User::TableName");
            Dts.VariableDispenser.LockForWrite("User::Building");
            Dts.VariableDispenser.LockForWrite("User::CreatedDate");
            Dts.VariableDispenser.GetVariables(ref varCollection);

            //Set the header message for the query result
            if (varCollection["User::Email_Body"].Value == string.Empty)
            {
                header = "Following are the Staging table(s) with Null ExtractStamp:\n\n";
                header += string.Format("{0}\t{1}\t{2}\n", "TableName", "Building", "CreatedDate");
                varCollection["User::Email_Body"].Value = header;
            }

            //Format the query result with tab delimiters
            message = string.Format("{0}\t{1}\t{2}\n",
                                        varCollection["User::TableName"].Value,
                                        varCollection["User::Building"].Value,
                                        varCollection["User::CreatedDate"].Value);

            varCollection["User::Email_Body"].Value = varCollection["User::Email_Body"].Value + message;

            Dts.TaskResult = (int)ScriptResults.Success;
        }

Here is the output

Rows in these Columns have following maximum length:

Table Name :Maximum length of table name is 40.

Building: Maximum length is 15

CreatedDate: Maximum length is 25

 

I would appreciate it if someone can help me on this.

Thanks in advance.


ZK


Migration SQL SERVER SSIS 2005 to 2012 conversion

$
0
0

Hi Team,

I as a part of new project, I need to take individual 2005 SSIS and needs to upgrade it into 2012.(There are 100 packages approx)

Also, I have to add BIxpress and File system logging using package event handlers.

I am thinking of creating SSIS template, i.e. I would have template with custom event handler for logging information in text file

My Question is - How existing 2005 package gets convert into 2012, Also for new migrated 2012 package how can I use Template SSIS?

Can you please help me to list down all hurdle/challenges I can face while migration.

Thanks


s

SSIS Package Restartability

$
0
0

Hi Pals,

Iam trying to implement an  SSIS package restartabilty where a Master Package loops some bunch of child dimensional packages.

We have used For each loop container to execute child packages, now if a child package fails and issue is resolved, when i start the master package, it should run from failed child package and not from first child package. how to do this

If there is any workaround please let me know.

Upgrade SSIS to sql server 2016 issue in VS2015

$
0
0

Hi,

when i have upgraded SSIS package in VS 2015  from SQL 2012 to SQL 2016, found it has removed complete code from script task?? what is the reason for that and how that can be fixed?


SQL Server DBA

Send user list of data source problems

$
0
0

Hi All,

Apologies if this has been asked before, I just could figure out the proper search term.

This is for SSIS 2008 R2.

I have a project were there will be a lot of packages inserting and updating data via User created text files. All tables in the database contain surrogate primary keys (Auto-Increment Company ID, Product ID) while the files will contain the Alternate keys (company name, product name). Therefore most package will have a task to lookup the primary keys for these alternate keys.

My goal is during the package run that I would capture any issues, e.g. invalid company name and/or product name, and when the package is finished provide the user with a list of these issues or not probably via email. I know how to do the email part it is the capturing and subsequently providing the issues to the user.

I was assuming there must be some kind of 'design pattern' for this type process as it must be a fairly common request and that is what I am asking.

Some question of the top of my head...

- Would the package have a pre-process data flow task(s) for searching for these issues or do you try to capture them during the insert/update data flow

- Where would I store the list of issues.

a) A text file that could be sent as an attachment

b) Does SSIS have 'collection' type objects that I could add to and then process at the end

c) Should I store them in a record in a 'Run Log' table. I should add that for documenting purposes I already have a table that contains all packages and I was thinking of adding a run log table. I understand that SSIS has extensive logging I just always assumed it would be difficult for user to get at that information, considering the nature of most of MSFT logging.

Thanks for any an all input

Steve



Thanks Steve

How to attach the LogFile through email when SSIS job failed

$
0
0
Hi,

I need a solution to attach the error log file in a mail, when a SSIS package is failed. Because i wont have access to check the job history in Database. So please provide me a solution to resolve this.

Thanks.

SSIS Package terminates unexpectedly

$
0
0

We are running into strange issue even after we have SP1 on SQL Server 2012, This seems to be existing problem with the latest SQL Server version too. 

Job succeeds in the next runs, but it fails now and then with unexpected termination.

Any help greatly appreciated. Thanks in advance.


Regards, Pradyothana DP. Please Mark This As Helpful if it helps to solve your issue. ========================================================== https://social.technet.microsoft.com/Profile/pradyothanadp http://www.dbainhouse.blogspot.in/

SQL Server Integration Services failed to install

$
0
0

Hi

I have on multiple occasions tried to install SSIS but I get the following error code:

VS Shell installation has failed with exit code 1638

I tracked down the installation log which I have copied below. The error I have highlighted in bold.

[3C84:0C70][2016-08-23T15:29:57]i001: Burn v3.7.3813.0, Windows v10.0 (Build 14393: Service Pack 0), path: C:\SQLServer2016Media\Evaluation\redist\VisualStudioShell\VCRuntimes\VCRuntime140_x64.exe, cmdline: '/Q /NoRestart /Full /Log "C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20160823_152324\VCRuntime140_x64_Cpu64_1.log" -burn.unelevated BurnPipe.{49AE3428-BDFF-4190-9739-CC5627D4121C} {FDEEB159-842E-4AF8-998E-B1131421E3B5} 8788'
[3C84:0C70][2016-08-23T15:29:57]i000: Setting string variable 'WixBundleLog' to value 'C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20160823_152324\VCRuntime140_x64_Cpu64_1.log'
[3C84:0C70][2016-08-23T15:29:57]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\SQLServer2016Media\Evaluation\redist\VisualStudioShell\VCRuntimes\VCRuntime140_x64.exe'
[3C84:0C70][2016-08-23T15:29:57]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\SQLServer2016Media\Evaluation\redist\VisualStudioShell\VCRuntimes\'
[3C84:0C70][2016-08-23T15:29:57]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.23506'
[3C84:0C70][2016-08-23T15:29:57]i100: Detect begin, 10 packages
[3C84:0C70][2016-08-23T15:29:57]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.14393.0'
[3C84:0C70][2016-08-23T15:29:57]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1
[3C84:0C70][2016-08-23T15:29:57]i102: Detected related bundle: {dab68466-3a7d-41a8-a5cf-415e3ff8ef71}, type: Upgrade, scope: PerMachine, version: 14.0.23918.0, operation: Downgrade
[3C84:0C70][2016-08-23T15:29:57]i108: Detected compatible package: vcRuntimeMinimum_x64, provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14, installed: {7B50D081-E670-3B43-A460-0E2CDB5CE984}, version: 14.0.23918, chained: {A1C31BA5-5438-3A07-9EEE-A5FB2D0FDE36}
[3C84:0C70][2016-08-23T15:29:57]i103: Detected related package: {7B50D081-E670-3B43-A460-0E2CDB5CE984}, scope: PerMachine, version: 14.0.23918.0, language: 0 operation: Downgrade
[3C84:0C70][2016-08-23T15:29:57]i108: Detected compatible package: vcRuntimeAdditional_x64, provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, installed: {DFFEB619-5455-3697-B145-243D936DB95B}, version: 14.0.23918, chained: {B0B194F8-E0CE-33FE-AA11-636428A4B73D}
[3C84:0C70][2016-08-23T15:29:57]i103: Detected related package: {DFFEB619-5455-3697-B145-243D936DB95B}, scope: PerMachine, version: 14.0.23918.0, language: 0 operation: Downgrade
[3C84:0C70][2016-08-23T15:29:57]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[3C84:0C70][2016-08-23T15:29:57]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[3C84:0C70][2016-08-23T15:29:57]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[3C84:0C70][2016-08-23T15:29:57]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[3C84:0C70][2016-08-23T15:29:57]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[3C84:0C70][2016-08-23T15:29:57]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[3C84:0C70][2016-08-23T15:29:57]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[3C84:0C70][2016-08-23T15:29:57]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[3C84:0C70][2016-08-23T15:29:57]i101: Detected package: vcRuntimeMinimum_x64, state: Obsolete, cached: None
[3C84:0C70][2016-08-23T15:29:57]i101: Detected package: vcRuntimeAdditional_x64, state: Obsolete, cached: None
[3C84:0C70][2016-08-23T15:29:57]i101: Detected package: Windows81_x86, state: Absent, cached: None
[3C84:0C70][2016-08-23T15:29:57]i101: Detected package: Windows81_x64, state: Absent, cached: None
[3C84:0C70][2016-08-23T15:29:57]i101: Detected package: Windows8_x86, state: Absent, cached: None
[3C84:0C70][2016-08-23T15:29:57]i101: Detected package: Windows8_x64, state: Absent, cached: None
[3C84:0C70][2016-08-23T15:29:57]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[3C84:0C70][2016-08-23T15:29:57]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[3C84:0C70][2016-08-23T15:29:57]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[3C84:0C70][2016-08-23T15:29:57]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[3C84:0C70][2016-08-23T15:29:57]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[3C84:0C70][2016-08-23T15:29:57]i199: Detect complete, result: 0x0
[3C84:1874][2016-08-23T15:29:57]e000: Error 0x80070666: Cannot install a product when a newer version is installed.
[3C84:0C70][2016-08-23T15:29:57]i500: Shutting down, exit code: 0x666
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: SystemFolder = C:\WINDOWS\system32\
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: VersionNT = 10.0.0.0
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: VersionNT64 = 10.0.0.0
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: windows_uCRT_DetectKey = 10.0.14393.0
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: windows_uCRT_DetectKeyExists = 1
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleAction = 5
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleCompressed = 1
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleElevated = 1
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleInstalled = 0
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleLog = C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20160823_152324\VCRuntime140_x64_Cpu64_1.log
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleManufacturer = Microsoft Corporation
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleName = Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.23506
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleOriginalSource = C:\SQLServer2016Media\Evaluation\redist\VisualStudioShell\VCRuntimes\VCRuntime140_x64.exe
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleOriginalSourceFolder = C:\SQLServer2016Media\Evaluation\redist\VisualStudioShell\VCRuntimes\
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleProviderKey = {3ee5e5bb-b7cc-4556-8861-a00a82977d6c}
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleTag = 
[3C84:0C70][2016-08-23T15:29:57]i410: Variable: WixBundleVersion = 14.0.23506.0
[3C84:0C70][2016-08-23T15:29:57]i007: Exit code: 0x666, restarting: No

It looks like I have a newer version installed but I am not sure how that can be the case as this error occurred the first time I tried to install SQL Server 2016. I have tried uninstalling SQL Server and reinstalling a new instance but I get the same message. Have also tried the 32 bit and 63 bit versions of the installer.

To be honest my IT knowledge is relatively low so I am not sure where I am going wrong and any help would be greatly appreciated.

Cheers

Hamish


SSIS Error 0xC000F427

$
0
0

Hello,

I am getting below error on SQL Server 2012 while running a SSIS Package.

Code: 0xC000F427
   Source: Analysis Services Processing Task
   Description: To run a SSIS package outside of SQL Server Data Tools you must install Analysis Services Processing Task of Integration Services or higher.

Please advise what needs to be installed or missing?

Best regards,

Mohan

File watcher task failure.

$
0
0

I am using visual studio 2015 and i have sql server 2014. So i downloaded file watcher sql server 2014 from http://www.sqlis.com/sqlis/post/File-Watcher-Task.aspx.

once i downloaded and installed it was not showing up in my toolbox i tried refreshing it but still not showing up. So, i downloaded 2016 file watcher then it showed up on my VS 2015 and package ran successfully but the problem here is, it was failing when i scheduled a job in SSMS 2014 as it is 2014 and file watcher was 2016. I can upgrade my ssms to 2016 as all my projects are using it.

Please reply to this post if you have any solution.

Thanks in advance.

Below is the error


Error:

Message
Executed as user: ----\svc-mssqld. Microsoft (R) SQL Server Execute Package Utility  Version 12.0.4100.1 for 64-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  12:13:17 PM  Error: 2016-08-09 12:13:17.62    Code: 0xC0010018     Source: File Watcher Task      Description: Failed to load task "File Watcher Task", type "". The contact information for this task is "File Watcher Task; Konesans Ltd; Copyright ? 2016 Konesans Ltd; http://www.konesans.com".  End Error  Error: 2016-08-09 12:13:17.62     Code: 0xC0010018     Source: File Watcher Task 1      Description: Failed to load task "File Watcher Task 1", type "". The contact information for this task is "File Watcher Task; Konesans Ltd; Copyright ? 2016 Konesans Ltd; http://www.konesans.com".  End Error  Error: 2016-08-09 12:13:17.63     Code: 0xC0010026     Source: File Watcher Task      Description: The task has failed to load. The contact information for this task is "File Watcher Task; Konesans Ltd; Copyright ? 2016 Konesans Ltd; http://www.konesans.com".  End Error  Error: 2016-08-09 12:13:17.63     Code: 0xC0024107     Source: File Watcher Task      Description: There were errors during task validation.  End Error  Error: 2016-08-09 12:13:17.63     Code: 0xC0010025    Source: FileWatcher      Description: The package cannot execute because it contains tasks that failed to load.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  12:13:17 PM  Finished: 12:13:17 PM  Elapsed:  0.156 seconds.  The package execution failed.  The step failed.

SSIS Compatibility Issue (SQL Server 2008/2014 with Client Tools vs Visual Studio 2008/2013/2015)

$
0
0

Hi All:

I currently have the following MS SQL Server Client and Visual Studio applications installed on my PC (Windows 7 Enterprise 64-bit, Service Pack 1) to support SSIS (SQL Server Integration Services) and SSRS (SQL Server Reporting Service) development efforts for the SQL Server 2008 and 2012 environments:

  • SQL Server 2008  Client Tools (with SQL management Studio and SQL Server Business      Intelligent Development Studio)
  • Visual Studio 2008 (for SSIS package implementation on SQL Server BI Development Studio)
  • Visual Studio 2013 (for TFS only but no SQL Data Tools installed)
  • Visual Studio 2015 Professional (No SQL Data Tools installed)

We are currently using BIDS (Microsoft Business Intelligence Development Studio) for Visual Studio 2008 for the SQL Server 2008 SSIS package development and we are also in the process of migrating to the SQL Server 2012 environment. In preparation, I was asked to have SQL Server 2014 with Client Tools installed to my PCs, I then noticed that BIDS failed to work properly and it introduced runtime errors like“Could not load file or assembly 'Microsoft.VisualStudio.Tools.Applications.Core”. As result, I could not even initiate any debugging run in order test out my SSIS script tasks which was written in C#. I had to have SQL Server 2014 with Client Tools removed from my PC in order make this issue going away.

I would like to confirm if there is any known bug that might have caused BIDS for VS 2008 to fail if SQL Server 2014 with Client Tools gets installed. If so, what is a solution or workaround to this issue?

I believed that BIDS has been replaced by SSDT-BI (SQL Server Data Tools – Business Intelligence) since Visual Studio 2013 as in a standalone package. With SQL Server 2014 with Client Tools installation requirement, what is my best option to avoid any potential incompatibility issues?

  • Install SSDT-BI      for VS 2015 (must be compatible to SQL Server 2008 and 2012 environments)?
  • Install SSDT-BI      for VS 2013 (must be compatible to SQL Server 2008 and 2012 environments)?

Thank you for any valuable suggestions.

Derived column task to be used by 2 sources

$
0
0

Hi,

I have conditional split (3 splits). 2 splits need to use same derived column values. Right now in data flow task this is how I have

Split 1 -> derived column 1 task -> flat file destination1

Split 2 -> derived column 2 task -> flat file destination 2

Split 3 -> should use derived column 2 task -> flat file destination 3.

How can I do that. As far as I know create a copy of derived column 2 task as derived column 3 task and use. Is there any other way.

Thanks,

SSIS error for Execute SQL Task1

$
0
0
 Hi,
I'm having an SSIS package which gives the following error when executed :

Error: 0xC002F210 at Execute SQL Task 1, Execute SQL Task: Executing the query "Declare @POID as Varchar(50)
Set @POID = 636268
..." failed with the following error: "Unable to populate result columns for single row result type. The query returned an empty result set.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
Task failed: Execute SQL Task 1


The package has a single Execute SQL task with the properties listed below :

General Properties
Result Set    : None
ConnectionType     : OLEDB
Connection    : Connected to Server
SQLSourceType    : Direct Input
SQL Statement    :
Declare @POID as Varchar(50)
Set @POID = 0
SELECT    DISTINCT  BizTalk_POA_HEADER.PONUMBER, FAN_Suppliers.SupplierName, FAN_Company_Details.CompanyName, FAN_Company_Details.[PrimaryEmail], BizTalk_POA_HEADER.[DeliveryDate]
FROM         BizTalk_POA_HEADER INNER JOIN
                      FAN_PO_Details ON BizTalk_POA_HEADER.PONUMBER = FAN_PO_Details.PoNumber INNER JOIN
                      FAN_PO ON FAN_PO_Details.PurchaseOrderID = FAN_PO.PurchaseOrderID INNER JOIN
                      FAN_SupplierDetails ON FAN_PO.SupplierDetailsID = FAN_SupplierDetails.SuppliersDetailsID INNER JOIN
                      FAN_Suppliers ON FAN_SupplierDetails.SupplierID = FAN_Suppliers.SupplierID INNER JOIN
                      FAN_Company_Details ON FAN_PO.CompanyID = FAN_Company_Details.CompanyDetailsID
WHERE    (BizTalk_POA_HEADER.PONUMBER = @POID)

IsQueryStorePro    : False
BypassPrepare    : False

Parameter Mapping Properties

None

ResultSet

ResultName         Variable Name

0                           User:PONUMBER

1                           User:StoreName

2                           User:StoreEmail

3                           User:Supplier

4                           User:DeliveryDate



I would appreciate if anybody can help me out of this issue by suggeting where the problem is.

Thanks in Advance.


shivangdesai

CDC Control Task: "Timeout expired" (when TransactionOption is Required)

$
0
0

We are doing incremental load using CDC and trying to implement transaction rollback in case of any task failure including ‘CDC control task’ in SSIS package.

To complete 'Get Processing Range' and 'Marked Processed Range', two CDC control tasks are added in the SSIS package. If TransactionOption is 'Supported' (default) for the package, everything works fine. However, if TransactionOption is 'Required' on the other hands, the 'Marked Processed Range' will fail raising '[CDC Control Task] Error:"Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.".

Based on tracing, the following statement is suspending.

(@name nvarchar(16))SELECT count(*) FROM [dbo].[cdc_states] WHERE Upper([name]) = Upper(@name)

We tried multiple options like –

  • Replacing any TRUNCATE with DELETE statement.
  • Setting ‘RetainSameConnection’ property to ‘True’ for source connection manager.
  • Setting ‘UseBulkInsertWhenPossible’ property to ‘False’ in data flow tasks.
  • Different Isolation Level.

Let me know if anyone have any clue about this error or can suggest a different approach

Deleting and Inserting set of records based on Date Field

$
0
0

Hi Experts,

I am trying to update a table with last two weeks data on daily basis.

I first delete the last two weeks data based on a Date Field in the Table. For this I get the system datetime and do something like: 

Where Clause - > DateField = Getdate()-11 days.

While inserting, I do the same. However, the time lapse in the system date between the delete and insert is causing the data to lose.

I am quite new to these tasks. I appreciate if anyone could help me a step by step approach on how to do achieve my requirement.

Or any links to guide me will help.

Thanks heaps in advance.


Cube Processing through SSIS

$
0
0

Hi Todd,

Could you please let me know whether in SSIS -- Analysis Services Processing Task -- the impersonation mode can be avoided. This is because if the password is expiring every month then it will be a failure in automation process as we cannot make changes to the design of the cube in production environment (new password entry) . If the password is not needed then the SSAS processing task can be executed without any error and would not depend on login password. Could you please clarify if this can be made possible.

Regards,

Shireesh Ravikanti.

unable to find error message preventing deployment of package to SSIS

$
0
0

when deploying an SSIS package I get a deploy error, I am using Visual Studio 2013 Update 5 to deploy a package to SQL.
The default accounts were not used, AD accounts were used.  I am running visual studio from a laptop and SQL is on a server.  The account I am running Visual Studio under is an SQL admin account and I manually added them as a SSIS Admin.:

TITLE: SQL Server Integration Services
------------------------------

Failed to deploy project. For more information, query the operation_messages view for the operation identifier '8'. (Microsoft SQL Server, Error: 27203)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=12.00.4213&EvtSrc=MSSQLServer&EvtID=27203&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

The problem with this is that the table is empty.

I found some thing under catalog.operations where I see the attempts to do something but no error messages.

Checked:

catalog.operations (shows attempts with no success or fail flag)
catalog.operation_messages (empty)
catalog.projects (empty)
catalog.event_messages (empty)

Something is up I just don't know what.

help?

Sql Server 2012 Upgrade Advisor SSIS Instance upgrade errors

$
0
0

Running SQL Server 2012 Upgrade Advisor on a SQL 2008 R2 SSIS instance got the following errors all pointing to the data collector/MDW packages deployed under SSIS instance. first error is shown as critical the second one as warning. how to upgrade the dc packages in 2008 R2 SSIS instances to 2012, or the next 2 errors can be neglected?

SQL Server Integration Services PostUpgrade 
Recompile third-party and custom components to work with SQL Server 2012. In SQL Server 2012, Integration Services has changed its application programming interfaces (APIs). To be compatible with these new APIs, all third-party and custom components may need to be recompiled. SQL Server 2008 and 2008 R2 components can use assembly binding redirection to continue working in SQL Server 2012. SQL Server 2005 components may require additional code changes to work with SQL Server 2012. Package Name: TSQLQuery_ServerName_MSSQL10_50_MSSQLSERVER_{GUID}_3_Collect 

Source Type: Repository Package Location: /MSDB/Data Collector/Generated/TSQLQuery_ServerName_MSSQL10_50_MSSQLSERVER_{Guid}_3_Collect

as well as

SQL Server Integration Services PostMigration
Update provider names in connection strings to be compatible with SQL Server 2012.In SQL Server 2012, connection strings require a different value for some provider names. The value for the SQL Server Native Client provider is now SQLNCLI11. The value for the OLE DB Provider for Analysis Services is now MSOLAP.5. To automatically update these provider names, use the Package Upgrade tool to upgrade SQL Server 2005 and SQL Server 2008 packages. You can also manually update these names in Business Intelligence Development Studio.
Package Name: TSQLQuery_ServerName_MSSQL10_50_MSSQLSERVER_{GUID}_3_Collect Source Type: Repository Package Location: /MSDB/Data Collector/Generated/TSQLQuery_ServerName_MSSQL10_50_MSSQLSERVER_{GUID}_3_Collect

How to cancel SSIS package on fail, and also get the failing row and column

$
0
0
I'm extremely new to SSIS. I have a package set up with a Flat File Source, and it also includes a Derived Column Transformation step. At either of those steps, if there is an error, I would like the package to immediately fail, and I also want to retrieve the error row and column. I have not been able to figure out how to accomplish this. Any help getting me started on the right path would be greatly appreciated. I'm using MSQL SSIS Designer 12.0.2430.0.

B+

anyone can you plz help me to do this task its urgent

$
0
0

Please find the attached data file.

 

1)The data present in the file is according to Weekdays(i.e. Sun,Mon etc).Transform these weekdays into Dates. 

2) The package must be designed in such a way that it can load the effort data for any date.  Assume that the file would be received in DDMMYYY_EffortsData.csv format. Where DDMMYYYY will change.

 

3)Archive the file to another folder once proccessed.Archive file must have Timestamp appended to it's end.

 



Viewing all 24688 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>