Just migrated to VS2012 and having this issue. I need to develop against real IIS server (to be able to debug web services when they called from network devices)
Having issues with "IIS Express started on same port", etc. But there seems to be no IIS Manager for Express? How do I control and configure it?
I'd rather fall back to real IIS
Register asp.net
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
Open Project-> Right Click Select Properties-> Select Web Tab-> Select Use Local IIS Web Server & uncheck the Use IIS Express checkbok -> Specify Project Url
To uninstall IIS Express via Windows 10
Go to Settings -> Apps and features -> Select IIS Express -> Uninstall
Note: IIS Express is packaged with Visual Studio installation (if you have selected to develop ASP.NET Web applications). I DO NOT KNOW if uninstalling IIS Express will have undesirable repercussions in your VS IDE.
I would just follow the instructions above rather than completely uninstalling IIS Express.
Cheers!
Related
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/
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.
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.
I have an MVC3 web application - it is a set of controllers and views without any DB access at the moment.
In the properties for the WEB App (in vs2010 Sp1) If I select
Use Visual Studio Development Server defaulting to a port 10905 then the app works great from an f5
If Instead I use local IIS WebServer with Use IIS Express ticked my project url is http://localhost:10905/ and the app works great.
But if I use local IIS WebServer with Use IIS Express NOT ticked my project url is
http://localhost/TunnelRats then f5 does not work - I literally get a browser popping up with no content displayed just the url address populated.
I created the virtual Directory (using the create directory button) and looked in the IIS Manager
The IIS Manager uses pool ASP.NET v4.0 which has enable 32 bit apps set to true and an integrated pipeline mode.
If I browsse directly from the virtual directory I get the same problem.
Its seems my IIS has a problem where my IIS express does not have a problem running my MVC 3 app.
I used aspnet_regiis -iru to reinstal v4 into IIS with no effect.
Any Ideas
thanks
Martin
might be that you do not have dynamic content enabled on you IIS.
Easiest way to set up IIS for asp.net this days is to use Web Platform Installer
While developing an ASP.NET application I tried to install IIS Express 7.5 onto Windows XP. I downloaded the installer and ran it - IIS installed okay (I see it in Add/Remove Programs list), but I didn't find anything for controlling it (like the IIS console).
My colleague told me I should use IIS Manager for IIS 6, I installed it, but it only allows me to control IIS 5 that was installed on XP from the very beginning. I tried to install IIS Manager for IIS 7 but when I ask it to connect to localhost it shown an error message saying it can't find Microsoft.Web.Administration assembly which AFAIK is only available on Vista and later versions.
How exactly do I install IIS Express 7.5 and some administration console to control it onto Windows XP?
Currently there is no UI for IIS Express. You can install WebMatrix from following link which provides some basic IIS Express mangement functionality.
http://www.microsoft.com/web/
OR
You can also use IIS Express from command line. Below link provides info about how to start use IIS Express from command line.
http://learn.iis.net/page.aspx/870/running-iis-express-from-the-command-line/
IIS 7.5 Express can be controlled via integration with VS2010 SP1, WebMatrix and the command line.
From the IIS 7.5 readme
You will most likely need an
Integrated Development Environment to
build web applications over IIS 7.5
Express. Microsoft WebMatrix provides
a simple and integrated user
experience for building both ASP.NET
and PHP websites using IIS 7.5
Express. You can use IIS 7.5 Express
with Visual Studio 2010 SP1 Beta to
build and test web applications
instead of the built-in ASP.NET
Development Web Server (also known as
Cassini). It is also possible to run
IIS 7.5 Express using the command
line.
I'd also check out the great blog post from Scott Guthrie