iis-express

The program '[4432] iisexpress.exe' has exited with code -2147023895 (0x800703e9)

匆匆过客 提交于 2019-12-06 21:36:33
问题 I have very frustrating issue with IIS Express. When I start debug everything is ok, but after few requests IIS hangs and crashes. My browser (Chrome Version 37.0.2062.120 m) waits for the response several seconds and then IIS Express stops running. My output is The program '[4432] iisexpress.exe' has exited with code -2147023895 (0x800703e9). and event log looks like this: Log Name: Application Source: Application Error Date: 2014-09-18 14:12:24 Event ID: 1000 Task Category: (100) Level:

Allow “localhost” to run in iisexpress when web.config contains ipSecurity permissions

家住魔仙堡 提交于 2019-12-06 18:54:03
问题 I just added this to my web.config: <security> <ipSecurity allowUnlisted="false"> <!-- The following IP addresses are granted access, all else denied --> <add allowed="true" ipAddress="123.123.105.0" subnetMask="255.255.255.0" /> <add allowed="true" ipAddress="123.123.100.0" subnetMask="255.255.255.0" /> </ipSecurity> </security> Works exactly as intended, only over that certain IP range. BUT, now when I go to test this in Visual Studio via iisExpress over localhost it of course gives me

How do I prevent Visual Studio from modifying the IIS Express site's phyical path in applicationhost.config?

元气小坏坏 提交于 2019-12-06 18:33:21
问题 I have a Visual Studio web application project that, for certain reasons, copies files from multiple projects to a separate output directory. I want to use this output directory as the root of the associated IIS Express site. In IIS Express' applicationhost.config file, I can set the associated site's physical path to the correct directory. I'll set it like this: <site name="MySiteName" id="42"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/"

Couldn't determine an appropriate version of runtime to run

一世执手 提交于 2019-12-06 15:57:10
I just finished upgrading to beta4. My code compiles successfully with no errors/warnings but I am unable to launch my web api hosted in IIS Express (by hitting F5 ). I get the following error: Couldn't determine an appropriate version of runtime to run. See http://go.microsoft.com/fwlink/?LinkId=517742 for more information. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: Couldn't determine an

Why does SSL 443 fail to work in IIS Express for custom domains of Visual Studio web projects?

笑着哭i 提交于 2019-12-06 14:02:37
I have VS2013 set up with IIS Express to use a custom domain as follows: http://mydomain.local https://mydomain.local The port 80 url works great, the port 443 does not ( Bad Request , Page Cannot Be Displayed, aka site doesn't exist). Why? Clearly IIS Express is struggling to map or use port 443 with this name, but why? applicationhost.config: <site name="MyDomain" id="16"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="C:\Projects\MyDomain" /> </application> <bindings> <binding protocol="http" bindingInformation="*:80:MyDomain.local" /

IISExpress VS.Net 2015 - HTTP Error 500.22 - An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode

风格不统一 提交于 2019-12-06 13:36:05
问题 I've an ASP.NET MVC5 web app on my local Win 10 machine. Recently, I upgraded some Nuget packages and MVC4 to MVC5. And updated the target framework version to .Net v4.5. Now, when I debug the web app from local VS.Net 2015 Community version I get the following error - HTTP Error 500.22 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. Most threads I found were for IIS I'm talking about IISExpress. They suggested to change

Request Client Certificate

安稳与你 提交于 2019-12-06 12:08:28
I've seen a lot of unsolved questions about this. Apparently many developers have gotten past this issue, but I haven't seen any solutions posted. I'm trying to read a smart card (X.509 CAC) for my ASP.NET MVC 5 web app. When I try to pull the certificate information like this: var request = HttpContext.Request; var cert = request.ClientCertificate; The cert has empty values. The problem appears to be I am not presenting the dialog to request user certificate info like I see on other websites. How do I expose this dialog? I am running it with SSL enabled. My applicationhost.config has this in

IIS Express - Impersonate a windows account

亡梦爱人 提交于 2019-12-06 11:32:13
问题 I'm using IIS Express to host my website, and I would like to do something similar to Directory Security in IIS 6. In IIS 6, I was able to go to the Directory Security tab and allow the anonymous user to be a local windows account. Is there something equivalent in IIS Express for that? What changes do I need to make in applicationhost.config? Thanks 回答1: IIS Express process runs under the logged on user. With default settings, anonymous requests will execute under the identity of the process.

IISExpress garbled HTTP 500 error message

僤鯓⒐⒋嵵緔 提交于 2019-12-06 10:05:16
I'm running a project off Visual Studio 2010 on IISExpress in Windows XP (I know, XP, crazy right?) and whenever a 500 error is thrown it sends garbage back to the browser, rather than a properly formatted server error message with the exception details. An email gets sent to me with the Exception details and this returns everything properly, its only when it hits the browser that I get the garbage. To give you an idea of what I mean by garbage, this is what I get. Nice huh? I have no idea why it returns this to me rather than what I would consider a 'normal' exception message with the stack

Run Web Service using IIS Express without Visual Studio

馋奶兔 提交于 2019-12-06 09:54:31
I have created asmx web service in PC1. Now I have coped this project to some other PC2. I have installed only IIS Express and .NET Framework. I want to run web service in PC2 using IIS Express. Is it possible or not? Thanks!! Under the IIS Express folder in the C:\Program (x86) folder there's the appcmd.exe . First you need to add a virtual directory with the follwoing command: appcmd add vdir /app.name:<site_name>/ /path:/<virtual_directory> /physicalPath:<physical_location> If there is no site you can add one by yourself: appcmd add site /name:SITENAME /id:2 /physicalPath:C:\PHYSICAL_PATH