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

Please HELP --- Outlook error message - Class not registered

$
0
0

About a month ago, my computer upgraded itself to windows 10... I don't mind it - just takes a little getting use to..

I use Microsoft Outlook for my emails & since the upgrade I get an error message every time I click on any link within an email..  

For instance, I recently got an email from Covermore & When I clicked on their web link within the email I got the following error message.. (General failure. The URL was: 'http://www.covermore.com.au/". Class not registered)..

Why do I keep getting these Class not registered errors & how do I fix this..



compatibility of excel source

$
0
0

Hi All,

I have developed the ssis package in VS 2008. source is excel, loading to SQL table. It works fine in Development environment.

Now can i run the package in - SQL SERVER Deployment utility 2014? Do I need to do any code changes or upgrade package to 2010? Please advise.

I am trying to run the package from Deplyment utility 2014- having OS - WINDOWS SERVER 2012 R2 

Getting below errors. Please advise.

The requested OLEDB Provider SQLNCLI10.1 is not registered. If 32 bit driver is not installed
0x80040154 : class not registered.

acquire connection manager failed with error code 0xC0209302.

Destination - error code 0XC020801C

CAN WE RUN THE PACKAGE WHERE MS OFFICE IS NOT INSTALLED.(BECAUSE SOURCE IS EXCEL)??


Thanks,

Raghavendra 

Visual Studio 2015 with SSIS. Where are the variables?

$
0
0

I have found a lot of blogs etc showing how to work with variables in an SQL Execute Task widget but very few sites that deal with parameters outside of that scope and none of the pages I have found match the environment I am working with, the directions don't work.

I have visual studio 2015 and want to create a dynamic variable based on the System::StartTime (the time the SSIS package started) and other dynamic variables.

Where can I see a list of system variables?  How am I to reference them?

thanks.

Transforming output presentation (columns and rows)

$
0
0

Greetings,

I need some assistance in understanding how I can use SSIS to transform the presntation (rows and columns) of my current query into the required format. The pictures below explain what I am tying to do.  Pivot/unpivot?  or, do I need something more creative to achieve this?  Many Thanks for your guidance!!!

windows update

$
0
0
i have updated my lumia 535 now and all the process have completed so its asked me restarted  its not starting my phone so tell me what should i do now

odata source component in VS 2015 SSISDT

$
0
0

Hi,

where can i find the odata source component for SSIS 2016 to be used in VS 2015 SSDT ?

regards,

David

SSIS Foreach loop container dynamic file name and path, exclude file with more than a certain underscore

$
0
0

I have a Foreach File Enumerator that will read pdf files name from a folder and place the filename into database. However, i wan it to exclude reading filename that has more less than 3 underscore.

AAA_BBB_000004554_060420161906_S1234567H_M.pdf
AAA_BBB_000003345_060420161906_S9876543H_S.pdf
AAA_BBB_000008546_060420161906_S1234123H_V.pdf
AAA_BBB_201604.pdf
etc

AAA_BBB_201604.pdf should be excluded in the loop as the filename only has 2 underscore.

How can i archive that? i did some search and it seems like using expression is the key, but i had no idea how to do it. Kindly help thank you.

ssis source control

$
0
0

Hello,

Is there a free version of a source control I can use for projects?
i.e. TFS or VSS ?
Thank you


SSIS + ODBC question/problem

$
0
0
Hey folks,

I've got a simple SSIS package here.

It queries some MSSQL tables and returns a result set to an object, each row will have 3 fields. OrderId(INT), Shipper(varchar), TrackingCode(varchar).

When I run this through a foreach loop I can print out all the values inside a script task just fine.

When I feed these to an ODBC parametrized query

INSERT INTO table (order_id,shipper,tracking_code)VALUES(?,?,?)

The query ends up looking like this.

INSERT INTO table(order_id,shipper,tracking_code)VALUES(918403595, 'U', '1')

Where U should be UPS and 1 should be 1Z1234DFGDE123

The variables that store these values are set to int for order_id (this one inserts fine), and strings for the other two.

They are mapped to SQL_VARCHAR inside the sql execute task, and the mysql columns are VARCHAR

Anyone have any advice? I am sorta stumped here..

Limitations on CSV & SSIS?

$
0
0

I have a large? CSV file of 12mb where the data, among the 30 columns or so, is essentially split up into two columns. Furthermore, to avoid conversion problems, I set the connection manager's column properties to DT_TEXT. Oddly enough, I noticed that my packages would not run past the Pre-Execution stage because they would just hang!!After troubleshooting a number of issues, from SSIS coding, to potentially damaged files, to SQL Server's transaction blocks...nothing would stop it from hanging. After several days of this, I was at my wits end, and angrily set the connection manager's column properties to DT_STR(50) across all my columns just to see if the package was broken.

Would you know that it worked? After a few tests, sure enough, SSIS will hang if I have too manycolumns set to DT_TEXT in the Source Manager! What the exact number, I have not tested since I'm tired and hungry and upset with Excel...which seems to me to be extremely finicky with SSIS 2012.

Does anyone know why DT_TEXT is so unstable and what the limitations on using DT_TEXT are? I'm still shocked knowing that SSIS makes it so damn hard to use Microsoft's own Excel files...

Any insight would be much appreciated.


How to check sql connection in ssis package

$
0
0

Hi

I want checking  sql server connection before run query and execute task. how can i check it?

thanks

Running .NET 4.5 code from SSIS at NET 4?

$
0
0

I wrote some code that scanned directories for .zip files and unzipped them using ZipFile Class at .NET 4.5. I decided to put it into a job flow in SSIS. When I went to add references for System.IO.Compression and System.IO.Compression.FileSystem they weren't in the list, then I noticed that our version of SSIS was running .NET 4.

Is there a way to run the code with its references to 4.5 some other way than to run it in a Script Task limited to v4? Unfortunately we can't use CLRs or run "commands" from SQL where I work.

Thanks...


Jnana Sivananda

decrypt xml node failed on loading master package

$
0
0

Hi.  We run 2012 enterprise.  When I open my project on a different machine than the one I used to create the project,  I get the following warnings.  I'm concerned about 1) checking in source from different machines, 2) what is going to happen when we run this in production.  All of the project params are sensitive=false and required = true.  The master package stageprototype.dtproj has no pkg params and no configs.  What is this all about?  The project's protection level is encryptsensitivewith user key but as far as i know there is nothing sensitive in this collection of master and sub packages.  I'm concerened that id I change this to dont save sensitive, I'll be looking for a needle in a haystack, specifically the thing or things ssis thinks are sensitive right now.

Warning 1 Warning loading StagePrototype.dtproj: Warning: Failed to decrypt an encrypted XML node. Verify that the project was created by the same user. Project load will attempt to continue without the encrypted information.  StagePrototype.dtproj 0 0

 
Warning 2 Warning loading StagePrototype.dtproj: Warning: Failed to decrypt sensitive data in project with a user key. You may not be the user who encrypted this project, or you are not using the same machine that was used to save the project. If the sensitive data is a parameter value, the value may be required to run the package on the Integration Services server.  StagePrototype.dtproj 0 0 

use variable in child package which is set in parent package

$
0
0

Hi
using ssis 2012

1- In parent package, there is a variable called vFileNameFullPath
2- This variable is assigned using variable1 and variable2
3- Parent package calls child package
4- How can child package use the variable vFileNameFullPath ?

Thank you

SQL SSIS log location

$
0
0

Hi All,


SSIS package execution can be viewed from SQL Server management console by right clicking on package and viewing reports. 
Is this data pulled from some table? Is this data also gets stored in any log file on the disk?

or is there a log file location for SQL Server integration service that captures packages execution history?

Thanks
Manish


Manish


Derived column task for date as string data with multiple criteria

$
0
0

Hi,

My source as multiple date columns like AsOfDate, PaymentDate, ExpectedDate. All of them come into table as varchar.

This data sometimes can be null, empty or populated as 000000. If it is populated then it comes as 060616 (6 digits). The output file expects:

For example:

If PaymentDate is null or empty or 000000, check ExpectedDate.

If ExpectedDate is also null or empty or 000000, check AsOfDate.

If AsOfDate is also null or empty or 000000, then use currentdate.

Final result of date should be in YYYYMMDD format as varchar.

How can I do all these checks and get proper date in Derived column task.

Thanks

SSIS Gurus! Where are you!?

$
0
0

Behold! It's the June TechNet Guru Contest!

Your chance to get your name known, raise your profile, get credit where credit is due!

Yes my friends, this is your chance to get listed along-side some of the industry's greatest community heroes!

All you have to do is add an article to TechNet Wiki from your own specialist field. Something that fits into one of the categories listed on the submissions page. Copy in your own blog posts, a forum solution, a white paper, or just something you had to solve for your own day's work today.

Drop us some nifty knowledge, or superb snippets, and become MICROSOFT TECHNOLOGY GURU OF THE MONTH!

This is an official Microsoft TechNet recognition, where people such as yourselves can truly get noticed!

HOW TO WIN

1) Please copy over your Microsoft technical solutions and revelations toTechNet Wiki.

