24hGold.com: When Webmasters Get Too Fancy, Bad Things Happen
June 3, 2009
The 24hgold.com site has lots of good information. It supplies the gold chart I use on my site/
Today, I read a fine article by Jim Willie on Treasury debt auctions. I wanted to tell him how good it was. So, I sent him a note, using the 24hgold.com procedure. I filled in boxes telling them my name, email, etc. I sent it.
Low and behold, I got this on-screen response, in French. What happened next was even wilder.
Erreur du serveur dans l'application '/'. --------------------------------------------------------------------------------
Object reference not set to an instance of an object. Description : Une exception non gérée s'est produite au moment de l'exécution de la demande Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.
Détails de l'exception: System.NullReferenceException: Object reference not set to an instance of an object.
Erreur source:
Le code source qui a généré cette exception non gérée ne peut être consulté qu'une fois compilé en mode débogage. Pour ce faire, suivez l'une des deux méthodes ci-après, puis demandez l'URL :
1) Ajoutez une directive "Debug=true" au début du fichier qui a généré l'erreur. Par exemple :
<%@ Page Language="C#" Debug="true" %>
ou :
2) Ajoutez la section suivante au fichier de configuration de votre application :
Notez qu'avec la deuxième méthode, tous les fichiers d'une application donnée seront compilés en mode débogage, alors qu'avec la première méthode, seul le fichier ayant généré l'erreur sera compilé en mode débogage.
Important : l'exécution d'applications en mode débogage nécessitant plus de mémoire, les performances peuvent diminuer. Veillez à désactiver le mode débogage dans une application avant de déployer en phase de production.
Trace de la pile:
[NullReferenceException: Object reference not set to an instance of an object.] _24hgold.English.Popup.send_mail_contributor.saveMessage() +992 _24hgold.English.Popup.send_mail_contributor.ibSend_Click(Object sender, ImageClickEventArgs e) +1126 System.Web.UI.ImageClickEventHandler.Invoke(Object sender, ImageClickEventArgs e) +0 System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +86 System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115 System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
-------------------------------------------------------------------------------- Informations sur la version : Version Microsoft .NET Framework :2.0.50727.1433; Version ASP.NET :2.0.50727.1433
I decided to warn them. I went to the Contact Us option. I had to fill in more boxes. I had to fill is a box with random letters and numbers (anti-spam). I sent my warning. This popped up: REQUESTED URL IS UNCORRECT.
Uncorrect. Not incorrect.
So, the webmaster has followed normal Webmaster procedure. He created a site that is free from spam to him. It's hard to use. He made sure there was no way for anyone to contact him to warn him.
And it's in French.
Senior management assumes that everything is just fine. It has not hired a minimum wage person to check the email links every day.
Digits always break down. But only rarely do they break down in French . . . except in France.
