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

Import/Export wizard auto-generates all columns as DATE

$
0
0

Hi

I'm trying to use the Import/Export Wizard as I used to, as a handy tool to figure out what a series of T-SQL statements (in an SSIS package) is doing - or, if I'm lucky, what on earth the original devintended them to do.

Version: SQL 2014 64-bit running on Win 7 64-bit

The code is pretty dreadful:

SELECT DISTINCT on one set of column names,

join this set to another table but not on exactly the same set of column names,

embedded (SELECT MAX(bla) FROM SameTable WHERE [match to outer set on another set of columns] GROUP BY [hey, yet another set of columns!]) inside the SELECT column list...

and it all goes to a nasty #Tmp, which is then abused with further bad code further down.

Imp/Exp is always handy to quickly get the intermediate results into an auto-created real table, so I can figure out exactly what the effect of this is.  I use it to export from the database back to the same database, but to a persisted table.

This time (first time with SQL2014) it's not working.  The source is "write a query" (paste the actual query).  The destination I set to a new table.  The auto-generation of the new table creates every column as typedate.  Not surprisingly, this doesn't work, as the original data is mostly not ofdate time.

Looks like a bug.  Any idea of a workaround or fix?

thanks!


Expression throwing error: The data types "DT_WSTR" and "DT_TEXT" are incompatible for the conditional operator.

$
0
0

Im reading in a CSV wiht double quote text delimiters. Data came from mySQL.
One column in mySql is text(65535) which is equivalent to varchar(max) as far as i understand.

This particular column can be blank, not null, just blank. If its blank i want to put in a value so i added a Derived column shape and added the following formula:

LEN(my_Column) < 1 ?  "" :  (DT_TEXT)my_Column

I get the below error from this expression:

 The data types "DT_WSTR" and "DT_TEXT" are incompatible for the conditional operator. The operand types cannot be implicitly cast into compatible types for the conditional operation. To perform this operation, one or both operands need to be explicitly cast with a cast operator.

I have tried this without casting but still get an error. As I have configured the column in the flatfile connector as DT_TEXT, im not sure where its getting DT_STR from, or how to work around this. Any help would be appreciated.

Slow app/db connection advise needed

$
0
0

Hello,

I have an product(application on app server) that connected to database (different VM server) and the application running very slow(feedbacks from end users like slow first connection to app, slow running of different aspects in application ),

I need to find the issue , any suggestions are welcome (monitor tool will help ?)


April TechNet Guru results were announced! Are you entering for May?

$
0
0

The results for April's TechNet Guru competition were been posted!

http://blogs.technet.com/b/wikininjas/archive/2015/05/17/the-microsoft-technet-guru-awards-april-2015.aspx 

Below is a summary of the medal winners for April. The last column being a few of the comments from the judges.

Unfortunately, runners up and their judge feedback comments had to be trimmed from THIS post, to fit into the forum's 60,000 character limit, however the full version is available on TechNet Wiki.

Some articles only just missed out, so we may be returning to discuss those too, in future blogs.

 

Guru Award BizTalk Technical Guru - April 2015  

Gold Award Winner

 

Muhammad EhsanCalling the Force.com REST API from BizTalk Server - Multiple EndpointsSandro Pereira: "Well format with nice pictures, well explained and with source code, you cannot ask for more. Great article. Nice job Muhammad Ehsan"
Ed Price: "Great scenario that's thoroughly explained! Great to have the code on the MSDN Gallery!"

 

Guru Award Microsoft Azure Technical Guru - April 2015  

Gold Award Winner

 

ChervineBig Data Analytics using Microsoft Azure: IntroductionJH: "Great introduction to one of my favorite topics. Hope to see more about it."
Ed Price: "I love the write-ups and diagrams! You do a great job walking the reader through this topic!"

Silver Award Winner

 

Ken CenerelliUsing Microsoft Application Insights in an MVC applicationEd Price: "Great descriptions and use of images! The See Also section is also helpful!"
JH: "Another great one from Ken. Would like to see another article about the customizing."

Bronze Award Winner

 

Chiyo OdikaTroubleshooting Azure Operational Insights Capacity Planning Data Aggregation in Progress IssuesJH: "A service I was not really aware of. Great article about Azure OpInsights."
Ed Price: "This is a good solution and article. It could benefit from a TOC, Headers, and links sections at the bottom. "

Guru Award Miscellaneous Technical Guru - April 2015  

Gold Award Winner

 

Andy O'NeillSilverlight: StrikeThroughEd Price: "Wow! This is a lot of work to get a strike through! Incredibly thorough! Great article!"
Durval Ramos: "Very useful, images and code help a lot to understand. And have a sample on TNGallery, "tags", See Also,... Good article!"
PG: "Very elaborate article, nice procedure"
Richard Mueller: "A subtle and complex problem. Good to have a solution. We can use more links."

Silver Award Winner

 

Sarah LeanCRM 2011 Outlook DeploymentEd Price: "A valuable list of requirements. Short but useful."
Durval Ramos: "Further work is needed to better understand this content"
PG: "Very short, to the point, might need some work to build more elaborate content"
Richard Mueller: "Good start, but needs work. Needs references."

Guru Award SharePoint 2010 / 2013 Technical Guru - April 2015  

Gold Award Winner

 

Danish IslamSharePoint Site URLs not working without appending default.aspxMargriet Bruggeman: "I like this one. Not a trivial issue to solve, although it will occur seldomly, and the reasoning behind the solution is explained nicely"
Ed Price: "Good formatting and use of images."

Silver Award Winner

 

Inderjeet Singh JaggiPSconfig wizard fails after you install any update on SharePoint serverEd Price: "Great write up! Could benefit form code formatting, Headers, a TOC, and link sections like See Also, References, and Other Resources."
Margriet Bruggeman: "Nice find, although I am a bit worried about the state of the upgrade after this has happened and the property is changed. Also, be consistent: are we talking about 2010 or 2013?"
Hezequias Vasconcelos: "Great technical content."

Bronze Award Winner

 

Arleta WanatSharePoint Online: Remove a stuck site mailboxEd Price: "Beautiful! This is a great scenario that's masterfully demonstrated with the right balance of images, explanations, and code snippets!"
Margriet Bruggeman: "This seems to be a very complete discussion of this very problem. Very useful!"
Hezequias Vasconcelos: "Interesting feature in SharePoint Online."


 

Guru Award Small Basic Technical Guru - April 2015  

Gold Award Winner

 

Ed Price - MSFTProgramming Games with Small Basic: Chapter 6: Tic Tac Toe ProgramMichiel Van Hoorn: "This is probably one of the best end-to-end tutorials for programming a simple (but well designed game). Great learning material for all beginning coders."
RZ: "This is fantastic! Tic-Tac-Toe is the classic of course. And the book is modeled after the classic one. Tons of games for beginner to explore the power of BASIC programming language."

Guru Award SQL BI and Power BI Technical Guru - April 2015  

Gold Award Winner

 

Samir AbrahaoImplementing a faster distinct sort or aggregate in SSISPT: "Nice, well-written and thorough post."
Ed Price: "Very good! Great descriptions and use of images! It could benefit from Headers, a TOC, and a See Also section at the end that links to other Wiki articles. It was very well written!"
RB: "Nice, explicative walkthrough."

Guru Award SQL Server General and Database Engine Technical Guru - April 2015  

Gold Award Winner

 

ShankyDoes SQL Server Backup Operation Uses ParallelismEd Price: "Who should win? Shanky or Shanky? I think Shanky should win! Great code formatting, images, very easy to navigate, and solid Conclusion write-up! It would benefit from a See Also section. Amazing article!"
Durval Ramos: "Very clear and detailed, successfully demonstrates how BACKUP operation use parallelism. Amazing!"
JS: "Very well researched, I like the reference you are doing to the mutiple MSDN articles / blogs."

