We help IT Professionals succeed at work.

SQl Job

justin11
justin11 asked
on
278 Views
Last Modified: 2008-03-10
Hello,
I have a SQlJob which is working fine in one sever.When we move to another server,it is failing.Here is the error I am getting:


OnStart:  DTSStep_DTSExecuteSQLTask_1   DTSRun OnError:  DTSStep_DTSExecuteSQLTask_1, Error = -2147467259 (80004005)      Error string:  [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.      Error source:  Microsoft OLE DB Provider for SQL Server      Help file:        Help context:  0      Error Detail Records:      Error:  -2147467259 (80004005); Provider Error:  17 (11)      Error string:  [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.      Error source:  Microsoft OLE DB Provider for SQL Server      Help file:        Help context:  0      DTSRun OnFinish:  DTSStep_DTSExecuteSQLTask_1   DTSRun OnStart:  DTSStep_DTSExecuteSQLTask_2   DTSRun OnError:  DTSStep_DTSExecuteSQLTask_2, Error = -2147467259 (80004005)      Error string:  [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.      Error source:  Microsoft OLE DB Provider for...  Process Exit Code 2.  The step failed.
 
This is very urgent.Please help.

Thanks
Comment
Watch Question

Commented:
Assuming that the Job is using conneciton objects are you updating them with the name of the new server?

Scott

Author

Commented:
Yes. When I execute the dtsPackage directly it runs fine. It gives this error when I try to schedule it as job and try to run it
Thanks
CERTIFIED EXPERT
Top Expert 2012

Commented:
>>It gives this error when I try to schedule it as job and try to run it<<
Is the account for the SQL Server Agent service a domain account?
What does your package do?

Author

Commented:
How can I check whether it is a domain account?

It updates some tables in a linked server
CERTIFIED EXPERT
Top Expert 2012

Commented:
>>How can I check whether it is a domain account?<<
In the SQL Server Agent Properties, General Tab it would show "This account" with somthinng like this "YOURDOMAIN\USERNAME"

Commented:
Is the linked server created on new server? If so, check for security settings of linked server..

CERTIFIED EXPERT
Top Expert 2012

Commented:
Ah yes, very good point.

Author

Commented:
Hello,

In the general tab service startup account is grayed out. I did check the security setting for linked server.It is ok

Do I need to create a proxy account for the agent.Any idea?

Thanks

Commented:
>>In the general tab service startup account is grayed out<<

Does this mean it is using a system account?? I think you should use a domain account for SQl Server Agent

Author

Commented:
Please let me know how to use a domain account. That button is completely grayed out.

Thanks
CERTIFIED EXPERT
Top Expert 2012
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.