Microsoft small business knowledge base

Article ID: 2878139 - Last Review: April 22, 2014 - Revision: 3.2

On This Page


When you run a statement or job that executes the sys.fn_xe_file_target_read_file stored procedure in a Microsoft SQL Server 2012 or SQL Server 2008 R2 environment, the following error message is logged in the SQL Server error log:
Using 'dbghelp.dll' version '4.0.5'


The issue occurs because the DBGhelp.dll file is loaded every time that the statement or job executes the sys.fn_xe_file_target_read_file stored procedure.


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

Cumulative Update 12 for SQL Server 2008 R2 SP2  ( )

Cumulative update 6 for SQL Server 2012 SP1  ( )

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


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

Applies to
  • Microsoft SQL Server 2012 Service Pack 1, when used with:
    • Microsoft SQL Server 2012 Developer
    • Microsoft SQL Server 2012 Enterprise
    • Microsoft SQL Server 2012 Standard
  • Microsoft SQL Server 2008 R2 Service Pack 2, when used with:
    • Microsoft SQL Server 2008 R2 Developer
    • Microsoft SQL Server 2008 R2 Enterprise
    • Microsoft SQL Server 2008 R2 Standard
kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2878139
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