Silver Award Winner

 

ShankyShould we move resource database ?

Ed Price: "Very clear and easy to follow!"
Durval Ramos: "This is an interesting article, it would be better used on MS Connect" 
AN: "I don´t see any reason why you should move the resource databases nor is one mentioned here. I see the "not supported" flags you are raising, but why write a technet article from it? Good technical depth, but no need for exposing this."

  

Guru Award System Center Technical Guru - April 2015  

Gold Award Winner

 

Chiyo OdikaTroubleshooting Azure Operational Insights Capacity Planning Data Aggregation in Progress IssuesEd Price: "Good topic, descriptions, and use of images. Could be improved with a TOC and links sections at the end. Great article!"

Silver Award Winner

 

Noah StahlPowerShell & System Center Orchestrator - Best Practice TemplateEd Price: "Great template with a lot of details! Could benefit from a Conclusion and link sections at the end. Fantastic article that's very clear!"
TN: "excellent article providing PoweShell template for Orchestrator"

Bronze Award Winner

 

Daniel ÖrnelingCapacity planning in Azure Operational InsightsEd Price: "Good introduction, use of images, and wrap up! Could benefit from a TOC."
TN: "helpful article on capacity planning "


 

Guru Award Transact-SQL Technical Guru - April 2015  

Gold Award Winner

 

Saeid HasaniT-SQL: Check Database Consistency Using Visual Studio SSDTEd Price: "The images are a lot of fun! This is a very clear article that's easy to follow! Great job!"
Durval Ramos: "Good solution, mainly to find differences in large scritps. A step-by-step with images and code that really makes it clear. "
Richard Mueller: "A subtle issue. Grammar needs work."

Silver Award Winner

 

Saeid HasaniT-SQL: Two Reasons for Using Table Variable Instead of Temp TablesRichard Mueller: "Very interesting and instructive issue. Grammar should be improved."
Durval Ramos: "Interesting, we should appreciate the discussion about the issue."
Ed Price: "As Andy mentions in the comments: "I think there are times the various work rounds aren't attractive or available and it's good to be aware of the potential pitfalls rather than just use temp tables every time." Great article!"

Bronze Award Winner

 

Emiliano MussoExtending DATEADD Function to Skip Weekend DaysEd Price: "Great scenario that's well-exectued with beautifully formatted code!"
Richard Mueller: "Good solution for common problem. Needs references/links."
Durval Ramos: "Very interesting, but we have other similar articles on TNWiki. I believe is missing add a "See Also" section to enhance this article and others about the same issue."

Guru Award Visual Basic Technical Guru - April 2015  

Gold Award Winner

 

Emiliano MussoParse a JSON stream to show TechNet Medals on WPF ListBoxAnthony D. Green: "I really like the topic being covered. JSON seems like it's in every app now and it's good to see some examples of using it from within VB."
Ed Price: "Wow! Incredible depth in this article! "
Richard Mueller: "Outstanding example. This can be leveraged for other uses as well."

Guru Award Visual C# Technical Guru - April 2015  

Gold Award Winner

 

Andy ONeillC#: Local FilesEd Price: "Great, exhaustive article! Easy to navigate and great formatting!"
Carmelo La Monica: "Fantasctic article, very detailed in all parts."
Jaliya Udagedara: "Quite important article. Gives a thorough explanation on how you can use/access file system from the application and the limitations."

Silver Award Winner

 

Tom Mohan.NET 4.5 Read-Only InterfacesJaliya Udagedara: "Just great! Well explained set of important interfaces available in .NET 4.5 and beyond."
Carmelo La Monica: "Great topic, it' explain all part of Read-Only Interfaces."
Ed Price: "The diagram really pops! The embedded links add a lot of value!"

Bronze Award Winner

 

