IIS Returning Bad Request - Invalid Hostname when accessing via IP address but not localhost
We have a server that suddenly started returning an HTTP 400 for Invalid Hostname after a reboot today. We have multiple other servers in the environment running the same configuration, OS version, patches etc. but do not see this issue. This IIS server…
Could not start IIS Admin service. Event 7024
Hi, I am having an issue accessing my exchange admin center (exchange 2016) via web browser, HTTP 500 internal error. upon checking the services, I found that IIS Admin was unable to start and was showing this error message By checking event…
Is it possible to forcibly define the action for all forms in IIS 10?
When submitting a form defined within an ASP page on a site registered in IIS, it doesn't navigate to the action URL you specified. Instead, it redirects to a different page. The redirected URL matches your defined action location, but the content…
Windows could not start the World Wide Web Publishing Service(W3SCV) in windows server 2016
I have this server but the w3svc service does not start, this affects my IIS, how could I solve it, we have already reinstalled the IIS
How to arrest '.axd' files from script level/Web.config/IIS & how to set Referrer Http header in Sever Side/Web.config
Hi Team, 1: We are using Script manager for 'Alerts & Js' because of this we are identifying ScripResource.axd & webResource.axd files while running the application. 2: We have a created Rule for 'Referer HTTP' header in Web.config file ,…
Config IIS on HTTPS for DEV ambient
Hello everyone, I have a site stored on IIS in my local network with a couple of APIs developed (assuming that I have always used it in http), I need the APIs to be available in HTTPS. I store a self-signed certificate on the IIS server machine…
How to enable remote connections on IIS with Windows 11?
Hi, I need to set up IIS on Windows 11 for CI/CD machines. We basically have a web application on a Windows 11 that is upgraded from an external Jenkins agent via a CI job. Even is I was able to run my Web Application under IIS manager, I struggle to…
WebSocket connection is not working in IIS
Hi, I have created a web site in IIS, trying to test websocket connection. The files I have are: test_websocket.pdf test.html server_test.py web.config I have the following configurations: I have enabled : httpPlatformHandler In the server…
Unable to run .net 4.8 apps on IIS using Arm processor (M1 Max)
I have a macbook pro with M1 max processor running windows 11 pro in Parallels using the most updated version as to writing this message. When trying to run .net 4.8 app on IIS I get the following error in the event viewer: The Module DLL 'C:\Program…
Is IIS URL Rewrite 2.1 available for ARM64 processors?
The x64 build of IIS URL Rewrite 2.1 does not work on a Surface 7 laptop with an ARM64 processor. When will a native ARM64 build be released?
When connecting to remote debugger, breakpoints won't be hit and dlls not showing in module window
I have a multi project solution that I have deployed to a local server that has both a MVC site and an API service to populate it. When I try to attach to the w3wp process with the remote debugger, while the Microsoft dlls show up in the module window,…
Issues Deploying Blazor Server App with Azure Authentication
I have a blazor app that i've built for my company that uses azure authentication. When testing it locally it works like a charm with the localhost certificate. Once i went to deploy to IIS on a web server I cannot get the app to allow sign in. I have…
How to fix can't communicate between websites in other devices on IIS.
hi, currently I'm hosting 2 websites on IIS backend api on 192.168.1.100 and frontend on 192.168.1.101. the problem i'm facing is that the communication is normal between the backend and frontend in the host machine, but when I use another device to in…
ASP application got error occurred on the server when processing the URL.
The ASP configuration has the Script Error Message and Send Error to Browser options set to true, but it still appears when the ASP application is executed: "An error occurred on the server when processing the URL. Please contact the system…
Application getting logout frequently - ASP.NET session has expired or could not be found - Microsoft.ReportViewer.WebForms
Dear all, we are getting below error frequently from few days without any deployment on production environment, unable to find the solution. even after increasing session time out and tried various suggestions on internet still facing the same issue.…
Windows Server 2019 Deleted Files, how to find the user
Hi Team, We have a server 2019 which is using for IIS. Today some files from the live directory are missing. So how we can find which user deleted that files? From event viewer before enabling the audit policy. I would like to know, is it possible to get…
Application_start event not firing in server, but works just fine in debug.
We have an .net framework web application running on IIS 10. I've added some code in the Application_start method of Global.asax.cs and it's not getting fired at all in the server. This is working just fine in debug using visual studio 2022 using target…
How to allow authorization for a single page only
Hi there, I want to allow not logged in users access one page only. This is the content of the web.config I have inside this specific folder named Documents: <?xml version="1.0" encoding="utf-8"?> <configuration> …
C++ IIS module: IHttpRequest::ReadEntityBody returns 0x80070001 (ERROR_INVALID_FUNCTION)
Got native C++ IIS module. IHttpRequest::ReadEntityBody() is used to read body of a very long PUT request that uses chunked encoding, basically a stream of unknown size. ReadEntityBody() can succeed a hundred times or hundreds of thousands times but then…
Rewrite rule do not work for long URLs in IIS
I am using IIS as reverse proxy that redirects traffic made to some domain name like domain.com to internal kestrel service at localhost:5000. I am using regular expression (.*) and I am redirecting that to localhost:5000/{R:1}. This works perfectly…