Nitin S
Nitin S

Reputation: 7591

Page with garbled text appears when any unhandled error occurs

Whenever an unhandled error occurs, I get following screen instead of yellow screen.

suckr

Please note I have enabled Localization in ASP.NET Boilerplate and current language/culture is set to en-US.

For some pages, the language text values are stored in AbpLanguageTexts table.

Upvotes: 7

Views: 279

Answers (1)

Aristos
Aristos

Reputation: 66641

This is happens when the page is send back with gZip compression but with wrong Content-Length.

The result are the non-correct decompress of the data.

The solution is to remove the Content-Length or remove the compression from the error page/message.

You can also check this similar answer : HTTP Compression: Some external scripts/CSS not decompressing properly some of the time

Upvotes: 1

Related Questions