Yan GrenierC#: Serialization and Casting values with XDocumentEd Price: "Fantastic scenario with expert formatting!"
Jaliya Udagedara: "I really like this article. And the sample code can be downloaded from the TechNet gallery, which is great!"
Carmelo La Monica: "Great content and sample code C#."

  

Guru Award Wiki and Portals Technical Guru - April 2015  

Gold Award Winner

 

Ed Price - MSFTLive Meeting PortalDurval Ramos: "Very useful! We need to pull together even more articles about this Product."
PG: "Good starting point for Live Meeting & Lync"
Richard Mueller: "Another great addition to our collection of portals."

Silver Award Winner

 

Andy ONeillSilverlight Resources on the Technet WikiRichard Mueller: "Great collection of references"
Durval Ramos: "This article is interesting, has a very useful collection of links for developers and users. "
PG: "Good starting point for Slverlight resources"

  

Guru Award Windows Phone and Windows Store Apps Technical Guru - April 2015  

Gold Award Winner

 

Carmelo La MonicaWindows Phone 8.1: Sqlite (part two)JH: "Very, very detailed article with a lot of code snippets. Can't wait to see another part of the series."
Ed Price: "Another incredibly thorough article! It covers all the details, with code and images! Great formatting on the code snippets."

Silver Award Winner

 

Emiliano MussoMaking a Windows Phone App to read TechNet profile through JSONEd Price: "What an amazing article!!! The first sections were very clear. I love the prerequisites. And the code download and video at the end are incredibly helpful!"
JH: "This article combines two cool things: Our wiki and app development. If you got the time, play around with it."

Bronze Award Winner

 

Tom MohanVariableSizedWrapGridEd Price: "Great use of sections and embedded links! It would be good to divide See Also as Wiki articles and Other Resources as non-Wiki links. Great breakdown of the code snippets!"
JH: "Nice introduction about the usage of the VariableSizedGrid in Windows Store Apps."

  

Guru Award Windows PowerShell Technical Guru - April 2015  

Gold Award Winner

 

Noah StahlPowerShell & System Center Orchestrator - Best Practice TemplateChen V: "Very well documented and good explanation. "
Alan Carlos: "Great article!"
Richard Mueller: "Excellent. Great list if reasons why we want to use this. Should add references at the end in "Other Reources" and/or "See Also" sections. Good example code."

Guru Award Windows Presentation Foundation (WPF) Technical Guru - April 2015  

Gold Award Winner

 

Andy ONeillWPF: Change TrackingEd Price: "Incredibly thorough! Great breakdown of the code. Includes a link to download all the code and great link sections at the bottom!"
KJ: "nice - I love articles with well written base classes I can pull into my projects"

Silver Award Winner

 

Ayyappan SubramanianSimple navigation technique in WPF using MVVMEd Price: "Good code coloring and introductory sections. Could benefit from Headers, a TOC, formatting the code in blocks, and link sections at the end (like Download, See Also, or Other Resources), Great to have the TechNet Gallery download!"

Bronze Award Winner

 

Tom MohanWPF: MultiBinding and IMultiValueConverterEd Price: "The Download section at the end really makes it clear. The embedded links also provide a lot of great resources as you read through the article!" 


  

Guru Award Windows Server Technical Guru - April 2015  

Gold Award Winner

 

Darshana JayathilakeServer 2012/2012 R2 Server Manager, manage lower versions of Windows serversMark Parris: "Handy snippet to know."
JM: "This is a good article that could use an edit pass for grammar and clarity"
Philippe Levesque: "Great tip ! and well illustrated too. Thanks !"
Richard Mueller: "Good information to know. Needs references/links, such as a See Also."


As mentioned above, runners up and comments were removed from this post, to fit into the forum's 60,000 character limit.

You will find the complete post, comments and feedback on the main announcement post.

Please join the discussion, add a comment, or suggest future categories.

