[Lazarus] HttpApplication errors

Michael Van Canneyt michael at freepascal.org
Tue Aug 23 21:30:56 CEST 2011



On Tue, 23 Aug 2011, Leonardo M. Ramé wrote:

> Hi, I'm trying to create an HTTP server application using Project->New->HTTP server Application,
> then adding a simple action.
>
> When I call http://localhost:8080/TurnosModule/getTurnos from a web
> browser (Chrome), I get a bunch the exceptions detailed here:
>
>
> 1 - Resource "TCustomHTTPModule" not found
>
> 2 - Resouce "TSessionHTTPModule" not found
>
> 3 - Resource "TCustomFPWebModule" not found
>
> 4 - Resource "TFPWebModule" not found
>
> 5 - Missing HTTP protocol version in request
>
> I attached the project for you to test.
>
> What I'm doing wrong?.

It works just fine here. I get 'Turnos' as output.

Do you get these exceptions in the browser, or just in the debugger ? 
Because the exceptions 1-4 are normal in the debugger. 
(5 is another matter)
They are caught and handled by the resource system.

Michael.


More information about the Lazarus mailing list