<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>DotNetNuke</title>
        <link>http://geekswithblogs.net/jwatson/category/5054.aspx</link>
        <description>DotNetNuke</description>
        <language>en-US</language>
        <copyright>John Watson</copyright>
        <managingEditor>jwatson3d@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Error Installing Module(s) on DNN 4.5.5 at WebHost4Life</title>
            <link>http://geekswithblogs.net/jwatson/archive/2007/08/23/114909.aspx</link>
            <description>&lt;p&gt;I was setting up a new DNN installation at WH4L and received this error while running the installation wizard. I first tried manually cleaning things out and doing it again only to receive the same error. Turns out the trick is the file permissions on the newly installed modules under \DesktopModules aren't correct. When you receive the errors, simply open a new browser window, login to WH4L control panel, go to Security | File Permission and reset permissions for NETWORK SERVICE with the box check for subfolders. When that's finished, switch back to the installer wizard with the errors still showing and you can now click Next to continue and finish the installation.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114909"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114909" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/jwatson/aggbug/114909.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>John Watson</dc:creator>
            <guid>http://geekswithblogs.net/jwatson/archive/2007/08/23/114909.aspx</guid>
            <pubDate>Thu, 23 Aug 2007 04:27:47 GMT</pubDate>
            <comments>http://geekswithblogs.net/jwatson/archive/2007/08/23/114909.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/jwatson/comments/commentRss/114909.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/jwatson/services/trackbacks/114909.aspx</trackback:ping>
        </item>
        <item>
            <title>Successful upgrade of DNN v3 to v4</title>
            <link>http://geekswithblogs.net/jwatson/archive/2006/09/24/92208.aspx</link>
            <description>&lt;p&gt;This weekend I upgraded our hosted church &lt;a href="http://www.rock-church.org/" target="_blank"&gt;site&lt;/a&gt; to the current release of &lt;a href="http://www.dotnetnuke.com/" target="_blank"&gt;DotNetNuke&lt;/a&gt; v4.3.5. Here's a quick summary of the steps I took and some observations.&lt;/p&gt; &lt;p&gt;Steps to upgrade:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Unzip&amp;nbsp;the &lt;a href="http://prdownloads.sourceforge.net/dnn/DotNetNuke_4.3.5_Install.zip?download" target="_blank"&gt;install package&lt;/a&gt; to a local directory. &lt;li&gt;Copy release.config to web.config in the install root directory (local machine). &lt;li&gt;Update the web.config: replace machine key with ours; comment out the SQL Express connection strings and uncomment the SQL standard strings; put in correct connecting string settings for the hosted site; uncomment trust level and change Medium to Full*; remove databaseOwner prefix. &lt;li&gt;Backup hosted site to local machine using ftp client.  &lt;li&gt;Backup hosted database.  &lt;li&gt;Remove all files from root directory of hosted site.  &lt;li&gt;Remove all subdirectories except /Portals/0 which contains our site stuff.&lt;/li&gt; &lt;li&gt;Ftp the site from local machine to hosted site. &lt;li&gt;Switch the hosted site from ASP.NET 1.1 to 2.0 &lt;li&gt;Hit the hosted site for the first time - triggering an upgrade.&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;* Learned this after the fact - modules will not install since they're compiled on the fly and the zips are removed from the Install/Modules subdirectory. Full trust is needed to allow the ASP.NET application permission to read/load/delete the modules zips.&lt;/p&gt; &lt;p&gt;One observation I noticed is with User Defined Tables. I have several with a date column in them. In V4, UDTs have been enhanced to support Date, Time, and Timestamp types. For whatever the reason, the decision was made to upgrade an old Date datatype to a Timestamp and the time portion defaults to 12:00:00. Why they chose to do this is beyond me. If all we had was a date before, why not keep the datatype as Date. Perhaps it's because the old Date datatype was in actuality a full timestamp. For me, it meant going in to edit the UDT settings for dozens of tables to switch from Timestamp to Date.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=92208"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=92208" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/jwatson/aggbug/92208.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>John Watson</dc:creator>
            <guid>http://geekswithblogs.net/jwatson/archive/2006/09/24/92208.aspx</guid>
            <pubDate>Sun, 24 Sep 2006 22:55:00 GMT</pubDate>
            <comments>http://geekswithblogs.net/jwatson/archive/2006/09/24/92208.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/jwatson/comments/commentRss/92208.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/jwatson/services/trackbacks/92208.aspx</trackback:ping>
        </item>
        <item>
            <title>DNN upgrade and the infamous Could not load type 'DotNetNuke.Common.Global'</title>
            <link>http://geekswithblogs.net/jwatson/archive/2006/09/21/91911.aspx</link>
            <description>&lt;P&gt;I manage a DNN &lt;A href="http://www.rock-church.org/" target=_blank&gt;site&lt;/A&gt; which is currently running on DNN 3.1.1 hosted at &lt;A href="http://www.webhost4life.com/" target=_blank&gt;WebHost4Life&lt;/A&gt;. I have a local backup of the site on my home server running on Win2003 and SQL 2005. I tried to upgrade the local copy&amp;nbsp;to the current release 4.3.5 using the xxx_Install.zip and on the first try I received the infamous "Could not load type 'DotNetNuke.Common.Global'" error. I'm referring to it as infamous because there are a lot of howls posted over at the &lt;A href="http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/107/scope/threads/currentpage/2/Default.aspx" target=_blank&gt;DNN forums&lt;/A&gt; site with very few real suggestions of getting around the problem.&lt;/P&gt;
&lt;P&gt;To test the upgrade, I backed up my copy of web.config,&amp;nbsp;used the development.config as a starting point, and&amp;nbsp;put the correct SQL provider settings in. I used a &lt;A href="http://www.scootersoftware.com/" target=_blank&gt;diff tool&lt;/A&gt; to copy directly from&amp;nbsp;the&amp;nbsp;xxx_Install.zip to the website folder - replacing everything, removing what wasn't there any more and skipping the *.vb source files. When I first hit the site, I received the could not load type error. After hunting around on the web and finding little or no helpful information (such as this &lt;A href="http://forums.asp.net/1015791/ShowPost.aspx" target=_blank&gt;thread&lt;/A&gt;), I began trying to diagnose it myself.&lt;/P&gt;
&lt;P&gt;Judging by the initial quick error, I figured it was something very basic with the configuration. However, I noticed in the event log details on the server that it seemed to be getting past default.aspx and was down in /install/install.aspx when it died. Hmm...remembering that all the modules are in zips now and get automagically deployed, I tried something whimsical - deleting all the zips (maybe it was trying to load these?) and voila - it got further along.&lt;/P&gt;
&lt;P&gt;At this point, I tried a couple of things in quick succession (it was getting late last night). First, uncomment the enable medium trust&amp;nbsp; - the problem w/ non-colorizing IDEs such as Notepad is that comment markers are easy to miss. Second, I got a different error about missing a *.vb file. I recalled some discussions over on ScottGu's blog about the compilation model being different under 2.0&amp;nbsp;so on a whim I went back to the xxx_Install.zip and copied over all the *.vb files. Note, this is my "pseudo-production" server - I purposely did not install VS.NET to avoid the usual issues of "it works on my development machine". After that, the site came up minus the custom modules and the skins.&lt;/P&gt;
&lt;P&gt;It's a start at least and I think I've stumbled onto something regarding what is going on during an upgrade. Unfortunately, I don't really have the time or luxury of building/rebuilding this to test/diagnose the issue further. I'm a big fan of cookbook-style guides so maybe I'll get to one soon. I hope to finish my testing/eval and get the site pushed out to the hosting company by the weekend. Also, this just shows me that I've got to spend some dedicated time working with 2.0, heck 3.0 is already starting to pop up!&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=91911"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=91911" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/jwatson/aggbug/91911.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>John Watson</dc:creator>
            <guid>http://geekswithblogs.net/jwatson/archive/2006/09/21/91911.aspx</guid>
            <pubDate>Thu, 21 Sep 2006 12:42:00 GMT</pubDate>
            <comments>http://geekswithblogs.net/jwatson/archive/2006/09/21/91911.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/jwatson/comments/commentRss/91911.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/jwatson/services/trackbacks/91911.aspx</trackback:ping>
        </item>
        <item>
            <title>DNN Error "Invalid attempt to read when no data is present"</title>
            <link>http://geekswithblogs.net/jwatson/archive/2006/07/10/84651.aspx</link>
            <description>When upgrading from 4.3.1 to 4.3.2 I encountered the above error. A few posts in the DNN Forums suggested there were problems with the portals defined. In my case, I had one portal defined with id of zero (0) yet there was also a portal id one (1) called &amp;#8220;My Website&amp;#8221; with most other columns null. I started the 4.x journey with 4.0.2 and checking there I found only one row in Portals. So....perhaps the upgrade to 4.3.1 did something? Anyway, I had just tried my cookbook approach to upgrading posted about &lt;A href="http://geekswithblogs.net/jwatson/archive/2006/07/10/84648.aspx"&gt;here&lt;/A&gt; so I simply deleted the database, recopied, fixed the aliases then deleted the spurious row. When I first&amp;nbsp;hit the site it ran through the upgrade perfectly then I clicked the link at the bottom of the upgrade report page and was &amp;#8220;in like Flynn&amp;#8221;.&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=84651"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=84651" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/jwatson/aggbug/84651.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>John Watson</dc:creator>
            <guid>http://geekswithblogs.net/jwatson/archive/2006/07/10/84651.aspx</guid>
            <pubDate>Mon, 10 Jul 2006 23:01:00 GMT</pubDate>
            <comments>http://geekswithblogs.net/jwatson/archive/2006/07/10/84651.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/jwatson/comments/commentRss/84651.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/jwatson/services/trackbacks/84651.aspx</trackback:ping>
        </item>
        <item>
            <title>How to upgrade a DNN site</title>
            <link>http://geekswithblogs.net/jwatson/archive/2006/07/10/84648.aspx</link>
            <description>&lt;P&gt;I've got a pretty simple &amp;#8220;cookbook&amp;#8221;&amp;nbsp;way to upgrade (or test upgrade) a DNN site which I thought I'd share. I'm using 4.x which means SQL Server 2005 and VS.NET 2005.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Unzip the download to a new directory&lt;/LI&gt;
