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

Demo - Custom Parameters

edited January 2004 in Server
Hello,

I am trying to run the custom parameters demo, I compiled the server part
and it is running, I then compiled and ran the rbwebtier part. I then start
the Web app debugger and the login page comes up. I enter the name and
password, color and click submit and it logins fine but the next page is
"The page cannot be found". Any ideas what my problem might be.

Thanks,
Bruce

Comments

  • edited January 2004

    Try tracing the ProcessLoginRequest method. This should result in the login
    parameters being validated and the WebTier.ProcessRequest method being
    called. This should display the web report explorer. Check the WebTier
    properties for CacheDirectory, WebCachePath and WebModuleURI


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

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2004
    I still can not get it to work...

    I open up the webdebugger and click start and then click on the default url
    http://localhost:8081/ServerInfo.ServerInfo
    I then select rbWebDebug.CoRBWebDebug from the list and click go and the
    following login page comes up (
    http://localhost:8081/rbWebDebug.CoRBWebDebug)

    Now, I traced the ProcessLoginRequest and if I put
    in the wrong password then Result := 'Access denied.', if I
    enter the
    correct password it goes to result :=
    rsWebTier1.ProcessWebRequest(aWebRequest).

    The page url then goes http://localhost:8081/rbWebDebug.CoRBWebDebug/Login
    but the page has a splitter with both panels saying The page cannot be
    displayed

    The CacheDirectory (C:\rbWebPub\Cache) exists, which is the default.
    The WebCachePath and WebModuleURI are set as follows (which are also the
    defaults)
    http://localhost/rbWebPub/Cache/
    http://localhost:8081/rbWebDebug.CoRBWebDebug

    I tried the thin client demo to custom parameters and it works fine with the
    custom parameters Demo server.

    Any more suggestions?

    thanks,
    Bruce


  • edited January 2004

    Thanks for the addition information. The page that is displaying the
    splitter is the report explorer frameset. This indicates that the WebTier is
    returning the proper page. The frameset page contains references to the
    pages that should display in the left and right panes: TreeView.htm and
    ListView.htm.

    Run your webtier application and when the report explorer frameset page is
    dispalyed perform a view source. You should see something similar to this:

    document.write("");
    document.write("");
    document.write("");
    document.write("");


    The WebTier sends the frameset to your browser. However, because the
    frameset contains links to the ListView and TreeView pages, they are loaded
    by IIS. Make sure that the URL's to the ListView and TreeView are being
    generated properly. Then configure IIS so that it can read the web cache.
    The error you are receiving indicates that IIS cannot load the pages.

    Here is a Tech Tips for configuring the IIS User Accounts:

    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
This discussion has been closed.