IIS gone (including sites and application pools) after Windows 10 Creators Update - iis

After installing the Windows 10 Creators Update (1607), IIS is no longer installed.
When I re-install it from "Turn Windows features on or off", I find that all my application pools and all my sites are gone.

The "good" news is that there seems to be a way to restore the IIS app pools and sites (after re-enabling IIS from "Turn Windows features on or off").
It’s a little tricky and error prone, but it’s better than nothing.
Here is the procedure that worked for me:
In a text editor, open C:\Windows.old\WINDOWS\System32\inetsrv\config\applicationHost.config. This is the original IIS data from before the update.
In another text editor open C:\Windows\System32\inetsrv\config\applicationHost.config. This is the active IIS data.
Replace the <applicationPools> and <sites> elements in the active file with those from the original
Run iisreset from an elevated command prompt

Related

How can I tell if I have IIS Express or Full version installed?

I have two machines: Windows 10 Pro, and Windows 10 Home. I have enabled IIS on both of them. From both machines, going to IIS -> File -> About shows this dialog:
One might assume that I'm dealing with the full version of IIS simply due to the lack of the word "Express".
Is there any simple way to confirm if a machine has full or express installed?
IIS Express is normally installed into your 32-bit Program Files folder. So, to see if it's there you can try:
C:\>cd "\Program Files (x86)\IIS Express"
C:\Program Files (x86)\IIS Express>iisexpress /?
Full IIS is normally installed as a service called "World Wide Web Publishing Service" or "w3svc" for short. So, to see if it's there you can try:
C:\>net start w3svc
You opened IIS Manager to see such a dialog and IIS Manager is only part of full IIS, while IIS is part of Windows.
If you want to check that in code, then there are other ways such as checking Windows CBS data, or reading registry key.
IIS Express is completely another software, which is an MSI package to be installed either with Visual Studio or individually. To test its installation, you either check the Programs dialogue as the comment said, or query MSI data or registry keys.
If you have IIS manager installed, you have full IIS.
IIS Express is part of Visual Studio and appears in the Windows system tray when you run a web application/web site from within Visual Studio.

HTTP Error 404.17 - Not Found (.Net 4)

I've just got a new server setup on Windows 2008 Web edition. I'm trying to set the first asp.net 4 application up on it but am having nothing but problems.
The latest is that I'm getting the 404.17 error, which says "the requested content appears to be script and will not be served by the static file handler.".
I've done a lot of research on google but most suggestions seem to be to run aspnet_regiis -i to install asp.net 4. I've done this several times both on the Framework and Framework64 folders, but with no success.
I tried changing from the default application pool to a .net4 application pool, which appeared to work at first and I instead got a server error to do with permissions. I fixed that, and immediately the 404.17 error returned.
Other suggestions I've read say to go into the "turn windows features on and off" and make sure .net 4 is selected there under IIS. However on this server clicking "turn windows features on and off" takes me to the standard windows 2008 server manager. I click "add features" there, and only ".NET Framework 3.0 Features (Installed)" is listed and selected. .NET 4 isn't shown there, yet it is selectable through the application pools.
What else can I try to get the website running as I'm at a complete loss now. Its annoying because my old server was easy to manage - I did it all through the server itself without a control panel (Windows 2003), now on my new server I have to manage most of it through Plesk because there is no dns.
Any help would be much appreciated.
I too had the same problem but solved it with simple solution. My program was in framework 4.0 but in application pool was mapped to framework 2.0.
Just changed the frame work in application pool to 4.0.
It worked.
I've finally figured out the problem, and it was to do with Plesk itself.
After delving through some of the thousands of links throughout the plesk control panel I found a page for "Website Scripting and Security". Under there it was set to .NET 2.0. However, even though I'd installed .NET 4 on the server, Plesk didn't know about it. Although the application pool I'd set the website to run under through IIS was .NET 4, it still wouldn't work for some reason.
I then found another page under "tools and settings" for server components, and on that page is a refresh button. Hit that and it suddenly realised that .NET 4 was installed, went back to the website scripting and security page, selected .NET 4, and hey presto, I got a server error (never have I been so glad to see a server error).
I then just had to give the application pool identity read access to the web folder, and the website worked.
I wish I'd paid an extra £15 per month for Windows 2008 Standard edition now so I could manage it all manually without Plesk.
Ensure that you are running this application under a Virtual Directory, also ensure that your IIS has ASP, ASP.Net, ISAPI Extensions And Filters, Static Content installed.
Change the .net framework from 'plesk' panel:
go to Domains
select then domain
Go to 'Domain and Websites & Domains'
Hide Advanced Operations
Go to 'Asp.net Settings'
Go to 'Change Version'
select 4.0
If you don't have the 4.0 option then you must install the framework on your server first.

Where is IIS on Windows Server 2012 Essentials

