Home Server
New Blog Posts: Merging Reports - Part 1 and Part 2

HTTP 404 and WebTier

edited March 2003 in Server
Hello again,
I'm getting the following error (in all 3 frames) in my viewer after
directly accessing the webtier via a URL:
HTTP 404 - File not found

I looked in my cache directory and the report has been generated but for
some reason IE cannot display it. I am running a modified version of
rbWebDebug Custom Parameters. I'm so close it hurts. :)

Thank you,

Tracy McClarnon

Comments

  • edited March 2003
    Try tu pout this code on your create webmodule Event, and see my
    if not IsLibrary then
    begin
    rswebtier1.HTTPPrefix :='';
    rswebtier1.webcachepath:='c:/rbWebPub/Cache/';
    end;

    Tracy McClarnon a ?crit dans le message :
    3e837a28@dm500....
  • edited March 2003

    In your web browser perform a View | Source to view the html for the frame
    page. Check the URL for the TreeView.htm and ListView.htm pages. This must
    be the exact URL to access the web cache pages and IIS must have read
    access.


    ----------------------------------------
    RB WebTier and IIS User Accounts
    ----------------------------------------

    Question: I am trying to configure and test the RB WebTier using IIS. When
    I try to test the web tier via my web browser an Internal Server 500 Error
    page is displayed.

    This is generic error page returned by IIS.

    One cause of this error is that the WebTier application does not have
    sufficient user access rights.


    Solution:

    1. Unload the WebTier application.

    Use IIS to access the properties dialog for the rbWebPub virtual directory.
    Press the UnLoad button to unload the ISAPI dll.

    2. Delete rbWebPub subdirectories

    Use Windows Explorer to delete all subdirectories inside the rbWebPub
    directory. If you are using different WebTier CacheDirectory or WebTier
    LogSettings, then delete those directories also.


    3. Configure IIS User Accounts

    There are two user accounts created by IIS: IUSR_MachineName and
    IWAM_MachineName. (MachineName is replaced by the name of your computer).

    a. Use Windows Explorer to access the properties dialog for the rbWebPub
    directory.

    b. Check whether the IUSR_MachineName and IWAM_MachineName accounts appear
    in the list of users. If not then add them.

    c. The IUSR_MachineName account is the Internet Guest Account. This account
    requires Read, Execute, and Write access to rbWebPub.

    d. The IWAM_MachineName account is a user account that IIS uses to run web
    applications such as the web tier. This account requires full control of the
    rbWebPub directory. The web tier must be able to read, write, and create new
    files and sub directories for the CacheDirectory and the Log. Therefore if
    you configure the WebTier to use directories that are not subdirectories of
    rbWebPub, you will need to configure those directories as well.

    e. reboot the machine.


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

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited March 2003
    This worked great for the report.htm itself, but the nav.htm still seems to
    be using the WebCachePath and WebModuleURI of the webtier component. This of
    course is fine, as I can still debug the webtier locally.

    Thank you!

This discussion has been closed.