Home Server

Unable to Read Server Response

edited April 2010 in Server
RB 10.06 server / Delphi 2007 / IIS 6.0 patched current

I'm getting a number of worker process failures for the application pool
that the web tier DLL is running in.

Are there specific settings I should use for IIS 6? What is causing the
worker process failures?

Thanks - Jon Gray

Comments

  • edited April 2010

    Have not had any other reports of this.

    Try looking the WebTier log. You can also try setting
    WebTier.LogSettings.Verbose to True to produce a more detailed log.

    An IIS Worker Process is the windows process that is hosting the dll. A
    quick Google search produced this link.

    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/29f53968-0115-451f-b26d-5ad58d87b5d1.mspx?mfr=true

    Here is an rbWiki article on How to Deploy to IIS6

    http://www.digital-metaphors.com/rbWiki/Server/Web_Tier/How_To...Deploy_to_IIS6

    I see you are using RB 10.06, I recommend updating to RB 10.09, which was
    the last produced release for RB 10.x. You can also try downloading a trial
    version of RB 11.08 and perform the same test.

    Always make sure your report server and webtier and are compiled with the
    exact same RB version.



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited April 2010
    Thanks for this - I am getting an AV reported in the webtier log file.

    Is there an easy way to track down where the AV is coming from?



  • edited April 2010
    You can try using Delphi to run the WebTier within the context of a Delphi
    Web Debugger application. That enables the Delphi debugger to be used in the
    standard way.

    An example of a Web Debugger application is installed to
    RBServer\Demos\WebTier\Web Debug



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2010
    I upgraded to RB 10.09 and the A/V problem persists.

    I'm not able to set WebTier.LogSettings.Verbose to true. When I do I'm
    not able to write to the log file. This is the error -

    Please notify your system administrator of this problem.
    Click here to proceed to your original destination.<<

    The WebTier runs fine other than the sporadic A/V which does end up
    written to the ($Application)\Logfiles log file.

    I'm not able to identify what permission or setting I'm missing to get
    the verbose setting to work properly.

    Any help on how to get the verbose setting to work would be appreciated.



  • edited May 2010
    I'm guessing this is related to the permissions somehow -

    In addition to not being able to set verbose logging my cache
    ISAPI/Cache folder is not clearing itself.

    I'm running IIS 6


  • edited May 2010
    The only difference between WebTier.LogSettings.Verbose False vs True is the
    amount of data logged. The logging feature is very simple, just writes some
    xml to a file. If WebTier does not have security permisssion or the file is
    locked by another appilcation, that would cause an issue. Have not heard of
    either of these error before. In a a test here, I encountered no issues
    using Verbose.

    Try running of the demo report server and web tier projects included with RB
    Server Edition to test whether that causes an issue.

    You can also try running a webtier as a web debugger application - there is
    an example installed with the RB Server Edition (Demos\WebTier\WebDebug).


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2010
    I haven't been successful with the demo yet but I have another clue perhaps.

    I'm doing some processing in the ReceiveAutoSearch fields call on the
    client side. I call some oracle procedures to build a temporary table
    that the report is run against.

    Sometimes, even in normal processing, I get an oracle error back. I
    report the error to the user, they make some corrections and try the
    report again. Could it be something like this that has the web log
    locked and/or why I'm getting some A/V? Almost as tho something isn't
    being reset with multiple runs of the same report.

    Delphi 2007 RB 10.09
  • edited June 2010
    I don't know why you are getting an AV, have not heard of this before and
    cannot reproduce it here. I would try running the webtier as a Delphi web
    app debugger project so you can trace the code.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com


    Best regards,

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