Questions tagged [applicationhost]
69 questions
3
votes
1 answer
How can I solve HTTP "404" and "405" error msgs?
Are HHTP "404" and "405" errors a step in the right direction following "400" Errors?
After changing my applicationhost.config file, based on step 3 in this article, from this:

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
2
votes
0 answers
Web.config httpCompression section is ignored
I am trying to add a mimeType in web.config -> httpCompression -> dynamicTypes.
What i found was that it had no effect and it seems that the section is being ignored.
For example:
Adding this element gives no error

Calle
- 21
- 1
- 3
2
votes
0 answers
IIS HTTP Response Header unique to each server using Shared Configuration
I am running a web farm using shared config and would like to add something to every response to identify which node in the farm it has come from.
I was of the understanding that the inheritance of IIS configurations would mean that I could add my…

Matt
- 1,436
- 12
- 24
2
votes
1 answer
Can IIS configuration be modified concurrently
We have multiple websites in IIS on each of our servers, and we have PowerShell scripts that can create/update an individual website, along with configuring the bindings, SSL, app pools etc.
Given the size of the server farm, and the number of…

sheikhjabootie
- 7,308
- 2
- 35
- 41
2
votes
1 answer
WebDeploy fails after AppFabric 1.1 upgrade. ApplicationHost.config invalid attribute
We recently upgraded to AppFabric 1.1 and we are having some problems with the hosting services auto-start attributes when performing a web deploy.
IIS is functioning correctly with auto-start enabled on all the machines. The event log and IIS show…

TreeMan360
- 589
- 1
- 5
- 16
2
votes
1 answer
PHP script hanging after 15 minutes on IIS
I have a long-running PHP script, running on IIS (IISEXpress installed via WebMatrix 3.
For the first 15 minutes it works fine, querying the Amazon product advertising API, flushing output to the browser one line at a time to show its progress. Then…

Jonathan
- 449
- 4
- 11
1
vote
0 answers
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 be used at this path
I found here, that I just…

BlueBanana
- 11
- 1
1
vote
1 answer
IIS7 - Change physical path of all sites in server config
Very close to killing myself, so please lend your ears and hands.
I've been trying to migrate an IIS7 webserver (rather large one), and so far am appalled by the state of msdeploy and using it for what I need to do. Enough on that, here's my current…

seeafish
- 617
- 1
- 7
- 16
1
vote
1 answer
HTTP Error 500.19, error code 0x8007000d, while trying to use "URL Rewrite" in IIS 10
I tried using in web.config and received HTTP Error 500.19 error code 0x8007000d.
Went to IIS Manager, found the "URL Rewrite" icon (which means that the module is already installed and I don't have to install it again), but clicking on…

Alexey Nagoga
- 181
- 1
- 6
1
vote
1 answer
how to change .vs\config\applicationhost.config once and for all?
I have an ASP.Net MVC web application. When i initially created the project i specified it as a windows authentication. After some experimentation and development, the requirements shifted away from windows authentication, so i reconfigured the…

MattFace
- 317
- 3
- 14
1
vote
1 answer
Configure managed httpmodule from GAC to work both in Classic and Integrated modes
I've developed a custom managed HttpModule (.NET 2), installed it on GAC and added it in Modules section for IIS 8.5 globally.
For each website with Integrated mode this module is visible in it's Modules section as Inherited and it works as designed…

Reza Mortazavi
- 329
- 3
- 14
1
vote
0 answers
VS 2015 Building projects with DEVENV.com "An error occurred when applying the IIS Express settings to server URLfor project"
After we migrated the projects from VS 2010 to VS 2015, whenever I build a project from command prompt using devenv.com option, we are getting below popup.
An error occurred when applying the IIS Express settings to server URL…

Priyang
- 376
- 2
- 7
1
vote
1 answer
applicationhost.config inside hidden .vs folder
can some help me because i am really confused.
Using Visual studio, in my App folder i have a hidden folder named .vs, inside another folder config and next an applicationhost.config.
This config file, when used and for who is important to have?…

GomuGomuNoRocket
- 771
- 2
- 11
- 37
1
vote
1 answer
How can I add a HttpModule in ApplicationHost.config for all websites on IIS Server from C#?
I am trying something like
public string[] RegisterInApplicationConfig()
{
using (ServerManager serverManager = new ServerManager())
{
Configuration config = serverManager.GetApplicationHostConfiguration();
…

Bit_Pulse
- 336
- 1
- 2
- 16
1
vote
1 answer
Azure App Service Set Custom ConnectionTimeout in ApplicationHost.config
On our ASP.NET MVC website hosted on Azure App Service we'd like to force a timeout for requests that take longer than 15 seconds. Here's a simple action that always takes longer than 15 seconds (i.e. infinite loop) that we've been testing with...
…

sammy34
- 5,312
- 5
- 29
- 42