in

UGISS Community

Il sito della community dello User Group Italiano di SQL Server

Schedulazione di un package SSIS

Last post 07-04-2008 18.31 by sgovoni. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-04-2008 16.27

    • sgovoni
    • Top 10 Contributor
      Male
    • Joined on 10-18-2007
    • Posts 171
    • Points 2.625

    Schedulazione di un package SSIS

    Ciao a tutti,

    avrei bisogno di una dritta per poter schedulare l'esecuzione di un package SSIS. Ho creato un package, l'ho salvato e ho eseguito anche la build. E' possibile schedulare il package attraverso un normale job SQL Agent ?

    Grazie

    Sergio

    Filed under:
    • Post Points: 20
  • 07-04-2008 17.10 In reply to

    • sgainz
    • Top 10 Contributor
      Male
    • Joined on 06-04-2007
    • Altamura (BA)
    • Posts 116
    • Points 1.490

    Re: Schedulazione di un package SSIS

    Oh Yes

    puoi sfruttare il nuovo job step "SQL Server Integration Services Package", oltre che usare il tool di esecuzione scritto da Davide M. (http://www.codeplex.com/DTLoggedExec) mediante il normale job step "Operating System (CmdExec)" e che garantisce un logging mooolto più ricco.

    [Francesco Quaratino]
    • Post Points: 20
  • 07-04-2008 17.39 In reply to

    • sgovoni
    • Top 10 Contributor
      Male
    • Joined on 10-18-2007
    • Posts 171
    • Points 2.625

    Re: Schedulazione di un package SSIS

    Ciao Francesco,

    sto provando ad utilizzare uno step di tipo SQL Server Integration Services Package, come "Package source" ho specificato "File system" e nel campo "Package" ho selezionato il file con estensione dtsx. Nella scheda "Data sources" ho spuntato la connessione definita nel package SSIS.

    Se tento di eseguire il job manualmente ottengo questo errore:

    Executed as user: <server>\SYSTEM. ...r Execute Package Utility  Version 9.00.3042.00 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  17.30.36  Error: 2008-07-04 17:30:36.78     Code: 0xC0016016     Source:       Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Chiave non utilizzabile nello stato specificato.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.  End Error  Error: 2008-07-04 17:30:38.30     Code: 0xC0202009     Source: Package Connection manager "<server>\SQLSRV05.PKSSIS.sa"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E4D.  An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80040E4D  Description: "Login failed for user 'sa'.".  End Error  Error: 2008-07-04 17:30:38.43     Code: 0xC00291EC     Source: Execute SQL Task Exe.  The step failed.

    Temo che non sia stato possibile eseguire la login... (nella connessione all'interno del package ho specificato utente e password).

    Grazie

    Filed under:
    • Post Points: 20
  • 07-04-2008 18.03 In reply to

    • sgainz
    • Top 10 Contributor
      Male
    • Joined on 06-04-2007
    • Altamura (BA)
    • Posts 116
    • Points 1.490

    Re: Schedulazione di un package SSIS

    domanda: il data source usa l'autenticazione SQL?

    provato con la Windows Authentication?

    [Francesco Quaratino]
    • Post Points: 20
  • 07-04-2008 18.31 In reply to

    • sgovoni
    • Top 10 Contributor
      Male
    • Joined on 10-18-2007
    • Posts 171
    • Points 2.625

    Re: Schedulazione di un package SSIS

    sgainz:

    domanda: il data source usa l'autenticazione SQL?

    Sì, usava l'autenticazione SQL, ora usa Windows Authentication e funziona Big Smile , non avevo pensato che per la lettura sul file system il tipo di autenticazione corretto fosse Windows Authentication.

    Grazie

    Ciao

    Filed under:
    • Post Points: 5
Page 1 of 1 (5 items)
(C) 2007 User Group Italiano di SQL Server