TrsWebTier.GenerateContent: No content provider for request
I am successfully viewing specific reports in a browser by setting the
"Content=viewer" parameter in the URL, along with the Volume and Name
parameters.
e.g.
http://myserver/selfservicetest/reports/ssreports.dll?content=viewer&volume=My's Test Report Templates&name=archiveunion
If the report has no autosearch criteria, then it displays fine. If it has
autosearch, then the search box is displayed as I'd expect, but when I set
the values and click OK, I get:
TrsWebTier.GenerateContent: No content provider for request
Changing the "name" to a different report with no autosearch works again, so
what am I missing on the WebTier or the Server?
I checked previous posts on this and as you can see, I have correctly set
the Content parameter, as proven by the fact that non-autosearch reports
work fine.
Thanks,
J.
--
Jason Sweby
Software Development Manager,
Carval Computing Limited, Plymouth, UK
Payroll - HR - T&A - Access Control
"Content=viewer" parameter in the URL, along with the Volume and Name
parameters.
e.g.
http://myserver/selfservicetest/reports/ssreports.dll?content=viewer&volume=My's Test Report Templates&name=archiveunion
If the report has no autosearch criteria, then it displays fine. If it has
autosearch, then the search box is displayed as I'd expect, but when I set
the values and click OK, I get:
TrsWebTier.GenerateContent: No content provider for request
Changing the "name" to a different report with no autosearch works again, so
what am I missing on the WebTier or the Server?
I checked previous posts on this and as you can see, I have correctly set
the Content parameter, as proven by the fact that non-autosearch reports
work fine.
Thanks,
J.
--
Jason Sweby
Software Development Manager,
Carval Computing Limited, Plymouth, UK
Payroll - HR - T&A - Access Control
This discussion has been closed.
Comments
the URL seems to drop back to:
http://myserver/selfservicetest/reports/ssreports.dll
J.
I tried a test against the live server demo running on our web site and it
works correctly
http://www.digital-metaphors.com/rbWebPub/Report.dll?content=viewer&volume=Live Reports&name=Customers\Customer AutoSearch
This is a little easier to read and also worked..
http://www.digital-metaphors.com/rbWebPub/Report.dll?content=viewer&volume=Live
Reports&name=Customers\Customer AutoSearch
Try performing a View | Source on the html Search Form that is displayed in
the web browser. At the top of the HTML body it should look similar to the
following.
When the Search button on the html form is pressed, the hidden input
variables will be passed to the WebTier as part of the web request. Note
that the last variable is the content parameter.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
food for thought.
The HTML source when the search form was displayed was:
but when the Search button was clicked, the body of the next page was
simply:
TrsWebTier.GenerateContent: No content provider for request
I changed the VolumeName of the ReportTemplateVolume from "Jason's Test
Report Templates" to "Jason Test". So the URL went from
http://myserver/selfservice/reports/ssreports.dll?content=viewer&volume=Jason's Test Report Templates&name=clockings_location_grade
to
http://myserver/selfservice/reports/ssreports.dll?content=viewer&volume=Jason Test&name=clockings_location_grade
It then worked straight away. So I suspect the apostrophe is "Jason's" was
the problem here; not a real problem but something maybe worth investigating
for the future?
Thanks,
Jason.