We're creating Sitemap XML-files and pointing to them in Google Webmaster Tools, which sporadically gives the following error-message to some of the files:
Compression error
The "How to fix" in Google's documentation doesn't really give any hints at what could be wrong.
The file is generated in .NET and compress with System.IO.Compression.GZipStream and through MSDN's recommended way of use.
It does work when we open the file in 7-zip and just re-save the file, without any changes.
Any hints?