All,
I write a lot of code, I've been a developer in one languange or another for about ten years, I don't think I've ever written a web page that consists of 3,265,334 lines of code.
Recently on me Dev server I get a JavaScript error on a line number in the hundred of million. The exact line number changes, but is always in the hundreds of millions. We are running IG version 6.3.20063.1072 for some time now and have not updated really anything in a couple of months. But recently this error has been popping up and the only thing these pages have in common is that they all contain an UltraWebTree.
The very same aspx file, when moved to the produciton servers works fine, no errors what so ever. Has anyone ever see something like this or have any ideas on what I could do? I have "Break on every JavaScript Error" enabled in my browser and when the JIT engine asks me if I want to debug I click "Yes", but nothing ever happens. I never get the ability to debug the error or see exactly where it is coming from. I even copied over the ig_common directory from one of my prod servers to the dev server and I still have a problem.
Any help/ideas would be great.
Thanks,
-- Joe --
Confirmed. Removing the .Net Framework 3.0 & 2.0 SP1 and Replacing with just the 2.0 framework cleared up the problem on my local PC when using it as a localhost. I will next remove from my Dev server to get rid of the problem there.
I don't think the error will go away with using custom field validator instead of RFV.
The work around we implemented is keeping the required field validators outside the warp panel. That should fix the issue for now.
Yes, I most definitely have a required field validator inside of a warp panel on the pages that are giving me the javascript error. I also have a required field validator inside of a web tab where I make use of the tab's aysnc postback ability, and I get the error on those tabs as well.
Do you know if I were to change the RequireFieldValidator to a CustomFieldValidator would I still get the error?
Anyways both my Dev and main Prod server both have the 2.0 release of the .Net framework installed. My PC has the 3.0 release and I do get the error on line 265456483 there. On a test PC where the 2.0 framework is installed I don't get the error. I'll try uninstalling the 3.0 framework and see if the error goes away.
Thanks
I think on your aspx page you are having a WebAsyncRefreshPanel and a asp required field validator inside the warp. so when ever this warp is refreshed you will get this javascript error. So Infragistics Warp is not fully compatible with .net frame work Service pack1.
So right now to temporarily remove the error use .net framework instead of .net framework sp1 on your PC. you can also request infragistics for the fix for the version of infragistics you are using.
I think Infragistics have already fixed it in 2007 volume 3 versions onwards.
Great thanks for the reply. I looked at the post, but I have a dumb question. Is it the version of the .Net framework on the server that seems to cause the error? It wouldn't be the version of the framework on my local PC right?