dotnet / dotnet/aspnetcore

Sites using ShadowCopy fail with 500 errors when Maximum Worker Processes > 1

Open
#57,235 0 comments 0 reactions 0 assignees View on GitHub
area-networking feature-iis
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

Sites using ShadowCopy fail with 500 errors when then IIS Application Pool Maximum Worker Processes Setting is set to a value greater than 1.

### Expected Behavior

At best, not to fail. At worst give a useful error message

### Steps To Reproduce

1. Deploy Site to IIS with ShadowCopy enabled within the web.config
2. Within the IIS Application Pool for that site, Increase the Worker Processes Setting to 2
3. put some sort of load on the application.

### Exceptions (if any)

None given

### .NET Version

8.0.7

### Anything else?

- Windows Server 2022
- Dotnet Hosting Bundle 8.0.7
- IIS 10

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.