0

we deployed the packages from old server to new server . how to change the connection string i.e initial catalog or server name parameter from Agent job > configuration > connection manger .Is there a possibility to do from here ?

I'm receiving the below error if i'm changing the data source and servername

enter image description here

1
  • In the future, you can consider using environment variables, that are stored in the catalog and point your packages to use them for the server names. That way you can easily change the server names for lots of packages\projects at once, or easily manage deployments from dev to prod, etc.
    – BCM
    Mar 23, 2021 at 18:29

1 Answer 1

0

After SSIS package deployed to new environment still it may use old connection string.

how to change the connection string i.e initial catalog or server name parameter from Agent job > configuration > connection manger .Is there a possibility to do from here ?

Yes, It's possible when you are sysadmin and you can change manually by following:

Right click on AgentJob -> Properties -> Job step -> Configuration -> Connection Managers

Below Connection Managers -> select Name of database then on properties ->

  • Connectionstring -> Data Source=yourServerName;InitialCatalog=Databasename;Provider=SQLNCLI11.1;IntegratedSecurity = SSPI;Auto Translate=False; (you can edit Data source and intial catalog manually)

and

  • Servername = 'yourservername'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.