Solved

Error when I try to start the SQL Server Agent

Posted on 2007-11-14
2
755 Views
Last Modified: 2008-02-01
Hello guys

I am trying to start the SQL server agent and I am having the following error :

Current thread must be set to single thread apartment (STA) mode before OLE calls can be made.
Ensure that your Main function has STAThreadAttribute marked on it. (System.Windows.Forms)


These information I have in the log created

11/14/2007 08:22:17,,Information,[098] SQLServerAgent terminated (normally)
11/14/2007 08:22:17,,Error,[382] Logon to server 'SVHTSQL\SQL2005' failed (DisableAgentXPs)
11/14/2007 08:22:17,,Error,[298] SQLServer Error: 785<c/> Cannot generate SSPI context [SQLSTATE HY000]
11/14/2007 08:22:17,,Error,[298] SQLServer Error: 785<c/> SQL Network Interfaces: Nenhuma autoridade pôde ser contatada para autenticação. [SQLSTATE HY000]
11/14/2007 08:22:17,,Error,[000] Unable to connect to server 'SVHTSQL\SQL2005'; SQLServerAgent cannot start
11/14/2007 08:22:17,,Error,[298] SQLServer Error: 785<c/> Cannot generate SSPI context [SQLSTATE HY000]
11/14/2007 08:22:17,,Error,[298] SQLServer Error: 785<c/> SQL Network Interfaces: Nenhuma autoridade pôde ser contatada para autenticação. [SQLSTATE HY000]


What must I do to fix this?

Thanks
0
Comment
Question by:hidrau
2 Comments
 
LVL 16

Accepted Solution

by:
SQL_SERVER_DBA earned 500 total points
ID: 20279716
0
 
LVL 1

Author Comment

by:hidrau
ID: 20279855
Hi, could you tell me why I got that message and problem?

Thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now