[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


asp.net javascript error

Posted on 2013-02-01
Medium Priority
Last Modified: 2013-02-07
We have this app that runs on over 6000 client machines. With this one customer the app throws an exception. I've traced it back to some callback javascript. I turned off their virus software thinking it was that. No luck. Any ideas on why it would be failing? See attached application error.
Question by:glenn_r
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
  • 2
  • 2
  • 2
LVL 11

Expert Comment

ID: 38844315
no error attached so far....

Author Comment

ID: 38844439
LVL 11

Assisted Solution

mcnute earned 510 total points
ID: 38844462
This says that the variable in the highlighted line wasn't set before using it. Set the variable with its expected content and then refresh the page.

TrainingCallbackHander =  //probably a function

Open in new window

I'm not aspx expert, basically it's saying that your TrainingCallbackHandler isn't defined. So or it has no access to this function or it hasn't been created in the first place.

But this is as fare as I can go with aspx.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

LVL 38

Expert Comment

by:Tom Beck
ID: 38844801
I don't have a solution, but it seems pointless to look for fault with asp.net when the app works as expected in over 6,000 machines. That one machine seems to be corrupting communications between server and client. Maybe a piece of malware is trying to inject something into the stream. Maybe it's just a browser setting or a malfunctioning browser. Have you tried a different browser? This is a web app, right?

Author Comment

ID: 38845316
this customer has 30 machines with different browsers and they still get the error
also tried to disable virus protection software and same error
it happens intermittently, not all the time, they could be working and all of a sudden, error, i can induce this by having a clicking frenzy on the form and it will error out. I also went directly to the web server thinking it was latency but got the same error there. What tools can I use to debug/troubleshoot client side scripts request/response javascript callbacks etc?
LVL 38

Accepted Solution

Tom Beck earned 510 total points
ID: 38845452
For debugging request/response there's Fiddler - HTTP Debugging Proxy. And of course there's always Firebug on the Firefox browser for debugging javascript. With Firebug you get a console for displaying errors and a watch list for monitoring variable values. No editing script though. Both are free.

30 machines on one network experiencing intermittent problems with the app? That sounds like a network problem to me. Maybe a bad switch or a bad NIC in the DNS server dropping packets occasionally. Or an IP address conflict on the network causing collisions on the data switch. They may not notice anything more than minor delays during regular web surfing. Web apps require constant server/client communication and session ids must be maintained for each client during all postbacks. That requires a reliable connection to the internet and a reliable DNS host. Don't get suckered into fixing a network problem if your only responsibility is the application.

You can download and install Wireshark on one of the 30 machines and set it to capture all traffic on port 80 (or 443 if you are on a secure socket layer) . Stress test the app during capture to see if any packets are being dropped.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

650 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