Solved

SQL Server 2005 Reporting Services - ReportViewer Webform Issue - Error: 'RSClientController' is undefined

Posted on 2008-06-21
3
3,764 Views
Last Modified: 2013-11-26
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.
0
Comment
Question by:Jim Hoell
3 Comments
 
LVL 5

Expert Comment

by:JuckMan
ID: 21839623
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..
0
 
LVL 13

Expert Comment

by:sm394
ID: 21840354
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
0
 

Accepted Solution

by:
Jim Hoell earned 0 total points
ID: 21840646
Thanks to JuckMan and sm394, but I found the issue (finally) on my own. After several more hours of research, I discovered that this control from Microsoft requires a FULL postback to work properly. They are 'working' on a version that will allow for partial postbacks (AJAX).

I had this form embedded in an Ajax form, and hence, my problem. It is now resolved.

Thanks again.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Resolve Dependency Issues 4 47
Error on link 14 38
VS.net 2010 11 24
How do I prevent the pages in my site from showing up in a google search? 2 34
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now