If you have not yet contributed an article for this month, and you think you can write a more useful, clever, or better produced wiki article than the winners above, here's your chance! :D

Best regards,
Pete Laker

More about the TechNet Guru Awards:


#PEJL
Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over toTechNet Wiki, for future generations to benefit from! You'll never get archived again, and you could win weekly awards!

Have you got what it takes o become this month's TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!

How to perform left restricted join in Merge join transformation?

$
0
0

Hi Everyone,

I have two xml source and i need only left restricted data.
how can i perform left restricted join??

Thank you.


Using the Data Streaming Destination

$
0
0

Does anyone know the right combination of server/tools is required to use the Data Streaming Destination?

I am using Visual Studio/SSDTBI 2012 for package creation and deploying to a SQL Server 2014 catalog.

When I validate the package in Visual Studio, no errors or warnings are generated. When I validate the package in the catalog, the following errors occur:

"Data Flow Task:Error: The component metadata for ""Data Streaming
Destination, clsid {33D831DE-5DCF-48F0-B431-4D327B9E785D}"" could not be
upgraded to the newer version of the component. The PerformUpgrade
method failed.""Data Flow Task:Error: The component is missing, not registered, not
upgradeable, or missing required interfaces. The contact information for
this component is ""Exposes data in a data flow to other applications
via Microsoft OLE DB Provider for SQL Server Integration Services
(SSISOLEDB). The exposed data can be consumed by running queries on a
linked server that uses the SSISOLEDB provider.;Microsoft Corporation;
Microsoft SQL Server; © Microsoft Corporation; All Rights Reserved;
http://go.microsoft.com/fwlink/?LinkId=313934;0"".""Data Flow Task:Error: Data Streaming Destination failed validation and
returned error code 0xC0048021.""Data Flow Task:Error: One or more component failed validation.""Data Flow Task:Error: There were errors during task validation.""Data Flow Task:Error: The component is missing, not registered, not
upgradeable, or missing required interfaces. The contact information for
this component is ""Exposes data in a data flow to other applications
via Microsoft OLE DB Provider for SQL Server Integration Services
(SSISOLEDB). The exposed data can be consumed by running queries on a
linked server that uses the SSISOLEDB provider.;Microsoft Corporation;
Microsoft SQL Server; © Microsoft Corporation; All Rights Reserved;
http://go.microsoft.com/fwlink/?LinkId=313934;0"".""Data Flow Task:Error: The component metadata for ""Data Streaming
Destination"" could not be upgraded to the newer version of the
component. The PerformUpgrade method failed.""Data Flow Task:Error: The ""Data Streaming Destination"" failed to
cache the component metadata object and returned error code 0x80131600.""Data Flow Task:Error: Component Data Streaming Destination, clsid
{33D831DE-5DCF-48F0-B431-4D327B9E785D} failed to initialize due to error
0xC0047067 ""The ""%1"" failed to cache the component metadata object
and returned error code 0x%2!8.8X!."".""Data Flow Task:Error: The managed pipeline component""Microsoft.SqlServer.Dts.DataStreaming.DataStreamingDestinationAdapter,
Microsoft.SqlServer.DataStreaming.Dest, Version=12.0.0.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91"" could not be loaded.
The exception was: Could not load file or assembly
'Microsoft.SqlServer.DataStreaming.Dest, Version=12.0.0.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its
dependencies. The system cannot find the file specified.." 

The 64-bit msi was used to install the Data Stream Publishing components.

Any ideas if this combination of tools is supposed to work?


How to generate XSD file at runtime

$
0
0

Hello Everyone,

I'm generating XML file at runtime using c# code. Using the same XML file i want to generate XSD file at runtime.

How can i generate XSD  and pass the location value of XSD file in XML Source at runtime?

please give me sample code or reference.

Thank you.

Passing parameterised query through variable in SSIS

$
0
0

Hi

