Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP hook not found error
#1
Embarcadero® Delphi 10 Seattle Version 23.0.20618.2753
Intraweb 15.0.14
TMS pack Pro
FastReport 5

Application has been deployed on the server and has been running fine. Today there was a HTTP hook not found error when it was accessed. I restarted the server and deleted the .err file and the app is running again. 

What could be the reason for this error? I found one post here where the user was loading an xml document and that error occured for them. I do not have any inclination as to what could have caused this error.

Thanks in advance for your help
Reply
#2
Can you post the contents of the .err file?
Reply
#3
(04-03-2019, 02:27 PM)kudzu Wrote: Can you post the contents of the .err file?

The .err file had a generic "Error: External exception C0FB007E" message.

While accessing the site it had the  HTTP hook not found error.
Reply
#4
IW doesn't raise any "Http hook not found" exception.

In theory is possible to raise "HTTP hook has not been set" exception, which I'm assuming is the case you mentioned.

However, this exception should never occur unless you are clearing the pointer variable which points to the http execution hook method, deliberately (or due to some memory corruption).

I never saw this happening, not even in tests.
Reply
#5
(04-04-2019, 07:34 AM)Alexandre Machado Wrote: IW doesn't raise any "Http hook not found" exception.

In theory is possible to raise "HTTP hook has not been set" exception, which I'm assuming is the case you mentioned.

However, this exception should never occur unless you are clearing the pointer variable which points to the http execution hook method, deliberately (or due to some memory corruption).

I never saw this happening, not even in tests.

Thank you. I'm not sure there's a pointer variable which points to the http execution hook method or that its being deliberately cleared. Can you please give an example of it.
Reply
#6
"Error: External exception C0FB007E"

You very likely have an issue in your code which is causing memory corruption. You will need to track it down.
Reply
#7
(04-04-2019, 02:24 PM)kudzu Wrote: "Error: External exception C0FB007E"

You very likely have an issue in your code which is causing memory corruption. You will need to track it down.

ok thanks
Reply
#8
There are some tools which may help. The big issue with memory corruption though is that its often very hard to find because the errors often manifest in very different places than where the actual error is.

I would strongly suggest investigating some of the tools for memory usage tracking in Delphi. Freeing and object twice is a common error.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)