SQL Agent is not able to connect to SQL instance after reboot:2008-08-28 08:22:57 - ! [165] ODBC Error: 0, Driver's SQLAllocHandle on SQL_HANDLE_ENV failed [SQLSTATE IM004] 2008-08-28 08:22:57 - ! [000] Unable to connect to server 'TSTWIN2K8\SQL2008'; SQLServerAgent cannot start2008-08-28 08:22:57 - ! [165] ODBC Error: 0, Driver's SQLAllocHandle on SQL_HANDLE_ENV failed [SQLSTATE IM004] 2008-08-28 08:22:57 - ! [382] Logon to server 'TSTWIN2K8\SQL2008' failed (DisableAgentXPs)2008-08-28 08:22:58 - ? [098] SQLServerAgent terminated (normally)Following have been found in app.event log:Log Name: ApplicationSource: SQLNCLI10.1Date: 8/28/2008 8:22:57 AMEvent ID: 1Task Category: NoneLevel: ErrorKeywords: ClassicUser: N/AComputer: TSTWIN2K8.domain.caDescription:The description for Event ID 1 from source SQLNCLI10.1 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.If the event originated on another computer, the display information had to be saved with the event.The following information was included with the event: Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="SQLNCLI10.1" /> <EventID Qualifiers="49152">1</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2008-08-28T12:22:57.000Z" /> <EventRecordID>1518</EventRecordID> <Channel>Application</Channel> <Computer>TSTWIN2K8.domain</Computer> <Security /> </System> <EventData> </EventData></Event>"The description for Event ID 1 from source SQLNCLI10.1 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.If the event originated on another computer, the display information had to be saved with the event.The following information was included with the event: "Log Name: ApplicationSource: SQLAgent$SQL2008Date: 8/28/2008 8:22:57 AMEvent ID: 103Task Category: Service ControlLevel: ErrorKeywords: ClassicUser: N/AComputer: TSTWIN2K8.domain.caDescription:SQLServerAgent could not be started (reason: Unable to connect to server 'TSTWIN2K8\SQL2008'; SQLServerAgent cannot start).Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="SQLAgent$SQL2008" /> <EventID Qualifiers="16384">103</EventID> <Level>2</Level> <Task>2</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2008-08-28T12:22:57.000Z" /> <EventRecordID>1519</EventRecordID> <Channel>Application</Channel> <Computer>TSTWIN2K8.domain.ca</Computer> <Security /> </System> <EventData> <Data>Unable to connect to server 'TSTWIN2K8\SQL2008'; SQLServerAgent cannot start</Data> </EventData></Event>Running "repair" option for "Microsoft SQL Server 2008 Native Client" in "Control Panel\Program and Features" seemed to resolve the issue.
Version
Category
Operating System
Platform