Solved

Error when I try to start the SQL Server Agent

Posted on 2007-11-14
2
757 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
create index to c1, c2 and c3 9 67
PERFORMANCE OF SQL QUERY 13 66
Anyway to make these 2 SQL statements into one? 13 24
Replace Dates in query 14 11
There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

21 Experts available now in Live!

Get 1:1 Help Now