Error when changing startup account

  • When changing the startup account of SQl Server from a system account to a

    domain account, get the following error message:

    Error 22042: xp_setsqlsecurity() returned error -2147024890 'The handle is invalid'

    Can't find any info about the error. Does anyone know how to fix this error and what is causing it?

    N.B. Version info:

    Microsoft SQL Server 2000 - 8.00.760 (Intel X86) Dec 17 2002 14:22:05 Copyright (c) 1988-2003 Microsoft Corporation Standard Edition on Windows NT 4.0 (Build 1381: Service Pack 6)

  • Does the account have proper permissions on the local box and access to the file system especially where the SQL related binaries are installed?

  • What do you mean by proper permissions? I read somewhere that SQL server would set up all the permissions automatically or was i just misdunderstood.

  • the user that you want to change the sql service account need to be a user at a minimum at your local box.

    mom

  • SQL Server will create the permissions needed for the account during installation, not on subsequent changes.

  • Actually SQL should reset the permissions properly assuming you use EM and you have the permissions to set permissions.

    Steve Jones

    sjones@sqlservercentral.com

    http://www.sqlservercentral.com/columnists/sjones

    The Best of SQL Server Central.com 2002 - http://www.sqlservercentral.com/bestof/

    http://www.dkranch.net

  • You need to use an account that is set to run as a service

    Best way to accomplish this is to set which account will be used to run the service (MSSQLSERVER) in:

    CONTROL PANEL -> ADMIN TOOLS -> SERVICES

    When you add set an NT Account to run a service that NT Account will automatically get set to be able to run as a service.

    After that you need to make sure that whatever NT Account your using has sufficient access to the local machine running the SQL Server (an easy way is to add to the Local Admin group of the local machine... or if DC then the Domain Admin group)

    That should give you a good start...

  • Did anyone ever come up with a solution for this.  I am having the same problem.  The machine is a BDC, and I've tried using the domain admistrator account, but still same problem.  I tried setting it as the startup account using the services applet first, and then tried it again with EM, but still same problem.  How can something this basic and important be so broken even in SP4?

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply