By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,432 Members | 795 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,432 IT Pros & Developers. It's quick & easy.

What does "WXBUnit undefined" mean?

P: n/a
I'm seeing one of my websites giving me an error message on the page after
it loads up as "WXBUnit Undefined" What does that mean? The formatting of
the site is horrible! I'm not sure what is going on with it.

Thanks.
Nov 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
It means that some reference to an object, named "WXBUnit" is undefined,
null, Nothing.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Flip" <[remove]ph******@hotmail.com> wrote in message
news:uX**************@TK2MSFTNGP10.phx.gbl...
I'm seeing one of my websites giving me an error message on the page after
it loads up as "WXBUnit Undefined" What does that mean? The formatting of the site is horrible! I'm not sure what is going on with it.

Thanks.

Nov 18 '05 #2

P: n/a
> It means that some reference to an object, named "WXBUnit" is undefined,
null, Nothing.

hhhmmm when I wrote this, I originally thought I had been hacked into. Who
consciously creates a var name WXBUnit? I'm sorry, I'm still getting used
to leaving my w2k3server box open to the public like this. I used to run
RedHat Linux and I didn't worry about it. Before that, I had NT4.0 and it
was hacked into three times in two years. :< So I'm a bit nervous and
watching for any odd signs something is wrong.

I myself, don't have anything like that on the page, HOWEVER, I do have a
reference to TheWeatherNetwork and a JavaScript reference to their site. I
think that might be causing the problem! I know, I know, it's a simple
problem that's pretty self-evident, but in this case, it's not a simple
trivial matter IMHO as I didn't code up an object (in C#, html or JS), but
it's obviously being referenced somehow, as you pointed out.

Yup, I think I confirmed it. Try this out.

<html>
<body>
testhing
<script language=javascript>var city =
'ottawa_on';</script>
<script language=javascript
src='http://www.theweathernetwork.com/weatherbutton/test.js'></script>
</body>
</html>

It will generate the same JS error in IE. Thanks for your help pointing me
in the right direction! :>
Nov 18 '05 #3

P: n/a
Hi Flip,

It does seem like "WXBUnit" would logically be referring to a Weather
entity, as "Wx" is a typical abbreviation for "Weather." I'm not sure what
your "referece to TheWeatherNetwork" is, but it sounds like a Web Reference
(Web Service). That wouldn't have anything to do with JavaScript, though. I
was able to run the JavaScript you posted without errors, and it does show a
weather forecast for Ottawa, Ontario on my computer. Perhaps you don't need
a Web Reference? You would only need a Web Reference for a server-side
Control.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Flip" <[remove]ph******@hotmail.com> wrote in message
news:ej*************@TK2MSFTNGP10.phx.gbl...
It means that some reference to an object, named "WXBUnit" is undefined,
null, Nothing. hhhmmm when I wrote this, I originally thought I had been hacked into.

Who consciously creates a var name WXBUnit? I'm sorry, I'm still getting used
to leaving my w2k3server box open to the public like this. I used to run
RedHat Linux and I didn't worry about it. Before that, I had NT4.0 and it
was hacked into three times in two years. :< So I'm a bit nervous and
watching for any odd signs something is wrong.

I myself, don't have anything like that on the page, HOWEVER, I do have a
reference to TheWeatherNetwork and a JavaScript reference to their site. I think that might be causing the problem! I know, I know, it's a simple
problem that's pretty self-evident, but in this case, it's not a simple
trivial matter IMHO as I didn't code up an object (in C#, html or JS), but
it's obviously being referenced somehow, as you pointed out.

Yup, I think I confirmed it. Try this out.

<html>
<body>
testhing
<script language=javascript>var city =
'ottawa_on';</script>
<script language=javascript
src='http://www.theweathernetwork.com/weatherbutton/test.js'></script>
</body>
</html>

It will generate the same JS error in IE. Thanks for your help pointing me in the right direction! :>

Nov 18 '05 #4

P: n/a
Howdy Kevin. Speaking of weather, we're having one heck of a snow fall
today! :>

A pictures worth a thousand words? :> This is a live webcam of our
parliament buildings. DOH!
http://www.parliamenthill.gc.ca/text/hillcam_e.html
Odd, but last night I tried it and it was back in working order! DOH! Your
posting was at midnight, which was after I found out it was working (after I
removed the code from my development box and was about to copy it to the web
server :>).
It does seem like "WXBUnit" would logically be referring to a Weather
entity, as "Wx" is a typical abbreviation for "Weather." I'm not sure what I didn't know Wx was an abbreviation for weather, so that makes sense then.
a Web Reference? You would only need a Web Reference for a server-side

I was hoping not to need a reference. But I am asking them for a textual
reference to the weather as well as an image. I help out with a disability
website (http://www.ottawamobility.ca/) and I'm reworking the site (it
sorely needs it :<) and images need to have alt text for visuall impaired
people to use their reader software for img alt tags but their image doesn't
have that at the moment. So I am hoping they expose a web service to do
this soon! :>

Thanks again for your help, you pointed me in the right direction and showed
me my server wasn't being hacked into! :> Thank you.
Nov 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.