iis-express

Visual Studio 2015. Failed to register URL for site access is denied IIS Express. Access denied 0x80070005

我只是一个虾纸丫 提交于 2019-12-04 15:23:39
I enabled SSL in Visual Studio 2015 in order to implement Facebook and Google login locally. I changed the project URL in the Web tab of the project's properties to https://localhost:44300/ and decorated the controller with the RequireHttps attribute - ref @msdn . Everything worked fine locally. I reverted settings to HTTP to test something else and that caused me a problem when I tried to get back to HTTPS. I found this SO question and tried almost every suggested solution. Error detail: Failed to register URL " url " for site " site " application " path ". Error description: Access is denied

Binding IISExpress to IP Address Failing

别说谁变了你拦得住时间么 提交于 2019-12-04 12:09:56
问题 I've had this working on the same Windows box in Win8 Win8.1 and Win10. Yesterday I performed the Threshold 2 upgrade to Windows 10 and now I can't launch my API in IISExpress. The bindings are setup like this: <binding protocol="http" bindingInformation="*:51258:jamhq" /> <binding protocol="http" bindingInformation="*:51258:192.168.0.8" /> I've triple checked all my netsh settings and at the moment Windows Firewall is completely disabled whilst I troubleshoot. Every time I try to launch this

Visual Studio 2017 Doesn't Run Core Apps with IIS Express

落花浮王杯 提交于 2019-12-04 11:36:39
问题 I am having an issue with Visual Studio 2017 RC where when I run an MVC and/or WebAPI app using IIS Express the app never actually runs. Instead I get stuck with a page in the browser indicating it is trying to attach and from there it goes no further. If I open another tab/window in the browser and try to navigate directly to the launch URL, it just spins forever. Likewise when I run this using the dot net run command, the app launches and runs fine. There do not seem to be any errors that I

Why is IIS 8.0 Express using the old project names after rename in Visual Studio 2012

狂风中的少年 提交于 2019-12-04 11:28:20
After some naming confusing my team decided to rename some projects and the namespaces for all the existing code files in the project. (In Visual Studio 2012) We've changed: the Project Names the Assembly Name, Default namespace, Title and Product entries in the Project Properties the namespaces for each code file in each project that was renamed all the using statements for the revised namespaces cleared out the old .dll files in the /bin directory (for the routing engine to not find multiple controllers) the actual folders themselves, requiring removing and re-adding the projects to the

Windows Authentication not working in ASP.NET MVC 5 web app

[亡魂溺海] 提交于 2019-12-04 10:40:42
问题 I have an ASP.NET MVC 5 app and am trying to enable Windows Authentication. The development machine is Windows Server 2008 R2, IIS Express 8.0, Visual Studio 2013 & .NET Framework 4.5. I get a 404 Not Found error when ever I browse the app. The app enters a redirect loop with http://localhost:63455/Account/Login?ReturnUrl=%2F . Eventually the ReturnUrl ends up being very large as it gets appended to with each redirect. My web.config looks like this: <system.web> <authentication mode="Windows"

Configure Maximum Number of Requests in IIS Express

孤人 提交于 2019-12-04 10:11:32
How can I configure the maximum number of requests allowed in IIS Express? I would like to change this to only allow a few requests to test what happens when it exceeds the limit. IIS Express can be configured using applicationHost.config file. It is located at %userprofile%\my documents\IISexpress\config Open this file in text editor. You will find <sites> element in <system.applicationHost> section. In that you will find a <site> element for each site hosted on IIS express. Find the element corresponding to your site. Add a <limits> element as shown below. <sites> <!-- Other sites --> <site

How to change IIS Express site name in Visual studio project

自作多情 提交于 2019-12-04 10:07:31
Hi I have two solution file one is called WWSearch and the other WWSearchDev. WWSearchDev was copied from WWSearch. both solution has ASP.net web form project. I searched everywhere in WWSearchDev for the word "WWSearch" and it has no reference to "WWSearch". But when I run the code IIS express still says the site name is WWSearch The problem is the path of WWSearchDev should be C:\VSS\WWSearchDev. *see screenshot. I tried adding a new site in IIE express application config file in C:\Users\%username%\Documents\IISExpress\config\Applicationhost.config. but It still not working please help..

How to send client certificate using HttpWebRequest and IISExpress for debugging

谁说胖子不能爱 提交于 2019-12-04 10:04:41
I have some code for pulling a client certificate from the page request. This is the code in "MyPage.aspx". string someparam = this.Request.Params["someparam"]; if (!String.IsNullOrWhiteSpace(someparam) && this.Page.Request.ClientCertificate.IsPresent) { try { X509Certificate2 x509Cert2 = new X509Certificate2(this.Page.Request.ClientCertificate.Certificate); // // Code for verifying the x509Cert2 // } catch (Exception) { } } Now I want to test the code in Visual Studio in my local environment. For this I installed IISExpress to get trusted communication over https. So far so good. The problem

Visual Studio 2013 gives “Cannot add duplicate collection entry of type ‘mimeMap’”

倾然丶 夕夏残阳落幕 提交于 2019-12-04 09:04:14
问题 I have a site that was built using Visual Studio 2010. When I upgraded to Visual Studio 2013, on some pages I would get an error that said: Cannot add duplicate collection entry of type 'mimeMap' with unique key attribute 'fileExtension' set to '.mp4'. After some searching, I found a helpful post on a blog, but since the issue was a little different and I didn't find it on stackoverflow, I thought I'd post the question and answer here. 回答1: The issue was that when I switched to Visual Studio

Unable to load Web Application project due to its configuration

泪湿孤枕 提交于 2019-12-04 08:32:03
问题 I've a problem with loading Web Application project in VS2013. This project depends on IIS Express, but I wouldn't install IIS Express because I already installed IIS. What I can edit in .csproj file to load this project? I've tried to set to false, but it's wouldn't help me to solve problem. Thank you for advice. Upd.1: Also, I cannot create new web projects - VS tell me same things. 回答1: Happened to me too. My workaround: Right-click the (failed-to-load) project => edit web.csproj Find the