[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 789
  • Last Modified:

Error when I try to start the SQL Server Agent

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
hidrau
Asked:
hidrau
1 Solution
 
hidrauAuthor Commented:
Hi, could you tell me why I got that message and problem?

Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now