Questions tagged [iis-express]

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

0
votes
0answers
15 views

Enable to start ASP.Net website project from visual studio

I'm trying to launch an ASP.Net Website from Visual studio 2017, and IIS-Express seems to not work. This is a site which runs with a web API (which work, I successfully launched it from Visual Studio ...
0
votes
2answers
66 views

Cannot run Asp Net Core API on IIS

I have an asp net core web api. I can run it using dotnet command and it starts on https://localhost:5001/ (as it should) and everythings work fine. But when i try to launch the api using IIS ...
0
votes
0answers
24 views

Modal do not open on vs 2019, but runs perfectely in vs 2017

I have a rare bug. I coded a Bootstrap modal window in a project on ASP Net MVC 5, and I manage the content of the modal using AJAX, and the events to open the modal with jQuery. If I run the project ...
-1
votes
1answer
29 views

Visual Studio 2017 forces sites to load via https, even though ssl is disabled (Dotnet core 2.2)

For some reason, Visual Studio 2017 (version 15.9.12), refuses to load ASP.Net Dotnet Core 2.2 pages in non-ssl. It automatically appends an s to http as in https://localhost:15777 even though ...
-1
votes
0answers
22 views

How to deliver a .net core app with (local) hosting solution [duplicate]

For a school project we have to create sn UI. We can choose our preferd language. So I went with a asp.net core Razor solution. However my teacher doesn't have installed the iis express. Is there a ...
1
vote
0answers
24 views

allowdoubleescaping = “true” in IIS Express Config Not Working

I get HTTP Error 404.11 - Not Found The request filtering module is configured to deny a request that contains a double escape sequence. Error when I send a request to a .razor page in Blazor, The ...
0
votes
1answer
37 views

Get SQL Connection error while using Web Service with local SQL Server database

I'm setting up a web service, I wanted to use the local database so I created a local SQL Server database in this project. The web service runs just fine on localhost, but the problem when I invoke a ...
0
votes
0answers
33 views

Process with an id of x is not running (Visual studio 2017)

UPDATED BELOW I have went trough several (if not all) posts mentioning this error on SO and google, but still having this issue. The error I get is: Process with an id of x is not running In ...
0
votes
1answer
22 views

How do I change the default path of IIS Express?

Simply, how do I change the default path which IIS Express uses to write files too, etc. It's currently set to C:\Program Files (x86)\IIS Express. Note: I'm using Visual Studio 2019. Code snippet: ...
0
votes
1answer
13 views

IISExpress keeps refusing connections from custom domain

Tried both Visual Studio 2015 and 2017 with the latest updates, different web apps (.NET Framework and .NET Core based). IISExpress is 10.0, Windows 10 Pro. When I run a web app like http://localhost:...
0
votes
1answer
28 views

IIS Buffering Requests Content Before Controller Action

I am trying to setup an "external" web api that will be able to receive in large http posts (+1GB) and forward the stream to another "internal" web api that writes the request contents to a file. I ...
0
votes
0answers
44 views

The program iisexpress.exe' has exited with code 0

When I try to start my newly created WebApplication I get this error: The program '[73635] iisexpress.exe' has exited with code 0 (0x0). I have already searched through internet and none of this ...
0
votes
0answers
23 views

Run angular and angularjs with different route

We have an existing Angularjs app which is up and running, now we have created new angular7 application. AngularJs running in "http://angularjs.com/". Can we host Angular7 app in "http://angularjs....
-2
votes
1answer
18 views

“Invalid file name for file monitoring” when debug the same project from different branches of the different repos simultaneously [closed]

I have two git repos from the same source to have the ability to launch different versions of the same project. I switched the port and created virtual directory for second git repo and changed temp ...
-1
votes
1answer
43 views

How to make redis cache work on asp.net core web deployed on IIS Express but working on localhost

I'm using "Redis-x64-3.0.504" and I'm trying to host my asp.net core 2.2 web application on IIS Express locally but redis cache doesn't function properly on IIS because I seems to stuck on loading ...
1
vote
1answer
71 views

You do not have permission to access the IIS configuration file - Web app error

I am trying to load existing c# web applications and getting below errors while loading any web project: Creation of the virtual directory http://localhost:/ failed with the error: You do not ...
0
votes
1answer
32 views

