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

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.

Related

How to use IIS Express 10?

I have installed IIS 10 On my Windows 10 PC but after installation I cannot find the application either in start menu or if I make a search for it.
I have tried to go to C:\Program files\IIS Express\ but can't understand anything there
I want to see the files of a website.
First you have to understand the difference between iis and iis express. IIS express would only be used by people who don't have access to IIS or want something that is lighter than IIS but more like IIS than Cassini. IIS 7 ships with the operating system and is tightly integrated to Windows. more information you can refer to this link:
IIS Express Overview
IIS Web Server Overview
https://stackoverflow.com/a/8396060/13336642
If you are installing IIS 10(not iis express), then you can find it in the start menu. If you can’t find it, you may have a problem with the installation. you can refer to the following article on how to install iis. If it is iis express, then you can use it in visual studio.
https://www.howtogeek.com/112455/how-to-install-iis-8-on-windows-8/

VS2012 IIS Express Option Disabled

I have just installed VS2012 and created a MVC project. I right clicked on project and selected property, I chose Web tab. I selected "Use Local IIS Web server" but the "Use IIS Express" checkbox is disabled.
I checked my C:\Program Files (x86)\IIS Express\ folder and IIS Express 8 is there.
Any particular reason?
If I fall back to use Visual Studio Development Server, I have 50% of the chance to see "Server Too Busy" message.
All you have to do is to activate IIS in your development machine:
Start -> Control Panel -> Enable or disable Windows features -> Internet Services
Then check mark in World Wide Web Services -> Common HTTP Features
And check mark in World Wide Web Services -> Application development Features
That's all you need.
Using Full IIS has some benefits. One is that it is always running, so you don't have to start your VStudio Project to unit test. Another is that you can create an actual site and configure IIS mirroring production, using the same Admin Tools, which makes it easier to support when deployed in an environment. And, I seem to recall that IISExpress had issues with Application Routing. On the flip side, I don't see an issue with using the Full IIS. Granted, IISExpress is much better than Cassini, but if there is no reason to not use Full IIS then I conitnue to advocate it's use.

HTTP Error 404.3-Not Found in IIS 7.5

I'm using IIS 7.5 on Windows Server 2008 R2 x64 Enterprise Edition. In the project we have developed with ASP.NET 4.0 we used WCF Service. But it doesn't run over domain when the software is running from local computer. Otherwise, I am getting the following error:
HTTP Error 404.3-Not Found
The page you are requesting cannot be served because of the extension
configuration. If the page is script, add a handler. If the file should
be downloaded, add a MIME map.
You should install IIS sub components from
Control Panel -> Programs and Features -> Turn Windows features on or off
Internet Information Services has subsection World Wide Web Services / Application Development Features
There you must check ASP.NET (.NET Extensibility, ISAPI Extensions, ISAPI Filters will be selected automatically). Double check that specific versions are checked. Under Windows Server 2012 R2, these options are split into 4 & 4.5.
Run from cmd:
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir
Finally check in IIS manager, that your application uses application pool with .NET framework version v4.0.
Also, look at this answer.
In my case, along with Mekanik's suggestions, I was receiving this error in Windows Server 2012 and I had to tick "HTTP Activation" in "Add Role Services".
In windows server 2012, even after installing asp.net you might run into this issue.
Check for "Http activation" feature. This feature is present under Web services as well.
Make sure you add the above and everything should be awesome for you !!!
I was having trouble accessing wcf service hosted locally in IIS. Running aspnet_regiis.exe -i wasn't working.
However, I fortunately came across the following:
Rahul's blog
which informs that servicemodelreg also needs to be run:
Run Visual Studio 2008 Command Prompt as “Administrator”.
Navigate to C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation.
Run this command servicemodelreg –i.

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

Check whether IIS is installed or not?

I am trying to create a Local IIS Website using ASP.NET.
When I click on New -----> Website and select the type as HTTP and from the dialog box if I select the option as LOCAL IIS WEBSITE I am getting a message as "IIS not installed on this computer"
When I checked in the Control Panel---->Add or remove programs ---->Add or remove windows components. The Option Internet Information Service is already checked marked.
But when I click on the Control Panel ---> Administrative Tools, I dont find the option as Internet Information Service.
I also have the root directory as C:\Inetpub\WWWRoot.
And when I give the following command in the VS command Prompt
aspnet_regiis.exe -i
It is giving the message as finished installing ASP.NET
Can any one help me in identifying whether IIS is installed in my system or not?
Please help me out!
go to Start->Run type inetmgr and press OK. If you get an IIS configuration screen. It is installed, otherwise it isn't.
You can also check ControlPanel->Add Remove Programs, Click Add Remove Windows Components and look for IIS in the list of installed components.
EDIT
To Reinstall IIS.
Control Panel -> Add Remove Programs -> Click Add Remove Windows Components
Uncheck IIS box
Click next and follow prompts to UnInstall IIS.
Insert your windows disc into the appropriate drive.
Control Panel -> Add Remove Programs -> Click Add Remove Windows Components
Check IIS box
Click next and follow prompts to Install IIS.
For Windows 7:
Control Panel > Programs > Programs and Features > Turn Windows Features On or Off > to turn on IIS click on Check box.
Check
Control Panel --> Administrative Tools --> Services --> IIS Admin
For reinstalling
How to remove and reinstall IIS 5.0, 5.1 and 6.0
In the menu, go to RUN > services.msc and hit enter to get the services window and check for the IIS ADMIN service. If it is not present, then reinstall IIS using your windows CD.
The quickest way to check is just to write "inetmgr" at run (By pressing Win + R) as a command, if a manager window is appeared then it's installed otherwise it isn't.
A lot of answers here describe how to manually check if IIS is installed.
One (of many) programmatic ways is to check if the file
C:\Windows\System32\inetsrv\w3wp.exe
exists, and maybe has a certain minimum version (such as 10.0.0.0 for IIS version 10).
IIS can be installed programmatically using DISM. You can also use DISM to check if IIS is installed, which may be "more correct", but is also more difficult to do than just checking for a file.
WARNING: If possible, do not hard-code the path C:\Windows\System32, especially not within a 32-bit process or installer, as it can be virtualized and mapped to C:\Windows\SysWOW64, which is NOT where IIS is installed (assuming a 64-bit OS). Depending on where you are implementing your check (installer prerequisites, PowerShell, native code, etc.), there are different ways to explicitly access the 64-bit/native system folder.
Background: w3wp.exe is the worker process image of IIS, so if IIS is installed with minimal features, then this file can be expected to exist.
As for version numbers, you can expect the following minimum versions of IIS to be installed in (source):
IIS 10 (>= 10.0.0.0) in Windows Server 2016 or higher and Windows 10 or higher
IIS 8.5 (>= 8.5.0.0) in Windows Server 2012 R2 or higher and Windows 8.1 or higher
http://localhost:80 (specify port configured)
OR
http://localhost (default port)
type above line in your browser you realize IIS installed or not
I simple gave below in all my browsers. I got image IIS7
http://localhost/
Refer this a step by step approach:
http://www.codeproject.com/Tips/365704/Install-IIS-on-Windows
For many users you have to enable the windows feature on then check IIS and then go with RUN followed by searching for inetmgr.
I needed to do this on a server over the CLI, and was able to do so in using powershell wit the following command:
Get-ItemProperty -Path registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp\ | Select-Object

Resources