Dasblog won't play with Windows Server 2008

By aaron.axvig, Sun, 03/23/2008 - 03:00

Yet another productive thing I tried to do tonight: get my old Mexico blog online.  As one might guess given that IIS7 is quite different from IIS6, Dasblog has some serious problems with Server 2008.  Those are resolvable, per Mr. Hanselman's instructions.

Unfortunately there are further problems.  This time with Registry changes.  According to Mr. Starr's analysis, Dasblog seems to think it's cool to pull time zone information from the Registry.  Seeing registry accesses in a web application does not make me happy:

 

NullReferenceException: Object reference not set to an instance of an object.]
   newtelligence.DasBlog.Util.WindowsTimeZone.LoadTimeZonesFromRegistry() +283
   newtelligence.DasBlog.Util.WindowsTimeZone..cctor() +76

[TypeInitializationException: The type initializer for 'newtelligence.DasBlog.Util.WindowsTimeZone' threw an exception.]
   newtelligence.DasBlog.Web.SiteConfig.set_DisplayTimeZoneIndex(Int32 value) +23
   Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSiteConfig.Read7_SiteConfig(Boolean isNullable, Boolean checkType) +4743
   Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSiteConfig.Read8_SiteConfig() +76