Cannot find inetmgr in Windows Server 2008 R2 Standard - iis-7

I have recently installed Windows Server 2008 R2 Standard in Virtual Machine. I checked by doing localhost in browser as well as created a folder and tested with the link. It works fine. Now I wanted to add PHP extension in IIS7 which says I need to open IIS manager which I don't see either in "Administrative tool" of control panel or I can go from command prompt using "inetmgr".

Had the same problem and solved: In Server Manager (open from Administrative Tools), expand Roles, click on Web Server. Then scroll down to section 'Role Services' and click Add Role Service. From there you can click the Management Tools section. Only the Console is needed.

Just Write inetmgr in Run window it will showup..
or u need to add / install using Turn on Windows features in Add and Remove Programs
Complete Steps to Install and View IIS is here Link!!

Make sure that you installed Management Tools for IIS. It is server feature called something like "IIS Management Console"

Make sure that you have setup correct roles for Windows server. Also, please make sure that you have installed ,Management Console for your IIS installation.
Below is a useful tutorial given by Microsoft:
http://technet.microsoft.com/en-us/library/cc771209.aspx
Regards.

I had the same problem, http://localhost was working but I couldn't get to IIS Manager. Installed "IIS Management Console" and it works!

Related

IIS7 MVC Routing Not Working

Our company ships an MVC based product (targeting v4.5) which has stopped working on a customer site for what appear to be environmental issues - a build which worked with no problems once upon a time now gives a 403.14 - The Web server is configured to not list the contents of this directory.
.
What I think is happening...
The user accesses http://server/AppName
Because it's an MVC app, the default route (Reports/Index) should be used.
Instead IIS is looking for a default document...
... and, not finding one, it assumes the user wants to list the contents of the directory...
...which is not enabled so it throws a 403.14.
.
What I've tried so far...
Accessing the route directly.. results in 404 error. So I'm pretty
sure IIS doesn't realise it should use routing.
Use aspnet_regiis to register ASP.Net with IIS. This was done from the Framework64 folder since...
OS is 64 bit - Windows Server 2008 (Standard without Hyper-V)
IIS is 64 bit - though Enable 32-Bit Applications is true
Checked AppPool is targeting v4 of the framework - it is.
Changed AppPool mode to Classic - was pretty sure it should be integrated but was worth ruling it out. It is now back to Integrated
Confirmed RunAllManagedModulesForAllRequests is set to true in the web.config.
Checked permission conditions defined in <system.webServer> section of web.config are met - they are.
Created the simplest of MVC applications and deployed it - same problem.
Running the command shell as Administrator unregistered ASP.Net using aspnet_regiis -ua and re-registered using aspnet_regiis -enable -i. We hit a couple of permission problems - and the Temporary ASP.NET Files directory was missing but once they were address we were back to the same error.
Added a simple default.htm - when present, this is served in response to the http://server/AppName request.
I'm clean out of ideas and all google hits suggest some combination of the above - or enabling directory browsing (which I think is just a symptom rather than the root cause).
Also, not sure if it's relevant but the amount of configurable elements available for the application in IIS seems a bit below what I would have expected...
Have you Checked the user the application pool process is running under? I think Your site needs to run with permissions to execute the .net libraries and I've seen this just change for seemingly no reason (probably related to an overzealous update to the system).
You can try with the Enabling directory browsing .
assuming you are under Windows Server 2012 or Windows Server 2012 R2
On the taskbar, click Server Manager.
In Server Manager, click the Manage menu, and then click Add Roles
and Features.
In the Add Roles and Features wizard, click Next. Select the
installation type and click Next. Select the destination server and
click Next.
On the Server Roles page, expand Web Server (IIS), expand Web
Server, expand Common HTTP Features, and then select Directory
Browsing. Click Next.
On the Select features page, click Next. On the Confirm installation
selections page, click Install. On the Results page, click Close.
if you using the Windows PC try this in your command prompt as follows:
go to C:\Program Files\IIS Express
then press Enter:appcmd set config
/section:system.webServer/directoryBrowse /enabled
Maybe this is your case https://forums.iis.net/t/1157304.aspx
SQL Server Reporting Services creates a folder called Reports by
default if you install it on IIS. If you install SQL 2008 then
Reporting Services doesn't need to use IIS and instead will try to
reserve the URL with the HTTP.Sys service.
I believe this is the cause of the conflict you are seeing. What you
could try is changing the URL that Reporting Services uses via the SQL
Server Configuration Wizard.
Also I found that
Report Manager of SQL Server can use reports path http://<server name>/reports
Configure a Native Mode Report Server for Local Administration (SSRS)
I think the problem is IIS features that are not installed yet. I have met this kind of problem frequently in Windows Pro. Make sure to turn on every feature under Internet Information Service -> World Wide Services because by default IIS is configured to use WebForms. So there might be some features that not installed yet to use MVC, especially ISAPI filters. In my case, that was the solution. I hope it helps.
Something similar i encountered using VS 2017 & ASP.NET MVC.
Was working on the project for long with no problems at all but suddenly the routing started misbehaving & stopped working.
So I changed the Port in Project Properties Page & it started working.
I really don't know what is the relation between a port & MVC routing modules. Someone else can enlighten if at all this helps.
I had the same problem and I just created an application pool out of the Default Web Site in IIS and stoped the default web site. With that difference you will not have the application pool's path
I know it's been a long time since this question but i've had the same problema recently. I've tried every single configuration, just like #amcdermott did, but the only action that solve the problem was reinstalling .NET Framework.
My app was built under .NET Framework 4.5.2. The application server had the version 4.6.1 and 4.5.2 installed. So, i uninstalled all framework versions and installed the one that i needed.
Please, make sure that no other applications use superior versions of .NET Framework if you going to try this solution.
Here are some quote I find on Microsoft official site which I think may help:
For site administrators
This problem occurs because the Web site does not have the Directory Browsing feature enabled, and the default document is not configured. To resolve this problem, use one of the following methods:
Method 1: Enable the Directory Browsing feature in IIS (Recommended)
To resolve this problem, follow these steps:
Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.
In IIS Manager, expand server name, expand Web sites, and then click the website that you want to modify.
In the Features view, double-click Directory Browsing.
In the Actions pane, click Enable.
Method 2: Add a default document
To resolve this problem, follow these steps:
Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.
In IIS Manager, expand server name, expand Web sites, and then click the website that you want to modify.
In the Features view, double-click Default Document.
In the Actions pane, click Enable.
In the File Name box, type the name of the default document, and then click OK.
Method 3: Enable the Directory Browsing feature in IIS Express
Note This method is for the web developers who experience the issue when they use IIS Express.
To do this, follow these steps:
Open a command prompt, and then go to the IIS Express folder on your computer. For example, go to the following folder in a command prompt:
C:\Program Files\IIS Express
Type the following command, and then press Enter:
appcmd set config /section:directoryBrowse /enabled:true

How do I get to IIS Manager?

In trying to reconnect and reconfigure an existing project on a new machine, I find here (The Web Application Project [...] is configured to use IIS. The Web server [...] could not be found. ), based on the err msg I got on opening the project, that I need to go to IIS Manager (I performed the tasks prior to that in Russ C's answer, installing IIS 7.5 Express and rebooting). However, Russ goes on to write, "Next, go to your IIS Manager..." and that I haven't been able to do/find.
So I found this: http://technet.microsoft.com/en-us/library/cc770472(v=WS.10).aspx, where these instructions are given:
To open IIS Manager from the Start menu
Click Start, and then click Control Panel.
Do one of the following:
If you are using Windows Vista® or Windows Server® 2008, click System and Maintenance, and then click Administrative Tools.
If you are using Windows® 7 or Windows Server® 2008 R2, click System and Security, and then click Administrative Tools.
In the Administrative Tools window, double-click Internet Information Services (IIS) Manager.
To open IIS Manager from the Search box
Click Start.
In the Start Search box, type inetmgr and press ENTER.
As this is Windows 7, I tried System and Security | Administrative Tools, but there is no IIS Manager in the list. So I then tried the "inetmgr" route and that, too, failed (it opens a "Search Results" dialog with "No results matched you search" or similar wording).
So how can I locate the IIS Manager so that I can create anew or reattach the configurations the asp.net is failing to find?
UPDATE
I had to manually add support for asp.net 4 in IIS Manager for my project to quit whining. Why wouldn't this automatically be configured when installing asp.net 4?!? Anywho, for the benefit of future onreaders, here is what I had to add in its full color glory:
So here's how it looks at the end:
I don't know why v2 is needed and, if it is, why version 3 is not, but the important thing (for me, now) is having v4 support.
UPDATE 2
Right-click solution, there is a "Use IIS Express..." menu item. If you select that, you see:
...so maybe all that lying on my back, getting oil in my hair was unnecessary - just select this and all that behind-the-scenes stuff would have been taken care of automagically?
First of all, you need to check that the IIS is installed in your machine, for that you can go to:
Control Panel --> Add or Remove Programs --> Windows Features --> And Check if Internet Information Services is installed with at least the 'Web Administration Tools' Enabled and The 'World Wide Web Service'
If not, check it, and Press Accept to install it.
Once that is done, you need to go to Administrative Tools in Control Panel and the IIS Will be there. Or simply run inetmgr (after Win+R).
Edit:
You should have something like this:
You need to make sure the IIS Management Console is installed.
On a Windows Server 2016 I opened Server Manager from the start menu search. Then clicked Tools on the top right. Then found Internet Information Services (IIS) Manager
Or click win + r then type inetmgr then hit enter.
To open IIS Manager, click Start, type inetmgr in the Search Programs and Files box, and then press ENTER.
if the IIS Manager doesn't open that means you need to install it.
So, Follow the instruction at this link: https://learn.microsoft.com/en-us/iis/install/installing-iis-7/installing-iis-on-windows-vista-and-windows-7

Missing ASP.NET tab in IIS

Hmm. I'm trying to deploy a web service to a new server and there is no ASP.NET tab. I've tried running aspnet_regiis from ASP.NET 2.0 directory but this doesn't seem to work. Any ideas anyone?
If you've had (or have...) VMware Server installed on this particular machine, the following steps will most likely fix the issue with minimal pain:
Stop the IISAdmin service (and its dependencies)
Open %windir%\system32\inetsrv\MetaBase.xml in a text editor
Delete the line that reads Enable32BitAppOnWin64="TRUE"
Restart your services using iisreset /start
Did you try uninstalling and then reinstalling ASP.NET?
i.e.
aspnet_regiis -u
and then
aspnet_regiis -i
The uninstall and then reinstall worked for me before.
The default install for IIS doesn't include ASP or .Net. You need to enable those in Windows Features menu where you installed IIS from. This shows the basic steps - they may be different for your IIS version and host OS.
This can have multiple causes ranging from installing IIS after the .NET Framework or the IIS metabase getting corrupted. The order I would go with is:
reinstall ASP.NET (as noted above: aspnet_regiis -u and then aspnet_regiis -i (found in the Windows\Microsoft.NET\Framework\vX.Y.Z directory)
If #1 does not resolve it, then reinstall IIS (remove/reinstall using Add/Remove Windows Components from Add/Remove Programs on XP/2003 or from Programs Control Panel Applet on Vista)
Is this IIS6? I think you can go to the
Add/Remove Software
Windows Components
IIS
Make sure that ASP.NET is checked. I think this installs
support for ASP.Net
re-run aspnet_regiis
I resolved my problem with the following steps:
1) Set the necessary permissions in "C:\Windows\System32\inetsrv" and subfolders.
2) Do not compact this folder, subfolders or files inside.
reinstall IIS
Since you said you're setting up a new server, I assume it's a Windows Server 2008 (IIS7) or 2008 R2 (IIS7.5). In either case, ASP.NET support is not configured by default (as others have mentioned). Check out the following documentation: Deploying an ASP.NEt Server (IIS7)
I found proper way. Consolidating and summerizing the method for windows 7.
Click Start, and then click Control Panel.
In Control Panel, click Programs, and then click Turn Windows features on or off.
VERY IMPORTANT! In the Windows Features dialog box, click Internet Information Services to install the default features, and then select the following additional features:
ASP.NET,.NET Extensibility , Request Filtering , ISAPI,ISAPI Extensions
Click OK to close the Windows Features dialog box.
4.To verify that IIS installed successfully, type the following into a Web browser:
http://localhost
You should see the default IIS Welcome page
5.Uninstall ASP.NET with IIS aspnet_regiis -u
6.Reinstall aspnet_regiis -i.
7.ReInstall .NET framework 4 in order IIS to recognize v4 in application pool.
Refer:
http://msdn.microsoft.com/en-us/library/k6h9cz8h.aspx
http://technet.microsoft.com/en-us/library/cc731252%28v=WS.10%29.aspx

