Failed to connect to server. Error: 0x8007000E

10,596

Solution 1

The client's installer service was OK. However, his anti-virus software was interfering!!!!!!!!!!!!

Solution 2

MSIEXEC.exe is both a client (the command you type in a command prompt) and a server ( the part that gets hosted as the Windows Installer Service ). This error means the server failed to start and/or the client failed to connect to it.

From an elevated command prompt try:

net stop msiserver

msiexec /unreg

msiexec /regserver

net start msiserver

Then try running our installer again. You'll have to do more troubleshooting of this broken machine if it still doesn't work. This is unlikely to mean there is anything wrong with the MSI you created it's just a corrupted windows on the target machine.

Share:
10,596
ravenspoint
Author by

ravenspoint

I have over 30 years experience in software engineering. Since 2001 I have operated Raven's Point Consulting, quickly delivering fast and reliable windows desktop applications.

Updated on June 04, 2022

Comments

  • ravenspoint
    ravenspoint almost 2 years

    A client is getting this error in the log file when he tries to run my installer.

    Failed to connect to server. Error: 0x8007000E
    

    The installer works fine when I test it on my own machine.

    Here is the complete log file

    === Verbose logging started: 10/29/2013 9:12:29 Build type: SHIP UNICODE 5.00.7601.00 Calling process: C:\Windows\System32\msiexec.exe ===
    MSI (c) (20:FC) [09:12:29:171]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
    
    MSI (c) (20:FC) [09:12:29:171]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
    
    MSI (c) (20:F8) [09:12:29:203]: Resetting cached policy values
    MSI (c) (20:F8) [09:12:29:203]: Machine policy value 'Debug' is 0
    MSI (c) (20:F8) [09:12:29:203]: ******* RunEngine:
    ******* Product: C:\portableApps\Tick2Disk6.1.4.msi
    ******* Action:
    ******* CommandLine: **********
    MSI (c) (20:F8) [09:12:29:218]: Machine policy value 'DisableUserInstalls' is 0
    MSI (c) (20:F8) [09:12:29:250]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
    MSI (c) (20:F8) [09:12:29:250]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\portableApps\Tick2Disk6.1.4.msi' against software restriction policy
    MSI (c) (20:F8) [09:12:29:250]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
    MSI (c) (20:F8) [09:12:29:250]: SOFTWARE RESTRICTION POLICY: C:\portableApps\Tick2Disk6.1.4.msi is not digitally signed
    MSI (c) (20:F8) [09:12:29:250]: SOFTWARE RESTRICTION POLICY: C:\portableApps\Tick2Disk6.1.4.msi is permitted to run at the 'unrestricted' authorization level.
    MSI (c) (20:F8) [09:12:29:640]: Failed to connect to server. Error: 0x8007000E
    
    MSI (c) (20:F8) [09:12:29:640]: MainEngineThread is returning 1601
    === Verbose logging stopped: 10/29/2013 9:12:29 ===
    
  • ravenspoint
    ravenspoint over 10 years
    Thanks. I will get the client to try this.
  • Christopher Painter
    Christopher Painter over 10 years
    The better google search is "windows installer 1601" another possible remedy is: support.microsoft.com/kb/942288
  • ravenspoint
    ravenspoint over 10 years
    Thanks again for your help. The client's installer service was OK. However, his anti-virus software was interfering!!!!!!!!!!!!
  • Christopher Painter
    Christopher Painter about 8 years
    Your question was "What server is it trying to connect to?". I answered that.
  • StayOnTarget
    StayOnTarget almost 7 years
    @ravenspoint you really should change the accepted answer as Christopher stated.
  • ravenspoint
    ravenspoint almost 4 years
    @ChristopherPainter has misread my question. The error msg was "Failed to connect to server" My question is: why does this error msg appear? The answer is: it was caused by the client's anti-virus software.