Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Error when I try to start the SQL Server Agent

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

789 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