2017-07-01 7 views
2

J'utilise sql server 2012 et j'y ai des outils de données sql server qui utilisent visual studio 2010 donc, j'ai une table qui contient le nom seulement et je aimerais copier cette table dans la table de destination ainsi j'ai pris la source d'oledb et la destination d'oledb sur la tâche de flux de données et essayons de déployer ce projet dans le serveur sql "catalogue de service d'intégration" ainsi un assistant apparait demandant la source et la destination ont fourni et appuyez sur OK au dernier je reçois cette erreur.Impossible de déployer le projet. Pour plus d'informations, interrogez la vue operation_messages pour l'identifiant d'opération '4'

enter image description here

- <WizardReport xmlns="http://schemas.datacontract.org/2004/07/Microsoft.SqlServer.IntegrationServices.Wizard.Common.Model" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> 
 
- <Results> 
 
    <Children /> 
 
    <Header>Results</Header> 
 
- <ReportItems> 
 
- <SummaryReportItem> 
 
    <Message i:nil="true" /> 
 
    <Property>Loading project</Property> 
 
    <Status>Success</Status> 
 
    <Value i:nil="true" /> 
 
    </SummaryReportItem> 
 
- <SummaryReportItem> 
 
    <Message i:nil="true" /> 
 
    <Property>Connecting to destination server</Property> 
 
    <Status>Success</Status> 
 
    <Value i:nil="true" /> 
 
    </SummaryReportItem> 
 
- <SummaryReportItem> 
 
    <Message i:nil="true" /> 
 
    <Property>Changing protection level</Property> 
 
    <Status>Success</Status> 
 
    <Value i:nil="true" /> 
 
    </SummaryReportItem> 
 
- <SummaryReportItem> 
 
    <Message>Failed to deploy project. For more information, query the operation_messages view for the operation identifier '4'.</Message> 
 
    <Property>Deploying project</Property> 
 
    <Status>Failure</Status> 
 
    <Value i:type="a:string" xmlns:a="http://www.w3.org/2001/XMLSchema">System.Data.SqlClient.SqlException (0x80131904): Failed to deploy project. For more information, query the operation_messages view for the operation identifier '4'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.SqlServer.IntegrationServices.Common.ObjectModel.SqlHelper.ExecuteSQLCommand(SqlStoreConnection storeConnection, CommandType cmdType, String cmdText, SqlParameter[] parameters, ExecuteType execType, Int32 commandTimeout) at Microsoft.SqlServer.Management.IntegrationServices.CatalogFolder.DeployProject(String projectName, Byte[] projectStream) at Microsoft.SqlServer.IntegrationServices.Wizard.Common.Model.DeployExportProjectHelper.DeployProject(CatalogFolder folder, Project project) at Microsoft.SqlServer.IntegrationServices.Wizard.Common.Model.DeploymentModel.Deploy(CatalogFolder folder, Project project) at Microsoft.SqlServer.IntegrationServices.Wizard.Common.Model.DeploymentModel.DeployProject()</Value> 
 
    </SummaryReportItem> 
 
    </ReportItems> 
 
    </Results> 
 
- <Summary> 
 
- <ReportSection> 
 
    <Children /> 
 
    <Header>Use the following arguments to perform this deployment from the command line:</Header> 
 
- <ReportItems> 
 
- <SummaryReportItem> 
 
    <Message /> 
 
    <Property>Command line</Property> 
 
    <Status>None</Status> 
 
    <Value i:type="a:string" xmlns:a="http://www.w3.org/2001/XMLSchema">/Silent /SourcePath:"C:\Users\AHMED\Documents\Visual Studio 2010\Projects\Integration Services Project3\Integration Services Project3\bin\Development\Integration Services Project3.ispac" /DestinationServer:"AHMED-PC" /DestinationPath:"/SSISDB/NewPack/Integration Services Project3"</Value> 
 
    </SummaryReportItem> 
 
    </ReportItems> 
 
    </ReportSection> 
 
- <ReportSection> 
 
    <Children /> 
 
    <Header>Source</Header> 
 
- <ReportItems> 
 
- <SummaryReportItem> 
 
    <Message /> 
 
    <Property>Path</Property> 
 
    <Status>None</Status> 
 
    <Value i:type="a:string" xmlns:a="http://www.w3.org/2001/XMLSchema">C:\Users\AHMED\Documents\Visual Studio 2010\Projects\Integration Services Project3\Integration Services Project3\bin\Development\Integration Services Project3.ispac</Value> 
 
    </SummaryReportItem> 
 
    </ReportItems> 
 
    </ReportSection> 
 
- <ReportSection> 
 
    <Children /> 
 
    <Header>Destination</Header> 
 
- <ReportItems> 
 
- <SummaryReportItem> 
 
    <Message /> 
 
    <Property>Server name</Property> 
 
    <Status>None</Status> 
 
    <Value i:type="a:string" xmlns:a="http://www.w3.org/2001/XMLSchema">AHMED-PC</Value> 
 
    </SummaryReportItem> 
 
- <SummaryReportItem> 
 
    <Message /> 
 
    <Property>Path</Property> 
 
    <Status>None</Status> 
 
    <Value i:type="a:string" xmlns:a="http://www.w3.org/2001/XMLSchema">/SSISDB/NewPack/Integration Services Project3</Value> 
 
    </SummaryReportItem> 
 
    </ReportItems> 
 
    </ReportSection> 
 
    </Summary> 
 
    </WizardReport>

Répondre

1

Le message Impossible de déployer projet n'est pas très utile, mais le reste du message est. La vue operation_messages trouvée dans SSISDB, et le numéro d'identification d'opération est comment déterminer ce qu'est l'erreur. Exécutez cette requête, en utilisant le numéro indiqué dans le message d'erreur, qui dans ce cas est de 4

Vous devez exécuter la requête suivante pour lire plus de détails:

Select * from catalog.operation_messages where operation_id = 4 

Références

0

Ce comportement est visible lorsque le compte d'opérateur ne se voit pas accorder l'appartenance au rôle ssis_admin, même s'il s'agit de sysadmin.

Dans ce cas, il n'y a aucun enregistrement correspondant dans les messages d'opération.