Debug Multiple ASP.NET Core Projects in VS 2017 and IIS Express

I have spent two days trying to get this setup to work but apparently I haven't stumbled across the correct combination of settings yet. From what I can tell this should be possible but I just can't ...
0
votes
0answers
12 views

internal server error 500 when using virtual directories with iis express visual studio 2017

I have a web site project, and on production server uses several shared folders with other sites. it is done by using virtual directories. I was able to run this on local IIS - but I wasn't able to ...
0
votes
1answer
19 views

Does calling the same HttpWebRequest from IIS lead to certificate error in IIS Express?

My IP address was white listed to be able to connect to a server on our work network so I can connect to it from a Webforms website I have been updating for a client. I have made an HttpWebRequest ...
1
vote
1answer
44 views

Run iisexpress 32 bits instead of 64 bits for debug mode in Visual Studio 2015

I have a web project that references a 32 bit DLL. on IIS i usually set the enable 32 bit applications property on the application pool and it works perfectly. I tried to debug the code locally by ...
2
votes
1answer
58 views

FatalExecutionEngineError after restarting debug session

Since a few weeks (months?) I've been sometimes getting the following exception after restarting my ASP.NET application inside Visual Studio 2017 / 2019 Enterprise. It only happens when IIS Express ...
0
votes
0answers
22 views

404 not found error when embedding video in asp.net core

I want to play videos in my .net core site using HTML5 video tag, but I get 404 not found error, I triple check the path to the video and it was correct. I tried to play video directly from URL (...
0
votes
0answers
13 views

Debugging web project in local machine without publishing it

First, I am new to web applications. I have a solution in Visual Studio 2013 which contains many projects. As a startup I have set the main web project, let's say WP_Main. This web project has a ...
0
votes
0answers
38 views

Issue in routing in existing ASP.NET application

I have a problem with routing in an existing ASP.NET application for work. I have the code for the application and i can build and run it. When i run it I see the home page, but all links and images ...
0
votes
0answers
26 views

Running a project in a virtual directory of another for debugging

I have a solution containing multiple projects, 2 of these projects are a web applications, for the purposes of making it easier when debugging/navigating through each of the websites, I want to run ...
0
votes
0answers
28 views

Default IIS Express machine key settings

I am using ASP.NET Identity features (such as UserManager.GenerateEmailConfirmationTokenAsync) that make use of a machine key. I understand that machine key settings can be defined in Web.config, or ...
0
votes
1answer
68 views

How to detect file size limits early when uploading with AJAX?

I have an ASP.Net MVC web application that needs to handle file uploading with progress. To achieve this I have created a custom IHttpHandler that process the file stream in chunks using the ...
0
votes
0answers
27 views

How might I simulate saturating HTTP.sys queueLength and causing 503s in IIS?

I'd like to trigger 503 "Service Unavailable" responses from IIS. Following this page, I've set queue length to 10 and triggered 10+ slow requests; however they must not be on the queue after they ...
0
votes
0answers
22 views

How to use custom port number for https running on IIS Express

I have to run my MVC application in localhost. It has to use https. I want to use custom port number other than 44300 - 44399 range. Ex: https://localhost:55551/ I enabled SSL security to true. But ...
1
vote
1answer
12 views

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....
0
votes
2answers
42 views

What is the access log path for .net core(2.2) web application deployed as Windows Service

I have deployed my .net core(2.2) Web Application as windows service and I want to check the access log for the same. If any application is publish on IIS server (Windows) then access log is written ...
0
votes
0answers
11 views

Hosting two projects on IIS. One project Contains Api's and all other backend and the other one contains Front end

i have hosted two of my Asp.net projects on iis windows 10. One Project Contains Api's and other backend stuff and Second project contains Front End. PROBLEM is that my sql server database in not ...
0
votes
1answer
163 views

Unable to run IIS Express after Updating Visual Studio 2019 - 16.0.1

I switched from the visual studio from 2015 to 2019, everything works fine but after their first update I got the mentioned error.
0
votes
1answer
21 views

How to fix IIS Express (Google Chrome) error where the code stops a few seconds after clicking run?

When I click on the green play button that says IIS Express (Google Chrome) Visual Studio starts and then stops the code within 2-5 seconds. I have cleaned, rebuilt, and restarted both visual studio ...
0
votes
0answers
27 views

Can IIS Express run from Visual Studio respond to any hostname for a given port (and sensibly tracked in source)?

I have an MVC 5 web project that can be run from Visual Studio. This works fine and the relevant web section in the project files looks like this. However this creates a binding that is explicitly ...
0
votes
0answers
23 views

Custom httpError does not display static html

I need to serve custom html page for all 404 http errors. httpErrors configuration does nothing and default asp.net error is shown anyway. Web app managed pipeline mode flag is set to Integrated. I ...
1
vote
2answers
316 views

.Net Core 2.2. How do I get rid of this annoying HTTP 405 error when trying to delete?

I'm getting a 405 error when trying to do a simple post with a delete. I can read, write, and update just fine, but cannot for the life of me figure out why VS 2017 (or maybe more specifically, IIS ...
0
votes
0answers
17 views

How to configure a large number of ports with netsh

I have a large number of ports configured with netsh: > netsh http show sslcert shows all ports from 43300 to 43399 are configured with the same certificate. I do not remember doing this myself. ...
1
vote
1answer
61 views

Running multiple apps under same host and port

I am developing multiple asp.net core applications within one solution and when I run the solution in Visual Studio using IIS Express, would like to have them under the same url and port. For example: ...
0
votes
1answer
23 views

Why a 302 Redirect response when I expect 200 OK

TLDR The web site I am hired for to maintain handles security in two places: web.config Forms-authentication, and by checking the Session cookie in code-behind in the MasterPage. So changing security ...
0
votes
0answers
28 views

Trying to upload an image using HttpPostedFileBase in model, but the IIS server stop for a unknown reason

I've tried to realize simple file upload in my asp.net mvc project. First, i've added HttpPostedFileBase property and marked it with NotMapped attribute. Otherwise if do not set this attribute ...
0
votes
1answer
106 views

“Opening and creating websites on iis requires running visual studio under an administrator account”

I'm seeing this error in a pop-up window when attempting to run/debug my web project from Visual Studio The following error occurred when trying to configure IIS Express. Opening and creating ...
0
votes
0answers
361 views

Error when running IIS Express from command line with ASP.NET Core app (VS2017)

I'm trying to run IISExpress manually, in order to add OpenCover coverage later. This is with an .NET Core 2.2 app. I am able to launch the app from within Visual Studio and everything is running fine....
0
votes
0answers
65 views

IIS express error 500.0 every time is run

After the Visual Studio 2017 update to the version 15.9.9 Now, every time I start a projects needs IIS Express (I have IIS express 10.0), I got an error. The error is onyl "HTTP Error 500.0 - ...
0
votes
0answers
24 views

Unexpected behavior on a copied MVC project

I had to make a copy of an MVC Project, once I copied the project it ran almost as expected, with the only issue I ran into being that cookies from the original and the copied one are the same, What ...
0
votes
0answers
25 views

Is there an IIS Express equivalent for IIS application pool Shutdown Time Limit (seconds) setting?

I am coding an ASP.NET Core 2.0 application in Visual Studio 2017. Sometimes, the build cannot end due to binaries being used by IIS Express. This solves automatically after retrying the build (it ...
-1
votes
1answer
27 views

Visual Studio 2017 debug MVC 403.14

I have a new laptop, so I clone the MVC project which I'm working, but I can not debug it when I click f5 debug it in IIS Express, the error message is HTTP Error 403.14 - Forbidden. If I publish the ...
0
votes
0answers
544 views

ssl trouble server: SSL_ERROR_RX_RECORD_TOO_LONG

I am not a webdeveloper but I recently had to take over management of a website for a colleague who fell seriously ill. And I am struggling to set set up a debugging environment. The project is ...
1
vote
0answers
72 views

.NET Core Page after building on IIS throws 400 error

I was working on a page in .NET Core, when suddenly I couldn't connect, Chrome started throwing 400 error and Firefox shows nothing and in console they say something about encoding, even though I have ...
0
votes
0answers
45 views

No connection could be made because the target machine actively refused it [::1]:44300"}

HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create("https://localhost:44300/" + "api/color"); var cert = new X509Certificate2("C:/certificates/mylocalsite.local.pfx", ""); webRequest....