<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Getting Started</title><link>http://www.dotnetnuke.com/tabid/795/Default.aspx</link><description>Gettings started with DotNetNuke.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: My DotNetNuke 4 install nightmare</title><link>http://forums.asp.net/thread/1171452.aspx</link><pubDate>Wed, 18 Jan 2006 00:21:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1171452</guid><dc:creator>Sponge_Bob</dc:creator><author>Sponge_Bob</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1171452.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=96&amp;PostID=1171452</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;GALAXYM25A wrote:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;p&gt;I have tried to get version 4 operational and having a tough time and being new to all this need a little help. &lt;/p&gt;
&lt;p&gt;After following your detailed isntructions i continue to get the following error:&lt;/p&gt;
&lt;p&gt;xmlns="&lt;a href="http://schemas.microsoft.com/.NetConfiguration/v2.0"&gt;http://schemas.microsoft.com/.NetConfiguration/v2.0&lt;/a&gt;" &lt;/p&gt;
&lt;p&gt;any ideas on how i can move ahead to&amp;nbsp;get this installed - for the moment i gave up on the source code install and will try that after i at least see the package installed&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;If you edit the Web.config of you web site using the built in ASP.NET Configuration tool then the Tool will change the very first line of you Web.Config file. This will cause DotNetNuke to fail during installation. The first line of your web.config file should read&amp;nbsp;&lt;font color=blue&gt;&amp;lt;&lt;/font&gt;&lt;font color=#804040&gt;configuration&lt;/font&gt;&lt;font color=blue&gt;&amp;gt;&lt;/font&gt;&amp;nbsp;But after you edit you site using the ASP.NET Configuration tool the line will be changed to&lt;br /&gt;&lt;font color=#0000ff&gt;&amp;lt;&lt;/font&gt;&lt;font color=#800000&gt;configuration&lt;/font&gt; &lt;font color=#ff0000&gt;xmlns&lt;/font&gt;&lt;font color=#0000ff&gt;="http://schemas.microsoft.com/.NetConfiguration/v2.0"&lt;/font&gt;&lt;font color=#0000ff&gt;&amp;gt;&lt;/font&gt;&amp;nbsp;&lt;br /&gt;Open you Web.Config file in the root of your website and simplly erase the attrib &lt;font color=red&gt;xmlns="&lt;/font&gt;&lt;font color=blue&gt;&lt;a href="http://schemas.microsoft.com/.NetConfiguration/v2.0"&gt;http://schemas.microsoft.com/.NetConfiguration/v2.0&lt;/a&gt;&lt;/font&gt;&lt;font color=black&gt;" from the first line and then try your install again.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;The Acutal Problem is in the UpdateMachineKey of the Config Class in the DotNetNuke.Common.Utilities Namespace.&lt;/p&gt;&lt;pre&gt;&lt;font color=#606060&gt;1:   &lt;/font&gt;&lt;font color=#0000ff&gt;Public&lt;/font&gt; &lt;font color=#0000ff&gt;Shared&lt;/font&gt; &lt;font color=#0000ff&gt;Function&lt;/font&gt; UpdateMachineKey(&lt;font color=#0000ff&gt;ByVal&lt;/font&gt; xmlConfig &lt;font color=#0000ff&gt;As&lt;/font&gt; XmlDocument) &lt;font color=#0000ff&gt;As&lt;/font&gt; XmlDocument
&lt;font color=#606060&gt;2:   &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;3:   &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;4:   &lt;/font&gt;            &lt;font color=#0000ff&gt;Dim&lt;/font&gt; objSecurity &lt;font color=#0000ff&gt;As&lt;/font&gt; &lt;font color=#0000ff&gt;New&lt;/font&gt; PortalSecurity
&lt;font color=#606060&gt;5:   &lt;/font&gt;            &lt;font color=#0000ff&gt;Dim&lt;/font&gt; validationKey &lt;font color=#0000ff&gt;As&lt;/font&gt; &lt;font color=#0000ff&gt;String&lt;/font&gt; &lt;font color=#ff0033&gt;=&lt;/font&gt; objSecurity.CreateKey(20)
&lt;font color=#606060&gt;6:   &lt;/font&gt;            &lt;font color=#0000ff&gt;Dim&lt;/font&gt; decryptionKey &lt;font color=#0000ff&gt;As&lt;/font&gt; &lt;font color=#0000ff&gt;String&lt;/font&gt; &lt;font color=#ff0033&gt;=&lt;/font&gt; objSecurity.CreateKey(24)
&lt;font color=#606060&gt;7:   &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;8:   &lt;/font&gt;            &lt;font color=#0000ff&gt;Dim&lt;/font&gt; xmlMachineKey &lt;font color=#0000ff&gt;As&lt;/font&gt; XmlNode &lt;font color=#ff0033&gt;=&lt;/font&gt; xmlConfig.SelectSingleNode(&lt;font color=#006080&gt;"configuration/system.web/machineKey"&lt;/font&gt;)
&lt;font color=#606060&gt;9:   &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;10:  &lt;/font&gt;            xmlMachineKey.Attributes(&lt;font color=#006080&gt;"validationKey"&lt;/font&gt;).InnerText &lt;font color=#ff0033&gt;=&lt;/font&gt; validationKey
&lt;font color=#606060&gt;11:  &lt;/font&gt;            xmlMachineKey.Attributes(&lt;font color=#006080&gt;"decryptionKey"&lt;/font&gt;).InnerText &lt;font color=#ff0033&gt;=&lt;/font&gt; decryptionKey
&lt;font color=#606060&gt;12:  &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;13:  &lt;/font&gt;            xmlConfig &lt;font color=#ff0033&gt;=&lt;/font&gt; AddAppSetting(xmlConfig, &lt;font color=#006080&gt;"InstallationDate"&lt;/font&gt;, &lt;font color=#0000ff&gt;Date&lt;/font&gt;.Today.ToShortDateString)
&lt;font color=#606060&gt;14:  &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;15:  &lt;/font&gt;            &lt;font color=#0000ff&gt;Return&lt;/font&gt; xmlConfig
&lt;font color=#606060&gt;16:  &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;17:  &lt;/font&gt;        &lt;font color=#0000ff&gt;End&lt;/font&gt; Function
&lt;/pre&gt;
&lt;p&gt;Line &lt;strong&gt;8&lt;/strong&gt; is the problem and could be changed to the example below to correct the problem. Although I am not certain if the &lt;font color=#006080&gt;configuration/.../... &lt;/font&gt;xpath is used anywhere else in the code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre&gt;&lt;font color=#606060&gt;1:   &lt;/font&gt;&lt;font color=#0000ff&gt;Public&lt;/font&gt; &lt;font color=#0000ff&gt;Shared&lt;/font&gt; &lt;font color=#0000ff&gt;Function&lt;/font&gt; UpdateMachineKey(&lt;font color=#0000ff&gt;ByVal&lt;/font&gt; xmlConfig &lt;font color=#0000ff&gt;As&lt;/font&gt; XmlDocument) &lt;font color=#0000ff&gt;As&lt;/font&gt; XmlDocument
&lt;font color=#606060&gt;2:   &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;3:   &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;4:   &lt;/font&gt;            &lt;font color=#0000ff&gt;Dim&lt;/font&gt; objSecurity &lt;font color=#0000ff&gt;As&lt;/font&gt; &lt;font color=#0000ff&gt;New&lt;/font&gt; PortalSecurity
&lt;font color=#606060&gt;5:   &lt;/font&gt;            &lt;font color=#0000ff&gt;Dim&lt;/font&gt; validationKey &lt;font color=#0000ff&gt;As&lt;/font&gt; &lt;font color=#0000ff&gt;String&lt;/font&gt; &lt;font color=#ff0033&gt;=&lt;/font&gt; objSecurity.CreateKey(20)
&lt;font color=#606060&gt;6:   &lt;/font&gt;            &lt;font color=#0000ff&gt;Dim&lt;/font&gt; decryptionKey &lt;font color=#0000ff&gt;As&lt;/font&gt; &lt;font color=#0000ff&gt;String&lt;/font&gt; &lt;font color=#ff0033&gt;=&lt;/font&gt; objSecurity.CreateKey(24)
&lt;font color=#606060&gt;7:   &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;8:   &lt;/font&gt;            &lt;font color=#0000ff&gt;Dim&lt;/font&gt; xmlMachineKey &lt;font color=#0000ff&gt;As&lt;/font&gt; XmlNode &lt;font color=#ff0033&gt;=&lt;/font&gt; xmlConfig.ChildNodes(0).SelectSingleNode(&lt;font color=#006080&gt;"system.web/machineKey"&lt;/font&gt;)
&lt;font color=#606060&gt;9:   &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;10:  &lt;/font&gt;            xmlMachineKey.Attributes(&lt;font color=#006080&gt;"validationKey"&lt;/font&gt;).InnerText &lt;font color=#ff0033&gt;=&lt;/font&gt; validationKey
&lt;font color=#606060&gt;11:  &lt;/font&gt;            xmlMachineKey.Attributes(&lt;font color=#006080&gt;"decryptionKey"&lt;/font&gt;).InnerText &lt;font color=#ff0033&gt;=&lt;/font&gt; decryptionKey
&lt;font color=#606060&gt;12:  &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;13:  &lt;/font&gt;            xmlConfig &lt;font color=#ff0033&gt;=&lt;/font&gt; AddAppSetting(xmlConfig, &lt;font color=#006080&gt;"InstallationDate"&lt;/font&gt;, &lt;font color=#0000ff&gt;Date&lt;/font&gt;.Today.ToShortDateString)
&lt;font color=#606060&gt;14:  &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;15:  &lt;/font&gt;            &lt;font color=#0000ff&gt;Return&lt;/font&gt; xmlConfig
&lt;font color=#606060&gt;16:  &lt;/font&gt;&amp;nbsp;
&lt;font color=#606060&gt;17:  &lt;/font&gt;        &lt;font color=#0000ff&gt;End&lt;/font&gt; Function
&lt;/pre&gt;</description></item><item><title>Re: My DotNetNuke 4 install nightmare</title><link>http://forums.asp.net/thread/1168987.aspx</link><pubDate>Sun, 15 Jan 2006 19:42:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1168987</guid><dc:creator>Shadowpdx</dc:creator><author>Shadowpdx</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1168987.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=96&amp;PostID=1168987</wfw:commentRss><description>I found the source package amazingly difficult to configure and install........I would suggest using the starter kit or the install package.&amp;nbsp;</description></item><item><title>Re: My DotNetNuke 4 install nightmare</title><link>http://forums.asp.net/thread/1168893.aspx</link><pubDate>Sun, 15 Jan 2006 17:20:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1168893</guid><dc:creator>GALAXYM25A</dc:creator><author>GALAXYM25A</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1168893.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=96&amp;PostID=1168893</wfw:commentRss><description>&lt;p&gt;I have tried to get version 4 operational and having a tough time and being new to all this need a little help. &lt;/p&gt;
&lt;p&gt;After following your detailed isntructions i continue to get the following error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;xmlns="&lt;a href="http://schemas.microsoft.com/.NetConfiguration/v2.0"&gt;http://schemas.microsoft.com/.NetConfiguration/v2.0&lt;/a&gt;" &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;any ideas on how i can move ahead to&amp;nbsp;get this installed - for the moment i gave up on the source code install and will try that after i at least see the package installed&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: My DotNetNuke 4 install nightmare</title><link>http://forums.asp.net/thread/1162411.aspx</link><pubDate>Sun, 08 Jan 2006 20:47:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1162411</guid><dc:creator>TruthHunter</dc:creator><author>TruthHunter</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1162411.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=96&amp;PostID=1162411</wfw:commentRss><description>&lt;p&gt;Thank you very much !!!&lt;/p&gt;
&lt;p&gt;I was inside a loop for several days trying to install DNN 4 !&lt;br /&gt;I searched all over the Internet&amp;nbsp;seeking for a solution.&lt;/p&gt;
&lt;p&gt;I could never imagine that a little @$@¨%$!#$@ line of code like that could make so much damage !&lt;/p&gt;
&lt;p&gt;Thank you again !&lt;/p&gt;
&lt;p&gt;Guilherme Hahn&lt;br /&gt;Brazil.&lt;/p&gt;</description></item><item><title>Re: My DotNetNuke 4 install nightmare</title><link>http://forums.asp.net/thread/1153547.aspx</link><pubDate>Wed, 28 Dec 2005 18:07:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1153547</guid><dc:creator>billhall</dc:creator><author>billhall</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1153547.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=96&amp;PostID=1153547</wfw:commentRss><description>&lt;p&gt;Aahhh... there is no greater feeling then profiting from someone else's pain and misery... er... I mean... THANK YOU THANK YOU THANK YOU THANK YOU!!! You just saved me so much time!&lt;/p&gt;
&lt;p&gt;Bill&lt;/p&gt;</description></item><item><title>My DotNetNuke 4 install nightmare</title><link>http://forums.asp.net/thread/1152128.aspx</link><pubDate>Tue, 27 Dec 2005 00:38:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1152128</guid><dc:creator>Sponge_Bob</dc:creator><author>Sponge_Bob</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1152128.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=96&amp;PostID=1152128</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;&lt;u&gt;My DotNetNuke 4 install nightmare&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We it all started in the late hours of the night on Christmas day. I had a great day and decided to set up my first Dnn 4 website on a server running windows server 2003. I had install a number of other Dnn prior versions ( prior to version 4 that is ) so I did not anticapte many problems. &lt;img src="/emoticons/emotion-8.gif" alt="Indifferent [:|]" /&gt;&lt;/p&gt;
&lt;p&gt;First I did a little research on the web as I had not installed anything on asp.net 2.0 yet and I thought a little research could go a long way.&lt;/p&gt;
&lt;p&gt;It turns out that I found an article that said there were problems running Asp.net versions 1.1 and 2.0 in the same process and recommend creating a new Application Pool for your asp.net versions. I found more information on msdn &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGHT000009.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGHT000009.asp&lt;/a&gt;&amp;nbsp;to aid in this process. Sorry I lost the original link that stated the problem &lt;img src="/emoticons/emotion-6.gif" alt="Sad [:(]" /&gt;.&lt;/p&gt;
&lt;p&gt;Second I went on the server and created a new folder to install the new website into. Next I unziped the install package into the folder for version 4.0.2 of DNN. Then I open IIS and create a new website with as recommended by the installation guide for DNN 4x and set its application pool setting to my newly created application pool. Finally I opened Sql 2000 and created a new database for the new&amp;nbsp;website and of course I set the web.config file of the DNN site to work with Sql 2000.&amp;nbsp;&amp;nbsp;So far so good right.&lt;/p&gt;
&lt;p&gt;Not so! While I was in the Properties window of the website in IIS I decided to take a peek at the web.config file in the new edit configuration section of the Asp.Net tab. (&lt;em&gt; i was just curious, really!&lt;/em&gt; ) Any way I closed the window hoping all was well.&lt;/p&gt;
&lt;p&gt;When&amp;nbsp; I ran the site I Kept getting a &lt;u&gt;DotNetNuke Configuration Error &lt;/u&gt;&lt;em&gt;Object&amp;nbsp;reference not set to an instance of an object.&lt;/em&gt; And was told by the error to make sure that all the security permissions were set for the website... Well after a few futile attempts on my own to no avail I went back to the Installation Documentation once again and read it all again. I confirmed that all the security permissions were ok and they were as my website was in a parent directory that already had all the correct permissions set ( not to mention that there are DNN 3x sites in the parent directory that were working fine.) . &lt;/p&gt;
&lt;p&gt;Finally I ran out of energy for the day and called it quits. I hate calling it quits with an unsolved problem as it seems to get into my sleep.&lt;br /&gt;Well I started again the next day on getting this to work as I was convinced I was doing something wrong as I&amp;nbsp;had&amp;nbsp;seen other posting that it worked for others.&lt;/p&gt;
&lt;p&gt;I decided to install a copy on another computer running VS 2005 and debug it. I used the pretty cool starter kit and created a new site. This was all pretty new to me in VS 2005 so I found the ASP.NET Configuration on the website toolbar and decided to run it ( again just curious right! ) Well I got things ready to run ( new database and all that stuff ) and ran the website. Much to my surprise I was still getting the same DotNetNuke configuration error &lt;img src="/emoticons/emotion-9.gif" alt="Crying [:'(]" /&gt;&amp;nbsp;I was nearing my wits ends. Well never one to quit I started to try a little debugging of the application which in itself I found very different in the new VS 2005 .&lt;/p&gt;
&lt;p&gt;After many hours of looking for the problem I discovered that when you use the configuration editors for asp.net 2.x they add an attribute to the configuration&amp;nbsp;element of the web.config file ( xmlns="&lt;font color=red&gt;http://schemas.microsoft.com/.NetConfiguration/v2.0&lt;/font&gt;" ) &lt;/p&gt;
&lt;p&gt;I removed the Attribute and ran the website once again and much to my surprise the website compiled and ran all the installation scripts.&lt;/p&gt;
&lt;p&gt;I was still not done but I was much closer. It seems that on more error had to be overcome. &lt;/p&gt;
&lt;h1&gt;Unhanded Error&lt;/h1&gt;
&lt;h2&gt;Error Details&lt;/h2&gt;
&lt;p&gt;
&lt;table cellSpacing=0 cellPadding=0&gt;

&lt;tr&gt;
&lt;td&gt;&lt;b&gt;File&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;Error&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Unable to generate a temporary class (result=1). error CS2001: Source file 'C:\WINDOWS\TEMP\af7yxngh.0.cs' could not be found error CS2008: No inputs specified &lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;font color=#800000 size=2&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;After more research I discovered that your Application Pool Account ( Usually the &lt;strong&gt;Network Service&lt;/strong&gt; Account )&amp;nbsp;needs write access to the &lt;strong&gt;windows temp &lt;/strong&gt;directory. After I set this security permission the website finally started. &lt;img src="/emoticons/emotion-2.gif" alt="Big Smile [:D]" /&gt;&lt;/p&gt;
&lt;p&gt;Hope this post save someone some time. &lt;/p&gt;
&lt;p&gt;Happy new year to all!&lt;/p&gt;</description></item></channel></rss>