Can we please have that alert message removed when the connection is slow? It is really annoying because I usually open many threads at once and when I'm looking at a page, if an error occurs in another page, it loose the focus completely from my currently
viewing thread and goes for the page where alert shows. I honestly don't see any reason for displaying that alert since most of the time, even though it says an error occured, the page has loaded fine.
I'm not really sure what you are referring to exactly. What sort of alerts are you referring to?
You can turn off JavaScript error notifications in your browser options. We could technically overwrite/disable the JavaScript alert() function but I don't think that's the right thing to do. The better option is to determine why you are receiving the alerts
and work on the underlying cause.
When the connection is slow, I get that alert sometimes. I can't remember the exact message. But it says something like "An error occured".
tmorton
You can turn off JavaScript error notifications in your browser options.
No I'm not talking about that.
tmorton
We could technically overwrite/disable the JavaScript alert() function but I don't think that's the right thing to do.
Me neither.
tmorton
The better option is to determine why you are receiving the alerts and work on the underlying cause.
The thing is Terri, It happens once in a while. I'm not saying that I'm seeing that alert everytime when the connection is slow. Even I'm not sure it shows when the connection is slow. But it usually happens when the gateway timeout and I refresh my browser.
Next time I will take a screenshot and post here so it will be easier.
I've found that this error arises when you attempt to quickly open a thread (or reply to one) and quickly press the back button within your browser.
I was actually just able to reproduce it within this very thread :
I attempted to use the Developer Tools (F12) to try and capture something within the Console but had no luck as it apparently is being thrown just as the page is being exited. My initial guess is that an error is occurring while some of the resources for
the page are still being loaded (such as CSS or more likely script files).
I'm guessing there is probably a try-catch within the Javascript code somewhere that is responsible for throwing this, but I can't really dig into it currently (I'll look into it a bit later this evening).
I agree with what Rion said. I got this couple of time when trying to press Back button too quickly and coming back to page gives this error message and page loads normally.
Today I got that alert message since today our network is slow (You can see that tabs are still loading). As you can see from the below screenshot, while I was looking at other thread in another tab, I was forcefully switched to the tab where alert occured.
All-Star
52793 Points
9695 Posts
MVP
Error occurred Alert message
Aug 14, 2013 01:57 PM|Ruchira|LINK
Can we please have that alert message removed when the connection is slow? It is really annoying because I usually open many threads at once and when I'm looking at a page, if an error occurs in another page, it loose the focus completely from my currently viewing thread and goes for the page where alert shows. I honestly don't see any reason for displaying that alert since most of the time, even though it says an error occured, the page has loaded fine.
Thank you.
Please 'Mark as Answer' if this post helps you
My Tech BlogAll-Star
163349 Points
9803 Posts
ASPInsiders
Dev Team
Moderator
Re: Error occurred Alert message
Aug 14, 2013 02:23 PM|tmorton|LINK
I'm not really sure what you are referring to exactly. What sort of alerts are you referring to?
You can turn off JavaScript error notifications in your browser options. We could technically overwrite/disable the JavaScript alert() function but I don't think that's the right thing to do. The better option is to determine why you are receiving the alerts and work on the underlying cause.
ASP.NET Website Manager, Neudesic
All-Star
52793 Points
9695 Posts
MVP
Re: Error occurred Alert message
Aug 14, 2013 02:28 PM|Ruchira|LINK
When the connection is slow, I get that alert sometimes. I can't remember the exact message. But it says something like "An error occured".
No I'm not talking about that.
Me neither.
The thing is Terri, It happens once in a while. I'm not saying that I'm seeing that alert everytime when the connection is slow. Even I'm not sure it shows when the connection is slow. But it usually happens when the gateway timeout and I refresh my browser. Next time I will take a screenshot and post here so it will be easier.
Please 'Mark as Answer' if this post helps you
My Tech BlogAll-Star
114593 Points
18503 Posts
MVP
Re: Error occurred Alert message
Aug 20, 2013 06:04 PM|Rion Williams|LINK
I've found that this error arises when you attempt to quickly open a thread (or reply to one) and quickly press the back button within your browser.
I was actually just able to reproduce it within this very thread :
I attempted to use the Developer Tools (F12) to try and capture something within the Console but had no luck as it apparently is being thrown just as the page is being exited. My initial guess is that an error is occurring while some of the resources for the page are still being loaded (such as CSS or more likely script files).
I'm guessing there is probably a try-catch within the Javascript code somewhere that is responsible for throwing this, but I can't really dig into it currently (I'll look into it a bit later this evening).
Star
12651 Points
2375 Posts
Re: Error occurred Alert message
Aug 21, 2013 12:27 AM|jats_ptl|LINK
Hi All,
I agree with what Rion said. I got this couple of time when trying to press Back button too quickly and coming back to page gives this error message and page loads normally.
Thanks,
Jatin
All-Star
163349 Points
9803 Posts
ASPInsiders
Dev Team
Moderator
Re: Error occurred Alert message
Aug 21, 2013 11:22 AM|tmorton|LINK
Thanks for the further information and the screenshot, Rion. We will look into this.
ASP.NET Website Manager, Neudesic
All-Star
52793 Points
9695 Posts
MVP
Re: Error occurred Alert message
Aug 28, 2013 07:22 AM|Ruchira|LINK
Hello Terri,
Today I got that alert message since today our network is slow (You can see that tabs are still loading). As you can see from the below screenshot, while I was looking at other thread in another tab, I was forcefully switched to the tab where alert occured.
Hope it's clear now.
Please 'Mark as Answer' if this post helps you
My Tech BlogAll-Star
163349 Points
9803 Posts
ASPInsiders
Dev Team
Moderator
Re: Error occurred Alert message
Aug 28, 2013 08:44 AM|tmorton|LINK
Thanks, Ruchira! We do actually have the fix for this staged, and should be deploying out to the site in the next week or so.
ASP.NET Website Manager, Neudesic
All-Star
163349 Points
9803 Posts
ASPInsiders
Dev Team
Moderator
Re: Error occurred Alert message
Sep 04, 2013 11:18 PM|tmorton|LINK
The updates we deployed today (http://forums.asp.net/t/1933590.aspx?Forums+Updates+September+4+2013) include the suppression of this alert. If you see this again please let us know.
ASP.NET Website Manager, Neudesic