.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

JavaScript Error while calling a drill through report in a report viewer from a asp.net web page.

Posted By:      Posted Date: September 19, 2010    Points: 0   Category :ASP.Net

I am calling a report in a web page which is getting displayed in report viewer. This report comes fine but when I click on it to see the drill through report for this parent report the drill through report does not get displayed and I see a JScript error instead.

The error I get is something like,

parent.document.GetElementByID(...).ClientController is not null or not an object

The aspx page that contains the report viewer inherits from a master page that contains an Update Panel.

I tested the report separately in SSRS and the drill through is working fine there.

Can some one please provide any inputs on this one?



View Complete Post

More Related Resource Links

Error on page with Report Viewer


VS2010 (vb.net)

I have an aspx page that contains a gridview and a report Viewer. When the user select a report from the gridview the the report is loaded into the viewer. My problem is when the initial page loads I get an

Error: Sys.ArgumentNullException: Value cannot be null.
Parameter name: panelsCreated[1]

as no report is loaded into the report viewer. Is there a way round this without loading a report ?


Report viewer error


  • An error has occurred during report processing.
    • A data source instance has not been supplied for the data source "PatientDetailsReport_DataTable1".

  • i am using two to three rdlc reports in my page for single report viewer when i first load the page i got the output in reportviewer but when i try to load other rdlc report then am getting the above mentioned error.i cleared all the datasources for the report viewer before giving new datasource but am getting the same error pls someone help

Microsoft Report Viewer control to display data on one page


Hello everyone,

I am wondering if the Microsoft Report Viewer control allows for display changes.  Say for instance a user wants would like to see all the data requested then another time would like to toggle thru the pages of infomation.  So does anyone know if the control allows for display changes from complete view to paginated viewing.  I am using MS VS 2008 with ASP.NET 3.0.  Thanks for your response.


Report Viewer Control Error

