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?
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.
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:
It's now allowing me to check those things; clicking them toggles them from filled-blue to empty (white/blanco). All of the suboptions refer to IIS6. Aren't there newer versions available?
That installed it, but now I get, "asp.net 4.0 has not been registered on the Web server. You need to manually configure your Web server for asp.net 4.0 in order for your site to run correctly.", and according to stackoverflow.com/questions/5836228/… (1st comment) that is not unusual.
Well, you have a few things to check: 1. Verify you have installed the ASP.NET 4.0 2. in the IIS, verify that in the 'ISAPI Restrictions' the ASP .NET 4.0 is Allowed. 3. Check you have in the App Pool of your site the ASP.NET 4.0 Selected
OK, running inetmgr now, I do see a slew of icons, but to take first things first, how do I determine ASP.NET 4.0.2 has been installed? My "ASP.NET" section there has ".NET Authorization, " .NET Compilation," etc. but I don't see how to tell which version of ASP.NET is there...
In Control Panel, I can see a whole bunch of ASP.NET stuff, such as: Microsoft ASP.NET MVC2, -MVC3, - Web Pages, - Visual Studio 2010 Tools, etc. Also, I have "Microsoft .NET Framework 4 Client Profile", "Microsoft .NET Framework 4 Extended" etc.