Hello,
When I copy a report in the management website and then go to open it with the "Design Report" button I get the following error in Report Designer as soon as it loads:
"Error:
Archive file cannot be size 0.
System.IO.FileFormatException: Archive file cannot be size 0.
at MS.Internal.IO.Zip.ZipArchive.OpenOnStream(Stream stream, FileMode mode, FileAccess access, Boolean streaming)
at System.IO.Packaging.ZipPackage..ctor(Stream s, FileMode mode, FileAccess access, Boolean streaming)
at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming)
at Telerik.Reporting.Utils.ZipFile.Open(Stream stream)
at Telerik.Reporting.Utils.ZipResourceHandler.LoadResources(Stream stream)
at Telerik.Reporting.ReportPackager.UnpackageDocument(Stream packageStream)
at Telerik.ReportDesigner.Packages.ReportDesigner.Serialization.ReportDocumentDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)"
I am using Version: 4.0.18.227. Any thoughts? I have tested with several different reports with the same result.
Thank you - Scott
5 Answers, 1 is accepted
The error message indicates that the TRDP report uploaded to the server is not in a correct ZIP format and cannot be successfully unpacked.
The issue might be caused by incomplete upload, or errors during uploading.
I suggest you to test opening the problematic report (the file on the server) with archiving program that supports ZIP, as explained in the How to: Identify the report definition schema version article section.
Regards,
Todor
Progress Telerik

Thank you for the reply, Todor. I wasn't perfectly clear I don't think. I am highlighting a report in the admin console and then clicking the icon on the site with two pages - the copy button. At this point it prompts me for a name for the copied report and then I hit save. If I try and edit this newly copied report that's when I get the error I wrote of earlier.
Thanks - Scott
Thank you for providing the exact steps.
I tested the scenario, but couldn't reproduce the issue.
I tested all allowed extensions - TRDP, TRBP and TRDX and the functionality works as expected on our side with all of them.
I have attached a short video demonstrating my TRDP test.
I suggest you to enable the Trace Listener for the Report Server Standalone Designer that opens the reports from the Report Server with ClickOnce.
Note that ClickOnce install directory is hard to find, so I suggest while trying to open the report from the server (Design Reports button) to view Windows Task Manager (key combination Ctrl+Shift+Esc) and open its location from there (right click on Telerik Report Designer... and select Open file location).
Copy the attached config file in the opened folder. It should generate and save a Trace Log file in C:\Temp\Telerik.ReportDesigner.log (you can change the file name/folder in the config file).
I would ask you to send us this log file for local investigation.
We would be looking forward to your response.
Regards,
Todor
Progress Telerik

Appreciate the response, Todor. I have the log but am not sure how to get it to you. Also, what I just found is that if I copy any of the sample reports supplied with Report Server they copy and open just fine but the ones that I have created from scratch using the Report Designer will not copy and then open. Please let me know on the log if still needed.
Regards,
Scott
Was the version of Standalone designer used to create a report was the same as the version of Report Server? In general, it is recommended to use report designer that is shipped with Report Server installation, it can be found in [installation folder]\Progress\Telerik Report Server\Telerik.ReportServer.Web\Report Designer.
Your current support plan allows submitting private support tickets. You can send us the log file in the ticket.
Regards,
Katia
Progress Telerik