2) Add a link to it on THIS WIKI COMPETITION PAGE (so we know you've contributed)

3) Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.

If you win, we will sing your praises in blogs and forums, similar to the weekly contributor awards. Once "on our radar" and making your mark, you will probably be interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!

Winning this award in your favoured technology will help us learn the active members in each community.

June's articles are with the judges, but below are the previous month's mighty winners and contenders!

Guru Award BizTalk Technical Guru – April 2016 
Gold Award WinnerEldert GrootenboerUsing BizTalk Deployment Framework with MSBuild to bypass reserved placeholdersJS: “BTDF if getting quite popular. Nice to see some advanced use cases.”
LG: “Good practical tip. Thank you sharing!”
Sandro Pereira: “Well written, excellent article for BTDF lovers”
Silver Award WinnerSMSVikasKIntegration Between Microsoft BizTalk Server 2013 & Microsoft Dynamics CRM Online 2016LG: “BizTalk Dynamic CRM is a very hot topic.”
JS: “Microsoft CRM’s API is very (maybe too :)flexible, this is a simple and expandable pattern to start a BizTalk integration app with. “
Bronze Award WinnerSandro PereiraBizTalk Server DevOps: Configuring Receive and Send Handlers in BizTalk Ports with PowerShellJS: “Great addition to BizTal’s PowerShell story. Super useful for VM provisioning and similar cases.”
LG: “Thank you sharing!”

