?
Solved

Different SQL Server Job Problem

Posted on 2013-01-21
16
Medium Priority
?
334 Views
Last Modified: 2016-02-10
I had another problem with another Job. I had to update the SSIS package in order to FTP data from different Vendor. And tested the package. It works fine and the data was processed and saved as it should. After that I saved the Package and add updated the Job by re-saving the package data. But it seems to me that the Job somehow still is hooked up to old package.
I have SQL 2008 R2, SSMS 2005 and SSIS Packages are created in MS Visual Studio 2005. Any suggestions?
0
Comment
Question by:Burzhuin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
  • 3
  • +1
16 Comments
 
LVL 28

Expert Comment

by:Ryan McCauley
ID: 38802484
Are you saying that you replaced the existing package and left the SQL job untouched, or that you deployed the new package to your server and updated the sql job to point to the new package? In either case, the sql agent shouldn't have a problem picking up the new copy of the package - are you sure your job is directed to use the correct one?
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 38802499
can you try exporting the package to the server ?
0
 

Author Comment

by:Burzhuin
ID: 38802513
Yes, I am sure of that. In order to make sure I saved the Package under different name, but in the same Custom folder. And I updated the Job to point to the correct package.
0
10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

 

Author Comment

by:Burzhuin
ID: 38802522
By exporting your mean Save Copy of the Package As...?
0
 
LVL 28

Expert Comment

by:Ryan McCauley
ID: 38802565
I'm not sure how it could be running the old package if you'd saved the package using a new name, and then updated the job to use the new package. Are you sure you're edited the right job?

I don't mean to sound dismissive, but I haven't heard of any other cases where the SQL Agent continued to run an old version of a job after the admin updated the job step, and that seems to be what you're describing here.
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 38802574
use import export wizard from ssis, import from your flat file and export to the destination server
0
 

Author Comment

by:Burzhuin
ID: 38802626
I ran the Job after saving new Package and the Job update. That when I noticed that the Job does not work. It did not FTP the file but created empty one. That can happen only if old package was still running. The new package I tested and it works all way through. But somehow it does not call by the Job.
0
 

Author Comment

by:Burzhuin
ID: 38802643
@aneeshattingal: I am using SQL Server Business Intelligence Development Studion 2005. I never used import export Wizard. Actually I never even see one except when you created a new package. I would appreciate instructions here to go and what to click. Thank you.
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 38802691
My bad, import export wizard wont work ;
0
 

Author Comment

by:Burzhuin
ID: 38802741
I created new Test Job and used the same Package but IT STILL DOES NOT WORK. Is there any way to check the time stamp of saved package? Because it seems to me that when I Saved  Copy of Package As... it dis not overwrite the old one. But I saved it under different name. My brain is boiling already.
0
 
LVL 43

Expert Comment

by:Eugene Z
ID: 38803242
where did you store your SSIS pack ? on what server?

check by using SSMS ->connect-> integration services-> your server --search your SSIS
if you are bot sure if it is old or new - rename ssis pack and upload the new one


from sql agent job -- select step properties -ssis- select pack..
if you run as dtexec with ssis in file system stored .. make sure it is the right pack nad use UNC path..

BTR: what error did you get?  again make sure to use UNC path (often in dev  local drive instead of UNC used and server does not know \does not see it ..
0
 

Author Comment

by:Burzhuin
ID: 38803288
I have the only SQL Server so my SSIS pack is stored locally. I followed  your advice but when I was prompted to connect to my SQL Server connection failed: "Connect to SSIS Service on machine DATASQL failed: The specified service does not exist as an installed service." I think it is because I have SQL Server 2008 R2 and SSMS 2005.
0
 
LVL 43

Accepted Solution

by:
Eugene Z earned 1500 total points
ID: 38803311
ok
try SSMS 2008 2

or check fom sql agent job for ssis (it is not clear is it in MSDB on on your drive as  fiel)

see the example:
Scheduling SSIS Packages with SQL Server Agent
http://decipherinfosys.wordpress.com/2008/09/17/scheduling-ssis-packages-with-sql-server-agent/
\
see Scheduling the SSIS Package as a Job
0
 
LVL 43

Expert Comment

by:Eugene Z
ID: 38803320
"Connect to SSIS Service on machine DATASQL failed: The specified service does not exist as an installed service":

means you do not have SSIS installed on DATASQL (check DATASQL ssis server  - it should be there if installed - or not when not installed - also it can be down)
0
 

Author Comment

by:Burzhuin
ID: 38803366
I checked and SSIS is actually installed on DATASQL server. The service is up and running.
0
 
LVL 43

Assisted Solution

by:Eugene Z
Eugene Z earned 1500 total points
ID: 38803479
it is good

what about sqlagent access or using ssms 2008 r2 ?
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

764 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