Skip to content

This server does not support the IHttpRequestBodySizeFeature #8293

Closed
@andre-ss6

Description

@andre-ss6

I have an MVC action decorated with RequestSizeLimitAttribute. However, I'm seeing the following message in my logs every time I hit that route: A request body size limit could not be applied. This server does not support the IHttpRequestBodySizeFeature.

I'm running ASP.NET Core 2.2 with IIS on Windows Server 2016.

I couldn't manage to find not even a single mention of this in Google. I'm guessing it's because I'm running the app behind IIS. If that's the case, does that mean that only web.config limits are supported?

Metadata

Metadata

Assignees

Labels

acceptedThis issue has completed "acceptance" testing (including accessibility)area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-iisIncludes: IIS, ANCM

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions