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

limited toolbox

$
0
0

Hi.  I'm gathering more details but we are rdp'ing into a computer where we are running vs 2008 plumbed to tfs for maintaining our ssis packages.  I went thru this exercise for the first time yesterday.  I checked out a pkg that has plenty of sql tasks in its control flow and plenty of oledb destinations in its many data flows.  

I attempted to insert a sql task in the middle of the control flow only to find that the tool box had none.  But it did have one under maint plans whose editor didnt behave like i expected.  I ended up copying and pasting another sql task and then modifying it.

Then i went to drag a data destination to a data flow only to find that only data sources were in the toolbox.

I rdp to this machine as myself (not admin).  Does the community have any ideas?  I'll post sql version (i think its 2008) etc as i collect more info.


ASCII to EBCDIC file conversion

$
0
0

Hi Experts,

I have a file in ASCII format which I have to convert to EBCDIC format using SSIS. One of the option would be to use script task however I am looking for any other option/solution. Please guide me on the same.

Note: Some of the column in output file would contain COMP and signed data.

Thank you!

Error code: 0x80040E05. SSIS using MDX SSAS Tabular data source OLEDB Connection

$
0
0

I have a data flow task that has an OLE-DB data source where I use MDX to select data from an analysis services instance, and ultimately dump back into a SQL table. 

Running the package locally works fine, and has never failed. Putting the package on our SSIS server, runs successfully once in awhile but fails most of the time with the 2 errors below: 

Error Number:   -1071636471

Description:        SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E05.

An OLE DB record is available.  Source: "Microsoft OLE DB Provider for SQL Server 2012 Analysis Services."  Hresult: 0x00000001  Description: "Error Code = 0x80040E05, External Code = 0x00000000:.".

Error Number:   -1073450982

Description:        failed the pre-execute phase and returned error code 0xC0202009.

Googling the top error: 0x80040E05, people are doing the same thing, and experiencing the same sporadic results. I've tried various suggestions, format=Tabular, validateExternalMetaData=False, etc. 

I also found this link which suggests we need to update our SSAS server to the latest version, so we did that yesterday: 

https://support.microsoft.com/en-us/kb/3140211

But it's still failing. The link suggests the SSAS instance needs the upgrade but i'm wondering if the SSIS server also needs the upgrade?

I'm wondering if they've fixed the issue, but i'm doing something wrong. Or if they thought they fixed the issue but didn't, and I need to explore alternate solutions. People have mentioned using an ADO.NET source instead of OLEDB. But if they've supposedly done an update to fix using OLEDB, I want to stick with OLEDB. 

Any ideas ?

Thanks ! 

Call SAP RFC program from SSIS Package

$
0
0

How do we connect and get data from SAP database using SSIS 2012/2014.

Currently we are extracting data using WebService, and BAPI function call for RFC, but it seems not so much reliable, due to timeout and others.

Can somebody help us ion providing the link for download of .NET Framework Data Provider for mySAP Business Suite

and some sample to invoke and get the data using SSIS.

Dynamic folder to choose using SFTP

$
0
0

I am following the below approach to download files from a server using SFTP.

http://www.codeproject.com/Articles/845262/Using-WinSCP-and-SSIS-to-Download-files-from-SFTP

Its working fine for one scenario where my source folder name is like "/opt/var/fileint/pm/filename_YYYMMDD"

but in my other scenario i need to download files from multiple folders only common thing in these folders are the date.

 Eg.

TKKM1_0_data_2016-8-27-9-5-58_ImmdTask12

TKKMSC01_0_Userdata_2016-8-27-0-0-53_ImmdTask11

so how do i mention the folder name in the script. Below is the script I am using

Open sftp://username:password@hostname/ -hostkey=/"ssh-rsa XX:20:6e:6XX:e1:fe:5XX:37XX"
get /Export/nefile/ne_5/VLROutPut/TKKM*Data_*2016-8-27* E:\BI\INPUT_FILES\Daily\FTP

but my execute process task failed.

[Execute Process Task] Error: In Executing "C:\Program Files (x86)\WinSCP\winscp.exe" "-script=E:\BI\INPUT_FILES\IT\MAIN\Daily\EXE\VLR_Script.txt" at "E:\BI\INPUT_FILES\Daily\FTP", The process exit code was "1" while the expected was "0".


Sarvan

Values are missing when ssis etl run through job(project parameters issue)

$
0
0

We are fetching data from client oracle database to our sql server databse using query through ssis.

 

Below is the query and Here this 30 value is passing in query through ssis project parameter (noofdays is project parameter name) and we set the required option to true.

 

FROM  tablename(oracle)

  where   

 (  created >=   SYSDATE - 30

  OR changed >=   SYSDATE - 30    ) 

In job configuration, 5/1440 was given for parameter property in configuration of sql server agent job. Is this value correct and which value should be given? I think because of this values, it is not taking data for 30 days when job is running.

Note

What value should be given for 30 days for the parameter in configuration of sql server agent job.

 

Note

  1. Some rows values are not coming if we run the ssis etl through job.  If I stop job and run the ssis etl solution manually, then same row values are coming. Means the value which was given for noof days parameter in configuration of job may be wrong.
  2. I checked etl design and database and it seems those are fine.

tsrkreddy

how to connect SalesForce CRM server using SSIS connectors..

$
0
0

Hi Friends,

I have a small requirement, 

I want to connect Salesforce CRM Server from the SSIS..

Is there any Open Source connectors was there to connnect..

Are there any other way to connect to the salesforce using SSIS....

Please help me on this..

How to do incremental loading using SSIS

$
0
0

Hello,

I have been working on one business scenarios where we have 200 table (Normalized database at 3rd level). We need to migrate incremental data from server (a) to server (b). Following need to be implemented

1) Both server database are same.

2) Migrate data(Incremental) for all tables from server (a) to server (b)

3) Purge all information from source database except to identity column (using for reference integrity) 

4) This need to be performed daily frequency

Please assist me best approach.

Thanks,


Kapil Dev


Release data source connection

$
0
0

How can I release a data source connection after an execute SQL task?

I use the SQL task to determine if a column exists and I then call either one of two package tasks which re-sue the same source file. I assume I must release the connection on post execute of the SQL task.

SSIS Script Task Error through SQL Server Agent Job - The package execution returned DTSER_FAILURE (1).

$
0
0

Hello Everyone,

I badly need help here. I tried various suggestions from different posts in msdn and others , but nothing work out . I have created a package using SSDT for VS 2013 which has  a script task with VB 2012 code which refreshes Excel workbooks which in turn pull the data from tabular cubes. This works fine when executed in Visual studio. But fails everytime with below error , when run through SQL server agent Job 

Error - 

Executed as user: *****. Microsoft (R) SQL Server Execute Package Utility  Version 12.0.4100.1 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  4:12:44 PM  Error: 2016-08-17 16:13:35.23    Code: 0x00000001     Source: FileName      Description: Exception has been thrown by the target of an invocation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  4:12:44 PM Finished: 4:13:35 PM  Elapsed:  50.562 seconds.  The package execution failed.  The step failed.

Couple of suggestions i have tried 

1) Made sure that the Proxy account has read/write access on the folder where the excel file is present

2) Followed instructions in the below thread and created this folder - C:\Windows\SysWOW64\config\systemprofile\Desktop

https://social.msdn.microsoft.com/Forums/en-US/b81a3c4e-62db-488b-af06-44421818ef91/excel-2007-automation-on-top-of-a-windows-server-2008-x64?forum=innovateonoffice

3) Checked the option in job to run  in 32-bit mode

None of these suggestions work for me . Thanks in Advance. This would be a great help 


SG

Excel File Issue in SSIS -SQL Server 2014

$
0
0

We have a Master Package which runs in Default mode (64 bit). We also have child packages for different file formats such flat files, tab delimited and fixed width etc and there is also a package for loading excel files. We are executing Master Package from Command Line, a config file is used at the time of execution, the config file contains server name and database name. We are able to execute all packages successfully by executing the master package,  however we are having issue with the package that loads Excel Files.  We get this error

Below is the error we get

Connection manager "CON_EXCEL"     Description: The requested OLE DB provider Microsoft.Jet.OLEDB.4.0 is not registered. If the 64-bit driver is not installed, run the package in 32-bit mode. Error code: 0x00000000.  An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class not registered".  

To resolve the issue we tried to run the master package in 32 bit mode however we are getting the following error, we are not able to invoke any child packages when try to tun the Master Package in 32 bit mode

 SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E21.  An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040E21  Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".

Can you please share your ideas to resolve the Excel file load issue.  Any help would be greatly appreciated



SQLEnthusiast

Add identity value before doc name

$
0
0

I am renaming documents and part of the renaming process is that any new document has to start from the last identity value in an existing table. For instance, last identity value is 3425 and doc name is DocName and I want the final file name to be like 3425_DocName.txt.  Does anyone have any idea how I can go about implementing this in SSIS?

Thanks very much,

~In-

BULK INSERT error with severity level 16 were not caught by TRY / CATCH blocks

$
0
0

Hi, 

I am facing an issue with bulk insert from a CSV to database.  With try, catch block I cannot see any errors but when I execute without try catch block,  it gives following errors.

Msg 4864, Level 16, State 1, Line 1
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 2, column 10 (InActiveDate).
Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error.
Msg 7330, Level 16, State 2, Line 1
Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".

when I set MAXERRORS = 0, (referring to Bug id 592960) with in try catch block, it catches only the last error which is 

Msg 7330, Level 16, State 2, Line 1
Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".

How do I capture all the 3 errors?

Thanks,

Bhuvana

I am trying to deploy an SSIS package using Visual Studios 2013 with SSDT installed

$
0
0

The Integration Services Deployment Wizard returns the error below after "Loading project" passed, "Connecting to destination server" Passed, "Changing protection level" Passed then "Deploying Project" Failed with error below.

The path for 'ISServerExec.exe' cannot be found. The operation will now exit. A .NET Framework error occurred during execution of user-defined routine or aggregate "deploy_project_internal": System.Data.SqlClient.SqlException: The path for 'ISServerExec.exe' cannot be found. The operation will now exit. System.Data.SqlClient.SqlException: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnectionSmi.EventSink.DispatchMessages(Boolean ignoreNonFatalMessages) at System.Data.SqlClient.SqlCommand.RunExecuteNonQuerySmi(Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteToPipe(SmiContext pipeContext) at Microsoft.SqlServer.Server.SqlPipe.ExecuteAndSend(SqlCommand command) at Microsoft.SqlServer.IntegrationServices.Server.ServerConnectionControl.RaiseError(SysMessageId messageId, SysMessageSeverity severity, Object[] args) at Microsoft.SqlServer.IntegrationServices.Server.ServerApi.DeployProjectInternal(SqlInt64 deployId, SqlInt64 versionId, SqlInt64 projectId, SqlString projectName)


Thanks Rick

SSIS Gurus, step up and be known!

$
0
0

August Gurus step up and show us your knowledge on the latest and the greatest technologies Microsoft have to offer!

And for your efforts, eminent leaders in your technology will evaluate your contributions and award real virtual medals!

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.

Below are June's mighty winners and contenders!

 BizTalk Technical Guru – June 2016 
Gold Award Winner

SMSVikasKHow to Re-create BizTalk Server Project Artifacts from a DLL or an Assembly from an existing projectEd Price: “Great detail! Great job walking us through the images! Glad to have the code download link! As Shashidharan wrote in the comments, “Nice Article Vikas. Very helpful :)” Great job on this!”
Sandro Pereira: “Nice article, very useful! This problem happens more often that you can imagine. Another option will be BizTalk NoS add-in but is great to know other ways!”
SW: “Very useful and informative article.”
Silver Award Winner

Johns-305BizTalk Server: Sending Control Messages to Long Running ProcessesSW: “Excellent article!!!”
Ed Price: “Strong introduction and great use of images! Great to have the sample on MSDN Gallery! It could use a See Also section (links to other Wiki articles) and References.”
Sandro Pereira: “Great article.”
Bronze Award Winner

SMSVikasKBizTalk Custom Pipeline Component to Add, Update, Remove Target Namespace, Qualified Prefix for every elementSandro Pereira: “Again very useful article. This is a common problem and you will find several examples of pipelines to change the target namespace but I think this is the first time I see all 3 operations combined. However, I will follow a different approach and set a property to specify the operation in the pipeline for better clarification”
Ed Price: “Good job on this article. Good use of images and formatted code. Great to have the source code downloadable!”
SW: “Very useful and informative article.”

Guru Award Microsoft Azure Technical Guru – June 2016 
Gold Award Winner

Dileepa KariyawasamUse Azure Active Directory to Custom Brand Your Office 365 Sign In Page – Step by StepEd Price: “This is an incredibly valuable scenario that’s executed well! It could be improved with a TOC and References and See Also sections at the end.”
Silver Award Winner

ChervineSchedule PowerShell Scripts to Manage Azure Virtual MachinesAS: “The article represents good overview of the Azure Automation service. However it is suggested best practice to use service principals in Azure AD instead of a regular users. And use certificate to authenticate the service principal.”
Ed Price: “Wow! Fantastic solution, great write-up, good use of headers/sections, formatting, a diagram, images, code formatting, and a solid References section! As AS mentions, this could be improved with the Azure AD perspective. Great article!”
Bronze Award Winner

Michel JatobáConfiguring Client VPN PowerShell on Microsoft Azure (ARM)Ed Price: “Good job on this. The Introduction, “Configuring VPN Certificate” section, and use of images… really stand out. This article is similar to an Azure doc one (https://azure.microsoft.com/en-us/documentation/articles/vpn-gateway-howto-point-to-site-rm-ps/), but it’s done a little differently, and the images help. It could be improved with See Also and References sections at the end, as well, as little more refinement on the code formatting (which admittedly, should be easier to do). Good job on this. “

Guru Award Miscellaneous Technical Guru – June 2016 
Gold Award Winner

SYED SHANUMVC Dashboard with Chart using AngularJS and WEB APIPhilippe Levesque: “Excellent ! The use of animated gif is really good”
Richard Mueller: “Lots of well thought out code. Grammar needs work.”
Ed Price: “Powerful article with a great use of code! The images won’t show for me. I love the Download section at the end for the MSDN Gallery item!”
Silver Award Winner

Santhakumar MunuswamyDisqus Integration in Asp.Net MVCEd Price: “Beautiful job with the structure, images, and code. Good to have the reference link. ”
Richard Mueller: “Good images. We need more references.”
Philippe Levesque: “”
Bronze Award Winner

Dileepa KariyawasamOffice 365 Journaling Workaround – How to GuideRichard Mueller: “Interesting solution. I like that this is not first person or personalized. Could there be references?”
Philippe Levesque: “”
Ed Price: “Also a good topic. This could be improved with section headers, and with See Also and References sections. Great use of images!”

Guru Award SharePoint 2010 / 2013 Technical Guru – June 2016 
Gold Award Winner

Waqas SarwarSharePoint 2016 Site Use Confirmation and Deletion( real world example)Hezequias Vasconcelos: “It is an excellent content for file management. Helps administrators manage and better optimize disk space in the database.”
TN: “That’s ok to be published even it’s a very basic article”
John Naguib: “Good one”
Silver Award Winner

Waqas SarwarSharePoint 2016: Checklist for Successful InstallationJohn Naguib: “Good CheckList, it is better to upload as excel ”
Hezequias Vasconcelos: “It is an excellent content for SharePoint 2016 installation management I miss about updates to the SQL, and Windows SharePoint and Language packs that are important also in the installation of products. Reference: https://technet.microsoft.com/en-us/library/mt715807(v=office.16).aspx”
TN: “That’s ok to be published even it’s a very basic article”
Bronze Award Winner

Waqas SarwarSharePoint 2016 Managing Registered Accounts and Shell Admin access( Real World Example)John Naguib: “Nice article”
Hezequias Vasconcelos: “Perfect maintenance and account management in SharePoint 2016. Good Job.”
TN: “That’s ok to be published even it’s a very basic article”

Guru Award Small Basic Technical Guru – June 2016 
Gold Award Winner

Nonki TakahashiSmall Basic: MouseEd Price: “I love this series! Nonki takes us end to end on using the mouse in Small Basic. I love the definition! Very strong See Also section.”
Michiel Van Hoorn: “Nonki again delivered a great article on a SB function (MOUSE). Very useful if you want to interact with mouse”
Carmelo La Monica: “I don’t know small basic, but this is good point to learn. Congrats.”
Alan Carlos: “”
Silver Award Winner

DevaSmall Basic VideosCarmelo La Monica: “Very good videos, good fo to learn Small Basic. Congrats for all videos.”
Alan Carlos: “Good guidance, very helpful!”
Michiel Van Hoorn: “Nice overview of available videos”
Ed Price: “Great to have this list on the Wiki! Thanks!”

Guru Award SQL BI and Power BI Technical Guru – June 2016 
Gold Award Winner

Thomas LeBlancAnalysis Services: Solving Hierarchy Errors of UniquenessPT: “Thanks for the article, Thomas. You’ve explained the use case and steps for creating a hierarchy very plainly. This is a good piece.”
Ed Price: “Great scenario and use of images! It could be improved with headers and a TOC, and with References and See Also sections at the end. This is a powerful topic.”
Silver Award Winner

Sudeep RajIntegration Services: Using DB Mail to send HTML format mailPT: “Thank you for explaining this technique; simple and effective.”
Ed Price: “Fantastic topic from Sudeep, with solid colouring on the code formatting! Could be improved with References and See Also sections.”
Bronze Award Winner

Jens VestergaardExtracting SSAS MD Database(s) XMLA w/ PowerShellPT: “This is a useful script that I’ll probably use in the future. This is a good start but the post could use a little more structure to be complete; an introduction, objective statement and conclusion. Thanks for your contribution.”
Ed Price: “Good PowerShell solution. Could benefit from more of a breakdown of the code. “

Guru Award SQL Server General and Database Engine Technical Guru – June 2016 
Gold Award Winner

Hezequias VasconcelosSQL 2016 – Install SSMS Management StudioUR: “Why is an installation instruction of an “old” version of SSMS in June a WIKI? The latest version isn’t a preview anymore. An installation step by step isn’t worth a WIKI entry. I would have seen more details about the differences between SSMS 2016 previous version. What are the differences? What will work better? What (and there is a lot!) is not working good?”
Ronen Ariely: “A great subject for article. Screenshot images of each step helps simplify the instructions, makes the article more useful for new users. There is some room for improvement. See article comment section.”
Silver Award Winner

FLaufferSQL Server Troubleshooting: How to remove a bad execution plan from plan cacheRonen Ariely: “A nice article of a simple case study and a solution. It’s very short and has potential to be even better with a bit more expansion”
UR: “I am missing a more detailed explanation WHY a plan can go wrong. Basically it is more “story around DBCC FREEPROCCACHE”.”

Guru Award System Center Technical Guru – June 2016 
Gold Award Winner

Digvijay S RajawatSCVMM 2012 R2 & Hyper-V: Storage Migration in Microsoft Private CloudEd Price: “Wow! Great formatting and sections. Very good use of tables. Could use a See Also section (to link to other Wiki articles). The processes are very clear and incredibly detailed. Fantastic article!”
Carmelo La Monica: “Fantastic topic, very nice in all parts, good images explain in all parts. Good”
Alan Carlos: “Nice article! Congratulations!”
Silver Award Winner

C Sharp ConnerSCORCH – Custom Activity OIP Limitations – C# EditionCarmelo La Monica: “I read this article, i don’t know System center, but is very detailed in all part.”
Alan Carlos: “”
Ed Price: “Good list of limitations. It would have been good to get into the code too. Another good topic!”
Bronze Award Winner

C Sharp ConnerSolution – Install Fresh Data Warehouse on Post UR Updated SCSM EnvironmentEd Price: “A lot of great detail! This could be improved with sections. Great topic!”
Carmelo La Monica: “Good explain, good work. Congrats.”
Alan Carlos: “”

Guru Award Universal Windows Apps Technical Guru – June 2016 
Gold Award Winner

Carmelo La MonicaSerial Class for UWP Part oneEd Price: “Great article! Good topic, well-written, great breakdown of sections/headers/TOC, good use of images and code, and good requirements sections! It could use a See Also section at the end with links to related Wiki articles.”
Silver Award Winner

Santhakumar MunuswamyUnderstanding AppBar and CommandBar in UWPEd Price: “Great topic. Good write-up. Good use of images and code! It could be improved with sections/headers/TOC and with See Also and References sections at the end to link to other articles.”
Bronze Award Winner

Damien AllanLaunch your App Differently from Secondary Live TilesEd Price: “Short and sweet. Good use of code and reference links. Could use improved formatting and sections/headers.”

Guru Award Visual Basic Technical Guru – June 2016 
Gold Award Winner

.paul.VB.Net – QR Code CreatorEd Price: “I love the QR Code creator! Incredibly valuable. Great job with the code, formatting, and download!”
MR: “Nice and easy! Would love to know how to generate a QR code from scratch!”
Richard Mueller: “Very useful. Simple but effective code.”

Guru Award Visual C# Technical Guru – June 2016 
Gold Award Winner

Emiliano MussoEntity Framework Introduction using C#, part II – Code-First and MigrationsRonen Ariely: “Excellent article! I loved the idea of writing series of articles. Moreover, the author translated the articles into another language. Great use of the capabilities of the TechNet WIKI.”
Ed Price: “Wow. This is an amazing article! It has it all… a great topic, fantastic formatting with headers, great code formatting, good descriptions, screenshots, references, a link to the MSDN code gallery to download the code, and an Italian version! This is a high-quality article! Other writers (including myself) should look at this one for ideas of how to achieve quality!”
Jaliya Udagedara: “Now this is a fantastic article. Well explained, filled with images, code snippets and the full sample code is available in MSDN Code gallery. Awesome job!”
Silver Award Winner

Sabah ShariqSearching data in Elasticsearch using C#Ronen Ariely: “Great article. I really enjoyed to read it. posting the code ready for download is very useful.”
Ed Price: “Great job breaking down the sections and explaining the code! Could be improved with References and See Also sections. ”
Jaliya Udagedara: “Haven’t used Elastic search before and this article contains instructions for everything that you need to get started. Nice!”
Bronze Award Winner

Sibeesh VenuWorking with API help page controller action description in Web APIEd Price: “A good topic with solid code, but it would be good to breakdown the code more and explain it in chunks.”
Jaliya Udagedara: “If you are having trouble showing descriptions in Web API help pages, this article should help you out.”

Guru Award Wiki and Portals Technical Guru – June 2016 
Gold Award Winner

Carsten SiemensTranslation Wiki: Getting startedRonen Ariely: “This article gave me new information regarding the Translation Wiki Community. This information should be published in any communication channel we have. This is a “must to know” in my opinion.”
Ed Price: “I love it. This is a great process. Thanks to Carsten for building it and Peter for compiling, editing, and publishing!”
Richard Mueller: “Very informative. The images are good, but I had to zoom them. This must have required some research. Perhaps there should be a link to the blog site.”
Silver Award Winner

Peter GeelenWiki: Before you post your article – Quick check listRichard Mueller: “Great use of Wiki guidelines. An excellent guide for all Wiki authors with great advice. I like the emphasis on researching the topic, collecting links for references, and preparing offline.”
Ronen Ariely: “Very useful, very important, and most of all: I love the way it’s organized as a check list”
Ed Price: “This is a fantastic check list to go through before you get started! It will up the quality if we use this!”
Bronze Award Winner

Peter GeelenMicrosoft Security Compliance Manager (SCM) PortalRonen Ariely: “The TechNet WIKI based on portals as an index to navigate the website. This is nice list of articles that act as portal to the Microsoft Security Compliance Manager ”
Ed Price: “Great portal. Good job getting all these links compiled for us!”
Richard Mueller: “Great links. Maybe a few words would be useful.”

Guru Award Windows PowerShell Technical Guru – June 2016 
Gold Award Winner

Richard MuellerPowerShell: Problems with the -ne Operator in Active Directory CmdletsPG: “Nice article, good quality and nice to read. Great!”
Ed Price: “Wow! I love the quality here. You get a ton of explanation for each code excerpt. Plus the Return to Top links provide easy navigation. And it ends with immersive See Also and Other Resources sections!”
Silver Award Winner

Prashanth JayaramPowerShell-List-and-Export-Installed-Program(s)-Local/Remote-system(s)PG: “Except for some introduction, the scripts need more in depth explanation.”
Ed Price: “Love the sections! It would be good to break the code down more and activate the References links at the bottom.”
Bronze Award Winner

Digvijay S RajawatUse PowerShell to Create an Azure VM report with nice lookPG: “Nice quick tip, but please keep in mind that TNWiki is not a personal blog. Better remove the personalisation.”
Ed Price: “Good topic, but it could use more explanations. Good formatting on this article!”

Guru Award Windows Server Technical Guru – June 2016 
Gold Award Winner

Ryen TangNano Server: Deploying MySQL Database ServerMark Parris: “Nice compact article on the new technology that is Nano Server.”
Philippe Levesque: “Excellent article, easy to follow step and well-written!”
JM: “This is a great article on deploying MySQL on Nano, thanks for your contribution!”
Richard Mueller: “Good use of Wiki guidelines, with code, images, and references. Good to have detailed steps.”



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


Exchange Web Service SSIS C# - Data Item does not contain a definition..

$
0
0

I have a function that extracts emails from the inbox, reads them and assigns some of the values to the object. It all works fine when I do this in Win Form application, but when I copy and paste this code in the Script task in SSIS it fails. It errors in both places where Select is.

public MailItem[] GetUnreadMailFromInbox(ExchangeService service) { FindItemsResults<Item> findResults = service.FindItems(WellKnownFolderName.Inbox, new ItemView(200)); ServiceResponseCollection<GetItemResponse> items = service.BindToItems(findResults.Select(item => item.Id), new PropertySet(BasePropertySet.FirstClassProperties, EmailMessageSchema.From, EmailMessageSchema.ToRecipients)); return items.Select(item => { return new MailItem() { Recipients = ((Microsoft.Exchange.WebServices.Data.EmailAddressCollection)item.Item[EmailMessageSchema.ToRecipients]).Select(recipient => recipient.Address).ToArray(), Subject = item.Item.Subject, Body = item.Item.Body.ToString(), mailItem = item.Item, }; }).ToArray(); }

public class MailItem
        {
            public string[] Recipients;
            public string Subject;
            public string Body;
            public Microsoft.Exchange.WebServices.Data.Item mailItem;
        }

Error messages:

Error 1

'Microsoft.Exchange.WebServices.Data.FindItemsResults<Microsoft.Exchange.WebServices.Data.Item>' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'Microsoft.Exchange.WebServices.Data.FindItemsResults<Microsoft.Exchange.WebServices.Data.Item>' could be found (are you missing a using directive or an assembly reference?)

Error 2 

'Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.GetItemResponse>' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.GetItemResponse>' could be found (are you missing a using directive or an assembly reference?

There is the screenshot where the code is highlighted:

I have tried to play with framework versions and references, but nothing seems to help. Any ideas?

Visual Studio 2012, Framework 4.



How to retrieve data from CA IDMS database

$
0
0

As per my project requirement, we do have to connect to IDMS database to retrieve data through SSIS Package. I am not getting much help from the web regarding this!!. Please help me to get this issue solved.

Thanks in advance.


------------------------------------------------------------------------ Please mark it as complete, if you get the solution with this reply. TQ.


How to extracct data from SAP using SSIS 2012

$
0
0

Hello,

I need to extract data from SAP using SSIS 2012. Please could you let me know what all it take to achieve this. What could be the best approach.

Thanks.

SSIS: How to show NULL istead of blank/empty space when loading data to sql server

$
0
0

Hi All,

I need to load data from fixed width flat file to sql server table. The table screenshot is given below. There's blank data for LastName field in my flat file.

 

I'm able to load the data to sql server as blank space but I need to load it as NULL value. Here's the package.

Please see the expression in the derived column.

Then the data type of expression became Unicode String. Then I tried to connect DerivedColumn task to OLEDB destination, but it showed an error message."LName cannot convert between Unicode and Nonunicode". So, I have added data conversion task to convert DTWSTR to DTSTR. Then I connected it to OLEDB destination. And it worked without any error. But, still the data loaded as blank space , not as NULL value.

Thanks,

Julie

Microsoft DB2 OLE DB Provider Error 0x80040E00

$
0
0

Hello,

i have a strange issue using Microsoft OLEDB provider for DB2, I was migrating SSIS 2008 to SSIS 2012 the dataflow task with OLEDB Source which have error output configured are throwing error in 2012 where as works fine in 2008.

Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E00.
An OLE DB record is available.  Source: "Microsoft DB2 OLE DB Provider"  Hresult: 0x80040E00  Description: "Accessor is invalid.".

When i remove the error output everything executes fine, does anyone encountered this before? 

Thanks,

naveej

Viewing all 24688 articles
Browse latest View live


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