Currently I faced a problem....I need to set IIS to Local IIS under web tab in visual studio.But there is no local IIS in dropdown list.How I can find it?should I install something?if yes,what should I install and from where?
regards
Related
I am working on a project that needs to be worked on Local IIS. I have used only IIS express but recently for any web project if I use Local IIS then it does not work. Please guide me through this -
And if browsed through inetmgr -
I would like to be able to run my published site on my arvixe shared hosting (if it's possible now, as it's only beta4 now), and on my dev machine's IIS 8.5.
It's a dnx-clr-x64.1.0.0-beta4 ASP.NET 5 project. (dnx451) I'm thinking of using the full .NET, not the Core. It would be also nice, NOT to publish the source code.
I'm using Visual Studio Community 2015 RC.
Can it be done, and can it be done from VS, without console commands?
Thanks.
How do I enable the option to use IIS Express for a website project in my solution?
I have installed IIS Express but it does not show up as an option? I would like to use this because at the moment I cannot use IIS on my machine.
Do you have Visual Studio 2010 SP1 installed? SP1 is required to get the IIS Express option in the Web tab of your project properties. (don't forget to also do a windows update) Also, you should install the Visual Studio 2010 Web Standards Update as well.
As 'Mystere Man' said you need VS 2010 service pack (SP1) to see IIS Express option in VS. If you are sure that you have SP1 installed, did you check if IIS Express exists in the installation folder? (%programfiles%\IIS Express or %programfiles(x86)\IIS Express)
If it is not installed, you can install it from http://www.microsoft.com/en-us/download/details.aspx?id=1038
I had this problem because I opened the site through IIS. The only way to see that the project was opened through IIS is the lack of this button and the title of the Web Site project looks like: http://localhost/x rather than http://localhost:1111.
To get the ability to use IIS Express, you have to remove the Web Site project from the solution and use Add Existing Web Site then choose the file system.
Some while ago I've upgraded an asp.net 1.1 application (which ran on IIS 5 and 6) to .net 3.5 and later to .net 4.0 (and IIS 7.5)
Still, when I want to open it in VS, I need to install the "IIS Metabase and IIS 6 Configuration Compatibility". It works after I install it, but..
How to get rid of this requirement?
When debugging ASP.NET projects using Windows 7's IIS7.5 web server, Visual Studio 2010 RTM requires the IIS6 Metabase and IIS6 Configuration Compatibility components.
However Visual Studio 2010 SP1 fixes this dependency and VS2010 now works natively with IIS7.5 without any need to use the IIS6 bits.
I also proved this by knocking out a test project in Visual Studio 2003 and then copying to two different IIS7.5 machines configured as:
PC1: VS2010 RTM, no IIS6 Compatibility
PC2: VS2010 SP1, no IIS6 Compatibility
Here's a long-winded explanation (in case you need it) but the short answer (which also appears there) is to run
aspnet_regiis -ga <WindowsUserAccount>
I believe that this only happens when you upgrade a machine or you are not an administrator of the machine when you install .Net/Visual Studio. I recently had to do this on a brand new laptop with Visual Studio 2010 installed by others before I had admin rights. So, the way to get rid of this requirement from your end is to do the install as an admin.
I built an installer for a ASP.net web application and installing from Visual Studio fails to recognize IIS Express as a version of IIS. Is this expected behavior? If so is there a workaround?
Yes... It's expected behavior, but Visual Studio 2010 SP1 recognizes IIS Express and you can use it instead of Cassini(Visual Studio Development Server).
http://blogs.msdn.com/b/webdevtools/archive/2010/12/11/visual-studio-2010-sp1-beta-iis-express-integration.aspx