I have defined a variable Var_Query_SQL and passed the below query using expression but it is showing error. where am i going wrong.

"SELECT

       sample_id ,

       sample_time ,

       trans_date ,

       product = mh.[identity] ,

comments = s.m_smp_comment

  FROM

       dbo.sample s

       JOIN dbo.test t

          ON t.sample = s.id_numeric

       JOIN dbo.result r

          ON r.test_number = t.test_number

      where

        s.date_authorised IS NOT NULL AND

        (

        s.date_authorised >="

+ @[User::Var_LastTimeStamp]+"OR

        t.date_authorised >="

+ @[User::Var_LastTimeStamp]+"OR

        r.date_authorised >="

+ @[User::Var_LastTimeStamp]+")"


SSIS Logging from SQL Agent job

$
0
0
Logging tab in Job Step property for SQL Server Intergration Services Package type


What this logging? if i enable it to store in SQL Server provider

Thanks
V

Conditional Split expression for boolean values

$
0
0

Hi,

I have a field 'IsActive' which is bit type either 1 or 0. And in my package, the conditional split must be set something like

IsActive==0

And throws exception that condition evaluated as NULL where Boolean was expected. How i can make this work?

Thanks for any help.




Unable to update "Packet Size" parameter in Connection Manager

$
0
0

Hi, 

I have an expression based project connection manager in an existing package and updating Packet Size parameter. After update and clicking on OK, Packet Size value reverts back to 0 (which is old value). This connection manager is used by lot of Dataflow tasks in my package and recreating the connection manager and updating the reference is not a viable option.

Can you let me know what is the issue and how can I update it?

Thanks,

K K

2012 package deployment

$
0
0

Hi, I have 100 packages and i came to know that i cannot deploy individual packages under "integration service catalog->ssidb"

If I have to do project deployment, most of them are different packages it means different functionality. I have to create at least 60 different projects to handle 100  packages.

Assuming, am going with project deployment, how do I make one single destination connection string? Where I can go ahead and simply change ipaddress of dev/ uat / prod. Is it possible? If yes, one more thing, there are few jobs having same time scheduled. If i use one connection string will that not be a problem?

SSIS Custom task - drop down list in the UI window

$
0
0

Hi,

    I'm writing my first SSIS custom task. I have added Public properties, which appear in the standard task properties window, and to one of them I have added an EditorAttribute as follows:

    <Category("General"), _
    Browsable(True), _
    EditorAttribute(GetType(UIFileNameEditor), _
    GetType(System.Drawing.Design.UITypeEditor))> _
    Public Property FilesToArchive() As String
        Get
            Return Me.m_FilesToArchive
        End Get
        Set(value As String)
            Me.m_FilesToArchive = value
            If m_FilesToArchive.Length > 0 Then
                m_FolderToArchive = String.Empty
            End If
        End Set
    End Property

When I select the FilesToArchive property in the Properties window, I get an ellipsis that appears in the property value. When I click on the ellipsis, it brings up the FolderBrowserDialog, which is defined in the UIFileNameEditor class. This all works fine.

What I want to do is to bring up the EditorUI, the one you get when you double click on the task, and also populate that with properties which can be edited. I have a class which inherits DTSBaseTaskUI, which is displayed when I double click on the task.

I can also get properties to be displayed in that UI but I cannot get them to be editable in that UI, using the same technique as in the standard Properties window, as described above.

Can anyone help please?

Thanks,

Kevin

 

Split delimited values into multiple columns.

$
0
0

Greetings. I was to split each record into multiple columns. The problem is some records need to be split into only 1 column, others may need to be split into more. Also need to remove the "/"'s. This is all dependent  on where a "/" is found. Been beating my head for a while and getting nowhere.

So:

create table #foo (myPK int, c1 nvarchar(425))

insert into #foo values (1,'/folder1')
insert into #foo values (2,'/lvl1/folder2')
insert into #foo values (3,'/folder1/lvl2/folder3')
insert into #foo values (4,'/f1/folder2/lvl3/fldr4')

Should return as:

folder1
lvl1folder2
folder1lvl2folder3
f1folder2lvl3fldr4

Ideas?


Thanks in advance! ChrisRDBA


SSIS Package OLEDB Source Timeout property is not working

$
0
0
I am trying to use timeout property on OLEDB Source in SSIS package, i set timeout property to 60 seconds and i know my source query takes 1 hour to finish. After setting timeout property i executed the package but package/OLEDB source didn't stopped executing.

Vinay


ssis packages deployment error 2012 :Microsoft SQL Server, Error: 27203

$
0
0

HI .

  when i was  deploy the ssis packages in same server  vs 2012. am facing  this issue : and how can solve the  this issue . please provide me another way of deployment in ssis packages.  

Microsoft SQL ServerError27203,

SSIS ADO.NET Connection Configuration with MySQL

$
0
0

Hello,

I am trying to configure ADO.Net Data Source within SSIS. Although I cannot seem to access the databases.

Any tips on what may need to be required with configuration setup ? I thought all was set up correctly:


John

Error in deploying ispac file

$
0
0

Can someone help me with the below error please :

I am using a batch file to execute the cmd line which deploys the package. It is showing me the below error:

Unhandled Exception: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notifi cation from a service application.    at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)    at Microsoft.NetEnterpriseServers.ExceptionMessageBox.Show(IWin32Window owner)    at Microsoft.SqlServer.IntegrationServices.Wizard.Common.WizardMessageBox.Show(IWin32Window owner, Exception error, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, String helpLink)    at Microsoft.SqlServer.IntegrationServices.Wizard.Common.WizardMessageBox.Show(IWin32Window owner, Exception error, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton)    at Microsoft.SqlServer.IntegrationServices.Wizard.Common.WizardMessageBox.Show(Exception error)    at Microsoft.SqlServer.IntegrationServices.Deployment.Program.Main(String[] args) 

Error in deploying ispac files in SSISDB in Silent mode

$
0
0

I am trying to deploy an ispac file in SSISDB and it is throwing the below error.

Please be aware that this is being taken place in Server. If i manually log in to server and run this using CMD , it successfully deploys the file. But upon using a tool, it throws an error.


ISDeploymentWizard /S:+ /ST:File /SP:"C:\TFS\RDMS\CA SQL\RELEASE\DEVPERF2014WW20\2014WW20\PERFORMANCE\Test.ispac" /DS:"<<destination server name>>" /DP:"/SSISDB/EDW_Inbound_test/Test/" 

Any help will be appreciated.

Unhandled Exception: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. 
  Specify the ServiceNotification or DefaultDesktopOnly style to display a notifi cation from a service application. 
     at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)    at Microsoft.NetEnterpriseServers.ExceptionMessageBox.Show(IWin32Window
 owner)    at Microsoft.SqlServer.IntegrationServices.Wizard.Common.WizardMessageBox.Show(IWin32Window owner, Exception error, 
 String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, String helpLink)   
  at Microsoft.SqlServer.IntegrationServices.Wizard.Common.WizardMessageBox.Show(IWin32Window owner, Exception error, String caption,
   MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton)    
at Microsoft.SqlServer.IntegrationServices.Wizard.Common.WizardMessageBox.Show(Exception error)   
at Microsoft.SqlServer.IntegrationServices.Deployment.Program.Main(String[] args) 


Data comparison between two tables

$
0
0

Hi,

I have a requirement to compare data between two tables in SQL Server.

What is the fastest way to do it using SSIS? There are approx 6~7 millions of records in each table.

My solution: Read both the tables and store the data in Object Type variable. Then run an except query. But I am stuck at except query part. How do I implement it?

Any other solution using SSIS is also welcome which can serve the purpose.

Regards,

Ayush

Viewing all 24688 articles
Browse latest View live




Latest Images