KB2919611 - FIX: "Installer terminated prematurely" error when you install SQL Server 2008 SP3 or SQL Server 2008 R2 SP2

Symptoms

When you try to install Microsoft SQL Server 2008 Service Pack 3 (SP3) or SQL Server 2008 R2 Service Pack 2 (SP2), the following error message may appear:

Error result: -2068643839 Result facility code: 1203 Result error code: 1 In the detail logs, such as <Log file Name>.log, there is these messages: Internal Exception during install operation: 0xc0000005 at 0x000007FEFEB435E1. Internal MSI error. Installer terminated prematurely. MainEngineThread is returning 1603


Additionally, you receive the following error message in the Detail.txt file:

<Date><Time> Slp: Running Action: Install_<Action Name>_Action
<Date><Time> Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
<Date><Time> Slp: Sco: Attempting to open registry subkey
<Date><Time> Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\VisualStudio\9.0
<Date><Time> Slp: Sco: Attempting to get registry value InstallDir
<Date><Time> Slp: Target package: "<Installation File Name>.msi"
<Date><Time> Slp: Error: Action "Install_<Action Name>_Action" threw an exception during execution.
<Date><Time> Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
<Data><Time> Slp: at Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethods.MsiOpenPackageEx(String szPackagePath, UInt32 dwOptions, UInt32& hProduct)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.SetCommonProperties()
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsiCore(String commandLine)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsiWithRetry(String commandline)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsi(IEnumerable`1 commandLineProps)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
<Date><Time> Slp: --- End of inner exception stack trace ---
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()Error: Action "MsiTimingAction" threw an exception during execution.
<Date><Time> Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
<Date><Time> Slp: at Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethods.MsiOpenPackageEx(String szPackagePath, UInt32 dwOptions, UInt32& hProduct)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.SetCommonProperties()
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsiCore(String commandLine)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsiWithRetry(String commandline)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsi(IEnumerable`1 commandLineProps)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
<Date><Time> Slp: --- End of inner exception stack trace ---
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
<Date><Time> Slp: Received request to add the following file to Watson reporting: C:\Users\k024048\AppData\Local\Temp\2\tmp8A25.tmp
<Date><Time> Slp: The following is an exception stack listing the exceptions in outermost to innermost order
<Date><Time> Slp: Inner exceptions are being indented
<Date><Time> Slp:
<Date><Time> Slp: Exception type: System.AccessViolationException
<Date><Time> Slp: Message:
<Date><Time> Slp: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.


Note This issue typically occurs when you use slipstream installation.

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:


Status

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

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!

×