Questions tagged [applicationhost]

69 questions
1
vote
1 answer

Virtual directory not being configured as an application in IIS Express VS 2015

I have two sites(Web Apps), WebAppOne WebAppTwo both are running on IIS Express from Visual Studio 2015 Here is my applicatoinhost.config
HaBo
  • 13,999
  • 36
  • 114
  • 206
1
vote
1 answer

Is RequestFilter Validation client dependent?

Should I expect Request Filter Validation (e.g. FluentValidation) to be triggered when instantiating a reference service via AppHostBase.ResolveService<>? Thus far, I've only successfully received proper error responses to my C# application when…
Jeremy Smith
  • 1,349
  • 8
  • 15
1
vote
0 answers

Enabling IIS Rewrite Module Logging

I am using IIS 7.5 on Windows 2008 Server R2 and have installed the IIS Rewrite Module v2.0. I am trying to enable logging to see exactly what rewrite rule is being used. Based on research I have learned that I need to modify (update)…
1
vote
1 answer

Why does AppHostSvc ocassionally get stuck using up 100% CPU?

I have a Windows Server 2008 R2 server running IIS 7.5 and serving web applications. I've noticed that a svchost.exe process is consuming a lot of CPU (an entire cpu core was at 100%). That specific process was hosting the IIS Application Host…
sinelaw
  • 16,205
  • 3
  • 49
  • 80
1
vote
0 answers

Applicationhost.config changes after project rebuild. How to prevent that?

I have complex C# ASP .Net MVC web application which requires specific non standard IIS configuration to be defined. The thing is I have to set up this configuration manually after each project rebuild and before each project start because every…
Dmytro
  • 16,668
  • 27
  • 80
  • 130
1
vote
1 answer

IIS 7.0 Site ID and ApplicationHost.config error

I recently used the App Cmd to add a website automatically to my IIS server. The script I used was similar to : site name="Site1 bindings="http/*:80site" id="1%%l" This was created inside a batch script that generates XML for use in AppCmd Add…
Jingles177
  • 499
  • 2
  • 7
  • 16
1
vote
0 answers

VS2012 changes IIS Express site bindings, how do I stop it?

I have several sites running in IIS Express for the same project. They are mapped to real domains via the host file, local.xxx.com etc. instead of localhost:XXX I add a binding for https, under one site in the applicationhost.config file , but it…
Master Morality
  • 5,837
  • 6
  • 31
  • 43
1
vote
0 answers

IIS 7 stops working after ColdFusion 10 Upgrade

So after reading Adobe's documentation about how seemless it would be to go from ColdFusion 8 to ColdFusion 10, last week I gave it a go. I went through the installation process as I have with other versions of the language. At the end it displayed…
0
votes
1 answer

Starting IIS Express cmd rather than VS2022

The ASP.Net Core 6 Web Api runs under IIS Express via VS2022 just fine and allows me to load the swagger page (http://localhost:8084/swagger/index.html): #Software: Microsoft Internet Information Services 10.0 #Version: 1.0 #Date: YYYY-DD-MM…
0
votes
1 answer

tell appcmd to write configuration to the applicationhost.config rather then the site's web.config

As I understand it, it is possible to add connection strings and other configuration objects to a site's scope in the following files - machine.config applicationhost.config the site's web.config I am running the following command - APPCMD set…
Nimrod Fiat
  • 473
  • 3
  • 12
0
votes
1 answer

RequestFiltering value for http verbs in applicationhost.config can be overridden in my websites?

What will happen to my website when configure http [OPTIONS=true] in web.conig if http OPTIONS is already configured in applicationhost.config as [OPTIONS=false]? ApplicationHostFile => added http OPTIONS = false My website level web.config =>…
saravana
  • 544
  • 1
  • 7
  • 26
0
votes
0 answers

Error: The Configuration Section 'system.applicationHost/sites' cannot be read because it is a missing section declaration

I am trying to open sites in Internet Information Service (IIS) Manager. But there is an error message and I cannot open it. I reopen the IIS manager as Admin, but same issue occur. How can I solve this. Please Help.
Hasini
  • 327
  • 4
  • 19
0
votes
1 answer

Suddenly getting: The HTTP request is unauthorized with client authentication scheme 'Negotiate'

During a debugging session of a dotnet framework application I started getting: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate,NTLM,Basic…
Haukland
  • 677
  • 8
  • 25
0
votes
1 answer

Can't serve some file extensions from .NET Core local server even after modifying in applicationHost.config

I'm building a website and I've come across the problem of not being able to access/download some file extensions like .py, .cs. When I make a request to fetch a .cs file for…
0
votes
2 answers

IIS ipSecurity not blocking outside IPs

We are running a web site on IIS with Windows Server 2016. We want the web site to be public, but one folder we want accessible to only internal IP addresses. applicationHost.config contains these lines:
Cameron
  • 31
  • 1
  • 5