Home Server

rsISAPIThreadPool

edited October 2003 in Server
When I try to compile the sample rbServer Demo app (WebTier) I get the
following error.

[Fatal Error] Report.dpr(10): Unit rsISAPIRequest was compiled with a
different version of HTTPApp.TWebRequest.GetInternalPathInfo

If I comment out the line:

rsISAPIThreadPool,

and replace it with:

ISAPIThreadPool,

the app complies but I get errors when running the application:

TrsWebTier.GenerateContent: No content provider for request

in my browser.

I have modifed the ISAPI files (HTTPApp being one of them) that shipped
with Delphi 7 Enterprise and of course had to recompile them into their
DCU's. I think that the problem is that since I did that, the
rsISAPIThreadPool doesnt work with my recompiled Delphi files.

Can anyone help me here?

rrr

Comments

  • edited October 2003

    Use of rsISAPThreadPool is optional, though I do recommend it highly for
    performance.

    1. If you modify the interface section of any of the Delphi units then any
    units that 'use' that unit will not be compatible -they will need to be
    recompiled.

    Therefore you need to either re-install the original Delphi units OR you
    cannot use rsISAPIThreadPool.

    2. An alternative is to use the ISAPIThreadPool unit.

    I tested this by modifying the RBServer\Demos\WebTier\ISAPU demo and it
    worked as expected.

    The error, TrsWebTier.GenerateContent: No content provider for request, is
    not related. The WebTier works on the concept of ContentProvider classes
    that handle requests for content types. You must have sent the web tier an
    invalid request.






    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.