sql server
- hi i tried to install sql server but i keep recieving error message:''SQL Server Setup failed to execute a command for server configuration. The error was [Microsoft][SQL Native Client][SQL Server]Cannot add functional unit 'sp_sqlagent_get_startup_info' to component 'Agent XPs'. This unit has been already registered with the component.Refer to the server error logs and Setup logs for detailed error information.''
any ideas how i can fix this???
thanks
jozna
All Replies
Hello,
Please see solutions to this error proposed by Dannol Liu on the following thread:
Regards,
Alberto Morillo
SQLCoffee.com- Probably there's a broken installation on the system? Is there any chance you format the disk and reinstall OS and other stuff? Or uninstall any other SQL Server installation and try to reinstall from scratch?
Ekrem Onsoy - MCDBA, MCITP:DBA, MCSD.Net, MCT, SQL Server MVP Hi,
If it still fails to install again, please post the error logs and setup logs.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.- hi again
thanks for the suggestion last time and sorry for my late reply!!
i tried the link u suggested and i did everything he said but now the error msg is changed it says" The Sql server failed to start. For maore information, see the Sql server books online topics,"how to :view SQL server setup log files" and "starting SQL server manually." and this is the former error message. i mean when i first tried to install sql this was the error message and i know the steps that eliminate this message but it doesnt seem to work anymore so do u have any suggestions??
thanks in advance - Hi,
This problem probably dues to previous installation failure, so make sure you have uninstalled all SQL related components before reinstall in the second time.
Usually we can uninstall SQL Server from Add and Remove Programs/Programs and Features, and then we can uninstall it. But sometimes, we cannot uninstall all things of SQL Server, so please run the Windows Installer CleanUp Utility here to remove installation information.
Install system requirement programs to make installation succeeded.
Any more questions, please feel free to let us know.
ChunSong Feng
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
hi
thank you for z suggestions. i did as u suggested above. i uninstall all sql related components and i cleaned up the disk but when i tried to install it again it says " The Sql server failed to start. For more information, see the Sql server books online topics,"how to :view SQL server setup log files" and "starting SQL server manually." the same problem as before.if you have any other ideas please let me know.with regards
jozna
- Hi,
Have the installation media been broken or something? What did setup log files say?
Make sure you have installed Windows Installer 4.5, .NET Framework 3.5 and .NET Framework 3.5 SP1, Windows Powersheel before installation.
ChunSong Feng
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. hi again
no the installation media is not broken. i installed the same SQL to another laptop which is the same as this one before sometime.actually both the laptops were bought on the same day at the same place.but i couldnt install one while the other were installed without any difficulties. do you think may be the problem is on the pc itself??the setup logfiles says like this.
Microsoft SQL Server 2005 9.00.3042.00
==============================
OS Version : Microsoft Windows XP Professional Service Pack 2 (Build 2600)
Time : Wed Oct 04 18:00:57 2000
Machine : YOUR-10F19F641C
Product : Microsoft SQL Server Setup Support Files (English)
Product Version : 9.00.3042.00
Install : Successful
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_SQLSupport_1.log
--------------------------------------------------------------------------------
Machine : YOUR-10F19F641C
Product : Microsoft SQL Server Native Client
Product Version : 9.00.3042.00
Install : Successful
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_SQLNCLI_1.log
--------------------------------------------------------------------------------
Machine : YOUR-10F19F641C
Product : Microsoft SQL Server VSS Writer
Product Version : 9.00.3042.00
Install : Successful
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_SqlWriter_1.log
--------------------------------------------------------------------------------
Machine : YOUR-10F19F641C
Product : MSXML 6.0 Parser
Product Version : 6.10.1129.0
Install : Successful
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_MSXML6_1.log
--------------------------------------------------------------------------------
Machine : YOUR-10F19F641C
Product : SQL Server Database Services
Error : SQL Server Setup failed to execute a command for server configuration. The error was [Microsoft][SQL Native Client][SQL Server]Cannot
add functional unit 'sp_sqlagent_get_startup_info' to component 'Agent XPs'. This unit has been already registered with the component..
Refer to the server error logs and Setup logs for detailed error information.
--------------------------------------------------------------------------------
Machine : YOUR-10F19F641C
Product : SQL Server Database Services
Error : SQL Server Setup failed to execute a command for server configuration. The error was [Microsoft][SQL Native Client][SQL Server]Cannot
add functional unit 'sp_sqlagent_get_startup_info' to component 'Agent XPs'. This unit has been already registered with the component..
Refer to the server error logs and Setup logs for detailed error information.
--------------------------------------------------------------------------------
Machine : YOUR-10F19F641C
Product : Microsoft SQL Server 2005 Express Edition
Product Version : 9.2.3042.00
Install : Failed
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_SQL.log
Last Action : InstallFinalize
Error String : SQL Server Setup failed to execute a command for server configuration. The error was {Microsoft}{SQL Native Client}{SQL Server}Cannot
add functional unit 'sp_sqlagent_get_startup_info' to component 'Agent XPs'. This unit has been already registered with the component..
Refer to the server error logs and Setup logs for detailed error information.
Error Number : 29521
--------------------------------------------------------------------------------SQL Server Setup failed. For more information, review the Setup log file in %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt.
Time : Wed Oct 04 18:03:26 2000
List of log files:
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_Core(Local).log
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_SQLSupport_1.log
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_SQLNCLI_1.log
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_SqlWriter_1.log
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_MSXML6_1.log
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_SQL.log
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_Datastore.xml
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_.NET Framework 2.0.log
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_Support.log
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_Core.log
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0009_YOUR-10F19F641C_SCC.log
C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\LOG\ERRORLOG
thank you
joznaHello,
Please run the Windows Installer Cleanup utility. See the following link:
http://support.microsoft.com/kb/290301
After running the utility, re-run SQL Server setup again.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.comHi Jozna,
I am suggesting you install SQL Server not selecting SQL Agent feature, after installed, and then try to add that feature. If you get any errors, please feel free to let us know.
Before reinstalling, read this thread to see if it helps: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=81344
Hope this helps
ChunSong Feng
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.


