Visual Studio Development Bookmark and Share   
 index > Visual Studio Report Controls > Operation Aborted on Report Viewer
 

Operation Aborted on Report Viewer

Hi all

I had a report viewer (.net 2) containing multiple pages and what I found that for some reason when I am continuining to next page. I always get the Operation Aborted but if I click go back on the browser the page to normal again. Any ideas?

This is the code block for report viewer that I use:

<rsweb:ReportViewerID="rprtvwrMainReport"ShowPrintButton="true"Width="100%"Visible="False"runat="server"Font-Names="Verdana"AsyncRendering="false"Font-Size="8pt"Height="100%">
<LocalReportReportPath="Reports\ReportAllIndividualSite.rdlc"/>
</rsweb:ReportViewer>

I am appreciated your comment.

Thanks




dewacorp.alliances
dewacorp.alliances  Sunday, June 01, 2008 6:39 AM
I find it very odd that the report viewer is giving you an operation aborted error when going from one report page to another AFTER a report has been successfully loaded. I my experiences with the report viewer control is if the report viewer successfully loads with a report, then any functions on the report viewer control will proceed successfully (Ex: printing, exporting, going to another report page).

Chris
luniv04  Sunday, June 01, 2008 4:01 PM
That is why a bit strange cause the report successfully loaded up but sometimes one of the page got the "Operation Aborted". I had a look on .aspx file and nothing special about really and no additional javascript etc etc.

Thanks

dewacorp.alliances
dewacorp.alliances  Sunday, June 01, 2008 8:20 PM
Hi,
I really need help with this one..
I'm getting the same error at random intervals.
I have a page that Dynamically adds ReportViewers (Page.LoadControl) to the page and loads them with reports.
The first time the page loads, the Reports are displayed correctly and everything is ok. However if i post back on the same page, at random times (more often than not) i get Operation Aborted messages.

Looking at http://blogs.msdn.com/ie/archive/2008/04/23/what-happened-to-operation-aborted.aspx
and http://support.microsoft.com/default.aspx/kb/927917

It looks like a modifying the DOM issue. I don't have any Javascript on the page apart from whatever the ReportViewer creates.

Any help would be greatly appreciated.
Thanks
CodeSoup  Thursday, July 10, 2008 4:59 PM
I'll add my name to the list of people with exactly the same problem. (Operation aborted, when using the ReportViewer to view a local report).

I'm using a web service and I pull the report contents and definition down and save the definition locally and then use the ReportViewer to view the local report.

In my page the ReportViewer isn't dynamically added, it's there from the get go. For me it only errors when I pass parameters on to the report. It happens when I postback, or if I redirect to another page (to avoid the postback). I also have no Javascript at all in the page - in fact nothing else apart from the ReportViewer itself!!!

If Icall a report without parameters it works fine, and if I hit the back button after the "Operation aborted" it displays the report fine. So like everyone else I'm guessing that ReportViewer is generating some on the fly Jscript which is causing the browser to barf. It looks like we need some sort of simple Jscript workaround to fix it, but none of the other links on this subject appear relevant to this problem.

Any light anyone can shed on this would be very welcome.

Chris U

Chrisull  Thursday, July 24, 2008 8:55 AM
Ah I have fixed it for me. The Skype plugin was causing it for me! To disable ine IE7 go to Tools -> Programs ->Manage Add onsand disable the Skype one and then click ok and restart IE. Quite why this fixes it I don't know, and might not for everybody, but it certainly worked for me.

Chris U
Chrisull  Thursday, July 24, 2008 9:18 AM
Make sure asyncrendering is not set to False, it can cause many issues.
Living my life at 123mph in 11.15 seconds
Blast2hell  Thursday, July 24, 2008 12:27 PM
I have tried this setting "AsyncRendering="true"" but still it does not work, the problem is that other machines do not have this problem.

Can anyone please help..


Thanks
Jaybada  Wednesday, November 12, 2008 12:17 PM

You can use google to search for other answers

Custom Search

More Threads

• How to expand first item of list?
• Local report refusing to choose landscape mode
• Export to xml Problem
• How to insert an image in PDF
• exporting srs report to csv file
• Formatting a String?
• "an error occurred during local report processing. Object reference.... "
• How to pass application values to a local report?
• ReportViewer control - timeout error when connecting via VPN
• How to check if field is null using expression