DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2567304 - Last Review: May 19, 2014 - Revision: 5.0

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  (http://support.microsoft.com/kb/2958696/ )

Cumulative Update 1 for SQL Server 2012  (http://support.microsoft.com/kb/2679368/ )

Cumulative Update 7 for SQL Server 2008 SP2  (http://support.microsoft.com/kb/2617148/ )

Cumulative Update 3 for SQL Server 2008 R2 SP1  (http://support.microsoft.com/kb/2591748/ )

Cumulative Update 10 for SQL Server 2008 R2  (http://support.microsoft.com/kb/2591746/ )

Cumulative Update 16 for SQL Server 2008 SP1  (http://support.microsoft.com/kb/2582282/ )

About cumulative updates for SQL Server

Collapse this imageExpand this image
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

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 (http://msdn.microsoft.com/en-us/library/ms162810(v=SQL.100).aspx)
For more information about the StdOut property, visit the following MSDN website:

General information about the StdOut property (http://msdn.microsoft.com/en-us/library/cbxxzwb5(v=VS.85).aspx#Y672)
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  (http://support.microsoft.com/kb/58667/ ) How to redirect the StdOut stream to a file from a Visual C/C++ program

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
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support