Guru Award Forefront Identity Manager Technical Guru – April 2016 
Gold Award WinnerJeff IngallsManaging Contacts in the FIM/MIM PortalPG: “Wow, nice! Keep up the good work!”
Søren Granfeldt: “Good and detailed walk-through”

Guru Award Microsoft Azure Technical Guru – April 2016 
Gold Award WinnerSandro PereiraAzure Logic Apps: Dynamic Hello World using Azure Functions inside Logic AppsJH: “Good articles from Sandro this month. This one is a good entry into Azure Functions.”
AN:“Very good”
Silver Award WinnerBhushan GawaleAzure Remote Apps – In Depth WalkthroughJH: “Nice Azure Remote Apps walkthrough with a good mixture of text and pictures.”
AN: “Great walkthrough!”
Bronze Award WinnerJanshair KhanUnderstanding and Creating Azure Deployment SlotsJH: “Short overview about deployment slots. A little bit more on their usage would be great.”
AN:“Another great article!”

Guru Award Miscellaneous Technical Guru – April 2016 
Gold Award WinnerNamrah KhurramGetting started with the Raspberry Pi – A walk-throughRichard Mueller: “Great images and good explanation”
Silver Award WinnerSYED SHANUDraw MVC Pie Chart using WEB API, AngularJS and JQueryRichard Mueller: “More good images and code.”
Bronze Award WinnerJanshair KhanUnderstanding Docker for Absolute BeginnersRichard Mueller: “A great tutorial to explain what it is.”

Guru Award SharePoint 2010 / 2013 Technical Guru – April 2016 
Gold Award WinnerNathanaël StassartSharePoint 2013 – Crawl file shares beyond the 260 MAX_PATH limit – Issue with ErrorID 808 829 – The object is not foundTN: “This article is extremely helpful providing real-world experience when working with fileshare”
Silver Award WinnerWaqas SarwarSharePoint 2016 Rename Site Collection URL Best PracticeTN: “Great article in SharePoint 2016 which is very new to the community.”
Bronze Award WinnerNathanaël StassartSharePoint 2016 – Crawl Error List [ErrorID]TN: “Thanks Nat”

Guru Award Small Basic Technical Guru – April 2016 
Gold Award WinnerNonki TakahashiSmall Basic: FlickrMichiel Van Hoorn: “Nice to see updated doc”
DEVA: “Great one Nonki. You rock onemore time…!!”

Guru Award SQL BI and Power BI Technical Guru – April 2016 
Gold Award WinnerGreg Deckler (Fusion Alliance)Power Query: Using Recursion to Solve Hex to Decimal ConversionPT: “A very good wiki contribution. Thank you! This post is deep and specific to solve a particular challenging issue.”

Guru Award Transact-SQL Technical Guru – April 2016 
Gold Award WinnerNatig GurbanovSql Server: Using Parameterized FunctionsJS: “”
Richard Mueller: “Interesting code. Grammar needs work.”

Guru Award Universal Windows Apps Technical Guru – April 2016 
Gold Award WinnerRavindra Singh ChhabraHow to install native Service into Windows 10 mobileRC: “Great work”
Silver Award WinnerManisha BiswasMicrosoft Hololens a walkthroughRC: “Very nice”
Bronze Award WinnerRavindra Singh ChhabraLocalization for Windows Universal AppsRC: “Another good one”

Guru Award Visual Basic Technical Guru – April 2016 
Gold Award WinnerEmiliano MussoCreate a versioning service with Visual Basic .NETCarmelo La Monica: “Congrats Emiliano, very goos article, image and video. Good work.”
MR: “Good walkthrough!”
Richard Mueller: “Very well explained. Great images.”
Silver Award Winner.paul.Vb.Net – Animations and MoviesRichard Mueller: “Well written and an interesting topic.”
MR: “Great little utility!”
Carmelo La Monica: “Great, very useful for to create animation with images. Congrats!”

Guru Award Visual C# Technical Guru – April 2016 
Gold Award WinnerSibeesh VenuHow To Create Dynamic Angular JS Tabs In MVCJaliya Udagedara: “Great article with a step by step explanation. Love the fact that it’s using Angular Material. Hint: You can upload the sample code to MSDN Code Gallery. “
Silver Award WinnerSYED SHANUC# Winform Animated Image Slide Show in WinformJaliya Udagedara: “Good article with images and code snippets. And the sample code is available for download from MSDN Code Gallery.”
Bronze Award WinnerSibeesh VenuProgrammatically Extract or Unzip Zip,Rar Files And CheckJaliya Udagedara: “Good article explaining the whole process including file upload and file extraction. You can always use MSDN Code Gallery to upload the source code, so anyone can view/download from there.”

Guru Award Windows PowerShell Technical Guru – April 2016 
Gold Award WinnerVZSandzWindows MAK activation with PowerShellJan Egil Ring: “Nice start, needs a polish”
Richard Mueller: “Good code to know about. Grammar needs work.”

Guru Award Windows Presentation Foundation (WPF) Technical Guru – April 2016 
Gold Award WinnerAndy ONeillHide The Visual Studio 2015 Update 2 In App MenuLL: “Thanks for the top Andy”
Peter Laker:“Thanks Andy”

Guru Award Windows Server Technical Guru – April 2016 
Gold Award WinnerNathanaël StassartAD FS 4.0: Discover, Setup and Publish Application: Part1Mark Parris: “Good Information on ADFS v4.”
JM: “Your two articles on Web Application Proxy are excellent, thanks for your contribution”
Richard Mueller: “Great code and good images.”
Silver Award WinnerAvendilActive Directory: Transferring and Seizing the RID Master roleRichard Mueller: “Great use of Wiki guidelines, great references and links. Very important information to know. I like the detailed steps and alternative methods. And I love the cross-links. An excellent article.”
Mark Parris: “PowerShell replacing the GUI process, handy to have in Onenote.”
JM: “This is a great article on the RID Master role, thanks for your contribution”
Bronze Award WinnerKia Zhi Tang (Ryen Tang)Nano Server: Deploying PHP 7.0.6 on Internet Information Services (IIS) Web ServerRichard Mueller: “Very good references and lots of good code.”
JM: “This is an excellent article on Nano Server, thanks for contributing”
Mark Parris: “Good Insight.”

Thanks in advance!
Pete Laker


#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!

Interop issues only seen when running through SQL Agent

$
0
0

I have a SSIS package that generated a 9 MB workbook, then runs a script task that deletes a single row.  When running in BIDS it works no matter how big the file is.  When I run it in SQL Agent with a small sample set of the data it works.  When I run the full report through SQL Agent, I get the message "Document not Saved"

I have tried changing the save to a save s, and still get the same error. 

Appears that the script cant save a large file, but works fins with the smaller file.

Win 2008 R2

SQL 2012

Interop - Microsoft Excel 15.0 Object Library

C# script

Conditional Split

$
0
0

Hello, I have a situation. I have used a merge join (to be specific, an inner join) on Column solicitation_id. I have renamed the column solicitation_id from source as src-solicitation_id. Now I have used the following condition to get the matching output

(!ISNULL(solicitation_id) && !ISNULL(src-solicitation_id) && src-solicitation_id==solicitation_id).

There are an approximate of 140 matching rows and there are 170 million rows in the source of merge join. But, I see more than 140 million rows flowing out from the conditional split. Can any one explain why? What should be the correct expression?

Rounding to a whole number and adding commas back

$
0
0

Greetings,

I am finally ready to send my data t a flat file except for some display issues. I am trying to round my numbers in a derived column but end up with trailing zeros. My goal is to:

1, Round thee revenue/budget figures to whole numbers (nearest dollar)

2. Add commas back to these figures 

I then intend to create a flat file so that these numbers can be displayed on a proprietary dashboard. I'm a little worried about adding commas to these values since I will be exporting this to a comma delimited flat file as my last step.

Any suggestions on how to round and remove trailing zeros, and then how to add the commas back to these numbers.. with derived columns?  Will adding the commas back make the flat file export more challenging?

Many Thanks!

Viewing all 24688 articles
Browse latest View live


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