Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.Net Report Printing Issue 3 30
How do you do a one to many list in .NET CORE? 2 24
vb.net help 4 27
VB.Net Tranfer data between to VB.Net apps 8 25
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

816 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

10 Experts available now in Live!

Get 1:1 Help Now