Hi,
While converting this RAR file to PNG, we are getting a “The RAR5 format is not yet supported by Aspose.ZIP for .NET 20.6
” exception in GroupDocs viewer version 20.11.0 -
System.NotImplementedException: The RAR5 format is not yet supported by Aspose.ZIP for .NET 20.6.
at .()
at Aspose.Zip.UnRAR.RarArchive.(Int64 )
at Aspose.Zip.UnRAR.RarArchive.( , Int64 )
at Aspose.Zip.UnRAR.RarArchive..ctor(Stream sourceStream)
at .(Stream )
at ..ctor(Stream , String , String , String )
at .(String )
at .(Object )
at .(Object )
at .(MethodBase , Boolean )
at . ( , )
at . ()
at .(Boolean )
at .(Object )
at .(Object )
at .()
at .(Object , UInt32 )
at .(Boolean )
at .(Object[] , Type[] , Type[] , Object[] )
at .(Stream , String , Object[] , Type[] , Type[] , Object[] )
at .(Stream , String , Object[] )
at .(Stream , String , Object[] )
at . (LoadOptions , BaseViewOptions )
at . (String , Stream , LoadOptions , BaseViewOptions )
at GroupDocs.Viewer.Viewer.(LoadOptions , BaseViewOptions )
at GroupDocs.Viewer.Viewer.(BaseViewOptions )
at GroupDocs.Viewer.Viewer.(ViewInfoOptions )
at GroupDocs.Viewer.Viewer..()
at .[TEntry](ICache , String , Func`1 )
at GroupDocs.Viewer.Viewer.GetViewInfo(ViewInfoOptions options)
Our code relies upon the FileType.GetSupportedFileTypes API to show the supported file types to the end user. RAR is one of the supported file types returned by this API. Therefore, we would request you to look into this conversion and either
-
Fix the exception and convert the file successfully, or
-
Don’t return RAR in the list from the GetSupportedFileTypes API