Share via

SQL 2012 SSIS Deploy error

Hoàng Đức Việt 1 Reputation point
2021-08-27T10:14:31.133+00:00

I develop a SSIS project in VS2012.
It run well in Debug mode. But when I was doing SSIS project deployment in [Integration Services Deployment Wizard] to server, but I have error. The following is the error message I can see from the [Integration Services Deployment Wizard].

Error Number: 3930
Severity: 16
State: 1
Procedure: prepare_deploy
Line Number: 298

Program Location:

at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
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()
at Microsoft.SqlServer.IntegrationServices.Deployment.DeployProjectPage.DoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

I've found a thread seem to be like my situation and follow to the solution - deleted the old SSIS DB and created a new one. But It not work, the error still is raised. (URL here: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/49be5caa-33d4-4a27-9ceb-37ea34cd4062/sql-server-2012-ssdt-2010-unable-to-deploy-a-ssis-project-error-number-15581?forum=sqlintegrationservices)

Help me please.
Thank you.

SQL Server Integration Services
0 comments No comments

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 41,551 Reputation points
    2021-08-30T07:46:09.073+00:00

    Hi @Hoàng Đức Việt ,

    Could you please help check if below steps will work or not?

    deploy-integration-services-ssis-projects-and-packages

    Build the project and then use isdeploymentwizard.exe to deploy the project.

    Run isdeploymentwizard.exe from %ProgramFiles%\Microsoft SQL Server\X\DTS\Binn. On 64-bit computers, there is also a 32-bit version of the tool in %ProgramFiles(x86)%\Microsoft SQL Server\X\DTS\Binn

    Just want to check if we don't open the Deployment Wizard through Visual Studio can you deploy using the wizard.

    If this doesn't work, you may install SSDT2017 for a try.

    download-sql-server-data-tools-ssdt

    Regards,

    Zoe


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Hot issues October

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.