Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Error using CreateObjectEx
unknown__unknown__(eu0014281_-_(deleted))
Hi folks.I developed a little program in C language by using the LAPI 960. This code perform an insert into LL of some jpg, then it associate a category to these docs. Unitl now this programs has worked fine. Actually I installed the 2006 December patch, and the code stop at he CreateObjectEx call. The same code works fine on a LL960 patched 2006 November installation. The code at the stop is:if(LL_CreateObjectEx(session, llvolid, id, LL_OBJECTTYPE, LL_DOCUMENTSUBTYPE, filename, createInfo, objectInfo) != LL_OK) {GetErrors(session);........ }The GetError functionl and his error messages are in the attach. Someone have some suggest ? Is there some patch to LAPI ??Thanks for your help.ByeTino
Find more posts tagged with
Comments
eLink User
Message from Nair, Krishnankutty via eLinkCan you do the same thing form the livelink web interface,what yourprogram is supposedly doing.Could it be that the container has amandatory category that you are not filling in?maybe the cat definitionhas changed ,some stuff like that .... -----Original Message-----From: eLink Discussion: LAPI Discussion[mailto:lapi@elinkkc.opentext.com] Sent: Thursday, January 25, 2007 10:10 AMTo: eLink RecipientSubject: Error using CreateObjectEx[Attachments exceeded pre-set size limits. Use the links provided toaccess]Error using CreateObjectExPosted by Curti, Agostino on 01/25/2007 11:08 AMHi folks.I developed a little program in C language by using the LAPI 960. Thiscode perform an insert into LL of some jpg, then it associate a categoryto these docs. Unitl now this programs has worked fine. Actually Iinstalled the 2006 December patch, and the code stop at heCreateObjectEx call. The same code works fine on a LL960 patched 2006November installation. The code at the stop is:if(LL_CreateObjectEx(session, llvolid, id, LL_OBJECTTYPE,LL_DOCUMENTSUBTYPE, filename, createInfo, objectInfo) != LL_OK) {GetErrors(session); ........ }The GetError functionl and his error messages are in the attach. Someone have some suggest ? Is there some patch to LAPI ??Thanks for your help.ByeTino[To reply to this thread, use your normal E-mail reply function.]============================================================Attachment link: tmp1.jpg
https://knowledge.opentext.com/knowledge/llisapi.dll/open/10476697============================================================Discussion
: LAPI Discussion
https://knowledge.opentext.com/knowledge/llisapi.dll/open/765428Livelink
Server:
https://knowledge.opentext.com/knowledge/llisapi.dllTo
Unsubscribe from this Discussion, send an e-mail tounsubscribe.lapi@elinkkc.opentext.com.-----------------------------------------*Please note my E-Mail Address has changed. Please update yourcontact list*Anadarko Confidentiality Notice: This electronic transmission and any attached documents or otherwritings are intended only for the person or entity to which it isaddressed and may contain information that is privileged,confidential or otherwise protected from disclosure. If you havereceived this communication in error, please immediately notifysender by return e-mail and destroy the communication. Anydisclosure, copying, distribution or the taking of any actionconcerning the contents of this communication or any attachments byanyone other than the named recipient is strictly prohibited.
unknown__unknown__(eu0014281_-_(deleted))
Hello Nair,I tryied by LL(web) and it works fine, anyway I associate a category without mandatory fields..... May be the patch have some bug ???
Louis_Routhier
If you do, have you tried putting a break point on CreateObjectEx to see exactly where it crashes?
Carsten_Kulms
The "apiError" may provide detailed error information.The error message means that there was a problem when inserting data in a database table.If you can verify that the code works as expected with Nov2006 patched installation I suggest to contact Open Text's customer support.
Donna Nalls
Hello Tino,I have seen this error with my OScript in LL 9.5 -- when i am pulling number values from an external source (database column), the inserts into the LLAttrData table are failing.When i inspect my values in the oscript, the numbers have a "G" in front of them -- indicating they are coming into livelink as a Real datatype instead of the Integer datatype.I agree with Louis that you should put a breakpoint on in the OScript method and have a look at your values coming in.....pay particular attention to any number columns.All the best,Donna
Louis_Routhier
This being said, have you tried looking at connect#.log? I don't know if you already heard about them or not but just in case:Connect#.logs files audit everything going on the wire with the SQL database. To activate it, if I remember well, set wantLogs to true in the [options] section of your opentext.ini. as it was mentionned, since this seems to be a DB error, you should find more detailed information on the error in this file.
unknown__unknown__(eu0014281_-_(deleted))
First.... thanks to all for the support !! Finally....I solved this issue...the problem was a strange trigger on a SQL table... :-((I'm sorry, but it was a very old trigger and I don't remember nothing about this...