Solved

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

Posted on 2008-06-21
3
3,758 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

12 Experts available now in Live!

Get 1:1 Help Now