Categories: Programming & Coding

Solution to Uncaught Sys Javascript Exception in ReportViewer

Recently while working on one of the projects, I ran into a problem with the asp.net ReportViewer control.
I was loading reports in ReportViewer control on clicking on button through ajax.
If you click on button twice, then it will following javascript exception.

Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: The report or page is being updated. Please wait for the current action to complete.

Uncaught Sys Javascript Exception in ASP.NET ReportViewer Control

Then I just went with the approach to disable button once clicked and enable it after processing is complete.

So now, whenever someone clicks on button, button gets disabled and gets enabled on complete of loading of reports. But after report is visible it was starting to fetch contents and load data on screen with showing loading progress bar.

Now if someone clicks on button to load report again, then it was again throwing Uncaught Sys Javascript Exception in ScriptResource.axd file.

After analysis I was able to fix this issue by just setting EnablePartialRendering property of the ReportViewer control to false.

Its the property of the ReportViewer which tells whether to load report completely and then only show it to user and fire load event or just to load report initially and then load data asynchronously.

EnablePartialRendering="false"

Disadvantage : So with above approach only disadvantage is that – loading icon is not displayed to the user.

Have you ever ran into this kind of problem ? Do you know any other solution to this problem ?

ProWebGuru

Mostly I write about technology related stuff on https://www.prowebguru.com Recently I have started making videos also. Mostly blog posts & videos are related to technology, programming and learning some new tips and tricks related to windows, wordpress, google app script, technical, programming, javascript, jquery and other coding related stuff. Youtube channel - https://www.youtube.com/user/prowebguru

View Comments

Recent Posts

GPT 5.4: Powerful AI Breakthrough – 7 Game-Changing Features, Launch Date & Full Guide

GPT 5.4: The Next-Generation AI Model Transforming Reasoning, Coding, and Productivity Artificial Intelligence is evolving…

4 days ago

GPT‑5.3 Instant Explained: Faster, Smarter & Fewer Refusals

GPT-5.3 Instant is OpenAI's latest ChatGPT model update, prioritizing smoother conversations, fewer refusals, and higher…

5 days ago

Free Perplexity Pro for Airtel Customers: Unlock Advanced AI Assistance at No Cost!

Are you tired of scrolling endlessly through Google results trying to find clear, trustworthy answers?…

4 months ago

Unlocking Collaborative Coding with GitHub Copilot Spaces

In recent years, the process of software development has rapidly evolved—developers demand smarter tools and…

4 months ago

ChatGPT Go Now Free in India: Opening Doors to Advanced AI Capabilities

India has emerged as one of the fastest-growing and most significant markets in the global…

4 months ago

AgentKit by OpenAI: Redefining the Future of AI Agent Development

On October 6, 2025, OpenAI unveiled AgentKit, a unified suite of tools designed to help developers and…

5 months ago

This website uses cookies.