Solved

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

Posted on 2008-06-21
3
3,778 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:Chaste Swedge
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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:
Chaste Swedge 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

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

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

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.
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 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