Open GauteHaugen opened 1 month ago
This looks like a runtime razor issue. Transfering to http://github.com/dotnet/aspnetcore
//CC @mkArtakMSFT @javiercn
@mkArtakMSFT @javiercn Hi, would it be possible for someone to take a look at this? We are having this issue more frequently, and we cannot see anything wrong from our side at the moment.
Hi, we have a hard-to-reproduce issue and are struggling to find a solution. We serve pages using a custom implementation of the
IFileProvider
andIFileInfo
. On rare occasions, a page request will get a 500 response, and we can find this Exception/StackTrace in our logs:Once a page gets this error, every user requesting the same page will get this error. At the moment, we can only resolve this by restarting the server. Nothing seems to be wrong with the Razor page, as a server restart always resolves the issue.
Is there anything about how we provide a page to the file provider that can result in this exception?