netguy wrote:Hello,
I was trying to run the 4.0 version and found a couple of issues.
I am running it right from the IDE. The first error I get it in the file config.vb line 156
Dim xmlMachineKey As XmlNode = xmlConfig.SelectSingleNode("configuration/system.web/machineKey")
This is always returning NOTHING so I have to wrap the next chunk of codelike this:
If xmlMachineKey IsNot Nothing Then
xmlMachineKey.Attributes("validationKey").InnerText = validationKey
xmlMachineKey.Attributes("decryptionKey").InnerText = decryptionKey
End If
That did not work either, so I then forced the xmlMachineKey to read the node like so:
Dim xmlMachineKey As XmlNode = xmlConfig.ChildNodes(0).ChildNodes(4).ChildNodes(0)
now xmlMachineKey is not nothing and is reading the correct values.
When I run DNN now, it goes into an infinite loop and redirections.
Any ideas are very appreciated.
I tried this, and although xmlMachineKey was initialized (not nothing), it did not seem to be a reference to the appropriate key, and still got an exception when attempting to write to the attributes. I am using most likely a later version than you, dnn 4.0.2, but I would think the developer config file has not changed much. but it is not reading the correct values.
Have you or anyone else experienced this, and if so found a solution?
System Configuration:
Windows XP Pro SP2 + All Latest Patches
Visual Studio 2005 Pro (not-beta)
SQL 2005 Developer
Installed DotNetNuke 4.02 to C:\Data\Projects\DotNetNuke4_4.0.2...
2 hours later... I renamed the DotNetNuke directory, removing the dots from the path, thinking there may be some security setting preventing paths with dots, with no luck. I just restarted the debug session, and it bombs out in exactly the same manor as described earlier in this thread/message.