This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error inserting into ADSACCOUNT

Hello,

As part of one of the process steps we're creating entry in ADSACCOUNT table with parameters obtained from a script.

Once the process reaches this step it is failing with the error below

2016-07-14 13:35:10 -05:00 - VI.JobService.JobComponents.ScriptComponent - 6287db56-737e-4846-88f2-fd8e40cbc226: Errors occured [810222] Error executing script <SCRIPTNAME> [810008] Could not save object Active Directory user accounts (, [USER]). [810019] Could not create single object for table Domain. [810029] Object of type Domains does not exist in database or you do not have the relevant viewing permissions. at StdioProcessor.StdioProcessor._Execute(Job job) at VI.JobService.JobComponents.ScriptComponent.Activate(String task) at VI.JobService.JobComponents.ScriptComponent._TaskScriptExec() at VI.DB.Scripting.ScriptInstance.Eval(String key, Object[] parameters)

 

Any help will be greatly appreciated

 

Thanks in advance

Parents
  • Please ignore my earlier post. The script by itself is working fine. But we are still seeing the error below in the process step

    2016-07-18 08:16:26 -05:00 - VI.JobService.JobComponents.ScriptComponent - 3f6077f9-9337-4a17-9182-2215c73d6c3d: Errors occured
        Optimizing by using the existing connection.
        [810222] Error executing script 'XXX_SA_WriteToADSACCOUNT'.
        [810008] Could not save object Active Directory user accounts (DOMAIN.COMPANY.COM/08_Corporate_Apps/abcd [USER]).
        [810019] Could not create single object for table Domain.
        [810029] Object of type Domains does not exist in database or you do not have the relevant viewing permissions.
           at StdioProcessor.StdioProcessor._Execute(Job job)
           at VI.JobService.JobComponents.ScriptComponent.Activate(String task)
           at VI.JobService.JobComponents.ScriptComponent._TaskScriptExec()
           at VI.DB.Scripting.ScriptInstance.Eval(String key, Object[] parameters)
           ---- Start of Inner Exception ----
           at DynScripts.Scripts_52CF2F8962C2473BBD27ACF365268D5F.XXX_SA_WriteToADSACCOUNT(String ProdID, String STGID, String QAID, String DEVID, String DisName, DateTime AccExpires, String PrimOw, String SecOw, String AddlOw, String Desc, String CnUID)
           at VI.DB.Implementation.SingleDbObject.Save()

Reply
  • Please ignore my earlier post. The script by itself is working fine. But we are still seeing the error below in the process step

    2016-07-18 08:16:26 -05:00 - VI.JobService.JobComponents.ScriptComponent - 3f6077f9-9337-4a17-9182-2215c73d6c3d: Errors occured
        Optimizing by using the existing connection.
        [810222] Error executing script 'XXX_SA_WriteToADSACCOUNT'.
        [810008] Could not save object Active Directory user accounts (DOMAIN.COMPANY.COM/08_Corporate_Apps/abcd [USER]).
        [810019] Could not create single object for table Domain.
        [810029] Object of type Domains does not exist in database or you do not have the relevant viewing permissions.
           at StdioProcessor.StdioProcessor._Execute(Job job)
           at VI.JobService.JobComponents.ScriptComponent.Activate(String task)
           at VI.JobService.JobComponents.ScriptComponent._TaskScriptExec()
           at VI.DB.Scripting.ScriptInstance.Eval(String key, Object[] parameters)
           ---- Start of Inner Exception ----
           at DynScripts.Scripts_52CF2F8962C2473BBD27ACF365268D5F.XXX_SA_WriteToADSACCOUNT(String ProdID, String STGID, String QAID, String DEVID, String DisName, DateTime AccExpires, String PrimOw, String SecOw, String AddlOw, String Desc, String CnUID)
           at VI.DB.Implementation.SingleDbObject.Save()

Children
No Data