Solved

SSIS Packages Configurations and Deployment

Posted on 2011-02-11
3
390 Views
Last Modified: 2012-05-11
I have 12 packages in my SSIS project to configure and deploy; what are the major things to change in these two processes to ensure smooth package preservation? Is it ok to select all properties in the 'Select Properties to Export' page?

I had configured and deployed a trial copy package and after that I tried running the package again but it failed; should that be expected? What If I want to run the package in future, is there anything I need to turn on or off on the configuration properties?

When I schedule sql server job, would this failure affect the  job from executing?
Thanks
0
Comment
Question by:lynanee
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
robertg34 earned 500 total points
Comment Utility
Select the bare minimum you need in the configuration selection.  I try to stick with the connection string only.  When I deploy, I simply change the server names to point to the correct production servers in the xml file.  

If the job is failing when you run it manually, it will most likely fail when you run it as a scheduled job.  

This video may be of some assistance to you:
http://www.sqlshare.com/OptionsforDisplayingQueryResultsinSSMS_853.aspx
0
 

Author Comment

by:lynanee
Comment Utility
I am using SQL Server method for the configuration and deployment. Can the connection manager be changed as well using this method?

What can I do then to make sure that the package doesn't fail when I run it either manually or as a scheduled job? But just before the configuration and deployment, the package was running very well with no error so I'm wondering if there's anything that could be done during the configuration or deployment to prevent the package from not running. By the way, the error is primary key constraint.

Thanks!
0
 
LVL 5

Expert Comment

by:robertg34
Comment Utility
The connection manager can be changed using the configuration using either sql server or the .xml file.  

With a primary key constraint failure, it sounds like you need to add a sql task to your package that disables the constraints before the data is loaded.  At the end of the job you can another sql task that re-enable the constraints.  
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now