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.
2,214
questions
-2
votes
3
answers
122
views
httpPost return Page not found HTTP ERROR 405 ASP.NET CORE MVC IIS Express
i have problem with form when i put in my Controller httpPost the Error http 405 it showing to me
every step i made its correct
my code
@model security.Models.ContactUs
<div class="contact_box&...
0
votes
0
answers
13
views
Reset Visual Studio IISExpress Trusted Certificate warning
When running a Visual Studio project via IISExpress locally, on first run Visual Studio prompts you to trust the self signed certificate
Ordinarily, you say yes, Visual Studio does its thing and ...
0
votes
1
answer
26
views
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 ...
0
votes
1
answer
68
views
.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 ...
0
votes
1
answer
46
views
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, ...
-1
votes
1
answer
79
views
ASP.NET web application session timeout issue on local IIS Express on Windows Server 2019?
I have an ASP.NET 4.x MVC application which is hosted on our local Windows 2019 Server on IIS Express.
In web.config file session timeout is configured for 8 hours (Session mode in process). Which ...
0
votes
1
answer
19
views
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/...
0
votes
0
answers
11
views
HTTP Error 503. The service is unavailable - Application pools stopped my API service Url in my aws remote server
In my AWS remote Desktop, I have hosted my web application and API service application using IIS(internet information service). In that, Application pools stopped my API service in remote desktop IIS ...
0
votes
1
answer
102
views
IIS Express in visual studio 2017 crashes when debugging app and selecting file input
I have a form with a file field.
In VS 2017 the upload doesn’t work and it returns the error: "The program '[19000] iisexpress.exe' has exited with code 4294967295 (0xffffffff)."
The upload ...
1
vote
0
answers
52
views
how to connect directly to VS 2022 iis express dot net 6 Project?
before in dot net core there was xml file ".vs\config\applicationhost.config" and tag
<binding protocol="http" bindingInformation="*" />
by change ...
0
votes
0
answers
25
views
dotnet Web project fails to load from a network location
I am running a virtual box environment with multiple machines I use as development environments. My current configuration that works is to create a share for my dev directory on the S:\ drive at \10....
0
votes
2
answers
104
views
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 ...
0
votes
0
answers
71
views
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 Controller
[Authorize]
[...
1
vote
1
answer
135
views
IIS Express w/ VS 2022 crashes when debugging web app and selecting file via file html input on page w/ ExtJs
Here are the details:
OS: Windows 2016 server accessed over RD
Dev tools: VS 2022 17.1.6 & VS 2019 16.11.11. I run VS in Admin mode (both)
IIS Express version: 10.0.22489.1000, 64 bit
Browser ...
0
votes
0
answers
130
views
Web-app hot-reload when running by IIS Express with SSL
Created project by Micosoft Visual Studio "ASP.NET with React+Redux" template. In that case app running by IIS Express. But hot-reload for react-app doesn't work and shows error in console: &...
0
votes
1
answer
110
views
How to run the C# application from Visual Studio which can be accessed by 'https://{my ip address}:aport'
I have a ASP.NET C# application and I am able to run it locally on my machine. I see it is IIS Express is hosting my application.
I can access it using 'https://localhost:4374'.
But when I look up ...
1
vote
3
answers
63
views
IIS express error500.24 web api
I migrate an dotnet framework web api application from vs 2010 to 2019.
I want to use IIS express for developpement mode debug.
My application is built with a api back in dotnet framework 4.5 using ...
0
votes
0
answers
138
views
.Net5 Failed to load resource: after deploying
My App with .Net 5 Blazor with Chat future. app work well without error in dev environment. i publish app and deploy to IIS 10 . app send error like this
Failed to load resource: 8044/signalRHub/...
0
votes
0
answers
16
views
Project running on IISExpress stops serving all static content when any MIME type added to <staticContent> tag
Working on project in Visual Studio. Project configured to run in IISExpress.
Needed to use 'awesome fonts' library for some of their icons.
Icons not displaying, decided to specify mimeMap for file ...
0
votes
0
answers
82
views
Windows Authentication for .NET Core 2.2 not working - 401 unauthorized
I have an ASP.NET Core webserver that is running on .NET Core 2.2 and was previously able to handle Windows Authentication. This feature wasn't tested for a long time though, and now I'm trying to ...
0
votes
1
answer
104
views
Configure TLS version on IIS Express
I've got a .Net 6 web api that uses optional certificate authentication. I'm struggling with my debugging setup.
By default, IIS Express doesn't appear to take the client certificate presented, so I ...
0
votes
0
answers
35
views
Can not Debug on Visual studio 2019
Asp.net MVC project, on Visual Studio , Hosted on Azure, Connected with Microsoft Dynamics CRM,
Downloaded from SourceSafe using Visual Studio 2019
=> Project is Not using Entity Framework but ...
0
votes
2
answers
392
views
HTTP Error 400. The request hostname is invalid. On IIS when using `AllowedHosts` appsettings property
I get the error HTTP Error 400. The request hostname is invalid. on swagger when configuring CORS using the AllowedHost property.
var origins = Configuration["AllowedHosts"].Split(";&...
0
votes
0
answers
26
views
Customise response received with status code 400 in C# .NET MVC
i am creating a test for our application in .NET mvc framework.In the case of "size of headers too long" test for our api when i call the curl from postman with(i am not using all the 88 ...
0
votes
1
answer
30
views
Unable to launch IIS Express Web server - Port '80' is in use
I am getting error message stating Port 80 is in use for one project but not for the other few projects and they are set-up in the same way, but clearly something is different about the set-up of this ...
0
votes
0
answers
153
views
TLS 1.2 - unable to run .NET 5 WebApi clean template (Windows 7 + VS 2019)
I've been struggling with it the second day. I created a .NET 5.0 WebApi template in Visual Studio 2019 (simplest WhetherForecast). When I run the solution, the browser opens and I get the message (...
0
votes
1
answer
478
views
Bad Request - Invalid Hostname when accessing localhost using IP address
I'm using Visual Studio and IIS Express to run a web app locally.
I can access the web app without any issues using https://localhost:44300.
Out of curiosity, I wanted to access it using the IP ...
0
votes
1
answer
56
views
Doppler on local .net debugger
We are implementing Doppler for secure environment variables, but in order to test code we make locally, before we release it, we want to be able to use Doppler in a local setting, so on our debugger.
...
0
votes
1
answer
113
views
IIS Express Does Not Recognize Running VS2022 as Admin
I had a computer with VS2019 Community installed. I got a new computer, copied my documents over, and installed VS2022 Community. I am launching VS as admin. In the upper-right corner of VS it says &...
0
votes
0
answers
20
views
Visual Studio debugger stops when adding a file to Dropzone
I have Dropzone configured such that it does NOT automatically upload files when they are added. I am not even aware of any communication that would be going on between the client and server when a ...
0
votes
1
answer
74
views
IIS Express: Cannot bind url with subdomain
I tried to bind a url with subdomain into my application:
xyz.localhost:44310
Every time I change my applicationhost.config, I cannot run my debugger from Visual Studio 2019.
There error is:
Unable ...
0
votes
0
answers
20
views
Using server IISExpress.exe instance through Visual Studio from another PC via IntraNet
Can I use the IISExpress or IIS instance of a remote server to debug through Visual Studio from another PC. We have only one server which has access to external API URLs. Me and my team can't test our ...
1
vote
0
answers
145
views
Forcing Visual Studio IIS Express To Prompt User For User Certificate
I'm currently using Visual Studio Professional 2019, and have the following use case.
I'm trying to do user authentication with X509. I'm prompting for the cert and looking for it via
IOwinRequest....
1
vote
0
answers
38
views
How do I enable IIS Express to serve external requests over Port 80
Hi there I am developing a WebAPI in Visual Studio 2022. I wish to share testing of the code under development with a colleague in our corporate network over port 80. I have previously accomplished ...
1
vote
0
answers
68
views
Web application not working in vs 2019 when selecting iisexpress How do i make this work?
I have installed vs 2019 and running a new asp.net core web app, but the project is only running on http://localhost:5000 and when i run using ii express on 44329 port it is failing.
0
votes
0
answers
66
views
Fresh install of IIS Express 10 get the same error when trying to run iisexpress /trace:i
I cd into the c:\Program Files (x86)\IIS Express and run iisexpress /trace:i ge the following
The filename, directory name, or volume label syntax is incorrect.
For more information about the error, ...
0
votes
0
answers
21
views
This is similiar to many other question related to the error (mentioned below) .But, I am having this while runnin the asp.net code as website in VSC?
Error : It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an ...
0
votes
0
answers
91
views
Unable to login using windows authentication for IIS hosted web application
I enabled windows authentication for the Web application(.Net framework 4.6.1), which is hosted in IIS.
When I am trying to give my user credentials on the windows login prompt(correct credentials), I'...
0
votes
1
answer
587
views
Hot reload / Apply Code changes button not applying changes or refreshing in Visual Studio 2019
I'm using Visual Studio 2019 for my React project with a C# backend
I keep pressing the red (flame like) apply code changes button in visual studio 2019 to try to update my project.
(I am trying to ...
0
votes
0
answers
50
views
IIS Express failed to register URL when not debugging
I have a .NET MVC .NET Framework application.
In Visual Studio, I hit "Run with debugging" [F5] and IIS Express starts, and the application loads as "http://localhost:1234/". Note ...
2
votes
0
answers
208
views
Managed Debugging Assistant 'FatalExecutionEngineError' Error in IIS Express
I have NET Framework 4.7.2 Web Application which was running fine till last week.
Recently I have updated Windows OS. Details:
Edition: Windows 10 Enterprise
Version: 21H2
OS build: 19044.1348
...
0
votes
0
answers
462
views
"The user name or password is incorrect" error on running ASP.NET Web Application
I'm trying to run an ASP.NET Web App, but keep getting
System.DirectoryServices.DirectoryServicesCOMException: The user name or password is incorrect
I've tried to change Application Pool Identity, ...
0
votes
0
answers
99
views
IIS Express builds successfully but the web page template doesn't open in Visual Studio 2019 (Blazor Project). Any idea on what i should do?
So im new to Blazor and programming. I created a Blazor WebAssembly project and ran the IIS Express. It took a few seconds to build and the build was successful. But it did not open the browser web ...
-2
votes
3
answers
1k
views
ERROR: "The project doesn't know how to run the profile IIS Express" (VS 2019, 16.11.7)
If the same issue was posted here 5 months ago and did not get any answers, would it even make sense to post it again?
0
votes
0
answers
28
views
System.Net URL call not returning the expected HTML response
I am trying to query a website to scrape some information for my organization, this information is sat behind a login page which for now I am bypassing by logging into the browser using my ...
0
votes
1
answer
88
views
Rewrite rules not working properly in web.config?
I have created website with React project and hosted on IIS webserver(ON VM). I have defined web.config file rules
<configuration>
<system.webServer>
<httpProtocol>
...
1
vote
0
answers
460
views
ERR_SSL_PROTOCOL_ERROR when connecting to Azure Active Directory
I am trying to connect to Azure Active Directory based on this article: Azure
I am running an ASP.NET MVC application and when I run the application connecting to azure active directory, my username ...
0
votes
0
answers
139
views
How do I know if <Use64BitIISExpress /> is necessary?
I have added Aspnet.MVC package in my project.
This was added in csproj file
<Use64BitIISExpress />
It works but when I removed it, it still works.
How do I know if it is necessary? I don't ...
0
votes
0
answers
54
views
IIS Express won't stop after debugging
I have this problem with VS 2019 and IIS Express: we have a setup with an ASP.NET Core web app as backend and an Angular front end. How we develop is using VS Code for Angular app (served on localhost:...