I'm trying to install Web server role / iis to my dynamic Windows 2012 cloud server but keep getting the following errors:
If I have the following not installed and try to install web server / iis 8.0 it keeps telling me I have a restart pending. If I go to tools I can see iis manager and open it and navigate to local host however the role is not added to the server and on restarting it all disappears.
If I install the above and try and install I get the following error code which google has not revealed much
I have so far tried the following - deleting the main folder on drive C: - tried installing via powershell and command promt - removing iis by running the following command "start /w pkgmgr.exe /uu:IIS-WebServerRole;WAS-WindowsActivationService" - I have also run the following command: dism /online /cleanup-image /restorehealth - I have cleared / deleted the updates to see if something was in corrupted. - I have also ran the .NET fix application.
Other roles still install on the system.
Has anyone got any ideas what else can try before I have to wipe the system which seems a bit over kill and a lot of work as this is a live production server.
Thanks in advance. J
Check the IIS and CBS (component based setup) logs, should yield more details on what failed.
IIS Logs: c:\windows\iisx.log (where 'x' is the version of IIS you're installing)
CBS Logs: c:\windows\logs\cbs
User contributions licensed under CC BY-SA 3.0