Invalid character in the given encoding

Stimulsoft Ultimate discussion
Post Reply
naveen2507
Posts: 5
Joined: Thu Jan 03, 2019 4:13 am

Invalid character in the given encoding

Post 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
Attachments
Exception_2012.txt
(1.68 KiB) Downloaded 132 times
naveen2507
Posts: 5
Joined: Thu Jan 03, 2019 4:13 am

Re: Invalid character in the given encoding

Post 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 154 times
naveen2507
Posts: 5
Joined: Thu Jan 03, 2019 4:13 am

Re: Invalid character in the given encoding

Post by naveen2507 »

mrt file:
gautamji_view_pending_bills.mrt
(27.52 KiB) Downloaded 154 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Invalid character in the given encoding

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply