compression file - Error: Exception has been thrown by the target of an invocati

  • #Region "Imports"

    Imports System

    Imports System.IO

    Imports System.IO.Compression

    #End Region

    Public Sub Main()

    Dim FolderPathToZip As String = "C:\HOWTO_SSIS\Prj03\start\"

    Dim sArqOrigem As String = "Selenium.txt"

    ZipFile.CreateFromDirectory(FolderPathToZip, sArqOrigem)

    Dts.TaskResult = ScriptResults.Success

    End Sub

    'ERROR: Exception has been thrown by the target of an invocation.

     

  • Please expand on what you have provided, to include

    a) Your question

    b) Which line throws the error, and an outline of what you are trying to achieve

     


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply