Chaste Swedge
asked on
SQL Server 2005 Reporting Services - ReportViewer Webform Issue - Error: 'RSClientController' is undefined
After building a report with the business intelligence studio, and trying to load it into the Microsoft Report Viewer in a VB.NET application, the javascript is blowing up with the following types of errors:
Error: 'RSClientController' is undefined
Error: 'document.getElementByID(. ..).Client Controller ' is null or not an object
Report viewer form is then empty. I have searched all the web, found some potential answers, tried all of them, to no avail. This is a critical error and my client is not pleased with the amount of time it is taking to resolve this issue. Microsoft has been no help, and I am stuck after trying all found suggestions.
Report works fine in Business Intelligence Development Studio, as well as from the Report Server itself, just not in the .NET code on the web server.
If you respond, I can tick-off all the potential solutions I have already tried. Thank you. This is a crtitical issue.
Error: 'RSClientController' is undefined
Error: 'document.getElementByID(.
Report viewer form is then empty. I have searched all the web, found some potential answers, tried all of them, to no avail. This is a critical error and my client is not pleased with the amount of time it is taking to resolve this issue. Microsoft has been no help, and I am stuck after trying all found suggestions.
Report works fine in Business Intelligence Development Studio, as well as from the Report Server itself, just not in the .NET code on the web server.
If you respond, I can tick-off all the potential solutions I have already tried. Thank you. This is a crtitical issue.
IN CS on click event set the ReportViewer properties
// set processing mode to remote
ReportViewer1.ProcessingMo de = ProcessingMode.Remote;
// specify report URL
// replace localhost with server name if needed
ReportViewer1.ServerReport .ReportSer verUrl = new Uri(@"http://localhost/reportserver");
// specify report path
ReportViewer1.ServerReport .ReportPat h = @"/dir/" + "reportname";
hope that helps
// set processing mode to remote
ReportViewer1.ProcessingMo
// specify report URL
// replace localhost with server name if needed
ReportViewer1.ServerReport
// specify report path
ReportViewer1.ServerReport
hope that helps
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Did you try debugging. VS 2008 has good debugging capability for java scripts. In this way you can find out why GetElementById is not finding the element you want to find..