Invalid character in the given encoding
Posted: Tue Jun 29, 2021 1:31 am
Hello,
I started getting the following error suddenly in a mrt file which was working fine till yesterday.
Stimulsoft 2020.1.1 throws the error "Invalid character in the given encoding. Line 1, position 1." whereas Stimulsoft 2012 throws the error "The magic number in GZip header is not correct. Make sure you are passing in a GZip stream."
Visual studio throws the following error : An unhandled exception of type 'System.IO.InvalidDataException' occurred in Stimulsoft.Report.dll. The magic number in GZip header is not correct. Make sure you are passing in a GZip stream.
What could be the possible reason for this error? Please help.
Thanks in advance.
Naveen Aggarwal
I started getting the following error suddenly in a mrt file which was working fine till yesterday.
Stimulsoft 2020.1.1 throws the error "Invalid character in the given encoding. Line 1, position 1." whereas Stimulsoft 2012 throws the error "The magic number in GZip header is not correct. Make sure you are passing in a GZip stream."
Visual studio throws the following error : An unhandled exception of type 'System.IO.InvalidDataException' occurred in Stimulsoft.Report.dll. The magic number in GZip header is not correct. Make sure you are passing in a GZip stream.
What could be the possible reason for this error? Please help.
Thanks in advance.
Naveen Aggarwal