Tuesday, February 28, 2006

Object reference not set to an instance of an object

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
KD.Admin.Web.ListKDToolsAllSemesters.InitializeComponent()
KD.Admin.Web.ListKDToolsAllSemesters.OnInit(EventArgs e)
System.Web.UI.Control.InitRecursive(Control namingContainer) +233
System.Web.UI.Page.ProcessRequestMain() +197

________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300


I spent almost 2 hours to check and debug the error. It turned out that our project deployment was not updated. If I tell you why the error was generated, you might get shocked. The aspx file version is not updated or the old copy of the ListKDToolsAllSemesters.aspx was deployed rather than a latest one!!!!! Enjoy the fun and sadness of the computer world!!!

Thursday, February 23, 2006

Live Web Cams | Free Web Cam

For those of you who are tired of static images, dull pictures, here is good news. Confabulator.com provides a downloadabe free web cam software from which you could view live web cam show ranging from traffic information to city scenary, from outdoor to computer chips. You could also see who is getting married, who is in hairdreser. You could also see Carribean Cruise route even before your real travel. You could also see spotlights at Disney World, skiing resort all over the world. All are totally free web cam show provided by web cam fans like you and me.

This is in fact a hot widgets created by Konfabulator.com(website url is confabulator.com) and bought by Yahoo later on and became Yahoo Widgets site. A little note is if you type Konfabulator.com, you will be redirected to Yahoo's widgets site. There are a large variety of widgets you could choose from. Fun and Games, Date and Time, News Feeds, Sight and Sound, Geek Stuff and much more. If you like, you could even contribute your version of widget and upload into the gallary.

I downloaded Cam Viewers which provide real time pictures taken from different cities from Canada. I also installed traffic widget to monitor local live traffic information. I would like to say pictures are now real clear and sometimes, it might not provide any feed at all.

Web cam chat nowadays become more and more hot in dating, and language learning. People could just sign in, set up a earphone set, you then could view and chat with anyone you like. You could also select your language chat partner through several websites to improve your langauge skills such as skype.com, xLingo.com, ESL Online Talk, English Learn.

One of another hot web cam application is home web cam for parents to monitor their kids or just for purpose of taking a look of your favourite pets, or for security's reason. A recent breaking news is some crimes happened through web am site myspace.com. People grabbed the young girls address and physically visit and assault the girls. To set up, it's pretty easy; you could choose creative web cam, or logitech web cam or yahoo web cam.

You could even become an online star by creating your own version of video show and post it on podcasting site and earn some extra money. The hottest business still sits on the adult business. If you search with phrases like "web cam girl", "adult web cam chat", "teen web cam", "adult web cam", "amateur web cam", the returned results might shock you. Be cautious here.

Thursday, February 02, 2006

Auto Refresh Content | Access No Cached Data

The following code snippet is Javascript on the client to directly access data without caching.
----------------------------------------------------------------------------
var request = GXmlHttp.create();
var url = "AlumData.aspx?RandomKey=" + Math.random() * Date.parse(new Date());
request.open('GET', url, true);
request.onreadystatechange = function() {
if (request.readyState == 4) {
var xmlDoc = request.responseXML;
var markers = xmlDoc.documentElement.getElementsByTagName("marker");
for (var i = 0; i < markers.length; i++) {
var point = new GPoint(parseFloat(markers[i].getAttribute("lng")),
parseFloat(markers[i].getAttribute("lat")));
var info = "" + markers[i].getAttribute("title") + "
";
info += "My Message: " + markers[i].getAttribute("message");
var marker = new createMarker(point, info);
map.addOverlay(marker);
}
}
}
request.send(null);
-------------------------------------------------------------------------------
To see the page in action, you could visit:
http://backup.kelley.iupui.edu/Googlemap/alummap.aspx

Note: the pages could be removed at any time.