Error: [In HRESULT format] (-2147024894) /

Topics: General Questions, Support
Nov 23, 2013 at 8:13 PM
I'm out of ideas trying to get this script to work and would much appreciate some help. I'm so close.

I'm on 2012 R2 trying to install SP2013.

I have used the scripts located here to download the prereqs, install the roles, and install the prereqs.
Side note: I was prompted to go through the installation wizard for the prereqs when I ran the install prereqs script. This was unexpected. Maybe that's what supposed to happen? Kind of defeats the purposes of a script, so I must be doing something wrong.

I also read through this guide for installing the roles and prereqs in offline mode before running AutoSP. That ultimately lead me to those scripts.

I got to that guide because of this forum thread which indicated similar problems. However, that didn't seem to work out for me as when I start running AutoSP by running the batch file, I always get this in the shell:

WARNING: 2013-11-23 14:51:34 - Error: Unable to install (2)
WARNING: 2013-11-23 14:51:34 - Error: [In HRESULT format] (-2147024894)
WARNING: 2013-11-23 14:51:34 - Error: The tool was unable to install Application Server Role, Web Server (IIS) Role. ( ? I already did this ? )
WARNING: 2013-11-23 14:51:34 - Last return code (2)

The scripted halted. You fail. Review the log and fix your issues hot shot.

I'll leave the text of the transcript at the bottom of this post. Where has it all gone so wrong? Again, thanks for the help!

Windows PowerShell transcript start
Start time: 20131123145129
Username : domain\sp2013setup
Machine : SP2013A (Microsoft Windows NT 6.3.9600.0)

Transcript started, output file is C:\Users\sp2013setup\Desktop\AutoSPInstaller-2013-11-23_2-51.rtf

| Automated SP2013 install script |

| Started on: 11/23/2013 2:51:29 PM |

- SharePoint 2013 binaries are not yet installed.

  • Validating user accounts and passwords...
  • Account "domain\sp2013farm" (Account)...Verified.
  • Account "domain\sp2013webapp1" (ManagedAccount)...Verified.
  • Account "domain\sp2013Search" (ManagedAccount)...Verified.
  • Account "domain\sp2013DCA" (ManagedAccount)...Verified.
  • Account "domain\sp2013farm" (ManagedAccount)...Verified.
  • Account "domain\sp2013UPsync" (User Profile Service Application)...Verified.
  • Account "domain\sp2013Search" (EnterpriseSearchService)...Verified.
  • Account "domain\sp2013DCA" (Search Service Application)...Verified.
  • Account "domain\sp2013Search" (SharePoint Search Application Pool)...Verified.
  • Account "domain\sp2013ExcelUA" (Excel Services Application)...Verified.
  • Account "domain\SP_CacheSuperUser"...Verified.
  • Account "domain\SP_CacheSuperReader"...Verified.
  • Account "domain\sp2013webapp1"...Verified.

- Account "domain\joe.shmoe-admin"...Verified.

- Writing config-AutoSPInstaller.xml to C:\Users\sp2013setup\AppData\Local\Temp...

  • Creating SQL alias "SP2013"...
  • Testing access to SQL server/instance/alias: SP2013
  • Trying to connect to "SP2013"...Success
  • SQL Server version is: 11.0.3128.0
  • This instance of SQL Server is not clustered
  • Check if domain\sp2013setup has dbcreator server role...Pass

- Check if domain\sp2013setup has securityadmin server role...Pass

  • Install based on:
    • C:\AutoSPInstaller\SP\AutoSPInstaller\AutoSPInstallerInput-SP2013A.xml
    • Environment:

- Version: 3.93

- Disabling Loopback Check...


- Disabling IE Enhanced Security...


  • Setting services Spooler, AudioSrv and TabletInputService to Manual...
  • Service Spooler is now set to Manual start
  • AudioSrv is already stopped and set Manual, no action required.
  • TabletInputService is already stopped and set Manual, no action required.
  • Setting unused services WerSvc to Disabled...
  • WerSvc is already stopped and disabled, no action required.

- Finished disabling services.


- Not changing CRL check behavior.


  • Installing Prerequisite Software:
    • .Net Framework 3.5.1 from "C:\AutoSPInstaller\SP\2013\SharePoint\PrerequisiteInstallerFiles\sxs"...Already installed.
    • Running Prerequisite Installer (offline mode)....Done.
    • Prerequisite Installer completed in 00:00:05.
    • SharePoint 2013 "missing hotfix" prerequisites...
      WARNING: 2013-11-23 14:51:34 - Error: Unable to install (2)
      WARNING: 2013-11-23 14:51:34 - Error: [In HRESULT format] (-2147024894)
      WARNING: 2013-11-23 14:51:34 - Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.

WARNING: 2013-11-23 14:51:34 - Last return code (2)

  • Script halted!
  • Review the log file and try to correct any error conditions.

Press any key to exit...

| Automated SP2013 install script |
| Started on: 11/23/2013 2:51:29 PM |

| Aborted: 11/23/2013 2:54:24 PM |

PS C:\AutoSPInstaller\sp\AutoSPInstaller>
Nov 23, 2013 at 8:23 PM
This is not supported configuration. The current guidance is to wait until SharePoint 2013 Service Pack 1 is released.
Nov 23, 2013 at 11:02 PM
Thanks for the feedback, but I haven't even made it to the part where it's installing SharePoint yet. Plus, there appear to be a lot of folks that have installed SP 2013 fine with AutoSP. Is the problem with Server 2012 R2? Maybe I can remove the part of the script that installs the roles.
Nov 23, 2013 at 11:58 PM
Yes, the problem is with Windows Server 2012 R2. http://support.microsoft.com/kb/2891274
`
Marked as answer by spex5 on 11/23/2013 at 4:22 PM
Nov 24, 2013 at 12:22 AM
aww... nuts. Thanks!