Solved

Microsoft JScript runtime error 12030

Posted on 2010-08-25
8
4,178 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 16

Expert Comment

by:Vikram Singh Saini
ID: 33525961
0
 

Author Comment

by:THEtechadmin
ID: 33532061
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
ID: 33534092
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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 16

Accepted Solution

by:
Vikram Singh Saini earned 500 total points
ID: 33534110
0
 

Author Comment

by:THEtechadmin
ID: 33542925
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
ID: 33547657
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
ID: 33560965
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
ID: 33564211
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 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