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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

IIS Express problem causing HTTP 500 error for browsers only - Postman works?

I have a weird problem with IIS Express one of my computers (VS 2022 17.6.0). When I start any web app it shows HTTP error 500 when opening it in any browser I have, but Postman can connect just fine ...
backyardKiwi's user avatar
0 votes
1 answer
38 views

Localhost unresponsive until re-binding self-signed certificate

Gonna preface this with saying that all of what I describe below is completely out of my comfort zone. I know absolutely nothing about how this stuff works, I only know that it does work. When running ...
Kiran Ramaswamy's user avatar
0 votes
1 answer
55 views

I can't create websites because the associations don't appear in IIS Express 10

I can't create websites, because the associations don't appear in IIS Express 10. I've activated almost everything and restarted and nothing changes, any solution? I'm trying to install this site via ...
Victor Marconi's user avatar
0 votes
0 answers
37 views

Visual Studio renders a control in ASP.NET that does not exist anymore

I'm developing an ASP.NET WebForms application, and until this day, it never gave me problems. But today I found something strange and didn't find any solution for it. I have this code: <a id="...
FreeZerDel's user avatar
0 votes
2 answers
88 views

Why do I get this error when running my ASP.NET Core MVC project with IIS Express?

I started to install .NET 8 and create a new ASP.NET Core MVC web app project, and realized that IIS Express is needed to run the project. So after installing it, I activated it through turn window ...
alireza tafreshi's user avatar
0 votes
0 answers
76 views

How to deploy ASP.NET Core 6 Web API with vue.js frontend in IIS or Azure WebApp

I want to deploy in IIS an ASP.NET Core 6 Web API with a vue.js frontend app. I want to deploy it as a single application, because after this test I want to deploy it in Azure as a web app. The ...
Bogdan Andrei's user avatar
0 votes
0 answers
58 views

Digital signature on Local IIS vs IIS Express

I have a problem with my ASP.Net webForms application for digitally signing documents using DevExpress libraries. When I host the application via Local IIS, an exception pops up: Exception has been ...
Andrijana Stosevski's user avatar
1 vote
2 answers
44 views

ASP.NET Custom directory browse handler

I have a WebForms application running on IIS Express. I'm using directoryBrowse=enabled to let users access parts of the file structure in order to download and open files. When I access a public ...
DELTA12's user avatar
  • 184
0 votes
1 answer
29 views

Query not working takes the previous date data also

DateTime currentDate = DateTime.Now.Date; DateTime nextDate = currentDate.AddDays(1); var filter1 = Builders.Filter.Gte(td => td.Txn_Date, currentDate) & Builders.Filter.Lt(td ...
Karan Kapadia's user avatar
1 vote
1 answer
76 views

IISExpress not starting on ARM64 Mac / .NET 4.8

I run Visual Studio Community Edition 2022 on a M2 Mac under Parallels with Windows 11 for ARM64. I got the application (.NET 4.8 Webforms) running on the local IIS, but not on IIS Express. IISExpress ...
slb's user avatar
  • 87
0 votes
0 answers
74 views

Unable to run iisexpress on windows 11 on parallels VM

Tried to run iisexpress both from Visual Studio 2022 and Command Prompt. Tried reinstalling IIS but same error. Note: I am running the windows 11 in a M1 Macbook pro using Parallels.
Reefat Jalil's user avatar
0 votes
1 answer
76 views

IIS Express process gets terminated while debugging in visual studio

While debugging ASP.net core web app in visual studio, after hitting a breakpoint (anywhere for ex. in Startup.cs), after about 5 minutes, IISExpress process terminates and debugger stops. The only ...
code_explorer's user avatar
0 votes
0 answers
73 views

HTTP Error 500.0 - ASP.NET Core IIS hosting failure

I got this error while testing my new website Locally on IIS Express on .NET5 I have checked that i have the required dotnet version , adding the dotnet paths to the system environment variables and ...
m_mostafa's user avatar
0 votes
0 answers
216 views

VS2022 ASP.NET Core 6.0 Web API project running local - "Unable to connect to web server - Project name"

When I run the ASP.NET Core 6.0 Web API on a new laptop with VS2022 - either in IIS Express or Project mode - I get this error: Unable to connect to web server VS 2022 installed a local certificate ...
Raj's user avatar
  • 11
0 votes
1 answer
156 views

CORS how to allow preflight requests with IIS Express VS Debugger and with credentials (authentication)

I have enabled CORS as follows Program.cs builder.Services.AddCors(); var app = builder.Build(); app.UseRouting(); app.UseCors(x => x.AllowAnyMethod().AllowAnyHeader().AllowCredentials()....
Muflix's user avatar
  • 6,322
0 votes
1 answer
67 views

Why are there multiple ApplicationHost.config files?

I've found ApplicationHost.config in the following directories: C:\Windows\System32\inetsrv\config %USERPROFILE%\My Documents\IISExpress\config C:\MyApp1\.vs\App1\config Why are there multiple ...
David Klempfner's user avatar
0 votes
1 answer
117 views

Unable to replace localhost with 127.0.0.1 in URL

I have two local apps running: ASP.NET client (ASP.NET 4.8): https://localhost:44300 Duende Identity Server (.NET 6): https://localhost:44349 The Identity Server cookies are being sent to the client ...
David Klempfner's user avatar
0 votes
0 answers
15 views

"Unable to connect to the configured development server"

I am trying to run an old .NET MVC project in visual studio 2015 but it shows the error "Unable to connect to the configured development server". But if I create a new project it works. It ...
farhan's user avatar
  • 1
0 votes
1 answer
80 views

C# ASP.NET Core MVC website sometimes receives NULL instead of POSTED value

I've a C# ASP.NET Core MVC website. I'm running it in Visual Studio. I'm posting to a controller action that takes parameter string[] identifiers. The HTML form element is a textarea that has values ...
Developer Webs's user avatar
0 votes
1 answer
398 views

How to host ASP.NET Core 6.0 MVC web app on IIS Express using batch script

I am new to web technologies and hosting apps. What I am currently trying is: I have created a simple app (just created a web app using Visual Studio 2022 in .NET 6.0), it automatically created the ...
Prajwal Kumar's user avatar
0 votes
1 answer
67 views

.NET 4.8 Web Forms - IIS Express - Two Virtual Directories, One Should Use FormsAuth, Other WindowsAuth, but Prinicipal is Always WindowsIdentity

My site works fine with IIS, but IIS Express is failing. tl:dr; How do I configure two separate .NET 4.8 Framework apps in IIS Express under the same domain, as virtual directories, but one using ...
codeMonkey's user avatar
  • 4,256
0 votes
1 answer
38 views

IIS Express - Inappropriate Hot Reload / Refresh / Postback

I am running IIS Express and experiencing an inappropriate postback when: I merely place my cursor in the URL field in the browser; and I start to edit the URL (like changing one character). I'm not ...
codeMonkey's user avatar
  • 4,256
0 votes
1 answer
58 views

Windows authentication issue on local machine

I created an ASP.NET MVC application and then enabled the Windows Authentication. In that, I have used the Entity Framework database first approach model to connect to the SQL database. After that, I ...
Pradeep's user avatar
  • 5,171
0 votes
1 answer
34 views

How Do I Set An Application's Virtual Directory Through AppCmd?

I am writing a powershell script to automatically setup a website that I am hosting through IISExpress for development. What I've been stuck on is how to set the virtual directories of my site ...
CJoseph's user avatar
  • 11
0 votes
0 answers
521 views

ASP.NET Core Windows authentication keeps asking for credentials in IIS Express

I am working on an app in ASP.NET Core 7 that uses the Windows Authentication and it asks for the domain credentials every single time I run the solution form the VS through the IIS Express. I run it ...
Jan Drozen's user avatar
0 votes
0 answers
29 views

AspNet Core with IIS Express requires Windows Auth credentials every time

I am working on an ASP.NET Core 7 app with the Windows authentication/authorization based on AD groups. While it works fine in production, during the debugging it is a bit annoying as every time I ...
Jan Drozen's user avatar
0 votes
0 answers
23 views

is there a way to resolve listen EACCES: persmission denied in IIS using nodejs?

I am Hosting Nodejs server using IIS using my IP address. this is how I am configuring my website. enter image description here when I browse the website it is throwing an error quoting: Application ...
Manan's user avatar
  • 1
0 votes
1 answer
125 views

missing IIS config to run ASP.NET site using Microsoft Identity/AAD?

I have a sample C# MVC site, using .Net Framework 4.8, which uses the Microsoft Identity platform/AAD. The sample code is similar to that found here ( https://learn.microsoft.com/en-us/azure/active-...
Jonno's user avatar
  • 1
0 votes
0 answers
50 views

How to force database refresh with IIS Express?

I have an ASP .NET page that calls into a MariaDB database to populate items in a dropdown list. Yesterday in the morning I was able to make changes in the database and they would show up in the ...
delliottg's user avatar
  • 3,960
0 votes
0 answers
181 views

How to solve "Request Too Long" on a localhost using IIS Express?

I have a website written using C# on the top of ASP.NET MVC 5 framework. I used Microsoft.Owin.Security.OpenIdConnect project to enable OpenID authentication on my website. When the I click on "...
Jay's user avatar
  • 1,310
0 votes
1 answer
48 views

How to troubleshoot HTTP 500 error when using ASP.NET Core Web API and Entity Framework Core with IIS server?

I have programmed a very basic API using ASP.NET Core 6.0 and using Entity Framework Core I am trying to communicate with one of my SQL Server databases to access a table. When I run my IIS Express ...
Resacky's user avatar
  • 11
0 votes
0 answers
29 views

IISExpress bandwidth throttling

I have a local IIS 10 Express dev environment setup as part of my testing regime. 90% of the time it does what I need it to, however In order to test some UI status feedback functionality I need to ...
Reahreic's user avatar
  • 596
0 votes
0 answers
20 views

All web applications not showing in Visual Studio 2019 IIS express

I have created an ASP.NET MVC web application and a Web API project using Visual Studio 2019. Now when I set the web app as Startup project and start running it, it builds and open the browser to ...
Brotin's user avatar
  • 33
0 votes
0 answers
63 views

C# Ninject IIS express - continually loading/unloading

We have .net4 web app running - pretty standard monolith architecture, Api to service to repository via interfaces using Ninject for Dependancy Injection. It is now running superslow and it looks like ...
user2590928's user avatar
0 votes
0 answers
56 views

How do I create and test IIS modules w/Visual Studio 2022 (within IISExpress)?

I'm trying to create a custom IIS module that deletes and/or alters session cookies sent from the browser to IIS and vice-versa, and would like to compile and test that module w/IISExpress (within ...
prancer71's user avatar
0 votes
0 answers
15 views

Unable to launch IIS Express in Visual Studio after power outage occurred while the web app was open in Visual Studio

A web app was open in Visual Studio 2019 when a power outage occurred. Now I'm getting the message below. What is "the file" that is being referred to in the error message, and how can it be ...
Tim's user avatar
  • 8,739
0 votes
0 answers
154 views

Breakpoint doesn't hit when debugging in IIS Express

I have a Web API with Swagger. When I debug in IIS Express, the breakpoints don't hit. I've checked some configurations but I don't see anything unusual. However, I see that the modules weren't ...
Samuel's user avatar
  • 1
1 vote
1 answer
80 views

Running cmd from powershell issue with escaping when running iisexpress

I want to run iisexpress inside cmd and start it from powershell. I have a strange issue with escaping double quotes. My original powershell command is Start-Process 'cmd' -ArgumentList '/k "C:/...
Irdis's user avatar
  • 919
0 votes
0 answers
110 views

Node js not running server.js cannot find src folder on IIS Server

So I have created a React application locally, everything works In the root of this project is a typical server.js file with express .js endpoints that makes use of localhost:5000 via Nodemon 'npm run ...
Adil arif's user avatar
0 votes
0 answers
86 views

.Net 6 API with Windows Auth hosted on IIS throws CORS errors. Kestrel works fine

I've been trying for 3 days now to get my .Net Core API to run correctly under IIS or Express. The whole package works fine using Kestrel (or when debugging), but I can't make it work with IIS or ...
Geoff B's user avatar
  • 33
1 vote
0 answers
191 views

Web.Config problem: This configuration section cannot be used at this path

I need to set uploadReadAheadSize attribute of serverRuntime element in ASP.NET Core web.config, but after launching, it throws a HTTP Error 500.19 with the message This configuration section cannot ...
BlueBanana's user avatar
1 vote
1 answer
26 views

IIS Express is crashing on Web app launch ( F5 )from Visual studo 17.5

I have installed VS2022 v17.5. When I launch my blazor wasm web application (ISExpress) then the web applicaiton is crashing on page loading . I have checked with start without debugging option then ...
Abu Muhammad's user avatar
1 vote
0 answers
244 views

Exception Thrown : w3wp.exe has triggered a breakpoint

I have an ASP.NET application which is hosted in IIS and for debugging, we Attach To Process and debug. Since yesterday, I am getting an error as w3wp.exe has triggered a breakpoint. error message ...
user12427779's user avatar
0 votes
0 answers
207 views

Token Authentication using OpenIddict does not work with Local IIS Server but works with IIS Express in ASP.NET Core 6.0

I am using OpenIddict in .Net Core 6.0 for token-based authentication and authorization for my REST/Web API It works within Visual Studio IIS Express but not on my Local IIS server. When I call the ...
Gags's user avatar
  • 839
1 vote
1 answer
310 views

A couple of applications configured under one site don't work consistently when debugging in .Net 6.0 app with VS 2022 & IIS Express

Context: Windows 2016, VS 2022 - 17.5.1 (latest version as of right now, 2023-Mar-13), .Net 6.0 F# web app using the Giraffe framework, IIS Express 10 (product version 10.0.25095.1000). Note: I run VS ...
boggy's user avatar
  • 3,752
0 votes
0 answers
37 views

AdonisJS v5 project on IIS Node keeps restarting with each request

I am encountering an issue with an AdonisJS v5 project hosted on IIS Node using the HttpPlatformHandler module. Despite setting the application pool to "AlwaysRunning" and ensuring all ...
Alejandro Jurado's user avatar
2 votes
1 answer
554 views

Getting PHP working with MS Sql on Windows with VS2022 and IIS Express

I am trying to get a simple and sample database query working from a webpage in Visual Studio 2022 with PHP Tools for Visual Studio 2022 from DEVSENSE with IIS Express and VS 2022 debug. I know the ...
Jeff Muzzy's user avatar
0 votes
2 answers
811 views

HTTP Error 500.19 - Internal Server Error IIS

First of all, there is no experience on IIS or .net. So sorry for the mistakes in the question I asked. Our customer wants to serve application via IIS. But here we run into a problem. Our application ...
j4nus's user avatar
  • 120
0 votes
2 answers
362 views

IIS vs IIS Express - CORS module wont work

We have a REST API written ASPNET.CORE 6. We need to call this api from angular project, so some CORS ability is needed. We successfully installed the CORS module to IIS from site https://www.iis.net/...
Zoltan Hernyak's user avatar
12 votes
3 answers
1k views

iisexpresstray crashes when starting a site from visual studio

I am a VS2022 user. I updated it to version 17.5.0. Every time I try to view in the browser, the iisexpresstray (IIS Express) appears. But when you pass the mouse disappears. An error appears in Event ...
Ezequiel Revino's user avatar

1
2 3 4 5
47