![]() |
IIS isapi bug - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: IIS isapi bug (/thread-954.html) |
IIS isapi bug - joel - 02-22-2019 xe7, iw15.0.15 I am trying to debug and iw isapi application that runs fine as a Standalone but not as an isapi dll under iis. When I try to start up the isapi application I get a server 500 error with the following Exception: Exception No HTTP hook has been set. Any ideas would be appreciated. I found the line of the error. In the oncreate of the servercontroller I am trying to call this calll. LoadXMLDocument(ASettingsXMLName); I actually get this error. Error: The system cannot locate the object specified. Why would this call work under SA but not ISAPI? RE: IIS isapi bug - Jose Nilton Pace - 02-22-2019 Hi Joel. If this is an external file, isapi is located in different path. This code read file in the same path. Code: if IsLibrary then RE: IIS isapi bug - kudzu - 02-22-2019 You an use gSC.AppPath to do the same with shorter syntax. RE: IIS isapi bug - joel - 02-23-2019 Thanks. I actually had to use IW.Common.System.gsAppPath to get it to work. (i think this is because appPath is iw12 or less.) RE: IIS isapi bug - kudzu - 02-28-2019 You probably just needed to add the servercontroller unit to your uses clause. |