iis-express

IIS Express unable to create the virtual directory

强颜欢笑 提交于 2019-12-18 10:15:10
问题 I'm using IIS Express to create a virtual directory at http://localhost:5000/ and received this error: Unable to create the virtual directory. The URL http://localhost:5000/ is already mapped to a different folder... This is because I've used the port 5000 for an old project before and it's no longer needed. My question is, how can I remove the old mapping using IIS Express so I can create the virtual directory at the same port again? Thanks 回答1: You should be able to accomplish this in one

Visual Studio website is redirecting http to https when debugging

末鹿安然 提交于 2019-12-18 10:05:50
问题 I am having an issue with IIS express or Visual Studio 2013. The site has NO https or ssl enabled or setup in the properties. When I click debug, the site launches in the broswer and tries to load: http://localhost:61488/Default.aspx it then for some reason gets automatically redirected to: https://localhost:61488/Default.aspx and I then get an Error code: ERR_SSL_PROTOCOL_ERROR in chrome Im not quite sure what to do? 回答1: I believe this is caused by HSTS - see http://en.wikipedia.org/wiki

Change session timeout on IIS Express?

回眸只為那壹抹淺笑 提交于 2019-12-18 07:46:27
问题 I would like to test session timeout problems while using IIS Express but I can't figure out how to modify the Session State setting so I can change the Time-out for Cookie Settings. Is this a modifiable setting? 回答1: Try following 1.In the web application's web.config file set sessionState timeout something like below (it is in minutes) <sessionState timeout="30" /> 2.Make sure that your application's app pool idle time out is greater than or equal to the timeout specified above (you can run

How to enable case-sensitivity under IIS Express?

て烟熏妆下的殇ゞ 提交于 2019-12-18 06:54:30
问题 How should I go about enabling case sensitive request handling if using IIS Express? Is there a setting in IIS Express? or can a URL Rewrite rule accomplish this? or perhaps catch-all HTTP Handler to do the case check? The goal is to be able to catch case inconsistencies locally, with respect to static files, before deployment to both IIS and S3 (where S3 is case sensitive). Thanks 回答1: IIS is case-sensitive... ...but not for files. It is a misnomer that IIS is case-insensitive, it is the

How to switch IIS Developer Express to “Classic Mode”

旧时模样 提交于 2019-12-18 03:35:52
问题 I know how to switch to "Classic Mode" (from "Integrated Mode") in the full IIS via application pool settings. But I can't find how to do it in the current IIS Developer Express beta. The MS Developer Express FAQ says it can be done, but not how. It's not in the WebMatrix GUI, as far as I can tell. Maybe customization of the Developer Express project file, but I don't see any documentation for that at all. FYI, there is a Settings area where you can set SSL, CLR version (2.0 in this case),

Stop Visual Studio 2013 modifying the IISExpress applicationHost.config

百般思念 提交于 2019-12-18 03:03:19
问题 I have a website project using Visual Studio 2013, and each time I open it, it keeps adding a new entry for the website project in applicationHost.config. I use IISExpress for my development, however I always create a custom entry to provide some specifics and I have it configured to use port 80, so I would like to not have Visual Studio make any modifications to this file. I have gone into Tools > Options > Web Projects and unchecked "Use the 64 bit version of IIS Express for web sites and

ASP.NET Dev Server (Cassini), IIS Express and multiple threads

我的未来我决定 提交于 2019-12-17 20:54:15
问题 I can't seem to find any information on this anywhere. Either it's my imagination or the ASP.NET Dev Server (Cassini) cannot handle multiple threads (e.g. multiple requests). Is this correct? Does IIS Express handle multiple threads? 回答1: Yes, functionally speaking, cassini processes one request at a time. IIS Express is an almost full IIS implementation and will provide expected performance. 来源: https://stackoverflow.com/questions/3261144/asp-net-dev-server-cassini-iis-express-and-multiple

IIS Express 7.5 not processing requests concurrently

只谈情不闲聊 提交于 2019-12-17 18:49:09
问题 Just installed IIS Express 7.5 and am trying to debug a concurrency issue in an ASP.NET MVC 3 application. I don't however seem to be able to get the web server to process requests concurrently, they just get executed one by one. I'm running Apache Bench to simulate a concurrent load but it's just getting queued up. Anybody got any ideas? Thanks. 回答1: If you are using sessions and reusing the Session ID for your concurrent requests, ASP.NET will queue the requests because it needs an

How to configure Visual Studio 2008 to use IIS Express?

被刻印的时光 ゝ 提交于 2019-12-17 16:10:36
问题 The IIS Express FAQ notes that: You can also manually launch IIS Express from the command line and use it with Visual Studio 2008, using the custom web server option How do I configure the Start Options to get this working? 回答1: The following seems to work for IIS Express launching from the command line: Open the Properties for the web site Select Start Options Under Start Action select Start External Program , put the path to iisexpress.exe ( C:\Program Files (x86)\IIS Express\iisexpress.exe

IIS Express defaulting to port 44300 for HTTPS when enabling SSL

ぃ、小莉子 提交于 2019-12-17 15:27:33
问题 When you initially set up IIS Express to enable SSL, it defaults the port to 44300. Unfortunately, when I try to access my site in on https://localhost/ it doesn't work unless I use the port number 44300 - https://localhost:44300/ . The links are generated using the following: <%= Html.ActionLink("Index", "Index", "Home", new { @action = "https://" + Request.Hostname + Url.Action("Index", "Home") }) %> Although an ugly solution, the @action keyword can override the generated route, but it