Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / March 2008

Tip: Looking for answers? Try searching our database.

SQL Scheduled Job fails, but Query Analyzer runs the task complete

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
davidtheweb - 19 Mar 2008 18:45 GMT
I have a Job on SQL that fails to kick off, but when I run the task (an index
defragmentation) under Query Analyzer with the same user credentials, it runs
fine.  The Job wizard didn't ask for a password for the user login, and I
didn't see a place to enter it.  Is there some other reason that has been
encountered that would cause this?

David
Linchi Shea - 19 Mar 2008 19:01 GMT
Did the job run at all? Or did it run but failed? What happens if you try to
start the job manually?

Linchi

> I have a Job on SQL that fails to kick off, but when I run the task (an index
> defragmentation) under Query Analyzer with the same user credentials, it runs
[quoted text clipped - 3 lines]
>
> David
Russell Fields - 19 Mar 2008 19:04 GMT
David,

In addition to Linchi's questions, also make sure that the schedule is not
disabled.

RLF

>I have a Job on SQL that fails to kick off, but when I run the task (an
>index
[quoted text clipped - 5 lines]
>
> David
davidtheweb - 19 Mar 2008 19:32 GMT
Found it!  Under the Properties | Steps | Edit | Advanced tabs, I changed it
to Run as user: (Self) and the job ran properly.

Thanks for the answers

> David,
>
[quoted text clipped - 12 lines]
> >
> > David
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.