FIX: Text is truncated from the DTExec.exe output log file when WshShell.Exec is called if the StdOut stream is redirected

Article translations Article translations
Article ID: 2567304 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario:
  • You install Microsoft SQL Server 2008 Integration Services (SSIS 2008), Microsoft SQL Server 2008 R2 Integration Services (SSIS 2008 R2), or Microsoft SQL Server 2012 Integration Services (SSIS 2012)on a computer.
  • You redirect the StdOut stream of the Dtexec.exe utility to a log file.
  • An application calls the WshShell.Exec method to run Dtexec.exe that runs some SSIS 2008 packages.

In this scenario, the text of Dtexec.exe output log file is truncated when the SSIS 2008, the SSIS 2008 R2 and the SSIS 2012 packages run. The packages run successfully.

Cause

This issue occurs because Dtexec.exe cannot flush the StdOut stream.

Resolution

Cumulative update information


The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 17 for SQL Server 2008 SP3

Cumulative Update 1 for SQL Server 2012

Cumulative Update 7 for SQL Server 2008 SP2

Cumulative Update 3 for SQL Server 2008 R2 SP1

Cumulative Update 10 for SQL Server 2008 R2

Cumulative Update 16 for SQL Server 2008 SP1

About cumulative updates for SQL Server

Collapse this imageExpand this image
assets folding start collapsed
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Collapse this imageExpand this image
assets folding end collapsed

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More information

For more information about the Dtexec.exe utility, visit the following MSDN website:
General information about the Dtexec utility
For more information about the StdOut property, visit the following MSDN website:

General information about the StdOut property
For more information about how to redirect the StdOut stream to a file from a Visual C/C++ program, click the following article number to view the article in the Microsoft Knowledge Base:
58667 How to redirect the StdOut stream to a file from a Visual C/C++ program

Properties

Article ID: 2567304 - Last Review: May 19, 2014 - Revision: 5.0
Applies to
  • Microsoft SQL Server 2008 Integration Services
  • Microsoft SQL Server 2008 R2 Integration Services
  • Microsoft SQL Server 2012 Developer
  • Microsoft SQL Server 2012 Enterprise
  • Microsoft SQL Server 2012 Express
  • Microsoft SQL Server 2012 Standard
  • Microsoft SQL Server 2008 Service Pack 3, when used with:
    • Microsoft SQL Server 2008 Developer
    • Microsoft SQL Server 2008 Enterprise
    • Microsoft SQL Server 2008 Standard
Keywords: 
kbqfe kbfix kbexpertiseadvanced kbsurveynew KB2567304

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com