Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL Job Error in SSIS Package

Posted on 2016-10-21
2
Medium Priority
?
103 Views
Last Modified: 2016-10-25
Hi guys,

I have created a job in SQL Server Agent. My SSIS project is deployed in SSISDB. I have got a wrapper package which is being executed by this job. Now the job fails and complains about the package BookingRevision.dtsx

When i run this package from my local it runs successfully but fails in the job. The only difference between this package and other successful packages within job is that this package is using a Data Conversion.

I am relatively new to SSIS so really unable to understand that why is this package not giving any error from local but when i run it from the server it comes up with the error message.

I have attached the error file
Report.docx
0
Comment
Question by:shah36
2 Comments
 
LVL 14

Accepted Solution

by:
Nakul Vachhrajani earned 2000 total points
ID: 41854535
It appears that your server is running low on resources (memory or disk). This is based on the following line from your error log (thank-you for sharing it).

Either not enough memory is available to the pipeline because not enough is installed, other processes are using it, or too many buffers are locked.

The reason it works on your local machine is probably because no other packages, processes or client connections are open on your machine (or you may not be using the same amount of data when running your package).

Try reducing blocking transformations (e.g. Sort + Merge) and replace them with non-blocking ones (e.g. downloading data into temporary tables and using standard T-SQL to perform the JOIN). Also, see how you can minimize the data being exchanged across the data pipe (apply filters when fetching data from the source itself rather than doing so towards the end).
0
 

Author Closing Comment

by:shah36
ID: 41858185
Thanks a lot. Yes Server was low on resources. There was no way that we were going to upgrade the resources. So i split my wrapper package into multiple wrapper packages and especially those one containing high volume of data transfer and it works.

regards
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

886 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