Web Tier Error
All,
I have written an ISAPI application that functions as the Web interface to
our reports server. In it I added code to handle displaying a progress
indicator to the user while the report is being generated. In part of that
code, I have the following:
// If the specified report request requires auto search parameters...
if ( self.rsWebTier.RequiresAutoSearchParameters( oWebRequest ) ) then
begin
// Restore the WebRequest to its initial state.
oWebRequest.AutoSearchParameters.Clear;
// Do not return the content for the progress page.
result := false;
end
else begin // No auto search parameters required...
// Return the content for the progress page.
result := true;
end;
This code should determine if the progress page should be displayed when
auto search parameters are involved. Unfortunately, the first "if" statment
containing the "RequiresAutoSearchParameters()" returns "Unable to create
directory" to the requesting browser. Why is that happening?
Mark
I have written an ISAPI application that functions as the Web interface to
our reports server. In it I added code to handle displaying a progress
indicator to the user while the report is being generated. In part of that
code, I have the following:
// If the specified report request requires auto search parameters...
if ( self.rsWebTier.RequiresAutoSearchParameters( oWebRequest ) ) then
begin
// Restore the WebRequest to its initial state.
oWebRequest.AutoSearchParameters.Clear;
// Do not return the content for the progress page.
result := false;
end
else begin // No auto search parameters required...
// Return the content for the progress page.
result := true;
end;
This code should determine if the progress page should be displayed when
auto search parameters are involved. Unfortunately, the first "if" statment
containing the "RequiresAutoSearchParameters()" returns "Unable to create
directory" to the requesting browser. Why is that happening?
Mark
This discussion has been closed.
Comments
This sounds like a timing issue that we discovered recently. It is possible
for the WebTier methods to be called before the WebTier has initialized
itself. There is a patch available for RB 7.04. I just emailed you the
patch.
Registered RB Server customers that need the patch can email
support@digital-metaphors.com and request it.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com