IIS fails to install on Windows 7 - iis

I keep getting the error message when attempting to install IIS on Windows 7
"An error has occurred. Not all the features were successfully changed."
The iis7.log contains shows...
[07/17/2013 12:48:05] "C:\WINDOWS\System32\inetsrv\iissetup.exe" /install SharedLibraries
[07/17/2013 12:48:05] Successfully added IIS_IUSRS ACE to DACL at %ProgramData%\Microsoft\Windows\WER\ReportQueue.
[07/17/2013 12:48:05] < !!FAIL!! > Failed to acquire the NetFrameworkConfigurationKey key container context (result=0x8007054f)
[07/17/2013 12:48:05] < !!FAIL!! > Install of component SharedLibraries result=0x8007054f
[07/17/2013 12:48:05] < !!FAIL!! > COMPONENT::ExecuteCommand result=0x8007054f
I have tried doing a clean boot (disabling non-microsoft services) but this has not helped.
Has anyone got anything to suggest?
Cheers,
Dave

This problem occurs due to unstable changes in Microsoft .Net Framework follow these steps to fix it out.
Step1:
Remove Microsoft .Net Framework under Turn Windows features on or off.
Step2:
Again Install IIS 6 or 7 under Turn Windows features on or off.
Step3:
Again install Microsoft .Net Framework under Turn Windows features on or off.

I've encountered the same error while I was installing the IIS on a windows 7 , 32 bit machine.
I've tried almost all the solution that I found in many websites.
In order to get rid of this error you can do a repair of the OS. it will solve the issue permanently.

Windows 7
Try this,
run cmd as Admin.
Unistall all iis.
start /w pkgmgr.exe /uu:IIS-WebServerRole;WAS-WindowsActivationService
Reinstall iis and normaly it's work
Alain

I know this is an old post, but I was just able to successfully install IIS on Windows 7 Sp1 (64bit) after having the same problem and 2 days of internet searches. I hope I can help someone with the same problem.
After running the same command "C:\WINDOWS\System32\inetsrv\iissetup.exe" /install SharedLibraries" and monitoring it using ProcessMonitor, it appeared that the installer is not able to write to the folder "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys"
I renamed MachineKeys to MachineKeys_old and reinstalled the IIS feature and it completed without any errors.

Related

IIS starting Issue"Process W3SVC can't be started on this computer . " - cant remove Windows components?

I have some strange behaviour trying to starting my IIS 10.
infos about services:
W3C Protokollierungsdienst -> runs, stops after a while
WWW Publishingservice -> cant be started (see screenshot)
wwwservicefailscreenshot
Windows Acitvation Service -> cant be started (see screenshot)
wasservicefailscreenshot
on IIS i get the following error if i try to start it:
iisstartingscreenshot
i have tried to uninstall all the relevant IIS components over the Windows Feature Panel.
uninstalled it, restared the system, checked the Windows features and component panel, all packages still installed
so here is my issue about, i seems that my stem does not really remove the IIS or WAS Service component.
UPDATE
so i installed the patches from August 2018.
but nothing changed - i manually installed kb4343909 - but it did not resolve my issue.
i also tried some of the patches which are in the thread (link from #Lex Li) but i did not help either.
what can i try furthermore? i'm really stuck on this and have to finish my project...
do i really have to rollback all the updates before july? i think its time to swith to linux or so... i'm really disappointed about MS...
i found a solution here: https://answers.microsoft.com/en-us/windows/forum/windows_10-networking/iis-wont-start-after-upgrade-to-1803-was-fails/0546e24f-6573-4445-b8d5-d17096a5fcfc
in the comments there was a "hack" which actualy worked on my windows 10 64bit machine:
Just delete the registry entry "NanoSetup" with running cmd command.
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WAS\Parameters" /v NanoSetup /f
Now you can start the service again.

Bonobo.Git.Server early error

I'm trying to install Bonobo.Git.Server on my Windows 2008 R2 server (under IIS 7.0). I followed step by step the installation procedure (bonobo install) but when I try to access the application URL I got the following error:
What's up?
Well I forgot to install .NET Framework 4.6 (that was one of the prerequisites) now it works.

Unable to install iis manager on windows 8.1

I get an error while trying to install IIS manager from "Turn on off windows features" on a windows 8 machine. Just before trying to install this I install Visual Studio community online and rebooted my machine. Visual Studio works fine.
I also made sure all updates are installed on my machine and also rebooted and tried installing IIS manager.
The error that I get is "The function attempted to use a name that is reserved for use by another transaction"
Thanks
Ranjith
Try to turn off your antivirus before install IIS.
I had the same problem and spent hours trying to find out the root cause. Tried to disable anti virus and other options as discussed in forums on the internet.
Here is how i resolved the problem.
Open up msconfig -> go to boot tab -> select Safe boot (Minimal) -> Apply -> Okay
Your machine should restart in safe mode and you should be able to successfully install IIS from the "Turn Windows Feature On/Off" section as described by others.
After the installation is complete, run msconfig again to unselected Safe boot so that you log in to the normal desktop environment on restart. Enjoy!
Just now i also faced that problem and this is how fixed the problem.
The reason can be another server which running on your pc, is using the same port as IIS. (e.g: 80 or 8080).
According to my solution, I started the wampserver. then click on wamp icon on the task bar. then opened the httpd.conf file from Apache.
find (ctrl+F) the "Listen 80" and replace it to "Listen 8080" or any other. save it.
restart your pc and try to install the IIS manager again.
hope it will works!! Good luck.

Microsoft Web Platform Installer 4.0 fail

Because my hard drive is nearly full, I find I don't use the (full)IIS7 and uninstall it to release hard drive space in my vista computer.
However, after that, I can't do many download installations through 'Microsoft Web Platform Installer 4.0", for example, download and install webMatrix 2.
I install the IIS8 express, I still can't do many download installation through MWPI 4.0, even I can't uninstall the MWPI from my computer. thanks advanced
I talked to the guys on the WebPI team, and they confirmed there is a bug. WebPI installs a plugin into inetmgr that occasionally doesn't get cleaned up after uninstalling IIS. THis causes WebPI a lot of trouble. Give this a try:
Install Full IIS
Uninstall existing WebPI
Uninstall Full IIS
Re-install WebPI
After doing these steps, everything should work. Sorry for the confusion.

Installshield installation ask the user to have iisadmin on a machine with iis7 installed

I am creating an installation that is adding a web site to IIS. But when I am trying to run the installation on a machine with IIS 7 installed and IIS 6 compatibility mode not installed, it fails the installation with:
Error 1920.Service IISADMIN (IISADMIN) failed to start. Verify that
you have sufficient privileges to start system services
If I install the compatibility feature it fixes the problem and the installation succeeds.
I want to know if there is a way to not install this feature on IIS 7.
Or if it must be installed - how can I install it automatically?
btw, I have installShield 2011 Professional.
Eventually what I did is to run as custom actions this lines
dism /online /enable-feature /featurename:IIS-IIS6ManagementCompatibility
dism /online /enable-feature /featurename:IIS-Metabase
and use as condition Not Installed and IIS_VERSION > "#6"
Thanks for Cosmin Privu help
Ben
You can try adding the compatibility fix as a custom prerequisite to your package:
http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/SetupPrereqEditor.htm
For example you can create a custom EXE which uses pkmgr.exe to install the IIS-IIS6ManagementCompatibility feature (it's like installing it from Control Panel).
It can be configured to install only when it's not found and only if IIS 7 is installed. This way you can make sure that the service can always be started for IIS 7.

Resources