Skip to Content
author's profile photo Former Member
Former Member

DI Server Error, please help.

I'm developing a class to use di server methods, when using AddObject the new Object is created but the response says that "i can't duplicate the primary key".

Example:

I send this

[OCRD] , '1). [ODBC SQL Server Driver][SQL Server]Infracción de la restricción PRIMARY KEY 'OCRD_PRIMARY'. No se puede insertar una clave duplicada en el objeto 'OCRD'...

I think is all right but...

That's not all same with RemoveObject, the object is removed but the response says "No record founds".

What's the matter with this??

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 11:29 AM

    Are you sure that the object is really created? I guess that it maybe is not created, because you had an old object with the same code (222), and you mistakenly think the old object is the new object. Or am I wrong?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.