cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error: RPC_E_SYS_CALL_FAILED

Former Member
0 Likes
4,851

Hi All,

I have various add-ons that does quite a bit of processing at month end. These add-ons would export a bunch of PDF files or would create massive orders/invoices. Whilst processing this error would occur every now and again. There is no specific place where it occurs or no specific reason why. I have googled it and it is a Microsoft error, but I'm not sure why it occurs.

This morning I got this error at a client on their server. When running the add-on locally on a workstation I don't get this error. Can someone shed some light or give me some insight into how to possibly solve this?

The full error is: System call failed. (Exception from HRESULT: 0x80010100 (RPC_E_SYS_CALL_FAILED))

It is on different sites with different add-ons and usually during a process that uses quite a bit of memory and requires a lot of processing. I dont' think upgrading the server or memory would really help as these machines are not running on their max yet.

Any help/suggestions appreciated.

Thanks in advance,

Adele

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Likes

Hi,

I know it's an old thread but I found a solution to this that has worked for me.

1. Open Registry Edit using REGEDIT.EXE.

2. Go to HKEY_LOCAL_MACHINE --> SOFTWARE --> MICROSOFT--> WINDOWS NT --> CURRENT VERSION --> WINDOWS

3. Change USERPostMessageLimit to 400000 (usually from 10000 or 18000)


Let me know if it works for you...

Former Member
0 Likes

I'm having the same issue, has there been progress or solution to this yet?  Please help me.

Mamadou

Former Member
0 Likes

I think you should create your own thread. This is 4yr old thread.

former_member994768
Discoverer
0 Likes

Hi all, after a month SAP response me that they are debugging the problem, no solution. I have a workaround that works for me. I put my process (big process thar spend lot of time) in another thread so SAP can continue and I don´t have the error.

former_member994768
Discoverer
0 Likes

Hi all,

We have the same exception, I have a problem with procedures that spend several time. I get the exception in this simple code after a time wait (as Tomas says) :

For i As Integer = 5 To 1000

System.Threading.Thread.Sleep(60000 * i)

SBO_Application.SetStatusBarMessage("Test")

next

Not all the computers fails, in my case the server can execute this code without problem.

I report this error to the support

Daniel Rodriguez

Former Member
0 Likes

Hi all,

I also facing this problem. Any update on this?

Thank you.

Regards

Wong

TomasVCZ
Explorer
0 Likes

Hi all,

I made webex meeting with N.O'Grady from SAP Support yesterday.

He reproduced this error and he promised me to accelerate this problem with SAP developement.

On of possible ways how to reproduce it:

Hold the handling of any UI event in your add-on for aprox. 10 minute

(make a "neverending" loop with Application.DoEvent())

After this time the error RPC_E_SYS_CALL_FAILED will happen.

I looks as lost connection between add-on and SDK.

Does somebody have another experiences with this strange error?

Do you contact SAP Support, too?

Regards

Tomas

Former Member
0 Likes

Hi!

Yes, we had the same issue after waiting for Recordset-results of heavy querys.

The only way to reduce the error was to tune the querys for better performance or create indexes on our UDT with SQL-Managers Tuning Advisor.

We also get an info that activating 'Ole Automation Procedures' on SQL-server could help:


sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO

-- Show actual setting
EXEC sp_configure 'Ole Automation Procedures';
GO

-- Change setting
sp_configure 'Ole Automation Procedures', 1;
GO
RECONFIGURE;
GO

-- Show changed setting:
EXEC sp_configure 'Ole Automation Procedures';
GO

But I'm not sure and this is on everybodys own risc!!

Cheers,

Roland

Former Member
0 Likes

Maybe it's a time-dependent thing.

Try to measure passed time and draw conclusions whether it depends on how long processing takes.

Former Member
0 Likes

I have tried this and couldn't come to any conclusion. I would run the same process a couple of times and it would give different results every time. Sometimes it works great and other times I get errors on different places. I'm really stumped...

Former Member
0 Likes

Hi

This is a primitive error which the SBO doesnt mask as into another error like RPC_SERVERFAULT.Check if you are referring to any nonexisting item/location/folder or any other external call messages.Usually this occurs during or after such external call which takes a quite bit of time,if so try inserting delay for the long process.

HTH

Raghu

Former Member
0 Likes

Hi Jacques did you solved your this problem? I have it too an can't solve . Please help me

Former Member
0 Likes

Hi Burco, I still get this error every now and again. Jacques who posted above is at the client where this occurs and I wrote the add-on for them.

I have no idea how to solve this. You would run the add-on (a massive process that creates invoices) and it would create the invoices and stop at a specific one. Couldn't figure out why at a specific point. When debugging it doesn't happen and when you run it again all works fine. It might even stop earlier.

Anyone know what causes this?

Former Member
0 Likes

Has anyone ever solved this problem or know what caused it? I have tried debugging and logically solving this problem without any luck.

Please help!