/egilh

Learning by doing

August 2005 Entries

I got this nasty error today when deploying a web service to a new server: Server Error in '/' Application. 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: Line 1201:Line 1202: OperationBinding FindHttpBinding(string verb) {Line 1203: foreach (ServiceDescription description in serviceDescriptions) {Line 1204: foreach (Binding ...

Today is the "birthday" of Linux: From: torvalds@klaava.Helsinki.FIN (Linus Benedict Torvalds)Summary: small poll for my new operating systemDate: 25 Aug. 1991 20:57:08 GMTOrganization: University of Helsinki I'm doing a (free) operating system (just a hobby, won't be big and professional like GNU) for 386 AT clones. This year Linus asked 90 companies in Australia to purchase a license from the Linux Mark Institute. Wonder what surprises are in store for us next year when Linux turns 15.

1 year ago I finally took the leap and wrote my first posts. Initially I managed to meet my goal of 1 post per blog per day but I fell behind schedule at several times during the year. 517 posts in one in one year is not too bad though. I never believed blogging would be so gratifying and fun: CoolOrWhat: What can I say; I love gadgets and I am more like Dilbert than I like to admit. CoolOrWhat brings me more spam than the other blogs combined but also the most satisfying moments; one comment and one e-mail from Scott Adams regarding my DRM battles… (duly backed up on read only media stored in separate countries :-) egilh.com: gives me a chance to give something ...

This error drove me nuts the first time I saw it: msxml4.dll error '80070005' Access is denied. I got it making a simple http request using MSXML with VBScript: set oXMLRequest = CreateObject("MSXML2.ServerXMLHTTP.4.0")oXMLRequest.open "GET", “http://www.microsoft.com“, falseoXMLRequest.send The problem is that the default policy on Win2k3 prevents browsing from the server. Using Microsoft XML 3.0 works but 4.0 is better. The following registry patch fixes the problem (as always; use at your own risk): Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\CurrentVersion\Internet Settings]"Security_HKLM_only"=dword:000 ...

IIsAdmin.NET extends the features of IISAdmin and allows you to create and manage multiple web sites on Windows XP: Another solution is Easy IIS. Both options come with source code. If you don't care about the source code, you can use iis_multiplex (download) which uses the host header feature to run multiple web sites on the same site

Interesting times ahead; it looks like I will be working on a location aware application for Nokia Series 60 phones. It will involve a lot of interesting technologies like Bluetooth, GPS, Symbian OS, SMS Messaging etc. I downloaded both the C++ and the Java version of the Series 60 SDK to evaluate which technology is better suited to implement the application. The C++ version installed without problems but "scared" me a bit as the APIs are very different from programming under Windows or Palm. The J2ME version looks a lot simpler but the installation bombed with this nasty message: The instruction at 0x00421cb0 referenced memory at "0x00000000". The memory could ...

I use Microsoft SQL Server Desktop Engine 2000 for all my personal projects including the blogs. It is free and comes with the most important features of SQL Server like views, stored procedures, backup etc. It has some limitations in terms of performance when there are many parallel queries but that is not a problem for my small projects. The only thing that bugs me is that it cannot be administered from remote. Or, it used to bug me, until I found the trick that allows remote access and administration of MSDE: Click Start, Run Enter svrnetcn.exe too run the "SQL Server Network Utility" Select "TCP/IP" from the Disabled protocols and click "Enable >>“ ...

The 17th International Olympiad in Informatics be held in Poland, 18-25 August 2005 Each participating country usually sends a delegation of four pupils less than 20 years old. The pupils compete individually and try to maximize their score by solving a set of informatics problems during two competition days. The problems have been algorithmic programming problems to be solved on a personal computer. The tests from 2004 can be found online Best wishes for the competitors

It is very warm these days so I guess Sydney would love the "Canine Cooler" (I know I would :-). Adjusting for humidity the temperature is over 40 degrees which is way too much for me. Sydney adjusts better as he can stay fresh by playing with the the water sprinkling system most of the day. The latests picture was taken with a mobile phone so it doesn't give his great looking eyes much justice; I guess I better take another one while it is still warm so he sits still for 5 consecutive seconds...

The free Shareware Starter Kit is a set of .NET 2.0 classes that manages the must have features for shareware applications: Payment via PayPal Product Activation Product Registration Event/Error Reporting Product Feedback. I will continue to give away the downloads on the site for free but the registration/feedback features are tempting. A scaled down version for the Pocket PC would be handy as well. Via [Jeff Sandquist]