Questions tagged [iis-express]

IIS Express is the developer version of full IIS that doesn't require Administrator rights to run. See also the [iis] tag.

IIS Express is the developer version of full IIS, that doesn't require Administrator rights to run. It is designed as a replacement for the ASP.NET Development Server (aka Cassini) which ships with some releases of Visual Studio. IIS Express has several releases so far, and can be downloaded as separate installer or part of Visual Studio.

Official documentation is on IIS.net here and here.

See also

2292 questions
0
votes
1 answer

ASP.net Visual Studio 2019 project won't load because IIS Express cannot read configuration file on mapped network drive

I have an ASP.NET Web Application (.NET Framework) that was created in the default location of C:\Users\mcarr\source\repos\ It loads fine from this location. I was asked by my manager to keep projects out on a mapped network drive. So I created the…
0
votes
1 answer

Authorization with windows authentication in ASP.NET Core 3.1

As I understand there is a way to retrieve group where user belong. For example Admins, Users etc. After doing that I want to transform this into claims. I cannot find how I can retrieve a user's groups. Currently I am using my local user and not…
0
votes
1 answer

iis express from vs error ERR_HTTP2_PROTOCOL_ERROR

Running an MVC project in VS 2022, .NET Framework 4.8. When I run from VS, I get the below error. This was working as of a couple days ago, suddenly I get this error. I am inexperienced in all things IIS Express, how can I go about…
dirtebird
  • 11
  • 4
0
votes
1 answer

IIS Express extremely slow start while debugging

I am working on a C# MVC project that is set up to run using IIS Express. I am using Rider as my IDE and every time i start the project using the "Run" option it starts up quickly without any issues. However, when starting the project using the…
Dr4jw3r
  • 181
  • 7
0
votes
1 answer

.NET application - Status Code: Error 302 Found

The .Net application if it is run on the server directly(localhost:5000), I can login without issue. However, if I access the application through IIS - http://hostname and try to login I get error 302 - found. My question is what can cause such an…
Maria
  • 47
  • 6
0
votes
2 answers

In the select startup item in VS, IIS Express option is absent instead "current document " is present. Unable to build project

IISExpress option was present when I created .net core mvc web app. But on reopening the project, the startup item has "current document " option (along with 2 other individual files). The application is entering break mode when selecting any of…
0
votes
1 answer

An error occurred attempting to determine the process id of dotnet.exe which is hosting your application - Starts without debugging

I have been researching this issue for hours now but none of the solutions have worked so far. I have followed the various instructions in this post, but none of them worked: An error occurred attempting to determine the process id of dotnet.exe…
BenjaminD
  • 29
  • 1
  • 7
0
votes
0 answers

IIS Express reports all ports already in use

When I try to run IIS Express by debugging an asp.net application in visual studio, I get an error message that the port is being used by another application, regardless of which port I select in the project properties under "Web". Why?
Anders Lindén
  • 6,839
  • 11
  • 56
  • 109
0
votes
1 answer

Unity Container returning base type but wasn't before

I just got my unity config working, I started playing with web.config transformers and now it won't stop returning the base type. I've stepped through the code to confirm the mapto value being picked up in my container is the correct type,…
0
votes
1 answer

.Net Api doesn't recognize my Controllers

Guys i have a simple backend codes and i just wanted to integrate swagger ui but it only recognizes 3 Controller from 6 and 3 schema from 7 but when i try to make get request with postman it gives http 404 error. What did i do wrong? I'm using Win11…
0
votes
1 answer

IIS express "This site can’t provide a secure connection localhost sent an invalid response"

I'm running a Skoruba IdentityServer4 project `https://github.com/skoruba/IdentityServer4.Admin Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.2.2 The project was working fine, but after disabling/enabling SSL im getting This…
Elia Weiss
  • 8,324
  • 13
  • 70
  • 110
0
votes
1 answer

Can't get IIS Express and .Less Files to work

I have inherited a .NET core project that uses .Less files but I cannot get it to run locally in IIS Express. I followed this page to add .Less Mimemap to the global config https://johandorper.com/log/add-less-to-iis-express But now I am getting a…
Bex
  • 4,898
  • 11
  • 50
  • 87
0
votes
1 answer

What permissions are needed for project folders in VS2010 IIS express?

Are there some special gotchas when accessing a project folder using IIS express in visual studio 2010? I am testing a file upload control and I keep getting access denied Asp.net errors. I have the following users with FULL access to my root…
trevorc
  • 3,023
  • 4
  • 31
  • 49
0
votes
2 answers

ASP.Net Core app: *sometimes* blocked by CORS policy in MSVS debugger (iisexpress); works OK when deployed to IIS7

I have a bunch of different versions of the same ASP.NET Core app. My workstation has MSVS 2019. My DEV and PROD servers are Windows Server 2012/IIS7. The app has been around for years. It's NOT doing anything to explicitly enable CORS. It's NOT…
FoggyDay
  • 11,962
  • 4
  • 34
  • 48
0
votes
1 answer

HTTP Error 405 When Using HTTP Delete Only on Host .Net Core 6

I'm getting a 405 error when trying to Delete from any Controllers. I can do it just fine in VS IDE, but cannot figure out why Not in host (request will sent by ajax) Header…