Mostrando entradas con la etiqueta installation. Mostrar todas las entradas
Mostrando entradas con la etiqueta installation. Mostrar todas las entradas

jueves, 12 de abril de 2018

SharePoint 2013 on Windows Server 2012 R2 : The tool was unable to install Application Server Role, Web Server (IIS) Role


Hi There, 

I spent hours to troubleshoot this issue while installing SharePoint 2013 Prerequisites on Windows Server 2012 R2 but no gain. I have installed IIS and its features manually but still did not work.

The tool was unable to install Application Server Role, Web Server (IIS) Role


The Logs Shows Below

1. Error: Startup task doesn’t exist. This is not a continuation after a restart

2015-02-10 15:58:56 – C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SharePointServerPreparationToolStartup_0FF1CE14-0000-0000-0000-000000000000.cmd
2015-02-10 15:58:56 – Error: Startup task doesn’t exist. This is not a continuation after a restart.
2015-02-10 15:58:56 – Locating the following command line arguments file:
2015-02-10 15:58:56 – E:\PrerequisiteInstaller.Arguments.txt

2. Error: [In HRESULT format] (-2147024894)

2015-10-02 15:59:02 – Created thread for installer
2015-10-02 15:59:02 – “C:\Windows\system32\ServerManagerCmd.exe” -inputpath “C:\Users\ADMINI~1\AppData\Local\Temp\PreB8C.tmp.XML”
2015-10-02 15:59:02 – Error: Unable to install (2)
2015-10-02 15:59:02 – Error: [In HRESULT format] (-2147024894)
2015-10-02 15:59:02 – Last return code (2)
2015-10-02 15:59:02 – Reading the following DWORD value/name…

Error: The tool was unable to install Application Server Role, Web Server (IIS) Role

SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
2015-10-02 15:59:02 – Error: The tool was unable to install Application Server Role, Web Server (IIS) Role.
2015-10-02 15:59:02 – Last return code (2)
2015-10-02 15:59:02 – Options for further diagnostics: 1. Look up the return code value 2. Download the prerequisite manually and verify size downloaded by the prerequisite installer. 3. Install the prerequisite manually from the given location without any command line options.
2015-10-02 15:59:02 – Cannot retry


Things i have done which didn't helped actually.

1. Manually installed IIS and its Features
2. Manually enabled Framework 4.5 and 3.5 features
3. Edited Local Group Policy and ran the prerequisites installer but still didn't work

Solution:

A big thanks to my lead Mr. Shahid Sheraz for sitting beside me and showing this post that he wrote.

I found the same solution here too. Quick steps are below.

1. Go to C:\Windows\system32\ and locate file ServerManager.exe
2. Copy and rename the file with ServerManagerCmd.exe
3. Run the Prerequisites wizard again. 

Enjoy :)

Happy SharePointing...!

lunes, 13 de julio de 2015

SQL 2008/2008 R2/2012/2014 setup disappears/fails when installing Setup Support files

I’m sure many of you would have seen this issue when running SQL 2008/2008 R2/2012/2014 setup on a new server. The setup will proceed to install Setup support files, the window will disappear but, strangely enough, the next window never shows up.
Here’s what you need to do:
  1. Click on start->run and type %temp% and press enter (basically, go to the temp folder)
  2. Here, look for SQLSetup.log and SQLSetup_1.log. Open the SQLSetup_1.log file. In there, check for the following messages: 04/16/2012 17:16:47.950 Error: Failed to launch process
    04/16/2012 17:16:47.952 Error: Failed to launch local setup100.exe: 0x80070003
Typically, you get this error only in SQL 2008, SQL 2008 R2, SQL 2012 and SQL 2014. The steps are slightly different for all 4, and I’ve tried to outline them here.
Warning: These steps involve modification of the windows registry, a highly sensitive component of the Operating System. Before proceeding, please ensure you take a complete backup of the registry.
SQL Server 2008
1. Save the following in a text file, change the extension to .reg, double-click on the file, and on the prompt that appears, select yes to populate the registry:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\Bootstrap]
"BootstrapDir"="C:\\Program Files\\Microsoft SQL Server\\100\\Setup Bootstrap\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\Bootstrap\Setup]
"PatchLevel"="10.0.1600.22"
2. Next, copy the following files and folders from the media to the specified destinations:
File/Folder in mediaDestination
X64/X86 (depending on what architecture you want to install)C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release
Setup.exeC:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release
Setup.rllC:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release\Resources\1033\
Next, re-run the setup, and it should proceed beyond the point of error this time.
SQL Server 2008 R2
1. Save the following in a text file, change the extension to .reg, double-click on the file, and on the prompt that appears, select yes to populate the registry: 
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\Bootstrap]
"BootstrapDir"="C:\\Program Files\\Microsoft SQL Server\\100\\Setup Bootstrap\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\Bootstrap\Setup]
"PatchLevel"="10.50.1600.00"
2. Next, copy the following files and folders from the media to the specified destinations:
File/Folder in mediaDestination
X64/X86 folder (depending on what architecture you want to install)C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2
Setup.exeC:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2
Resources folderC:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2
Next, re-run the setup, and it should proceed beyond the point of error this time.
SQL Server 2012
1. Save the following in a text file, change the extension to .reg, double-click on the file, and on the prompt that appears, select yes to populate the registry: 
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\110\Bootstrap]
"BootstrapDir"="C:\\Program Files\\Microsoft SQL Server\\110\\Setup Bootstrap\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\110\Bootstrap\Setup]
"PatchLevel"="11.00.2100.60"
2. Next, copy the following files and folders from the media to the specified destinations:
File/Folder in mediaDestination
X64/X86 folder (depending on what architecture you want to install)C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012
Setup.exeC:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012
Resources folderC:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012
Next, re-run the setup, and it should proceed beyond the point of error this time.
SQL Server 2014
1. Save the following in a text file, change the extension to .reg, double-click on the file, and on the prompt that appears, select yes to populate the registry: 
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\120\Bootstrap]
"BootstrapDir"="C:\\Program Files\\Microsoft SQL Server\\120\\Setup Bootstrap\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\120\Bootstrap\Setup]
"PatchLevel"="12.00.2000.80"
2. Next, copy the following files and folders from the media to the specified destinations:
File/Folder in mediaDestination
X64/X86 folder (depending on what architecture you want to install)C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014
Setup.exeC:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014
Resources folderC:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014
Next, re-run the setup, and it should proceed beyond the point of error this time.
As always, comments/suggestions/feedback are welcome and solicited.

domingo, 12 de mayo de 2013

One or more office components failed to complete successfully sharepoint 2010


Have tried the installation of Sharepoint foundation 2010 and faced the above error.
Environment: Windows Server 2008 R2 Enterprise edition + SP1 , and SQL Server 2008 R2 + Sp1
Sharepoint foundation server 2010 installation is always pointing to the SQL Server Express
Log file can be find at the following path
C:\Users\<username>\AppData\Local\Temp
ERR:0:Fail to install or config SQL Express.
To get rid of this error, uninstall the sharepoint which is failed due to the above error.
Start again fresh installation by selecting the following (Server Farm) option…

Follow the wizard steps and sharepoint installation will successfully complete.