Error creating security descriptor for shared objects (reason: The trust relationship between this workstation and the primary domain failed). The step failed.

  • Hi,

    We have SQL Server 2005 x86 developer edition with SP3 and I have SQL Agent job to delete old bak files(using VB Script). It's running fine since I created but last night, after some maintenance by Network team, this job is failing with below message:

    Error creating security descriptor for shared objects (reason: The trust relationship between this workstation and the primary domain failed). The step failed.

    please advice

    Thanks

  • I appreciate your help on this because the old bak files are not getting deleted as the job is failing with the above message and the space is full on the server. Right now I'm deleting manually, but I would like to know what this error referring to

    Thanks

  • Try running the job after changing the owner to 'sa' if its not sa. Also, try running the job step script manually under SSMS after logging in with user account having admin rights.

    MJ

  • Thanks Manu,

    But it's a VB Script. Can we run the VB script from SSMS?

    Thanks

  • Yes, you can. Go to New Agent Job-->New Job Step-->Under Type-->choose Active X Script. In down window select VBScript as lanaguage and paste your script.

    MJ

Viewing 5 posts - 1 through 4 (of 4 total)

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