2,321 questions
0
votes
0
answers
199
views
IIS Log 'cs-username' empty
I need user information in the IIS Log login screen. However, the cs-username value appears as '-' in the IIS logs. I need the value that the user wrote to input.
Is there a way to make the ...
0
votes
1
answer
104
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 ...
0
votes
2
answers
845
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 ...
0
votes
0
answers
111
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 ...
0
votes
1
answer
38
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 ...
1
vote
0
answers
583
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.
0
votes
1
answer
1k
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 ...
4
votes
0
answers
899
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()....
0
votes
1
answer
1k
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 ...
1
vote
1
answer
2k
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 ...
0
votes
1
answer
289
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 ...
0
votes
1
answer
316
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 ...
0
votes
0
answers
121
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 ...
0
votes
0
answers
93
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 ...
0
votes
1
answer
1k
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 ...
1
vote
1
answer
146
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:/...
2
votes
0
answers
629
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 ...
1
vote
0
answers
435
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
...
1
vote
1
answer
515
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 ...
2
votes
2
answers
2k
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 ...
1
vote
2
answers
1k
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/...
12
votes
3
answers
2k
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 ...
0
votes
1
answer
671
views
VBC compiler only support visual basic 2012
I am trying to run a debug instance of web service, I am running in windows 2012 server, however it have the following error. I have download the iis express 10 again from microsoft. However it is not ...
0
votes
5
answers
6k
views
Cannot connect to localhost over SSL after Windows 11 Upgrade
I recently upgraded my machine to Windows 11. Prior to the upgrade, I could connection via IIS and IIS Express to localhost using SSL.
After the upgrade, I can connect to localhost over standard HTTP,...
0
votes
0
answers
5k
views
VS 2022 "Unable to connect to web server 'IIS Express'"
Hello I want to apply Hsts (Strict-Transport-Security) and I want to implement and test in my local.
But i can't change my application Url from http to https version . I tried solutions on other ...