How do I get Visual Web Developer to use IIS, and not ASP.NET development server?

I want to make sure my local is matching the production environment closely and that means running IIS and not the ASP.NET development server that comes with Visual Web Developer express edition. What is the best way to do this?
In Visual Studio you right-click the project, select Properties then Web and change it to use Local IIS. It seems the process is similar for VWD, but there there is a Properties node you open instead. I don't have VWD installed right now so can't check to see if this method is indeed accurate but the article is recent so I assume that it is.
First make sure you have installed and configured IIS server. To check whether IIS server is installed: Run->inetmgr press enter.
To know how to install and configure IIS server check the following Link:
http://chalaki.com/install-iis6-windows-xp-professional-sp3-setup-run-csharp-cgi/425/
To develop Website using Visual developer 2008 with IIS instead of "ASP.NET Development Server", In the new website window under "Location" click on "Browse" to see the different Server options including IIS Server. User can select the server as IIS server instead of "File System", then the "Location" option will be "HTTP" instead of "File System".
In Visual developer 2008 under Properties->Start Option->Server->"Use local IIS server" option is not shown, Even though IIS server was installed and configured successfully. the only options shown are "use default server" and " Use custom server with base URL".
So in Visual developer 2008 to run on IIS server(If IIS server is installed), Need do the following:
New Website -> Under Locations Click on "Browse" -> Click on "Local IIS" and then select the "IIS Virtual Directory"(IIS vitual Directory which is directory created by the user while configuring IIS server) -> Open
While Running/debugging, the server which you selected while creating the website, the same server will used to open the website, that is while creating the website if you selected "IIS Server" then the website will be opened though IIS server.
One more thing is, while installing Visual developer 2008 and IIS server, If you installed IIS server after installing Visual studio then you need to do the following before creating new website:
Run ->cmd press enter (then enter the following Command)-> C:\WINDOWS\Microsoft.NET\Framework\Version aspnet_regiis -i press Enter then you get message after 3 seconds "ASP.net was installed successfully".
(*Version will be v2.0.50727 in most cases)

Problems running ASP.NET application with IIS

I have written a small ASP.NET application. It runs fine when running it with the small IIS installation that comes with Visual Studio 2005, but not when trying with IIS. I created the virtual directory in IIS where the application is located (done it though both IIS and VS 2005), but it does not work. In the beginning I thought it might be caused by the web.config file, but after a few tests, I think that the problem lies with IIS (not certain about it).
Some of the errors that I get are
Unable to start debugging on the web server. The underlying connection was closed: An unexpected error ocurred on a receiver. Click help for more information
Can anybody give me a suggestion of what to try next?
Have you run aspnet_regiis?
Here's an overview site for different IIS versions setup and should help if there are other questions/issues
Try reinstalling aspnet_regiis.exe.
If you are using .net frameworkype 4.0 and using 64 bit system,
Go to Run, Type cmd and Command Prompt will be up, then type
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
If you are using 34 bit system,
Go to Run Type cmd and then type
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
The site won't load at all or you can't debug remotely?
Some thoughts:
Make sure you've got debugging enabled in your web.config, if you're trying to debug. Otherwise, build in 'Release' mode.
Make sure your project is set as an application, and is running as the correct version of .NET
More description of your setup and the error message would be useful.
Make sure that the customErrors is set to off in the web.config. That should show the actual exception.
Make sure that your virtual directory in IIS is set to the correct version of the .NET framework.
Look at the properties in the virtual directory and see that the correct default documents are the ones that you are using in your dev project.
Also look at the url headers for the website in IIS.
On some of our servers we have both versions of the .NET framework. In IIS I typically have to set what version the virtual directory should be using. This can cause problems running it on the server.
First make sure you have installed and configured IIS server. To check whether IIS server is installed: Run->inetmgr press enter.
To know how to install and configure IIS server check the following Link:
http://chalaki.com/install-iis6-windows-xp-professional-sp3-setup-run-csharp-cgi/425/
To develop Website using Visual developer with IIS instead of "default ASP.NET Development Server", In the new website window under "Location" click on "Browse" to see the different Server options including IIS Server. User can select the server as IIS server instead of "File System", then the "Location" option will be "HTTP" instead of "File System".
In Visual developer 2008 under Properties->Start Option->Server->"Use local IIS server" option is not shown, Even though IIS server was installed and configured successfully. the only options shown are "use default server" and " Use custom server with base URL".
So in Visual developer 2008 to run on IIS server(If IIS server is installed), Need do the following:
New Website -> Under Locations Click on "Browse" -> Click on "Local IIS" and then select the "IIS Virtual Directory"(IIS vitual Directory which is directory created by the user while configuring IIS server) -> Open
While Running/debugging, the server which you selected while creating the website, the same server will used to open the website, that is while creating the website if you selected "IIS Server" then the website will be opened though IIS server.
One more thing is, while installing Visual developer 2008 and IIS server, If you installed IIS server after installing Visual studio then you need to do the following before creating new website:
Run ->cmd press enter (then enter the following Command)-> C:\WINDOWS\Microsoft.NET\Framework\Version# aspnet_regiis -i press Enter then you get message after 3 seconds "ASP.net was installed successfully".
(*Version# will be v2.0.50727 in most cases)

Resources