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
  • Have you verified the script on its own? You can try this by testing the script outside the process and see if it returns the values as expected. 

    My best guess at the moment is that you are trying to create an object of type "Domains" and D1IM is complaining about, i.e. it can't find a table by the name "Domains". I can't remember the name of the tables, but maybe what you are looking for is ADSDomain or Domain (not Domains) ? 

    HTH

Reply
  • Have you verified the script on its own? You can try this by testing the script outside the process and see if it returns the values as expected. 

    My best guess at the moment is that you are trying to create an object of type "Domains" and D1IM is complaining about, i.e. it can't find a table by the name "Domains". I can't remember the name of the tables, but maybe what you are looking for is ADSDomain or Domain (not Domains) ? 

    HTH

Children
No Data