[Solved] ZipArchive errors

1 Answer 4 Views
General Discussions
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
Fit2Page asked on 29 Apr 2026, 12:17 PM

With code coming from your demo's I get:

 


Compiler Error Message: BC30517: Overload resolution failed because no 'New' is accessible.

Source Error:

Line 97: 
Line 98:             Dim memStream As New MemoryStream()
Line 99:             Using archive As New ZipArchive(memStream, ZipArchiveMode.Create, True, Nothing)

 

What am I doing wrong?

 

Marc

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 29 Apr 2026, 02:41 PM

Hi Marc,

Thank you for reaching out. The error you're seeing is caused by a breaking change introduced in RadZipLibrary 2024 Q1. Starting from that version, the ZipArchive constructors were made obsolete and are no longer accessible. Full details are available here: Backward Compatibility - RadZipLibrary.

How to fix:

Replace the constructor call:

Using archive As New ZipArchive(memStream, ZipArchiveMode.Create, True, Nothing)

With the new static factory method:

Using archive As ZipArchive = ZipArchive.Create(memStream)

Do the same for any other place where you instantiate a ZipArchive — use ZipArchive.Create() for writing, ZipArchive.Read() for reading, or ZipArchive.Update() for updating existing archives.

Also, could you let us know which specific demo page is still erroring out for you? All ZipLibrary demos have been updated and should be working correctly now — for example: https://demos.telerik.com/aspnet-ajax/ziplibrary/examples/overview/defaultcs.aspx. If you are still seeing an error on a particular demo, we'd like to investigate further.

Regards,
Rumen
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources
Tags
General Discussions
Asked by
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
Answers by
Rumen
Telerik team
Share this question
or