FoxPro Programming
how to NOT disclose the error COM object message to end user?
Gravatar is a globally recognized avatar based on your email address. how to NOT disclose the error COM object message to end user?
  KOO WEOI HORNG
  All
  Mar 12, 2019 @ 02:56am

I would like to modify the error com object message or point to another web page instead of showing Current error msg.

An error occurred during COM object invokation.

CallServer: Invoke failed with err code 80020009: Exception occurred.

Gravatar is a globally recognized avatar based on your email address. re: how to NOT disclose the error COM object message to end user?
  FoxInCloud Support - Thierry N.
  KOO WEOI HORNG
  Mar 12, 2019 @ 07:44am

you can override these error pages in wc.ini (see near the end)

Gravatar is a globally recognized avatar based on your email address. re: how to NOT disclose the error COM object message to end user?
  KOO WEOI HORNG
  FoxInCloud Support - Thierry N.
  Mar 12, 2019 @ 06:49pm

I have tried to change teh wc.ini but the result look same.

Gravatar is a globally recognized avatar based on your email address. re: how to NOT disclose the error COM object message to end user?
  Rick Strahl
  KOO WEOI HORNG
  Mar 12, 2019 @ 11:43pm

You need to specify an HTML Page Path that is displayed when the error occurs not a message in those keys.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: how to NOT disclose the error COM object message to end user?
  KOO WEOI HORNG
  Rick Strahl
  Mar 13, 2019 @ 01:46am

Thanks Rick, it is work.

© 1996-2024