Reputation: 8681
I am trying to do a SSIS package deployment to SQL server 2008. I generated the manifest file but double clicking it didn't open the deployment wizard.
I have tried to execute the dtutil command from the command prompt but getting an error Argument SQL for option Copy is not valid
Following is the command that I am using
I need to deploy to SQL server 2008 R2. I also need to know how and where are the dtsconfig files stored in sql server. Please help
Upvotes: 2
Views: 1748
Reputation: 2156
To copy a package from a local file system to an instance of SQL Server hosted on another computer, use the following syntax (MSDN):
dtutil /FILE c:\sourcepkg.dtsx /DestServer <servername> /COPY SQL;destpkgname
Graphically you can try by Importing the .dtsx file from local to SQL Server or to the package store. Follow below steps:
For Package Configuration, If it is an existing package with dtsConfiguration was in previous SQL Server, Script out the table from previous server and run in new server. You can try new configuraton from below:
Upvotes: 1
Reputation: 37313
To copy a package from file system to an MSDB database you have to use the following syntax:
dtutil /FILE c:\sourcepkg.dtsx /DestServer <servername> /COPY SQL;destpkgname
So in your case, assuming that the package path is C:\Development\CoreAnalytics\Trunk\src\Willis.CoreReference.ETL\Willis.CoreReference.ETL\bin\Deployment\Core.ReferenceETL.dtsx
and that the SQL Server name is MYSERVER\SQL2008R2
, so you have to use the following command:
Having a windows Authentication
dtutil /FILE C:\Development\CoreAnalytics\Trunk\src\Willis.CoreReference.ETL\Willis.CoreReference.ETL\bin\Deployment\Core.ReferenceETL.dtsx /DestServer MYSERVER\SQL2008R2 /COPY SQL;CoreReferenceETL
Having a SQL Authentication (user:sa - password:123456)
dtutil /FILE C:\Development\CoreAnalytics\Trunk\src\Willis.CoreReference.ETL\Willis.CoreReference.ETL\bin\Deployment\Core.ReferenceETL.dtsx /DestServer MYSERVER\SQL2008R2 /DestUser sa and /DestPassword 123456 /COPY SQL;CoreReferenceETL
References
Upvotes: 2
Reputation: 31785
For me, the most reliable way of deploying a package in SQL Server 2008 has been to import it from the file system using an SSIS connection in SSMS.
Upvotes: 0