&lt;LI&gt;Make the new directory a virtual web share&lt;/LI&gt;
&lt;LI&gt;Copy/paste either development.config or release.config and rename to web.config&lt;/LI&gt;
&lt;LI&gt;Compare the old web.config to the new web.config (using a tool like &lt;A href="http://winmerge.sourceforge.net/"&gt;WinMerge&lt;/A&gt;) and copy over the database connection string (edit to use new database name from step #5)&amp;nbsp;and machine key.&lt;/LI&gt;
&lt;LI&gt;Copy the database - while only SQL Server needs to be running to use the site, to take advantage of the new copy database feature you must have SQL Server Agent and SQL Server Integration Services running.&lt;/LI&gt;
&lt;LI&gt;Open the Portal Alias table and fix up the URLs to match the new directory setup in step #2.&lt;/LI&gt;
&lt;LI&gt;Fire up a browser and hit the new URL&amp;nbsp;- upgrade should kick off automatically and leave you with a link to the home page.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Now go cut the grass or whatever chores you've been putting off.&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=84648"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=84648" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/jwatson/aggbug/84648.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>John Watson</dc:creator>
            <guid>http://geekswithblogs.net/jwatson/archive/2006/07/10/84648.aspx</guid>
            <pubDate>Mon, 10 Jul 2006 22:39:00 GMT</pubDate>
            <comments>http://geekswithblogs.net/jwatson/archive/2006/07/10/84648.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/jwatson/comments/commentRss/84648.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/jwatson/services/trackbacks/84648.aspx</trackback:ping>
        </item>
    </channel>
</rss>