Solved

Microsoft JScript runtime error 12030

Posted on 2010-08-25
8
4,111 Views
Last Modified: 2012-05-10
Hi,
I am having an issue with one of the pages in my asp.net application.
Everytime that I have been idle for around 10 minutes, and I try to do something, ex. Click a button. The application throws and exception with the following error message:

“Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12030”

I did a little research on the meaning of the 12030 error code, and it says that it means that “The Internet connection was aborted”.
Now, even though this meaning could be self-explanatory, I have not idea of what could be causing the error, and I cannot yet understand why it just happen after some idle time has occurred.
I have to say that in this particular page where this error occurs, I use AJAX and an UpdatePanel  control.

Any help will be really appreciated.

Thanks,
0
Comment
Question by:THEtechadmin
  • 5
  • 3
8 Comments
 
LVL 16

Expert Comment

by:Vikram Singh Saini
Comment Utility
0
 

Author Comment

by:THEtechadmin
Comment Utility
Hi vs00saini,
Thanks for the links. I have been cheking them out, but I havent been able to find a solution to my problem yet. Maybe the principal reason is that it is kind of difficult to recreate the condition where the exception occurs. Today I has been testing he application again trying to narrow down the time where the error happens, but the results were different than yesterday. Maybe the error happens randomly.
Do you have an idea of what could be an effective way of testing this?
0
 
LVL 16

Expert Comment

by:Vikram Singh Saini
Comment Utility
Hi,

As you said that this error means, The Internet  connection was aborted.

So let us try to find the way out from this problem:

(1) First handle all error details (http://msdn.microsoft.com/en-us/library/bb397479.aspx)

(2) You must check this link http://forums.asp.net/p/1069384/1555817.aspx FIRST.

Regards,
VSS
0
 
LVL 16

Accepted Solution

by:
Vikram Singh Saini earned 500 total points
Comment Utility
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:THEtechadmin
Comment Utility
Thanks vs00saini.
I was looking into the links, specially the first one you sent me the last time:
(1) First handle all error details (http://msdn.microsoft.com/en-us/library/bb397479.aspx)
and I think I am going to try to do the try catch block to take care of this particular exception. It is kind of tricky because I haven't been able to figure out where exactly in my code the exception is generated, but I think the solution would be redirecting the user to the login page when this or these Session variables become null.
I still have to implement this and test it, but at this point, I beleive this is the best approach I have available.
 
I will probably give you full or partial credit for the solution provided, but I would like to see what you have to say about what I just said first.
Please, let me know...
Al
0
 
LVL 16

Expert Comment

by:Vikram Singh Saini
Comment Utility
Hi THEtechadmin,

I think each and every program be it Window App or Web App, it should must have the error handling mechanism. So that we can get to know if there are still some holes left by us. So give it try.

But to me I found second link best and so I asked you to read it first.  Reading that one might give you insight to think about your problem in that way.

However I would ask you to read last comment's link too.

Regards,
VSS

0
 

Author Comment

by:THEtechadmin
Comment Utility
Yes,
I have been dealing with two error message basically. The first one:
"Microsoft JScript runtime error: 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 '6ejL9e2W8P358IkGMYax'"
In this case, the solution so far has been one of the options your links suggest. (Disable EventValidation in the web form.) Now, with the other one, What seems to be working is redirecting the user to Login Page after catching the "lost connection exception":
"Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12030".
I am not sure yet why is that this second exception happens, but you are right about the second link. It does a great job explaining the JScript runtime error.
To be honest with you, I would like to have a better idea of why is that I was getting the 12030 error message, but since by including the code in a try catching block seens to be working, I would take this as the solution.
Thanks very much for your help!
Al

0
 
LVL 16

Expert Comment

by:Vikram Singh Saini
Comment Utility
Hi,

There are numerous reasons of that error, so sticking on one why would be unfair to your knowledge and problem.

But again I am sending you link to have look:http://danweber.blogspot.com/2007/04/ie6-and-error-code-12030.html where the discussion on how to solve problem, why it is the problem and etc have been discussed. And on last comment a user is sharing a solution for that. Might it work for your in case of your problem.

Regards,
VSS
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now