Web Connection User Discussions
OleError Question (again, sorry)
Gravatar is a globally recognized avatar based on your email address. OleError Question (again, sorry)
  Michael B
  All
  Sep 7, 2020 @ 01:11pm

Hi Rick,

Is there anything I can do about these types of errors ?

WC Server Unavailable. Attempting to reload RPC Server Unavailable due to thread timeout: Attempt to Reload Server Web Connection Request timed out

It this just app pool corruption?

When I analyze the wwRequestLog for long queries (more than a few seconds) - I do NOT discover anything obvious. You have said before in the past the COM subsystem might be losing its ability to use my fox exe or that the credentials stop working.

It's painful to see the Ole error page (on a new client demo) as you might imagine, so somehow i need to get to the bottom of it.

Is IIS error tracing going to lead me to solving this?

Gravatar is a globally recognized avatar based on your email address. re: OleError Question (again, sorry)
  Rick Strahl
  Michael B
  Sep 7, 2020 @ 05:11pm

Nope, nothing can be done about that. Those are COM corruption errors and they will happen if servers disconnect. Usually due to a VFP crash or shutting down and taking too long. It's worse with ISAPI due to the thread marshalling which the .NET Pool doesn't do (it pins servers to specific threads which is much more reliable).

I wouldn't worry about this unless you have a lot of them - these errors show in the log but they should cause the server to get terminated (if it isn't already) and restart a new one, so you essentially have a single failed request.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: OleError Question (again, sorry)
  Michael B
  Rick Strahl
  Sep 9, 2020 @ 05:34am

Users are seeing it all the time so I have to figure it out. It sounds like you are reminding me that using isapi is really the culprit. I did test out the .net managed handler and I had some issues, so i had to revert back. I dont recall at the moment what they were.

I think you and I should setup an hour session again and you can do some analysis with me perhaps. You always seem to find something that I am overlooking.

Gravatar is a globally recognized avatar based on your email address. re: OleError Question (again, sorry)
  Rick Strahl
  Michael B
  Sep 9, 2020 @ 01:56pm

ISAPI makes failures more likely but the ultimate culprit is a crashing FoxPro application. ISAPI just can't handle repeated failures as reliably as the .NET Module can because the ISAPI module uses old school COM Thread Marshalling, while the .NET module uses a more reliably fixed thread pool that has more control when failures happen.

So yes the .NET module will almost certainly improve this situation, but ultimately there's an underlying problem that's leading up to the crashes in the first place.

+++ Rick ---

© 1996-2024