Error: Agent XPs disabled. How do I fix this?

  • hi,

    I was trying to generate scripts for a DB i am working with but I keep having this error:

    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

    ------------------------------

    ADDITIONAL INFORMATION:

    Could not load the DLL xpstar.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).

    Could not load the DLL xpstar.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.). (Microsoft SQL Server, Error: 17750)

    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=17750&LinkId=20476

    I restarted the Agent service, it will start and stop almost immediately. Please has anyone encountered this error? Thanks.

  • what errors do you get in the windows application log for the agent service?

  • Ok, from the Event Viewer, I see this error.

    Could not load the DLL xpstar.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).

  • is that in the SQL server event log or the windows log?

  • Windows Log

  • Well something or someone has deleted the dll or a referencing dll or the dll's are not registered.

    What version of SQL and Service Pack level are you on?

    I would recommend reinstalling or applying the latest service pack so that it can reinstall and reregister the dll's

  • Thanks Tony Green,

    I am currently repairing the instance that is giving me issues via Installation cantre. I hope it works. All the service packs SP1-3 are lower versions[10.0.0.2...]. The troublesome instance is on an MSSQL Server 2008 R2 edition[10.0.50....].

    Thanks for the assistance.

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

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