iis express - No response while using ngrok to expose a local web server

I'm trying to expose my local web server IIS Express using ngrok.Followed steps from https://ngrok.com/docs and fired the tunnel, but can't get response.Screenshot - ngrok firedI'm using Visual studio via IIS Express. (Debug mode, local website works well.)If local website not started, access to XXXXX.eu.ngrok.io will get error directly: Failed to complete tunnel connection The connection to https://2713343d.eu.ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address local...Read more

IIS Express crashes when starting a site from visual studio

I started encountering this problem after installing the Visual Studio 2015 RC; I am no longer able to debug web projects from Visual Studio 2013. My projects build fine and VS launches a browser - I can see in my output that iisexpress.exe loads all the relevant DLLs for the project, but then right when I would expect to see my website, iisexpress.exe stops running and Visual Studio stops debugging. All the output Window tells me is this:The program '[3724] iisexpress.exe: Program Trace' has exited with code 0 (0x0).The program '[3724] iisexp...Read more

iis express - Couldn't determine an appropriate version of runtime to run

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 Detail...Read more

iis express - Does the Jetbrains Rider working properly with IISExpress?

1.The Jetbrains Rider I'm using is the latest version 2019.1.2 (Free 30-day trial) from the official website. It may not a broken version.2.There is a solution which contains a asp.net webapi csproj.3.The solution was working properly in IIS, or VS+IISExpress.4.Something like the VS, Rider also create some configuration files in the folder .idea. In it I could find the applicationhost.config for IISExpress used.5.IISExpress always could not start, show me the error info once start debugging in console:Failed to initialize site bindingsError ini...Read more

ASP.NET Unauthorized in Postman using IIS Express, but works in Chrome

I am trying to test an ASP.NET Web Api locally using IIS Express. When I use Chrome and hit the url (localhost:5000/api/test, for example) the json displays fine, but when using Postman I keep getting unauthorized 401.2 when hitting the same url. The api controller has Anonymous access on the route.On the error message, one of the likely causes is:Integrated authentication is enabled and the request was sent through a proxy that changed the authentication headers before they reach the Web server.Is Postman somehow changing the headers?...Read more

webmatrix - Running local website site from Google File Stream. 404 for image and css files. IIS Express

I used to keep my websites in a Google Drive folder which synced my files perfectly between my laptop and my desktop.Since Google Drive changed to Google File Stream, which now has it's own G: drive. I am only able to run these websites locally on my desktop.When I try to run the websites locally on my laptop, all relative files (/img /photo.jpg /Content/styles.css) are returned as 404. Text and images with absolute file names are displayed fine.I am using Webmatrix which uses IIS Express on both my desktop and my laptop.If I put the websites i...Read more

iis express - How can I trigger IISExpress to respond to changes in applicationhost.config

I've updated %userprofile%\documents\iisexpress\config\applicationhost.configper the changes on this post:http://ben.onfabrik.com/posts/aspnet-web-api-compressionNamely, I've added<httpCompression ...> <dynamicTypes> <add mimeType="application/json" enabled="true" >to compress JSON in Web API responses. But judging by the content-length and content-type in the response header, IISExpress isn't compressing the response and therefore the config changes are not taking affect.I also restarted IISExpress.Any ideas? Thank...Read more

asp.net core - Override site binding using VS2015 and IIS Express

I'm implementing OAuth authentication in a MVC6 site using VS2015 RC. The previous incarnation of the site required a custom binding and I'm trying to achieve the same with VS2015. Debugging with IIS Express, however, is proving difficult.If I amend the dnx "web" command to use an alternate url, all works as expected:"commands": { "web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://www.devurl.co.uk:31122", "gen": "Microsoft.Framework.CodeGeneration", "ef": "EntityFramework.Commands"},If...Read more

iis express - IISExpress returns a 503 error from remote machines

I'm attempting to test a website I have running in a local IISExpress instance with some other machines / devices on my local network. I am running Win7 Pro.When I first attempt to browse to my machine from another machine on my local network segment, I get a 400 error: Hostname is invalid.I understand that I need to grant remote access to the ACL with a command on the elevated command prompt like:netsh http add urlacl url=http://mymachinename:50333/ user=everyoneNow I get a 503 service is unavailable error. Windows Firewall is currently shut...Read more

iis express - Visual Studio 2015 - Change template for new applicationHost.config

Unlike previous versions, Visual Studio 2015 places build-related files in a .vs folder alongside your solution. By default, that includes a new applicationHost.config for web applications.As stated here, You can edit the web application .csproj/.vbproj file to include <UseGlobalApplicationHostFile>True</UseGlobalApplicationHostFile>, and then it will continue to use %userprofile%\My Documents\IISExpress\config\ApplicationHost.configBut I don't want to change every web application project file. So is there a "template" for the new...Read more

How can I force IIS Express to run in 32 bit mode?

I have a classic ASP app that I'm trying to run under IIS Express on 64 bit Windows. It uses Jet to connect to a Microsoft Access database and will not work under 64 bit.I have created the following application pool for the ASP app, but it seems to ignore the enable32BitAppOnWin64 attribute and the process is still 64 bit.<applicationPools> <add name="UnmanagedClassicAppPool32" managedRuntimeVersion="" managedPipelineMode="Classic" autoStart="true" enable32BitAppOnWin64="true" /></applicationPools>How can I get this app poo...Read more

How to run IIS Express as a process started via a Windows Service

I am trying to distribute IIS Express with my application. IIS Express will serve external web requests on port 80.I have no problems running IIS Express as well as serving external requests however Microsoft in their infinite wisdom decided to run IIS Express from a console window as well as a system tray item. You can disable the tray item by a command line argument but not the console window.I want to run IIS Express without the console window being displayed. I also want to run IIS Express from a windows service.Running the following code f...Read more