iis-express

How to solve “Microsoft Visual Studio (VS)” error “Unable to launch the IIS Express Web server”

拜拜、爱过 提交于 2019-12-03 16:45:19
PROBLEM In some cases " Microsoft Visual Studio (VS) " when you use " Microsoft Internet Information Services Express (IIS) " and you have attached web site project to IIS after run Build shown this error message Unable to launch the IIS Express Web server . How can I solve it if exception message does not shown nothing more? PRE-REQUIREMENTS The best step is catch what exactly is going on. Download and use for it " Sysinternals Process Monitor (PM) ". Run PM and create filter "'Process Name' 'is' 'iisexpress.exe'". Now you show capture events only from IIS. Run building your VS project with

Accessing IIS 7.5 Express from another machine on the intranet

我是研究僧i 提交于 2019-12-03 16:44:30
问题 I am running on VS 2010 Pro with SP1 Beta and IIS 7.5 Express. Everything is working fine, but I am trying to access the site from another machine on our intranet and it does not seem to see anything, I simply get a: "Oops! This link appears to be broken." error in Chrome. Even if I am on the machine and type in: 123.45.6.8/SiteName instead of: localhost/SiteName (which works), I get the error. Can this be done with IIS 7.5 Express? Thank you. 回答1: IIS Express by default only supports local

Basic Authentication on IIS Express

£可爱£侵袭症+ 提交于 2019-12-03 15:30:05
问题 I've searched for a while now but I can't seem to find the answer. There are ways of disabling/enabling anonymous and windows authentication. Does anyone know how to enable basic authentication on IIS Express (8.0) in Visual Studio 2013? 回答1: An additional heads up, in Visual Studio 2015, the location of the applicationhost.config file that is actually being used is inside a folder called .vs inside your solution folder. The one in your user profile is not being used 回答2: Update

Slow startup with IIS Express

天涯浪子 提交于 2019-12-03 14:40:42
问题 I have a problem with my MVC application and startup. Every time I make a change and one the app its take a long time to start up. I have about 100 lines with ''iisexpress.exe' (CLR v4.0.30319:' Do I have to start iisexpress every time I run my application? 回答1: I found significant improvement after disabling logging. Locate the IIS config for your project or machine, typically found in: %userprofile%\documents\iisexpress\config\applicationhost.config .\.vs\config\applicationhost.config And

IIS Express catch-all Subdomain url

六月ゝ 毕业季﹏ 提交于 2019-12-03 13:59:52
I'm looking for a solution for a subdomain catch-all url in IIS Express. Basically, I've looked around and found how to create domains/subdomains in IIS Express. It was quite easy to find, and all I had to do was add another binding in the ApplicationHost.config for IIS Express, and change my hosts file to point 127.0.0.1 to the domain. This is the IIS express config file: <binding protocol="http" bindingInformation="*:80:domain.com" /> <binding protocol="http" bindingInformation="*:80:sub.domain.com" /> However, I couldn't find any way to create a catch-all URL. There might have been an over

IIS Express Web Server - (Every) Port is in Use?

别来无恙 提交于 2019-12-03 11:29:44
问题 Today I installed VS2010 SP1 Beta, and IIS 7 Express, as I currently have IIS5 on my local development machine and thought I'd try IIS Express out. I have gone into the properties window for my Web Application, checked the 'Use IIS Express' checkbox, created the Virtual Directory when it has prompted me, but then get the message "Unable to launch the IIS Express Web Server. Port x is in use". I have tried changing the port number from the default value that was in there, to numerous other

HTTPS stopped working with IIS express

徘徊边缘 提交于 2019-12-03 11:20:12
I went through this whole procedure http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx a couple weeks ago and got https working on port 443 of all my IPs. The machine was rebooted a few days ago and I tried accessing the site again today (launched via VS2010, IIS express tray shows site running on 80 and 443). The http is working fine but https just says "internet explorer cannot display the page". I can see with netstat that the system process is listening on port 443 but I don't get anything in the browser. Fiddler shows some tunnel activity but nothing

IIS Express - increase memory limit

我们两清 提交于 2019-12-03 10:30:24
问题 I have a VS project in .NET MVC5 which loads an external dll file that uses a lot of memory. In average it uses from 500-1000MB memory. Now when I try to debug my project with default IIS Express server I almost always get OutOfMemory exception. I know that there is a /3gb flag for normal IIS but what about IIS Express. Are there any settings so I can enable this or is there any other solution to this problem except of installing a full IIS on development PC? PS: Developer PC has Windows 8.1

remove virtual directory in IIS Express created in error

点点圈 提交于 2019-12-03 10:12:01
I clicked on create virtual directory of the web tab of the properties menu. My application now isn't running (the published version is) It just hangs when any of my controllers code is executed I think I've messed up the IIS config Can anyone help me out? My file was located here: C:\Users\YourUserName\Documents\IISExpress\config\applicationhost.config Entries will look like this <application path="/virtualDirectoryName" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="C:\projects\Project1" /> </application> None of this worked for me - possibly because I'm

How can I create new applicationhost.config file in IIS Express Server?

余生长醉 提交于 2019-12-03 09:38:36
I had to delete my applicationhost.config, because VS 1012 didn't deal with it. How can I create it? thank you. Just run IISExpress and it will recreate the file for you. The exe is located at: "c:\Program Files\IIS Express\iisexpress.exe". Hope this helps. After you deleted applicationhost.config you do not need to run iisexpress.exe manually, you can simply load your project in Visual Studio and run it. Visual Studio will take care of that plus it will change applicationhost.config with settings for that project specified in project Properties window (not mouse menu properties). It will add