I just installed 4.0.2 on a brand new Win2003 Server with SQL 2005 and VS 2005. No problems there.
However, when running the install.aspx page I got a permissions error. Fixed the permissions but the code was throwing an exception in the config classes where the following code is:
Dim xmlMachineKey As XmlNode = xmlConfig.SelectSingleNode("configuration/system.web/machineKey")
xmlMachineKey.Attributes("validationKey").InnerText = validationKey
xmlMachineKey.Attributes("decryptionKey").InnerText = decryptionKey
xmlConfig = AddAppSetting(xmlConfig, "InstallationDate", Date.Today.ToShortDateString)
I commented out the xmlMachineKey attribute setting portion to get it working... however, I'm not sure why this exceptioned out...
Any ideas?
The exception is actually an Object Not Found... in other words, xmlMachineKey was "Nothing" after it's init (SelectSingleNode). The proper section does exist in the web.config.
I'd love to hear what anyone might think of this.