Hi All, I am adding a report datasource dynamically to report view web server control and getting the following eroor when i open the page. The DataSourceID of the ReportDataSource 'DataSet1_employees' of the ReportViewer 'ReportViewer1' must be the ID of a control of type IDataSource. A control with ID 'DataSet1_employees' could not be found.     Please help me where i am going wrong. The code is given below: protected void Page_Load(object sender, EventArgs e)    {        ReportViewer1.ProcessingMode = ProcessingMode.Local;        ReportViewer1.LocalReport.ReportPath = "Report2.rdlc";         ReportDataSource rdS = new ReportDataSource("Employees", GetData());        rdS.DataSourceId = "DataSet1_employees";        //this..Add(rdS);                ReportViewer1.LocalReport.DataSources.Add(rdS);        ReportViewer1.LocalReport.DataSources["Employees"].DataSourceId = "DataSet1_employees";        ReportViewer1.LocalReport.DataSources["Employees"]

report viewer error / visual web developer 2008 / sql server 2008 / report viewer add on / win7 x64

hi, i decided to export my local site to iis today, the process wasn't smooth.   anyway. i was able to access my site, the db tables are working as i am able to create new records and retrieve them. my main problem now is with the report object. i've tried the work around found here : http://support.microsoft.com/kb/2002980.. it helped sort of. i used to have only a big page of error before i did the work around, now i am able to see half of the report (the report interface) but the contents, the field are filled with 404 errors. any idea how i can fix this??                  

How to manage postback on crystal Report viewer next page click button clickj

 Hi,       I am using Crystal Report on my ASP.NET Fw. 3.5 project. My report contains 100+ pages. When I click on next page button on crystal report viewer control my whole page gets postback to server and then second page appears. This take same time when first time report gets loaded.     Any suggestion how to imporve user experience in thiss case?   Nilkanth Desai   

Report Viewer Webpart shows error

Hi Friends, I am Report Viewer Webpart in sharepoint 2010 when i provide the report1.rdl to this webpart it shows the error "SQL extension is not registerd on this web application" any help would be appreciated  

VS 2010 Report Viewer Designer Error


Hi ,

I have installed VS2010 Ultimate version and placed a report viewer in a web form . When i try to design a report thru the report viewer i get this error.

Could not load file or assembly 'ZedGraph' version = , Culture = neutral , PublicKeyToken = 02a83cbd12fcd60 or one of its dependencies . The system cannot find the file specified .


Report Execution error when View page in VPN


I only have 1 user that cannot see reports. I even did a gotomeeting and we clicked refresh serveral times and we get the Report Execution Session died.


Every other user works on VPN. The rest of the wqeb site also works fine.


Does any have some pointers on find a resolution for this user. He is windows authenticated and using a VPN. ( I have 1 user out of at least 50 have worked fine with a report viewer over VPN.



Ideas appreciated. 

Drill through report is slow when calling it directly, not through another report.


I have a main report (2008R2) with several drill throrugh reports in it. These drillthorugh reports render very quickly with parametervalues set from the main report.

Calling the same reports but directly (all of them show the same symptoms) - not through the main report - is very slow: Showing the parameters and possible values is quick. Efter picking my parameter value and opening the report, it is very very slow. Reportloading starts and then stops and the green symbol freezes for several seconds, then loading continues and finishes.

Why is that and can I do anything to overcome this issue, when I call the reports directly.

The report server is in native mode and data is on the same server as Reporting services (SQL Server 2008 R2)

Multiple Drill Through Issue when using Report Viewer in SharePoint



I have a report that has a Pie chart and Bar Chart on it.  This report has default parameters on it.  Both the Pie Chart and Bar Chart Drill through to different reports. Looking at the paramater panel of this report all looks fine.

When I drill through on the Pie chart this works OK and the drill through reports this has another parameter on it.  The parameter panel updates correctly.  I then click the return to parent report and this returns correctly but does not update the parameter panel.

I then try to drill through on the Bar Chart (the report is showing the incorrect paramater panel) I get the following error.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.3; .NET4.0C; .NET4.0E)
Timestamp: Mon, 26 Jul 2010 20:47:20 UTC

Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '
<!DOCTYPE html PUB'.
Line: 5
Char: 62099
Code: 0

Report Viewer 10 / "Not a trusted assembly" error



We updated our application to VS2010 / .NET 4.0. We are using the WinForms Report Viewer control to display .rdlc files. Some of the files reference framework DLLs (System.Core, System.Drawing, System.Xml)

*If* I use the deprecated methods, everything works. 

Set the CAS policy to legacy in the app.config:

<NetFx40_LegacySecurityPolicy enabled="true" />

Trust the assembly:

_reportViewer.LocalReport.AddTrustedCodeModuleInCurrentAppDomain("System.Drawing, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");

HOWEVER: I would like to not depend on the deprecated method. If I do this, instead:

            PermissionSet permissions = new PermissionSet(PermissionState.None);

            permissions.AddPermission(new FileIOPermission(PermissionState.Unrestricted));

            permissions.AddPermission(new SecurityPermission(SecurityPermissionFlag.Execution));


            Assembly asmSystemDrawing = Assembly.Load("System.Drawing, Version=, Culture=neutral, PublicKeyToken=

How to import SQL Server Reporting Services Report Viewer Webpart on web part Page using code in Sha


Hi Every One,

I have use SQL Server Reporting Service in SharePoint integrated mode. I have deployed all reports and data source in SharePoint Document Library using CODE. I need to show those report in “SQL Server Reporting Services Report Viewer” Web Part on Web Part Page, I have created Web Part page by code. But I cannot import this Web Part on Page using Code.

How I can do this by code.


Navaratan Sharma

Add SQL Server Reporting Services Report Viewer webpart on SitePage give error.



i have use Sharepoint Foundation 2010 with VS 2010. i have config  in Reporting Services 2008 R2 SharePoint integrated-mode. when in add  SQL Server Reporting Services Report Viewer webpart  on SitePage it give error message. "The Controls collection cannot be modified becouse the control contains code blocks(i. e. <%...%>)." How i can add this web part on my SitePage?

Navaratan Sharma

Report Viewer - Web Part Preview Error


Report viewer web part preview is showing the following error

Microsoft SQL Server Reporting Services
This web part has not been configured correctly. Please contact the document owner.

I have to resolve this error to customize the report viewer.  How to resolve this error

Dhanapal Chinnusamy

How to use report viewer 2010 in VS 2008


I downloaded report viewer 2010 from here


Now I want to actually use it in a website.  How do I do that?  Do I have to modify some part of web.config?  Specifically, what do I need to change?


populate report viewer by code


Hi all

I have a button "Show Report" to show some data from table

what I should write under this button to populate the reports ?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend