Hi All,
I have tried all I can find and I have no other Ideas.
I am using the C-API Ver: 7.6.4   though DotNet (C#) VS2013.
I have no issues when it comes to reading the objects through the API using any 
of the get methods . _server.GetForm(Name),  pulls the BMC.ARSystem.ARForm  
with no issues

But when I try to Update the form or any other workflow objects for that matter 
after I modify a property on or no modifications to see if it will update, I 
get an Error.

Error (303): Form does not exist on server;Invalid object or object name for 
overlay mode set
Or
An unhandled exception of type 'System.AccessViolationException' occurred in 
BMC.arnettoc.dll

I could use some in-site on this issue or possible alternatives.

Example Code Below:
       ///
       /// Update the Diary Field with the action taking place
       ///
       String sUser = "Demo";
       String Name = "MyForm:Test";
       BMC.ARSystem.Server _server = new BMC.ARSystem.Server();
       BMC.ARSystem.ARForm oArForm = _server.GetForm( name );
       BMC.ARSystem.DiaryEntry diaryEntry = new DiaryEntry();
       diaryEntry.Text = "Diary Entry to show up in the Change Log after 
altered via an API.";
       diaryEntry.Time = DateTime.Now;
       diaryEntry.User = sUser;
       oArForm.ChangeDiary.Add( diaryEntry ); //With or without this line it 
errors
       _server.SetForm( oArForm );       // <== Dies Here

Please, Assist if possible.

Respectfully,
William Abdo

This email message is intended for the use of the person to whom it has been 
sent, and may contain information that is confidential or legally protected. If 
you are not the intended recipient or have received this message in error, you 
are not authorized to copy, distribute, or otherwise use this message or its 
attachments. Please notify the sender immediately by return e-mail and 
permanently delete this message and any attachments. Verio Inc. makes no 
warranty that this email is error or virus free. Thank you.

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to