Link to home
Start Free TrialLog in
Avatar of Chaste Swedge
Chaste SwedgeFlag for United States of America

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(...).ClientController' 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.
Avatar of JuckMan
JuckMan

not enough info to suggest anything.
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..
IN CS on click event set the ReportViewer properties
 // set processing mode to remote
        ReportViewer1.ProcessingMode = ProcessingMode.Remote;
        // specify report URL
        // replace localhost with server name if needed
        ReportViewer1.ServerReport.ReportServerUrl = new Uri(@"http://localhost/reportserver");
        // specify report path
        ReportViewer1.ServerReport.ReportPath = @"/dir/" + "reportname";

hope that helps
ASKER CERTIFIED SOLUTION
Avatar of Chaste Swedge
Chaste Swedge
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial