February 7, 2008 at 4:04 pm
I have a number of SSIS packages and if I run each interactively they take 2 seconds.
They are extracting records from another SQL 2005 server and inserting them into a local copy of the database.
But when they are in and Scheduled job they all take 45 seconds each.
At first I thought that it was an authentication problem but I have tried various methods of making the conecction and no change. The users involved has sysadmin rights on both servers.
Any ideas would be appreciated..
The step in the job is
INSERT MD_JobQueue
(UserID, JobDescription, Status, SubSystem, Command, StartTime)
VALUES ("LPC\lawsondm", "Populate [CFACIL] in [Base71_Staging]", 1, "TSQL", "'", getdate())
SET NOCOUNT ON
DECLARE @res integer
exec @res = master.dbo.xp_cmdshell 'dtexec /SERVER JOHNNY /SQL "Base71_CFACIL_M3 BE 13_1 Full" > "C:\Temp\BPW Background [Populate [CFACIL] in [Base71_Staging]].ERR"'
if @res <> 0 RAISERROR 34000 'Task Failed'
February 21, 2008 at 3:33 am
Hi there.
We've been having the same problem and it's taken ages to find the solution. It would seem that when you start an SSIS package from a scheduled job the first thing it tries to do is connect to the interent to http://crl.microsoft.com. If your network is anything like ours then internet access is blocked from servers and so it takes ages to time out before eventually starting the package.
A suggested solution is to add 127.0.0.1 crl.microsoft.com as an entry into the hosts file on the server so that the web address is resolved to the local host and doesn't try and connect to the internet. This worked for us and the 1 minute delay to our packages has gone.
You can read allabout it here:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1523670&SiteID=1
Hope this helps
cheers
May 20, 2008 at 4:42 am
Hi Folks, you can also have a look at the following:
June 1, 2008 at 8:44 pm
Thaks Guys, The problem has now been resolved
June 25, 2008 at 10:20 pm
Thank you thank you thank you! The hosts file solution worked for us. :):):)
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply