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

     

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

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

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