I just got Windows Server 2012 Essentials installed and I would like to set up my dev web projects in IIS on the server. But I can't seem to find how to get to it? When I remote to the machine with my admin account all I seem to have access to is the dashboard.
Can anyone tell me what to do?
Essentials comes with IIS preinstalled, so unless you uninstalled it for some reason, its there already.
I'm assuming you want to get to the IIS 8 admin tool.
In order to get there
press the start button (on your keyboard)
click on the Administrative Tools tile
From there scroll down to IIS Manager and double click
OR
Hold down the windows key and press the R key (win+r)
then type in inetmgr
Apparently is not that simple on ws2012 as I thought, please try following this guide:
http://www.iis.net/learn/get-started/whats-new-in-iis-8/installing-iis-8-on-windows-server-2012
I don't think it's whether he has it installed or not, it's that they changed how you GET to it. IIS manager USED to be accessible from Server Manager, but it is no longer so. In 2008 (and earlier, but I don't have a box readily available) from Server Manager, expand Roles, then Web Server. If you click "web Server" You see a "dashboard", displaying events, Services, Best Practices, Etc. WITHIN that, you can click Internet Information Services (IIS) Manager, and see the sites, and manage and configure the sites on the machine.
In 2012, you can ONLY see that dashboard information, events, service status, best practice, etc. There's no way to navigate into IIS and manage the sites and applications. Up in the top-right corner, the menu "Tools" (Between "Manage" and "View") contains IIS Manager.
I'd LOOOOOVE to see a transcript of the design session where this change was suggested. Mostly just to get the attendance, and then hunt them all down.
Make sure that the IIS Management Console is enabled through via Control Panel -> Programs and Features. From Server Manager, click Add roles and features and follow the prompts.
You can find the inetmgr.exe at the below location:
C:\Windows\System32\inetsrv
Or you can run it from the run window
Win + R -> inetmgr -> Enter

Missing inetmgr.exe file

I'm a newbie here and have found some of the material really useful. However, I can't seem to resolve this issue: I'm running Windows 7 Professional and don't have an inetmgr.exe file in C:\Windows\System32\inetsrv. I have a number of iis... files but no inetmgr.exe file.
The bigger picture is that I'm trying to get Apache and PHP working on my laptop and am going round in circles trying to get Localhost to work. I keep getting "Webpage cannot be found" and searching the net has led me to believe the inetmgr.exe file might be key to resolving the problem. That and port 80 might be involved somewhere....
In case you haven't already picked this detail up, I am way, way, way out of my comfort zone with this but I really need to get this working for a course I'm taking.
Thank in advance for any light you may be able to shed.
Install IIS:
Control Panel -> Programs and Features -> Turn Windows Features on or off -> Check "Internet Information Services". Select next and follow prompts to Install IIS.
For more info, see this Q&A to check for and install IIS, Check whether IIS is installed or not?
Since this question is the first Google search result for inetmgr not found, and since it can be quite puzzling to not be able to find inetmgr even if the web service seems to be working correctly, I thought I'd annotate it with the most obvious answer for those who actually need the IIS Manager: you have to install the Manager separately from WWW service (it is a separate option to installing IIS WWW service itself).
[Windows 8.x]
First, type IIS in the Start page: if you see Internet Information
(IIS) Manager, you are good to go. If not...
Go to Control Panel, "Programs and Features", then click "Turn
Windows features on or off" in the left pane.
In the "Windows Features" dialog that pops up, make sure that under
"Internet Information Services" you have "Web Management Features"
checked in addition to "World Wide Web Services". (Technically, you
just need "IIS Management Console" under "Web Management Features"
to be checked).
Don't forget to click OK in the "Windows Features" dialog. :-)
Now go to Step #1 and you should see Internet Information (IIS)
Manager as an available icon.
Inetmgr.exe is the executable for IIS. If you are trying to just have Apache and PHP work, you can use WAMP server - this will give you everything you need to start developing with PHP. The site is: http://www.wampserver.com/en/
IIS is a web server and Apache is a webserver too. If you want to use Apache, you donèt need to have IIS installed.
You need to install iis first.
http://www.iis.net/learn/install/installing-iis-7/installing-iis-on-windows-vista-and-windows-7
In windows server 2008 R2 I found IIS Server under Roles, not features

What is the default location of inetmgr.exe of IIS in Windows 7, as none of my Windows searches are working; Any Alternative to access it?

Hi I want to acces, open "inetmgr.exe" on my Windows 7 machine. But none of the searches are working. ( Start Menu --> Search Program and Files NOR Search in My Computer).
I somehow want to access inetmgr.exe of IIS(InternetInformation Services).
So can anyone kindly let me know the
default location of inetmgr.exe or any
DOS command to access it. I even
tried typing "inetmgr.exe" in command
prompt. But not working. So PLz
somehow I need to access inetmgr.exe.
Thanks in advance.
It should be available in following location:
C:\Windows\System32\inetsrv\InetMgr.exe
But when you goto start menu and type inetmgr.exe it should be visible in the list. If not then something wrong with your installation or that file has been deleted.
At first check IIS is installed or not.
For XP
Open Control Panel
Add-Remove Windows Components.
For Windows 7 / Windows Server 2012
Open Control Panel
Programs and Features
Turn Windows features on or off.
I had the same issue. Go into Control Panel -> Programs-> Turn Windows features on or off.
Click on features for Internet Information Services. Specifically, Web Management Tools and Wold Wide Web Services.
For Web Management Tools
->IIS 6 Management Compatibility
->IIS Metabase and IIS 6 configuration compatibility. (or any other features you think you may need)
I had the same problem on Windows Server 2016 with it not wanting to search. IIS Manager (with our normal websites) was showing in the Start menu but IIS 6 Manager was not (where the SMTP Virtual Server settings are located).
Luckily you can launch it from within Server Manager:
Yes, I installed IIS and still couldn't find InetMgr.exe until I went back to
Turn Windows features on or off
and then checked
Internet Information Services
Web Management Tools
IIS Management Console

Resources