ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister
Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters

CompTIA Exam Vouchers
Save money on CompTIA exams
Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more

* ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i

Online practice tests

Certification sites

Online university

Online college

Online education

Distance learning

Software forum

Server administration forum

Programming resources






This is interesting: Free IT Magazines | Databases help forum



General discussions > Public newsgroups > microsoft.public.sqlserver.server > dtsrun fails inside a job

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread






Author dtsrun fails inside a job
Raks
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
dtsrun fails inside a job

I created a dts package and it seems to work well when i execute it
from the DTS designer. But when I use the dtsrun utility to run the
same package through a job the package fails. Also, to my surprise the
same dtsrun utility seems to work well when i run it in the command
prompt. It only fails when i make it part of a job. Any idea why this
is happening.
Also some additional info, I am using the sql 2000 tools to create and
edit the package....the server where i am storing this package is sql
7.0.
Has anybody come acros this problem ?

Help in this will be highly appreciated.


Thanks,
Raks

Report this post to a moderator

Old Post 06-27-02 03:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
Dan Guzman
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: dtsrun fails inside a job

What SQL 7 service pack level are you running? You need to run SQL 7
SP3 or greater in order for SQL 2000 DTS packages to be compatible,
unless you save the package with a password.

Also, remember that DTS is basically a client application and will run
on the machine you launch it from. If you execute the package on your
PC using EM or DTSRUN, it will run on your PC. When you schedule a job,
it runs on the server. Besides the SP level, the failure on the server
may be due to other configuration differences such as ODBC data sources,
security, etc.


Hope this helps.


Dan Guzman
SQL Server MVP

-----------------------
SQL FAQ links (courtesy Neil Pike):

http://www.ntfaq.com/Articles/Index...epartmentID=800
http://www.sqlserverfaq.com
http://www.mssqlserver.com/faq
-----------------------

"Raks" <raksql@hotmail.com> wrote in message
news:94871109.0206261929.58a23d67@posting.google.com...
> I created a dts package and it seems to work well when i execute it
> from the DTS designer. But when I use the dtsrun utility to run the
> same package through a job the package fails. Also, to my surprise the
> same dtsrun utility seems to work well when i run it in the command
> prompt. It only fails when i make it part of a job. Any idea why this
> is happening.
> Also some additional info, I am using the sql 2000 tools to create and
> edit the package....the server where i am storing this package is sql
> 7.0.
> Has anybody come acros this problem ?
>
> Help in this will be highly appreciated.
>
>
> Thanks,
> Raks



Report this post to a moderator

Old Post 06-27-02 12:25 PM
Reply w/Quote Edit/Delete Message IP: Logged
Matthew Bando
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: dtsrun fails inside a job

When you execute the package through the designer or through dtsrun, are you
physically at the server itself. When executing a package either of these
ways, the dts package executes locally on the machine and uses whatever
environment is active on that machine. Executing the package through a job
will execute on the server in the server's context.

Also, verify that the SQL Server Agent is running using an account with the
appropriate permissions to do what the dts package does as jobs execute with
the privileges of the SQL Server Agent.

I hope that this helps.

Matthew Bando
MBando@WestColebrooke.com


"Raks" <raksql@hotmail.com> wrote in message
news:94871109.0206261929.58a23d67@posting.google.com...
> I created a dts package and it seems to work well when i execute it
> from the DTS designer. But when I use the dtsrun utility to run the
> same package through a job the package fails. Also, to my surprise the
> same dtsrun utility seems to work well when i run it in the command
> prompt. It only fails when i make it part of a job. Any idea why this
> is happening.
> Also some additional info, I am using the sql 2000 tools to create and
> edit the package....the server where i am storing this package is sql
> 7.0.
> Has anybody come acros this problem ?
>
> Help in this will be highly appreciated.
>
>
> Thanks,
> Raks



Report this post to a moderator

Old Post 06-27-02 01:25 PM
Reply w/Quote Edit/Delete Message IP: Logged
Raks
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: dtsrun fails inside a job

Thanks for the info's, these were very helpful. I tried giving a
password and running the package and it seemed to work. Also, the info
about the security context on which the job and the dts package runs
was very helpful. I now understand that the job executes on the
security context of the server while the dts package executed from the
designer executes from context on where it is run.
Thanks once again.

Raks


"Matthew Bando" <mbando@westcolebrooke.com> wrote in message news:<elqmw1dHCHA.2800@tkmsftngp13>...
> When you execute the package through the designer or through dtsrun, are you
> physically at the server itself. When executing a package either of these
> ways, the dts package executes locally on the machine and uses whatever
> environment is active on that machine. Executing the package through a job
> will execute on the server in the server's context.
>
> Also, verify that the SQL Server Agent is running using an account with the
> appropriate permissions to do what the dts package does as jobs execute with
> the privileges of the SQL Server Agent.
>
> I hope that this helps.
>
> Matthew Bando
> MBando@WestColebrooke.com
>
>
> "Raks" <raksql@hotmail.com> wrote in message
> news:94871109.0206261929.58a23d67@posting.google.com...
> > I created a dts package and it seems to work well when i execute it
> > from the DTS designer. But when I use the dtsrun utility to run the
> > same package through a job the package fails. Also, to my surprise the
> > same dtsrun utility seems to work well when i run it in the command
> > prompt. It only fails when i make it part of a job. Any idea why this
> > is happening.
> > Also some additional info, I am using the sql 2000 tools to create and
> > edit the package....the server where i am storing this package is sql
> > 7.0.
> > Has anybody come acros this problem ?
> >
> > Help in this will be highly appreciated.
> >
> >
> > Thanks,
> > Raks

Report this post to a moderator

Old Post 06-28-02 01:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply

Featured site: MCSE, MCSD, CompTIA, CCNA training videos



Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps