Page 1 of 1

Invalid character in the given encoding

Posted: Tue Jun 29, 2021 1:31 am
by naveen2507
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

Re: Invalid character in the given encoding

Posted: Tue Jun 29, 2021 6:05 am
by naveen2507
I am attaching the mrt file and error text.
The attachment Exception_2020.txt is no longer available
Exception_2020.txt
(1.93 KiB) Downloaded 164 times

Re: Invalid character in the given encoding

Posted: Tue Jun 29, 2021 6:06 am
by naveen2507
mrt file:
gautamji_view_pending_bills.mrt
(27.52 KiB) Downloaded 164 times

Re: Invalid character in the given encoding

Posted: Tue Jun 29, 2021 9:08 pm
by Lech Kulikowski
Hello,

Please clarify how do you save that report? Most probably, the issue with saving.

Thank you.