Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

HRESULT: 0x80010105 (RPC_E_SERVERFAULT) in SAPbobsCOM.IDocuments.Add()

0 Kudos

Hello everyone,

I get this error: System.Runtime.InteropServices.COMException (0x80010105): The server threw an exception. (Exception of HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) in SAPbobsCOM.IDocuments.Add()

This happend when trying to add an invoice from DI API on two different Add Ons in SAP 9.3 PL07 with diferent data bases and the same server, testing them in SAP 9.2 PL11 the Document.Add works.

I’ve checked and double checked that I have the correct version of SAP Client and DI API installed, updated the .dll of the projects.

I’ve also tried the same from an application wtih just DI API and it works fine

Can you help me?

Thanks,

  • SAP Managed Tags:
5 REPLIES 5

ens_
Active Participant
0 Kudos

Dear yailetharelly.islasmitzi,

Restarting SAP Business One Client usually resolves the problem. Use File → Exit though. Not Choose Company. Usually this issue occurs if you create UDFs from DIAPI without restarting the client or if your addon fails mid-transaction. A restart will most likely solve it.

Sincerely,

Varnavas Eleftheriou

  • SAP Managed Tags:

0 Kudos

Hello.

Thanks for the answer but I've tried that and it doesn't solve it, the error persists.

  • SAP Managed Tags:

ens_
Active Participant
0 Kudos

Dear yailetharelly.islasmitzi,

You are having this trouble only on one machine within SAP B1? or this is happening on all clients?

Sincerely,

Varnavas Eleftheriou

  • SAP Managed Tags:

0 Kudos

Hello varnavas.eleftheriou.
It happends on more than one machine with SAP B1 9.3.

  • SAP Managed Tags:

mk1909_sap
Active Participant
0 Kudos

Hey dude,

could you pls check this one?

https://www.linkedin.com/feed/update/urn:li:activity:7166391771059482624

Thanks and Regards,

Mahendrakumar D.P.

  • SAP Managed Tags: