Microsoft JScript runtime error 12030

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,
THEtechadminAsked:
Who is Participating?
 
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:
0
 
THEtechadminAuthor Commented:
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
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:
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
 
THEtechadminAuthor Commented:
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
 
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:
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
 
THEtechadminAuthor Commented:
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
 
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.