35 votes

Remove/Modify IIS 10 Server Header which discloses IIS version

I tested the trick on this site and it works well on IIS 10. https://www.saotn.org/remove-iis-server-version-http-response-header/#removeserverheader-requestfiltering-in-iis-10-0 Simple web.config: &...
M.R.T's user avatar
  • 451
25 votes

Remove/Modify IIS 10 Server Header which discloses IIS version

There have already been plenty of good answers, but I'd like to show a different approach for users like me, who like to use Windows GUI IIS Management Console "Internet Information Services (IIS)...
AndreasRu's user avatar
  • 351
13 votes
Accepted

Where are my Azure Temp Files?

The location of temporary files for Azure Web Apps seems to always be D:\local\Temp. However, the entire D:\local folder is MOUNTED on different places for each web app by Azure. This means that each ...
Ole Tolshave's user avatar
13 votes
Accepted

Disable TLS 1.2 stops RST packets

Are you 100% sure he is not testing with a higher or lower version of TLS, packet resets normally are attributed to the application not knowing what to do with it.
Donna Delour's user avatar
11 votes

Getting a 404 error after upgrading to ASP.NET 4.5

Here is the web.config. ...
jbonwell's user avatar
  • 211
10 votes

Getting a 404 error after upgrading to ASP.NET 4.5

Look at the config you provided if all files are where they are suppose to be do the following. For windows Server 2008 / 2008 R2 First Ensure that the .NET Framework 4.5.1 is installed Run the ...
Anthony Fornito's user avatar
8 votes

Remove/Modify IIS 10 Server Header which discloses IIS version

Run as Administrator: %systemroot%\system32\inetsrv\appcmd.exe set config -section:system.webServer/security/requestFiltering /removeServerHeader:"True" /commit:apphost
hienbuithanh88's user avatar
7 votes

Connection Reset error trying to set up HTTPS locally using VS and IIS Express

try to put a port in the range 44300-44399 this one hundred port numbers already have a certificate "bound" to them
L.Trabacchin's user avatar
6 votes
Accepted

Azure Web App Port Mapping/Forwarding

Unlike Cloud Services (web/worker roles) and Virtual Machines, Web Apps don't have a port-mapping feature. That is... the only ports open for Web Apps are 80 and 443. Traffic Manager does not provide ...
David Makogon's user avatar
6 votes

Azure high availability solution with synchronization of website and SQL server data

You can configure StarWind VSAN on a top of just two virtual machines and get real highly-available storage solution in the cloud. I believe this manual should be useful for you, check it out.
batistuta09's user avatar
  • 9,106
5 votes

Remove/Modify IIS 10 Server Header which discloses IIS version

I remembered I've seen this is possible in IIS10, and indeed I blogged about this in New features in IIS 10. There is a new removeServerHeader setting, but it is not available in the GUI, you have to ...
Peter Hahndorf's user avatar
4 votes

Trailing dots in url result in empty 404 page on IIS

Adding this attribute in the httpRuntime section may help you: <configuration> <system.web> <httpRuntime ... relaxedUrlToFileSystemMapping="true" .../> </system.web> &...
Mohi's user avatar
  • 141
4 votes

How to configure IIS Express to ask for client certificate

I found a blog that detailed how to configure client certificate requests for IIS Express (I used Visual Studio 2017, IISExpress 10.0). Apparently the location of the applicationhost.config files ...
Aske B.'s user avatar
  • 141
4 votes

How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?

As of IIS 10/Windows 10/Server 2016, the WebAdministration module is deprecated and we're expected to use the new IISAdministration Powershell module instead. Here's how to get the application pool ...
Chris Doherty's user avatar
4 votes

IIS does not load custom HTTP module from web.config

7 years later: It is not specific to the IIS version, it is specific to the application pool mode: classic versus integrated. <system.webServer><!--for integrated mode--> <...
TamerDev's user avatar
4 votes
Accepted

Difference between limit number of connections setting in IIS and the Max Pool Size

No, they are not the same thing. The Max Pool Size parameter affects the database server connection pooling between the webserver and the database; in case of TrackingConnectionString, the Tracking ...
Esa Jokinen's user avatar
  • 49.7k
4 votes
Accepted

Why isn't IIS on Windows Server 2012 able to access system environment variables?

When an application loads a dynamic link library or executeable without specifying a fully qualified path, Windows tries to locate the binary by searching a well-defined set of directories. This ...
bjoster's user avatar
  • 4,907
3 votes
Accepted

The client and server cannot communicate, because they do not possess a common algorithm on Windows Server Web 2008

Are you using Windows 2008 non R2? TLS 1.2 is not supported on Windows 2008. You have to upgrade to Windows 2008 R2 or above if you need TLS 1.2 support You can view TLS support for different ...
Mass Nerder's user avatar
  • 1,027
3 votes
Accepted

ASP.NET 2.0 has not been registered on the web server IIS10 Windows 10

Ensure you have the .NET Framework 3.5 installed via Control Panel > Programs and Features Ensure your IIS Application Pool is configured to use the .NET 2.0 CLR (IIS Manager > Application Pools > (...
Dai's user avatar
  • 2,299
3 votes

Does IIS log request header information? If yes, where?

You can use failed request tracing in IIS to include status code 200. This would log successful requests too and you can view all request headers in the "request details" > "general request headers" ...
Houratious's user avatar
3 votes

How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?

The following worked for me in Windows 2012, couldn't get the other examples working: Import-Module WebAdministration $appPoolName='MyAppPool' $folderDirectory='C:\MyWebFolder' $appPoolSid = (Get-...
ChrisT's user avatar
  • 31
3 votes
Accepted

Server Error on asmx application trying different file

Please check if you added the application "wscriativo" (the name you provided in the URL) to some application pool. I had the same problem and this was my problem. Probably you just created the ...
javsmo's user avatar
  • 146
3 votes

ASP Redirect Base URL Being Rewritten by IIS

Found the answer and wanted to post here in case someone else runs across the issue. Per https://stackoverflow.com/a/23600821/132528: Could Application Request Routing be involved? Look at IIS -> ...
JasCav's user avatar
  • 233
3 votes

Where are my Azure Temp Files?

Just found a (official) source, and further clarification, to the WEBSITE_DISABLE_SCM_SEPARATION(unsupported!) flag mentioned in Ole Tolshave's answer. Kudu wiki page: Understanding the Azure App ...
Doku-so's user avatar
  • 131
3 votes

How can I resolve CPU utilisation nearing 100% on IIS

Identify what is killing the CPU. I recommend https://www.iis.net/learn/troubleshoot/performance-issues/troubleshooting-high-cpu-in-an-iis-7x-application-pool Identify what is causing this.
Sukhjinder Singh's user avatar
3 votes

Make web application accessible everywhere

A common way to make an internal application available on the internet is to install a reverse proxy such as Nginx into a suitable DMZ. A DMZ is basically a part of the network used as a buffer ...
Tim's user avatar
  • 32.7k
3 votes

How to block attempts for phpMyAdmin?

Welcome to the Internet; every web server gets all kind of probe requests, mostly for these administration interfaces and paths for web applications with known vulnerabilities. Therefore, it might ...
Esa Jokinen's user avatar
  • 49.7k
3 votes
Accepted

Constant bot probing on my website

Usually a .env file is a plain text file used to store environment variables to configure certain software. It looks like this: APP_NAME="My app" APP_ENV=production It is useful to avoid mixing ...
gdevdeiv's user avatar
2 votes

The trust relationship between the primary domain and the trusted domain failed

When calling IsInRole with a group name that doesn't exist in AD that can happen. I admit, I don't fully understand OP's issue. But that's what caused the "trust" error in my case.
gabriel14's user avatar
2 votes

When will an app pool with both time intervals and a specific time recycle?

On IIS 8.5 (Windows 8.1), I've just run the following test. My start time is 11:04. I set the app pool to recycle at 11:06 (specific time), and also reset every 5 minutes (regular time interval). ...
Jamie Burns's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible