Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET SSRS Reports , +
Hi,
 
I've got a report developed in VS2010 SP1 for SSRS with a "Go to report" drill through action.
 
The links render and work when using the native reporting services interface.
 
But when I render the report in my application using the ASP.Net report viewer, the links are not rendered.
 
I've inspected the HTML and there's simply no interactivity rendered in the report rendering response.
 
Is there something I'm not doing which I need to do to enable drill through actions in an ASP.Net application using the report viewer?
 
If it makes a difference, the report viewer is working in remote mode. Also when using the web service interface too (So /reportserver instead of /reports)
 
Native mode renders the following anchor in its response:
 
<a tabindex="1" onclick="var rp=$get('ReportViewerControl_ctl09_ReportControl');if(rp&&rp.control)rp.control.InvokeReportAction('Drillthrough','113iT0R0R0R0x0:0');return false;"  önkeypress="if(event.keyCode == 13 || event.which == 13){var rp=$get('ReportViewerControl_ctl09_ReportControl');if(rp&&rp.control)rp.control.InvokeReportAction('Drillthrough','113iT0R0R0R0x0:0');}return false;" href="" style="removed:pointer;" class="A4245441523f047238dd5ddd74a6cb4d1138a" target="_top"><div style="WIDTH:28.70mm;" class="r13"><div class="A4245441523f047238dd5ddd74a6cb4d1137"><span class="A4245441523f047238dd5ddd74a6cb4d1136">BF0014</span></div></div></a>
 
With ASP.Net report viewer, you don't get anchor as part of the response.
 
Regards,
 
Steve
Posted 18-Sep-12 3:28am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

There is a bug in the report viewer control.
 
When you install SP1 for VS2010, it adds new assembly versions for the report viewer to the GAC.
 
The new version contains the bug.
 
Unfortunately it's not possible to specify, within your config, which version to use as all versions have the same assembly version number. This is done to allow easier upgrade of the report viewer component. But it also means that once you install the SP1 component it's very difficult to roll back.
 
The SP1 runtime version is: v2.0.50727
 
Make sure you use an earlier version on your live servers, such as the one referenced in the connect article.
 
The good new is, if you haven't installed the SP1 viewer into the GAC on your production servers, then you shouldn't experience the problem in your live environment.
 
There is currently a connect article showing progress with this fault. There is a work-around which involves using GACUtil to remove the SP1 assembly versions, but this could create issues for you at a later date and make VS2010 unstable.
 
http://connect.microsoft.com/VisualStudio/feedback/details/652114/reportviewer-drillthrough-broken-after-vs2010-sp1[^]
  Permalink  
Comments
vinslake at 18-Jul-13 2:53am
   
hi i'm having same problem with VS2010 report viewer sp1 when i do some runtime coding the html page rending does not complete
Stephen Hewison at 18-Jul-13 14:20pm
   
If it's the whole report which isn't rendering then it isn't this problem. You have a different problem. Most likely with the configuration of the report viewer control.
vinslake at 18-Jul-13 2:54am
   
and also i try to go to the link of update fix for the VS2010 report viewer sp1 i could not see the link or download

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 921
1 OriginalGriff 250
2 Volynsky Alex 205
3 Kishore Pogaru 160
4 Richard Deeming 140
0 OriginalGriff 5,640
1 Sergey Alexandrovich Kryukov 4,693
2 CPallini 4,540
3 George Jonsson 3,132
4 Gihan Liyanage 2,445


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 25 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100