Re: Problems with DotNetNuke Integration

  •  03-01-2006, 8:21 PM

    Re: Problems with DotNetNuke Integration

    We're having the same problem I'm using DNN 4.0.2/CE 5.2.  I don't know if this information helps, but we use the starter kit and compile agains core DNN and noticed that VS2005 thows a build error in the DNN core file (DNN/Admin/Files/FileManager.asc.vb) on the reference to ZipEntry.  Seems to line up with the errors on the file manager.
     
    Lines: 708 - 728 on the GetZipFileExtractSize function,  Bold represents where it is getting the following error on complile:
     
    'ZipEntry' is ambigous in the namespace 'ICSharpCode.SharpZipLib.Zip'
     
    and this one
     
    'ZipInputStream' is ambigous in the namespace 'ICSharpCode.SharpZipLib.Zip'

            Private Function GetZipFileExtractSize(ByVal strFileName As String) As Long
                Dim objZipEntry As ZipEntry
                Dim objZipInputStream As ZipInputStream
                Try
                    objZipInputStream = New ZipInputStream(File.OpenRead(strFileName))
                Catch ex As Exception
                    ShowErrorMessage(MaskString(ex.Message))
                    Return -1
                End Try

                objZipEntry = objZipInputStream.GetNextEntry
                Dim iTemp As Long

                While Not objZipEntry Is Nothing
                    iTemp = iTemp + objZipEntry.Size
                    objZipEntry = objZipInputStream.GetNextEntry
                End While
                objZipInputStream.Close()
                Return iTemp

            End Function

    Again, you may already know this but thought it might help.  I got this error when building right after I installed CE for DNN4.  Anxiously awaiting a fix.
View Complete Thread