Solved

Microsoft JScript runtime error 12030

Posted on 2010-08-25
8
4,146 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
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

831 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