<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Venexus DotNetNuke Blog - DotNetNuke Errors</title>
    <link>http://dnnblog.venexus.com/</link>
    <description>DotNetNuke Articles, Code Snippets, Errors, and News</description>
    <language>en-us</language>
    <copyright>Venexus, Inc.</copyright>
    <lastBuildDate>Tue, 05 Jun 2007 16:02:33 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>xfernal@venexus.com</managingEditor>
    <webMaster>xfernal@venexus.com</webMaster>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=abb5705c-7e8d-4b86-8682-5c9d296036b6</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,abb5705c-7e8d-4b86-8682-5c9d296036b6.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
We have installed and upgraded quite a few sites to the latest DNN version, 4.5.3,
that came out last week and most went seamlessly. However, we have found one issue
that has raised it's ugly head quite a few times. After upgrading, if you clicked
on "Register" you would be redirected to an admin skinned page with no account fields/content.
Looking at the url you can see "/ctl/returnurl". Since the site(s) uses a custom page
using a 3rd party module for registration for the account info, it is specified
in Admin &gt; Site Settings &gt; Advanced Settings &gt; Page Management &gt; User
Page. 
</p>
        <p>
Here is the error message:
</p>
        <p>
System.Web.HttpException: Could not load type ''. ---&gt; System.ArgumentException:
String cannot have zero length. at System.Reflection.Assembly.GetType(String name,
Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String
typeName, Boolean throwOnError, Boolean ignoreCase) --- End of inner exception stack
trace --- at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean
throwOnError, Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String
TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)
</p>
        <p>
Luckily we found a post on the DNN Forums concerning the quick fix...
</p>
        <p>
          <span class="Forum_NormalBold" id="spSubject">
            <a href="http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/108/threadid/140539/threadpage/1/scope/posts/Default.aspx" name="140539">4.5.3
New user registration not working if specific page defined</a>
          </span>
        </p>
        <p>
In the above post someone else was having a similar issue. It looks like there was
a bug reported as well:
</p>
        <p>
          <a href="http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=5746">http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=5746</a>
        </p>
        <p>
While there could definitely been a longer or better description of the problem, it
was quickly closed with "unable to reproduce in 4.5.3" the next day without any followup.
Luckily the thread on the forums gained the interest of other having the issue and vitkoz
was kind enough to run it through debugging to find the issue and hence the issue
has been reopened in the DNN issue tracker.
</p>
        <p>
Here is his fix:<span class="Forum_Normal" id="spBody"></span></p>
        <p>
"In the file admin/skins/user.ascx.vb, line 142 needs to be changed:
</p>
        <p>
 
</p>
        <p>
          <strong> FROM THIS:</strong>
        </p>
        <p>
          <font size="3">Response.Redirect(NavigateURL(PortalSettings.UserTabId,<font color="#a31515">"returnurl="</font> &amp;
ReturnUrl), <font color="#0000ff">True</font>)<br /><br /></font>
          <strong>TO THIS:</strong>
        </p>
        <p>
          <font size="3">Response.Redirect(NavigateURL(PortalSettings.UserTabId, <font color="#ffffff"><strong><font style="BACKGROUND-COLOR: #ff0000">"Register",</font></strong></font><font color="#a31515">"returnurl="</font> &amp;
ReturnUrl), <font color="#0000ff">True</font>)</font>
        </p>
        <p>
          <strong>
            <font size="2">You can simply go to that file, make that change, and IIS will
recompile it on the next run." - vitkoz</font>
          </strong>
        </p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=abb5705c-7e8d-4b86-8682-5c9d296036b6" />
      </body>
      <title>DNN 4.5.3 Redirect for ReturnURL Issue</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,abb5705c-7e8d-4b86-8682-5c9d296036b6.aspx</guid>
      <link>http://dnnblog.venexus.com/DNN+453+Redirect+For+ReturnURL+Issue.aspx</link>
      <pubDate>Tue, 05 Jun 2007 16:02:33 GMT</pubDate>
      <description>&lt;p&gt;
We have installed and upgraded quite a few sites to the latest DNN version, 4.5.3,
that came out last week and most went seamlessly. However, we have found one issue
that has raised it's ugly head quite a few times. After upgrading, if you clicked
on "Register" you would be redirected to an admin skinned page with no account fields/content.
Looking at the url you can see "/ctl/returnurl". Since the site(s) uses a custom page
using a 3rd party module for registration&amp;nbsp;for the account info, it is specified
in Admin &amp;gt; Site Settings &amp;gt; Advanced Settings &amp;gt; Page Management &amp;gt; User
Page. 
&lt;/p&gt;
&lt;p&gt;
Here is the error message:
&lt;/p&gt;
&lt;p&gt;
System.Web.HttpException: Could not load type ''. ---&amp;gt; System.ArgumentException:
String cannot have zero length. at System.Reflection.Assembly.GetType(String name,
Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String
typeName, Boolean throwOnError, Boolean ignoreCase) --- End of inner exception stack
trace --- at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean
throwOnError, Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String
TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)
&lt;/p&gt;
&lt;p&gt;
Luckily we found a post on the DNN Forums concerning the quick fix...
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Forum_NormalBold id=spSubject&gt;&lt;a href="http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/108/threadid/140539/threadpage/1/scope/posts/Default.aspx" name=140539&gt;4.5.3
New user registration not working if specific page defined&lt;/a&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
In the above post someone else was having a similar issue. It looks like there was
a bug reported as well:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=5746"&gt;http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=5746&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
While there could definitely been a longer or better description of the problem, it
was quickly closed with "unable to reproduce in 4.5.3" the next day without any followup.
Luckily the thread on the forums gained the interest of other having the issue and&amp;nbsp;vitkoz
was kind enough to run it through debugging to find the issue and hence the issue
has been reopened in the DNN issue tracker.
&lt;/p&gt;
&lt;p&gt;
Here is his fix:&lt;span class=Forum_Normal id=spBody&gt;
&lt;/p&gt;
&lt;p&gt;
"In the file admin/skins/user.ascx.vb, line 142 needs to be changed:
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&amp;nbsp;FROM THIS:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size=3&gt;Response.Redirect(NavigateURL(PortalSettings.UserTabId,&lt;font color=#a31515&gt;"returnurl="&lt;/font&gt; &amp;amp;
ReturnUrl), &lt;font color=#0000ff&gt;True&lt;/font&gt;)&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;strong&gt;TO THIS:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size=3&gt;Response.Redirect(NavigateURL(PortalSettings.UserTabId, &lt;font color=#ffffff&gt;&lt;strong&gt;&lt;font style="BACKGROUND-COLOR: #ff0000"&gt;"Register",&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt; &lt;font color=#a31515&gt;"returnurl="&lt;/font&gt; &amp;amp;
ReturnUrl), &lt;font color=#0000ff&gt;True&lt;/font&gt;)&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&lt;font size=2&gt;You can simply go to that file, make that change, and IIS will
recompile it on the next run." - vitkoz&lt;/font&gt;&lt;/strong&gt;
&lt;/p&gt;
&gt;&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=abb5705c-7e8d-4b86-8682-5c9d296036b6" /&gt;</description>
      <category>DotNetNuke Errors;DotNetNuke General</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=555bf1cc-f1fb-4c19-8083-a8ac8fc6c42b</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,555bf1cc-f1fb-4c19-8083-a8ac8fc6c42b.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font color="#0000ff" size="2">
          <p>
            <font color="#000000">We had a DNN 4.4.1 to 4.5.1 upgrade that threw a few SQLDataProvider
errors during the installer that were caused by duplicate files in DNN Files table.
Not sure how they got there, but here is a SQL statement to check if they exist:</font>
          </p>
          <font color="#0000ff" size="2">
            <p>
SELECT
</p>
          </font>
          <font color="#000000" size="2"> PortalID</font>
          <font color="#808080" size="2">,</font>
          <font color="#000000" size="2">
          </font>
          <font color="#0000ff" size="2">Filename</font>
          <font color="#808080" size="2">,</font>
          <font color="#000000" size="2"> Folder</font>
          <font color="#808080" size="2">,</font>
          <font color="#000000" size="2">
          </font>
          <font color="#ff00ff" size="2">COUNT</font>
          <font color="#808080" size="2">(</font>
          <font color="#0000ff" size="2">Filename</font>
          <font color="#808080" size="2">)</font>
          <font color="#000000" size="2">
          </font>
          <font color="#0000ff" size="2">AS</font>
          <font size="2">
            <font color="#000000"> NumOccurrences</font>
          </font>
          <font color="#0000ff" size="2">
            <p>
FROM
</p>
          </font>
          <font size="2">
            <font color="#000000"> files</font>
          </font>
          <font color="#0000ff" size="2">
            <p>
GROUP
</p>
          </font>
          <font color="#000000" size="2">
          </font>
          <font color="#0000ff" size="2">BY</font>
          <font color="#000000" size="2">
          </font>
          <font color="#0000ff" size="2">Filename</font>
          <font color="#808080" size="2">,</font>
          <font color="#000000" size="2"> PortalID</font>
          <font color="#808080" size="2">,</font>
          <font size="2">
            <font color="#000000"> Folder</font>
          </font>
          <font color="#0000ff" size="2">
            <p>
HAVING
</p>
          </font>
          <font color="#000000" size="2">
          </font>
          <font color="#808080" size="2">(</font>
          <font color="#000000" size="2">
          </font>
          <font color="#ff00ff" size="2">COUNT</font>
          <font color="#808080" size="2">(</font>
          <font color="#0000ff" size="2">Filename</font>
          <font color="#808080" size="2">)</font>
          <font color="#000000" size="2">
          </font>
          <font color="#808080" size="2">&gt;</font>
          <font color="#000000" size="2"> 1 </font>
          <font color="#808080" size="2">AND</font>
          <font color="#000000" size="2">
          </font>
          <font color="#ff00ff" size="2">Count</font>
          <font color="#808080" size="2">(</font>
          <font color="#000000" size="2">PortalID</font>
          <font color="#808080" size="2">)</font>
          <font color="#000000" size="2">
          </font>
          <font color="#808080" size="2">&gt;</font>
          <font color="#000000" size="2"> 1 </font>
          <font color="#808080" size="2">AND</font>
          <font color="#000000" size="2">
          </font>
          <font color="#ff00ff" size="2">Count</font>
          <font color="#808080" size="2">(</font>
          <font color="#000000" size="2">Folder</font>
          <font color="#808080" size="2">)</font>
          <font color="#000000" size="2">
          </font>
          <font color="#808080" size="2">&gt;</font>
          <font color="#000000" size="2"> 1</font>
          <font color="#808080" size="2">)
<p></p></font>
        </font>
        <font color="#000000" size="2">
          <strong>Here is the SQL that was
provided in the log file from the installer:</strong>
        </font>
        <p>
          <font color="#808080" size="2">/* add unique constraint to Files table */<br />
IF NOT EXISTS (select * from dbo.sysobjects where id = object_id(N'dbo.[IX_FileName]')
and OBJECTPROPERTY(id, N'IsConstraint') = 1)<br />
BEGIN<br />
  declare @FolderID int<br />
  declare @FileName nvarchar(100)<br />
  declare @FileID int<br />
  declare @MinFileID int</font>
        </p>
        <p>
          <font color="#808080" size="2">  select @FolderID = min(FolderID)<br />
  from Folders<br />
  while @FolderID is not null<br />
  begin  
<br />
    /* check for duplicate Filenames */<br />
    select @FileName = null<br />
    select @FileName = FileName<br />
    from Files 
<br />
    where FolderID = @FolderID 
<br />
    group by FileName 
<br />
    having COUNT(*) &gt; 1<br />
  
<br />
    /* if duplicates exist */<br />
    if @FileName is not null<br />
    begin<br />
      /* iterate through the duplicates */<br />
      select @FileID = min(FileID)<br />
      from Files<br />
      where FolderID = @FolderID<br />
      and FileName = @FileName</font>
        </p>
        <p>
          <font color="#808080" size="2">      /* save min FileID */<br />
      select @MinFileID = @FileID</font>
        </p>
        <p>
          <font color="#808080" size="2">      while @FileID is not
null<br />
      begin<br />
        if @FileID &lt;&gt; @MinFileID<br />
        begin<br />
          /* remove duplicate file */<br />
          delete<br />
          from Files<br />
          where FileID = @FileID<br />
        end</font>
        </p>
        <p>
          <font color="#808080" size="2">        select @FileID
= min(FileID)<br />
        from Files<br />
        where FolderID = @FolderID<br />
        and FileName = @FileName<br />
        and FileID &gt; @FileID<br />
      end<br />
    end</font>
        </p>
        <p>
          <font color="#808080" size="2">    select @FolderID = min(FolderID)<br />
    from Folders<br />
    where FolderID &gt; @FolderID<br />
  end<br />
  <br />
  ALTER TABLE dbo.Files ADD CONSTRAINT<br />
    IX_FileName UNIQUE NONCLUSTERED 
<br />
    (<br />
      FolderID,<br />
      FileName<br />
    ) ON [PRIMARY]<br />
END</font>
        </p>
        <p>
          <font size="1">
            <font color="#000000">
            </font> 
</font>
        </p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=555bf1cc-f1fb-4c19-8083-a8ac8fc6c42b" />
      </body>
      <title>Check Duplicate DNN Files SQL</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,555bf1cc-f1fb-4c19-8083-a8ac8fc6c42b.aspx</guid>
      <link>http://dnnblog.venexus.com/Check+Duplicate+DNN+Files+SQL.aspx</link>
      <pubDate>Sat, 26 May 2007 17:48:57 GMT</pubDate>
      <description>&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
&lt;font color=#000000&gt;We had a DNN 4.4.1 to 4.5.1 upgrade that threw a few SQLDataProvider
errors during the installer that were caused by duplicate files in DNN Files table.
Not sure how they got there, but here is a SQL statement to check if they exist:&lt;/font&gt;
&lt;/p&gt;
&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
SELECT
&lt;/font&gt;&lt;font color=#000000 size=2&gt; PortalID&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;Filename&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font color=#000000 size=2&gt; Folder&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#ff00ff size=2&gt;COUNT&lt;/font&gt;&lt;font color=#808080 size=2&gt;(&lt;/font&gt;&lt;font color=#0000ff size=2&gt;Filename&lt;/font&gt;&lt;font color=#808080 size=2&gt;)&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;AS&lt;/font&gt;&lt;font size=2&gt;&lt;font color=#000000&gt; NumOccurrences&lt;/font&gt;&gt;
&lt;/font&gt;&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
FROM
&lt;/font&gt;&lt;font size=2&gt;&lt;font color=#000000&gt; files&lt;/font&gt;&gt;
&lt;/font&gt;&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
GROUP
&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;BY&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;Filename&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font color=#000000 size=2&gt; PortalID&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt;&lt;font color=#000000&gt; Folder&lt;/font&gt;&gt;
&lt;/font&gt;&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
HAVING
&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#808080 size=2&gt;(&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#ff00ff size=2&gt;COUNT&lt;/font&gt;&lt;font color=#808080 size=2&gt;(&lt;/font&gt;&lt;font color=#0000ff size=2&gt;Filename&lt;/font&gt;&lt;font color=#808080 size=2&gt;)&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#808080 size=2&gt;&amp;gt;&lt;/font&gt;&lt;font color=#000000 size=2&gt; 1 &lt;/font&gt;&lt;font color=#808080 size=2&gt;AND&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#ff00ff size=2&gt;Count&lt;/font&gt;&lt;font color=#808080 size=2&gt;(&lt;/font&gt;&lt;font color=#000000 size=2&gt;PortalID&lt;/font&gt;&lt;font color=#808080 size=2&gt;)&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#808080 size=2&gt;&amp;gt;&lt;/font&gt;&lt;font color=#000000 size=2&gt; 1 &lt;/font&gt;&lt;font color=#808080 size=2&gt;AND&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#ff00ff size=2&gt;Count&lt;/font&gt;&lt;font color=#808080 size=2&gt;(&lt;/font&gt;&lt;font color=#000000 size=2&gt;Folder&lt;/font&gt;&lt;font color=#808080 size=2&gt;)&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#808080 size=2&gt;&amp;gt;&lt;/font&gt;&lt;font color=#000000 size=2&gt; 1&lt;/font&gt;&lt;font color=#808080 size=2&gt;)&gt;
&lt;p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font color=#000000 size=2&gt;&lt;strong&gt;Here is the SQL that was provided
in the log file from the installer:&lt;/strong&gt;&lt;/font&gt;&gt;
&lt;p&gt;
&lt;font color=#808080 size=2&gt;/* add unique constraint to Files table */&lt;br&gt;
IF NOT EXISTS (select * from dbo.sysobjects where id = object_id(N'dbo.[IX_FileName]')
and OBJECTPROPERTY(id, N'IsConstraint') = 1)&lt;br&gt;
BEGIN&lt;br&gt;
&amp;nbsp; declare @FolderID int&lt;br&gt;
&amp;nbsp; declare @FileName nvarchar(100)&lt;br&gt;
&amp;nbsp; declare @FileID int&lt;br&gt;
&amp;nbsp; declare @MinFileID int&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#808080 size=2&gt;&amp;nbsp; select @FolderID = min(FolderID)&lt;br&gt;
&amp;nbsp; from Folders&lt;br&gt;
&amp;nbsp; while @FolderID is not null&lt;br&gt;
&amp;nbsp; begin&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; /* check for duplicate Filenames */&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; select @FileName = null&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; select @FileName = FileName&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; from Files 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; where FolderID = @FolderID 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; group by FileName 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; having COUNT(*) &amp;gt; 1&lt;br&gt;
&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; /* if duplicates exist */&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if @FileName is not null&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* iterate through the duplicates */&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select @FileID = min(FileID)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Files&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where FolderID = @FolderID&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and FileName = @FileName&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#808080 size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* save min FileID */&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select @MinFileID = @FileID&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#808080 size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while @FileID is not null&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if @FileID &amp;lt;&amp;gt; @MinFileID&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* remove duplicate file */&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delete&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Files&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where FileID = @FileID&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#808080 size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select @FileID
= min(FileID)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from Files&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where FolderID = @FolderID&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and FileName = @FileName&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and FileID &amp;gt; @FileID&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#808080 size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select @FolderID = min(FolderID)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; from Folders&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; where FolderID &amp;gt; @FolderID&lt;br&gt;
&amp;nbsp; end&lt;br&gt;
&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp; ALTER TABLE dbo.Files ADD CONSTRAINT&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; IX_FileName UNIQUE NONCLUSTERED 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FolderID,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileName&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ) ON [PRIMARY]&lt;br&gt;
END&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size=1&gt;&lt;font color=#000000&gt;&lt;/font&gt;&amp;nbsp;
&lt;/p&gt;
&gt;&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=555bf1cc-f1fb-4c19-8083-a8ac8fc6c42b" /&gt;</description>
      <category>DotNetNuke Errors;MS SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=592ea7d9-7cc3-406b-8803-ddf06a6bfbaf</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,592ea7d9-7cc3-406b-8803-ddf06a6bfbaf.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <strong>
            <em>Continuous integration</em>
          </strong> is a software development term describing
the process that completely rebuilds and tests applications frequently. We recently
implemented a continuous integration environment to “publish” our DotNetNuke modules
to our development/staging DotNetNuke sites. 
</p>
        <p>
The main advantages of a continuous integration environment are:
</p>
        <ul>
          <li>
Issues are detected and fixed continuously! 
</li>
          <li>
Enhancements and new features are published continuously! 
</li>
          <li>
You are warned about problematic code before it is published. 
</li>
          <li>
Immediate unit testing of all changes. 
</li>
          <li>
Constant availability of a "current" build for testing, demos, or releases. 
</li>
          <li>
Bragging rights for developers who have the least number of broken builds. 
</li>
          <li>
Huge conservation of time when considering the normal administrative process of Build
&gt; Package &gt; install in DNN &gt; Test. 
</li>
          <li>
Did I mention this is continuous?</li>
        </ul>
        <p>
          <strong>
            <font size="3">How Our CI and DNN Environment Works</font>
          </strong>
        </p>
        <p>
Below is a picture to show you the basics of how our continuous integration environment
works. 
</p>
        <p>
          <img src="http://dnnblog.venexus.com/content/binary/Continuous-Integration-DotNetNuke1.jpg" border="0" />
        </p>
        <p>
          <strong>
            <font color="#ff0000">Disclaimer:</font>
          </strong>
        </p>
        <ol>
          <li>
If you are running Visual Studio 2005 Web Developer Express, our setup will not work
for you. You can stop reading here, or upgrade, unless you are just curious, then
read on… 
</li>
          <li>
There have been long discussion on Web Site Projects (WSP) versus Web Application
Projects (WAP) and this post is not one to argue about which is better, rather than
to say this is what we do, and the basics of how it works. 
</li>
          <li>
You are free to comment and collaborate with others on this post. Feel free to even
argue about WAP versus WEP, or that you may know of a way to integrate CI with DNN
and WSP, we really do not care. However, we do not have time to walk you through setting
any of this up, so please do not ask…unless you are interested in one of our <a href="http://www.venexus.com/Services/DotNetNuke/DotNetNukeSupport/tabid/912/Default.aspx">DNN
support packages</a>, then by all means we can help ;-)<br />
 </li>
        </ol>
        <p>
          <strong>Basics of the process:</strong>
        </p>
        <ol>
          <li>
A developer “commits” the DNN module code to Subversion. 
</li>
          <li>
The commit triggers CruiseControl.Net to “build” the DNN module using a “Trigger”
for the project. 
</li>
          <li>
CruiseControl.Net can be configured to unit test the module before publishing. 
</li>
          <li>
An “ExecutableTask” is used with our custom assembly publisher application to send
the .DLL file to the DNN website. 
</li>
          <li>
A “BuildPublisher” sends the code from the source directory to the DNN site (D:\DNNSites\ClientDevSite\DesktopModules\CustomDNNModule
as example). 
</li>
          <li>
Results of “build” are visible in the CruiseControl.Net Web Dashboard.<br />
 </li>
        </ol>
        <p>
          <strong>
            <font size="3">Implementing CI for DNN Development</font>
          </strong>
        </p>
        <p>
          <strong>Development:</strong>
        </p>
        <p>
We started DotNetnuke 4 development using the WSP methodology for all of our DNN projects.
This has been successful for us for quite a while, especially when using EntitySpaces
for the <a href="http://www.entityspaces.net">Persistence Layer and Business Objects</a> (it's
so easy using ES to generate the DAL. You must check this out if you are not using
it). However, we found that to make this work we have to use WAP projects. I have
a very fast laptop, but using WSP and doing a build of all of DNN to compile a module
can be quite time consuming, taking several minutes sometimes. But, building a WAP
project is FAST, saving some development time when debugging and testing builds, especially
when doing those final little tweaks. One could argue that WSP is better, but for
our setup with one to many developers working on a single module, WAP is the best
decision. So, it did not take much to twist our arm to changing our methodology. It
is unfortunate that in order to use this for our existing clients and projects, we
will need to convert our WSP modules to WAP. But, we have started developing all new
modules as WAPs and converting WSP modules to WAP is not a difficult task.
</p>
        <p>
To read about the great WSP versus WAP debate, see the following links:
</p>
        <p>
          <em>Shaun Walker’s post on WAP</em>
        </p>
        <p>
          <a href="http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/434/Default.aspx">http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/434/Default.aspx</a>
        </p>
        <p>
          <em>An interesting debate between Michael Washington and Vladan Strigo</em>
        </p>
        <p>
          <a href="http://www.dotnetnuke.com/Projects/ModuleNews/Forums/tabid/953/forumid/111/threadid/91268/threadpage/6/scope/posts/Default.aspx">http://www.dotnetnuke.com/Projects/ModuleNews/Forums/tabid/953/forumid/111/threadid/91268/threadpage/6/scope/posts/Default.aspx</a>
        </p>
        <p>
          <strong>
            <em>WAP Methodology</em>
          </strong>
        </p>
        <p>
“Web Application Projects provide a companion web project model that can be used as
an alternative to the built-in Web Site Project in Visual Studio 2005. This new model
is ideal for web site developers who are converting a Visual Studio .Net 2003 web
project to Visual Studio 2005. (Released May 8, 2006)” - <a href="http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx">http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx</a></p>
        <p>
Michael Washington has a great post on creating a DNN WAP Module:
</p>
        <p>
          <a href="http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/">http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/</a>
        </p>
        <p>
Once the module is ready for testing on our client development site, we use <a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> to
“commit” code to Subversion (<a href="http://tortoisesvn.tigris.org/">http://tortoisesvn.tigris.org/</a>).
</p>
        <p>
          <strong>Source Code Version Control:</strong>
        </p>
        <p>
We use <a href="http://subversion.tigris.org/">Subversion</a> for our source code
repository and version control system (<a href="http://subversion.tigris.org/">http://subversion.tigris.org/</a>).
We have tried Visual SourceSafe and CVS, but have been using Subversion with success
for quite some time now. CruiseControl.Net integrates with Subversion easily. It is
also nice that there is a plugin for Subversion that allows us to send our comments
directly to Gemini (project management/tracking application) when we commit new code.
</p>
        <p>
          <strong>Continuous Integration Software:</strong>
        </p>
        <p>
We use <a href="http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET">CruiseControl.Net</a>,
a .Net port of the Java based CruiseControl 
</p>
        <p>
          <strong>
            <em>Continuous Integration Server using CruiseControl.Net</em>
          </strong>
        </p>
        <p>
The CruiseControl.Net Server automates the integration process by monitoring the team's
source control repository directly. Every time a developer commits a new set of modifications
for the DNN module, the server will automatically launch an integration build to validate
the changes. When the build is complete, the server notifies the developer whether
the changes that they committed integrated successfully or not. 
</p>
        <p>
CruiseControl.Net allows for several different types of “Tasks”, such as:
</p>
        <ul>
          <li>
EmailPublisher (for emailing of build details) 
</li>
          <li>
ExecutableTask (for kicking off executables, such as our custom assembly publisher) 
</li>
          <li>
NAntTask (for unit testing) 
</li>
          <li>
NUnitTask (for unit testing) 
</li>
          <li>
RSSBuildsPublisher (for generating a RSS feed with details) 
</li>
          <li>
VisualStudioTask (for running something in VS) 
</li>
          <li>
Etc.</li>
        </ul>
        <p>
          <em>Here is an example ccnet.config:</em>
          <br />
&lt;!--&lt;ccnetconfig&gt;&lt;configurationVersion&gt;1.2.1&lt;/configurationVersion&gt;&lt;/ccnetconfig&gt;--&gt;<br />
&lt;cruisecontrol&gt;<br />
  &lt;project name="BPLWantList"&gt;<br />
    &lt;workingDirectory&gt;D:\cibuilds\ProjectName\ModuleName&lt;/workingDirectory&gt;<br />
    &lt;webURL&gt;http://ourCIdomain.com/server/local/project/ModuleName/ViewProjectReport.aspx&lt;/webURL&gt;<br />
    &lt;sourcecontrol type="svn"&gt;<br />
      &lt;trunkUrl&gt;svn://localhost/ProjectName/ModuleName&lt;/trunkUrl&gt;<br />
    &lt;/sourcecontrol&gt;<br />
    &lt;triggers&gt;<br />
      &lt;intervalTrigger name="Quarter Hour Build" seconds="900"
/&gt;<br />
    &lt;/triggers&gt;<br />
    &lt;tasks&gt;<br />
  &lt;exec&gt;<br />
      &lt;executable&gt;VenexusAssemblyPublisher.exe&lt;/executable&gt;<br />
      &lt;baseDirectory&gt;D:\&lt;/baseDirectory&gt;<br />
      &lt;buildArgs&gt;"d:\Source\ProjectName\DesktopModules\ModuleName\obj\Debug"
"d:\DevSites\ProjectName\bin"&lt;/buildArgs&gt;<br />
  &lt;/exec&gt;<br />
    &lt;/tasks&gt;<br />
    &lt;publishers&gt;<br />
      &lt;buildpublisher&gt;<br />
        &lt;sourceDir&gt;D:\cibuilds\ProjectName\ModuleName&lt;/sourceDir&gt;<br />
        &lt;publishDir&gt;D:\DevSites\ProjectName\DesktopModules\ModuleName&lt;/publishDir&gt;<br />
  &lt;useLabelSubDirectory&gt;false&lt;/useLabelSubDirectory&gt;<br />
      &lt;/buildpublisher&gt;<br />
      &lt;xmllogger /&gt;<br />
      &lt;statistics /&gt;<br />
    &lt;/publishers&gt;<br />
  &lt;/project&gt;<br />
&lt;/cruisecontrol&gt;
</p>
        <p>
          <br />
          <em>
            <strong>CruiseControl.Net Web Dashboard</strong>
          </em>
        </p>
        <p>
The <a href="http://ccnet.sourceforge.net/CCNET/Web%20Dashboard.html">CruiseControl.Net
Web Dashboard Application</a> is used for reporting a wide range of information about
the builds. At one end of the scale it reports summary details of all projects in
your organisation and at the other it can give specific metric output for any specific
build. 
</p>
        <p>
Here is an example of a simple DNN Module being used in our CI environment:
</p>
        <p>
          <img src="http://dnnblog.venexus.com/content/binary/CruiseControlDashboard.JPG" border="0" />
        </p>
        <p>
Notice the failed build notification. While we have not setup unit testing, you can
see in the left menu in the image, there are quite a few different options.
</p>
        <p>
          <font size="3">
            <strong>Conclusion</strong>
          </font>
        </p>
        <p>
For long term DotNetNuke module projects, setting up a continuous integration environment
will save a tremendous amount of time in the long run. All of the tools to implement
CI are free, lowering the total cost of DNN module development. With a little bit
of time setting up your environment, you can provide continuous updates to your clients,
all while forcing good coding practices among your developers. <br />
 
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=592ea7d9-7cc3-406b-8803-ddf06a6bfbaf" />
      </body>
      <title>Continuous Integration Environment for DotNetNuke Module Development</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,592ea7d9-7cc3-406b-8803-ddf06a6bfbaf.aspx</guid>
      <link>http://dnnblog.venexus.com/Continuous+Integration+Environment+For+DotNetNuke+Module+Development.aspx</link>
      <pubDate>Fri, 20 Apr 2007 06:47:50 GMT</pubDate>
      <description>&lt;p&gt;
&lt;strong&gt;&lt;em&gt;Continuous integration&lt;/em&gt;&lt;/strong&gt; is a software development term describing
the process that completely rebuilds and tests applications frequently. We recently
implemented a continuous integration environment to “publish” our DotNetNuke modules
to our development/staging DotNetNuke sites. 
&lt;/p&gt;
&lt;p&gt;
The main advantages of a continuous integration environment are:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Issues are detected and fixed continuously! 
&lt;li&gt;
Enhancements and new features are published continuously! 
&lt;li&gt;
You are warned about problematic code before it is published. 
&lt;li&gt;
Immediate unit testing of all changes. 
&lt;li&gt;
Constant availability of a "current" build for testing, demos, or releases. 
&lt;li&gt;
Bragging rights for developers who have the least number of broken builds. 
&lt;li&gt;
Huge conservation of time when considering the normal administrative process of Build
&amp;gt; Package &amp;gt; install in DNN &amp;gt; Test. 
&lt;li&gt;
Did I mention this is continuous?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;strong&gt;&lt;font size=3&gt;How Our CI and DNN Environment Works&lt;/font&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Below is a picture to show you the basics of how our continuous integration environment
works. 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://dnnblog.venexus.com/content/binary/Continuous-Integration-DotNetNuke1.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&lt;font color=#ff0000&gt;Disclaimer:&lt;/font&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
If you are running Visual Studio 2005 Web Developer Express, our setup will not work
for you. You can stop reading here, or upgrade, unless you are just curious, then
read on… 
&lt;li&gt;
There have been long discussion on Web Site Projects (WSP) versus Web Application
Projects (WAP) and this post is not one to argue about which is better, rather than
to say this is what we do, and the basics of how it works. 
&lt;li&gt;
You are free to comment and collaborate with others on this post. Feel free to even
argue about WAP versus WEP, or that you may know of a way to integrate CI with DNN
and WSP, we really do not care. However, we do not have time to walk you through setting
any of this up, so please do not ask…unless you are interested in one of our &lt;a href="http://www.venexus.com/Services/DotNetNuke/DotNetNukeSupport/tabid/912/Default.aspx"&gt;DNN
support packages&lt;/a&gt;, then by all means we can help ;-)&lt;br&gt;
&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&lt;strong&gt;Basics of the process:&lt;/strong&gt;
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
A developer “commits” the DNN module code to Subversion. 
&lt;li&gt;
The commit triggers CruiseControl.Net to “build” the DNN module using a “Trigger”
for the project. 
&lt;li&gt;
CruiseControl.Net can be configured to unit test the module before publishing. 
&lt;li&gt;
An “ExecutableTask” is used with our custom assembly publisher application to send
the .DLL file to the DNN website. 
&lt;li&gt;
A “BuildPublisher” sends the code from the source directory to the DNN site (D:\DNNSites\ClientDevSite\DesktopModules\CustomDNNModule
as example). 
&lt;li&gt;
Results of “build” are visible in the CruiseControl.Net Web&amp;nbsp;Dashboard.&lt;br&gt;
&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&lt;strong&gt;&lt;font size=3&gt;Implementing CI for DNN Development&lt;/font&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Development:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
We started DotNetnuke 4 development using the WSP methodology for all of our DNN projects.
This has been successful for us for quite a while, especially when using EntitySpaces
for the &lt;a href="http://www.entityspaces.net"&gt;Persistence Layer and Business Objects&lt;/a&gt; (it's
so easy using ES to generate the DAL. You must check this out if you are not using
it). However, we found that to make this work we have to use WAP projects. I have
a very fast laptop, but using WSP and doing a build of all of DNN to compile a module
can be quite time consuming, taking several minutes sometimes. But, building a WAP
project is FAST, saving some development time when debugging and testing builds, especially
when doing those final little tweaks. One could argue that WSP is better, but for
our setup with one to many developers working on a single module, WAP is the best
decision. So, it did not take much to twist our arm to changing our methodology. It
is unfortunate that in order to use this for our existing clients and projects, we
will need to convert our WSP modules to WAP. But, we have started developing all new
modules as WAPs and converting WSP modules to WAP is not a difficult task.
&lt;/p&gt;
&lt;p&gt;
To read about the great WSP versus WAP debate, see the following links:
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;Shaun Walker’s post on WAP&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/434/Default.aspx"&gt;http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/434/Default.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;An interesting debate between Michael Washington and Vladan Strigo&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.dotnetnuke.com/Projects/ModuleNews/Forums/tabid/953/forumid/111/threadid/91268/threadpage/6/scope/posts/Default.aspx"&gt;http://www.dotnetnuke.com/Projects/ModuleNews/Forums/tabid/953/forumid/111/threadid/91268/threadpage/6/scope/posts/Default.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&lt;em&gt;WAP Methodology&lt;/em&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
“Web Application Projects provide a companion web project model that can be used as
an alternative to the built-in Web Site Project in Visual Studio 2005. This new model
is ideal for web site developers who are converting a Visual Studio .Net 2003 web
project to Visual Studio 2005. (Released May 8, 2006)” - &lt;a href="http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx"&gt;http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Michael Washington has a great post on creating a DNN WAP Module:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/"&gt;http://www.adefwebserver.com/DotNetNukeHELP/DNN4_WAP/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Once the module is ready for testing on our client development site, we use &lt;a href="http://tortoisesvn.tigris.org/"&gt;TortoiseSVN&lt;/a&gt; to
“commit” code to Subversion (&lt;a href="http://tortoisesvn.tigris.org/"&gt;http://tortoisesvn.tigris.org/&lt;/a&gt;).
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Source Code Version Control:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
We use &lt;a href="http://subversion.tigris.org/"&gt;Subversion&lt;/a&gt; for our source code
repository and version control system (&lt;a href="http://subversion.tigris.org/"&gt;http://subversion.tigris.org/&lt;/a&gt;).
We have tried Visual SourceSafe and CVS, but have been using Subversion with success
for quite some time now. CruiseControl.Net integrates with Subversion easily. It is
also nice that there is a&amp;nbsp;plugin for Subversion that allows us to send our comments
directly to Gemini (project management/tracking application) when we commit new code.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Continuous Integration Software:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
We use &lt;a href="http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET"&gt;CruiseControl.Net&lt;/a&gt;,
a .Net port of the Java based CruiseControl&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&lt;em&gt;Continuous Integration Server using CruiseControl.Net&lt;/em&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
The CruiseControl.Net Server automates the integration process by monitoring the team's
source control repository directly. Every time a developer commits a new set of modifications
for the DNN module, the server will automatically launch an integration build to validate
the changes. When the build is complete, the server notifies the developer whether
the changes that they committed integrated successfully or not. 
&lt;/p&gt;
&lt;p&gt;
CruiseControl.Net allows for several different types of “Tasks”, such as:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
EmailPublisher (for emailing of build details) 
&lt;li&gt;
ExecutableTask (for kicking off executables, such as our custom assembly publisher) 
&lt;li&gt;
NAntTask (for unit testing) 
&lt;li&gt;
NUnitTask (for unit testing) 
&lt;li&gt;
RSSBuildsPublisher (for generating a RSS feed with details) 
&lt;li&gt;
VisualStudioTask (for running something in VS) 
&lt;li&gt;
Etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;em&gt;Here is an example ccnet.config:&lt;/em&gt;
&lt;br&gt;
&amp;lt;!--&amp;lt;ccnetconfig&amp;gt;&amp;lt;configurationVersion&amp;gt;1.2.1&amp;lt;/configurationVersion&amp;gt;&amp;lt;/ccnetconfig&amp;gt;--&amp;gt;&lt;br&gt;
&amp;lt;cruisecontrol&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;lt;project name="BPLWantList"&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;workingDirectory&amp;gt;D:\cibuilds\ProjectName\ModuleName&amp;lt;/workingDirectory&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;webURL&amp;gt;http://ourCIdomain.com/server/local/project/ModuleName/ViewProjectReport.aspx&amp;lt;/webURL&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sourcecontrol type="svn"&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;trunkUrl&amp;gt;svn://localhost/ProjectName/ModuleName&amp;lt;/trunkUrl&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sourcecontrol&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;triggers&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;intervalTrigger name="Quarter Hour Build" seconds="900"
/&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/triggers&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tasks&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;exec&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;executable&amp;gt;VenexusAssemblyPublisher.exe&amp;lt;/executable&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;baseDirectory&amp;gt;D:\&amp;lt;/baseDirectory&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;buildArgs&amp;gt;"d:\Source\ProjectName\DesktopModules\ModuleName\obj\Debug"
"d:\DevSites\ProjectName\bin"&amp;lt;/buildArgs&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/exec&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tasks&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;publishers&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;buildpublisher&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sourceDir&amp;gt;D:\cibuilds\ProjectName\ModuleName&amp;lt;/sourceDir&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;publishDir&amp;gt;D:\DevSites\ProjectName\DesktopModules\ModuleName&amp;lt;/publishDir&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;useLabelSubDirectory&amp;gt;false&amp;lt;/useLabelSubDirectory&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/buildpublisher&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xmllogger /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;statistics /&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/publishers&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;lt;/project&amp;gt;&lt;br&gt;
&amp;lt;/cruisecontrol&amp;gt;
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
&lt;em&gt;&lt;strong&gt;CruiseControl.Net Web Dashboard&lt;/strong&gt;&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
The &lt;a href="http://ccnet.sourceforge.net/CCNET/Web%20Dashboard.html"&gt;CruiseControl.Net
Web Dashboard Application&lt;/a&gt; is used for reporting a wide range of information about
the builds. At one end of the scale it reports summary details of all projects in
your organisation and at the other it can give specific metric output for any specific
build. 
&lt;/p&gt;
&lt;p&gt;
Here is an example of a simple DNN Module being used in our CI environment:
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://dnnblog.venexus.com/content/binary/CruiseControlDashboard.JPG" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
Notice the failed build notification. While we have not setup unit testing, you can
see in the left menu in the image, there are quite a few different options.
&lt;/p&gt;
&lt;p&gt;
&lt;font size=3&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
For long term DotNetNuke module projects, setting up a continuous integration environment
will save a tremendous amount of time in the long run. All of the tools to implement
CI are free, lowering the total cost of DNN module development. With a little bit
of time setting up your environment, you can provide continuous updates to your clients,
all while forcing good coding practices among your developers.&amp;nbsp;&lt;br&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=592ea7d9-7cc3-406b-8803-ddf06a6bfbaf" /&gt;</description>
      <category>DotNetNuke Errors;DotNetNuke General;DotNetNuke Modules</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=4da6fbc2-bdd4-4f65-bd91-e0eff928289c</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,4da6fbc2-bdd4-4f65-bd91-e0eff928289c.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <font face="Times New Roman" color="#000080" size="3">There is nothing better to start
off the day than having a client running into a 100% CPU utilization issue on their
production SQL Server. Every few minutes, the server would spike up and hang there
for a variable amount of time (15 seconds to several minutes). You can only imagine
the flakiness of a website with SQL Server choking to death. There was nothing of
value to point any fingers as to the culprit of this issue in
the event logs for DNN (Admin &gt; LogViewer)...none that we saw through a brief spot
checking and filtering of event types (this was incredibly slow and seeing timeouts
so we abandoned all hope of using DNN Admin/Host tools to find the problem).  And,
there was not an alarming number of events actually logged in EventLog table. However,
we have seen issues with performance that are usually resolved by clearing the Log
Viewer. We have seen cases where clients who have high traffic/usage sites, or a broken/problematic
module on all pages, have 5 and 6 figure rows of data for EventLog table,
especially if all the default settings are used for the DNN Log Viewer settings. We
have seen timeout issues just trying to clear the event log when they get that large
("Delete EventLog" as the sql statement does the trick quickly from SSMS). So,
we went ahead and cleared it, but the issue persisted.</font>
        </p>
        <p>
          <font face="Times New Roman" color="#000080" size="3">For those who have not explored
much in SQL Server Management Studio (not in SSMS Express), there is now a Database
Engine Tuning  Advisor and SQL Server Profiler (under Tools &gt; SQL Server Profiler).
Running the SSP, we performed a trace and caught the offending SQL causing all of
the havoc. Just a note...we have run DETA to find recommendations from trace files
for several large DNN databases and apply the recommendations (it usually creates
new indexes for tables that have 6 and 7 figure rows, helping greatly with performance
on databases). But in this case, we just started and stopped the trace in SSP
before and after a huge and hanging spike. Going through the rows looking for CPU
hits, we found the following 2 villians of resources:</font>
        </p>
        <font face="Times New Roman" size="2">
          <font size="2">
            <p>
GetSchedule @Server
</p>
          </font>
          <font color="#808080" size="2">=</font>
          <font color="#ff0000" size="2">'SERVERNAME'
</font>
          <font size="2">
            <p>
GetScheduleNextTask @Server
</p>
          </font>
          <font color="#808080" size="2">=</font>
          <font color="#ff0000" size="2">'SERVERNAME'<br /><font face="Times New Roman" color="#000000"><br /><font color="#000080" size="3">Running these statements showed the huge spike on command,
pegging the server hard. Looking in the stored proc it hits Schedule and ScheduleHistory. </font></font></font>
          <font color="#ff0000" size="2">
            <font face="Times New Roman" color="#000000">
              <font color="#0000ff" size="2">
                <p>
ALTER
</p>
              </font>
              <font size="2">
              </font>
              <font color="#0000ff" size="2">PROCEDURE</font>
              <font size="2"> [dbo]</font>
              <font color="#808080" size="2">.</font>
              <font size="2">[GetSchedule]
<p>
@Server 
</p></font>
              <font color="#0000ff" size="2">varchar</font>
              <font color="#808080" size="2">(</font>
              <font size="2">150</font>
              <font color="#808080" size="2">)
</font>
              <font color="#0000ff" size="2">
                <p>
AS
</p>
                <p>
SELECT
</p>
              </font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">ScheduleID</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">TypeFullName</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">TimeLapse</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">TimeLapseMeasurement</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">RetryTimeLapse</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">RetryTimeLapseMeasurement</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">ObjectDependencies</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">AttachToEvent</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">RetainHistoryNum</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">CatchUpEnabled</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">Enabled</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> SH</font>
              <font color="#808080" size="2">.</font>
              <font size="2">NextStart</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">Servers
</font>
              <font color="#0000ff" size="2">
                <p>
FROM
</p>
              </font>
              <font size="2"> Schedule S
</font>
              <font color="#808080" size="2">
                <p>
                  <font color="#ff0000">
                    <strong>LEFT</strong>
                  </font>
                </p>
              </font>
              <font color="#ff0000">
                <strong>
                  <font size="2">
                  </font>
                  <font size="2">JOIN</font>
                  <font size="2"> ScheduleHistory
SH
</font>
                </strong>
              </font>
              <font size="2">
                <p>
                  <font color="#ff0000">
                    <strong>ON</strong>
                  </font>
                </p>
              </font>
              <font color="#ff0000">
                <strong>
                  <font size="2"> S</font>
                  <font size="2">.</font>
                  <font size="2">ScheduleID </font>
                  <font size="2">=</font>
                  <font size="2"> SH</font>
                  <font size="2">.</font>
                  <font size="2">ScheduleID
</font>
                </strong>
              </font>
              <font size="2">
                <p>
                  <font color="#ff0000">
                    <strong>WHERE</strong>
                  </font>
                </p>
              </font>
              <font color="#ff0000">
                <strong>
                  <font size="2">
                  </font>
                  <font size="2">(</font>
                  <font size="2">SH</font>
                  <font size="2">.</font>
                  <font size="2">ScheduleHistoryID </font>
                  <font size="2">=</font>
                  <font size="2">
                  </font>
                  <font size="2">(</font>
                  <font size="2">SELECT</font>
                  <font size="2">
                  </font>
                  <font size="2">TOP</font>
                  <font size="2"> 1
S1</font>
                  <font size="2">.</font>
                  <font size="2">ScheduleHistoryID </font>
                  <font size="2">FROM</font>
                  <font size="2"> ScheduleHistory
S1 </font>
                  <font size="2">WHERE</font>
                  <font size="2"> S1</font>
                  <font size="2">.</font>
                  <font size="2">ScheduleID </font>
                  <font size="2">=</font>
                  <font size="2"> S</font>
                  <font size="2">.</font>
                  <font size="2">ScheduleID </font>
                  <font size="2">ORDER</font>
                  <font size="2">
                  </font>
                  <font size="2">BY</font>
                  <font size="2"> S1</font>
                  <font size="2">.</font>
                  <font size="2">NextStart </font>
                  <font size="2">DESC</font>
                </strong>
              </font>
              <font size="2">
                <font color="#ff0000">
                  <strong>)</strong>
                </font>
                <p>
                  <font color="#ff0000">
                    <strong>OR</strong>
                  </font>
                </p>
              </font>
              <font color="#ff0000">
                <strong>
                  <font size="2"> SH</font>
                  <font size="2">.</font>
                  <font size="2">ScheduleHistoryID </font>
                  <font size="2">IS</font>
                  <font size="2">
                  </font>
                </strong>
              </font>
              <font color="#808080" size="2">
                <font color="#ff0000">
                  <strong>NULL)</strong>
                </font>
                <p>
AND
</p>
              </font>
              <font size="2">
              </font>
              <font color="#808080" size="2">(</font>
              <font size="2">@Server </font>
              <font color="#808080" size="2">IS</font>
              <font size="2">
              </font>
              <font color="#808080" size="2">NULL</font>
              <font size="2">
              </font>
              <font color="#808080" size="2">or</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">Servers </font>
              <font color="#808080" size="2">LIKE</font>
              <font size="2">
              </font>
              <font color="#ff0000" size="2">',%'</font>
              <font size="2">
              </font>
              <font color="#808080" size="2">+</font>
              <font size="2"> @Server </font>
              <font color="#808080" size="2">+</font>
              <font size="2">
              </font>
              <font color="#ff0000" size="2">'%,'</font>
              <font size="2">
              </font>
              <font color="#808080" size="2">or</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">Servers </font>
              <font color="#808080" size="2">IS</font>
              <font size="2">
              </font>
              <font color="#808080" size="2">NULL)
</font>
              <font color="#0000ff" size="2">
                <p>
GROUP
</p>
              </font>
              <font size="2">
              </font>
              <font color="#0000ff" size="2">BY</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">ScheduleID</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">TypeFullName</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">TimeLapse</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">TimeLapseMeasurement</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">RetryTimeLapse</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">RetryTimeLapseMeasurement</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">ObjectDependencies</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">AttachToEvent</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">RetainHistoryNum</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">CatchUpEnabled</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">Enabled</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> SH</font>
              <font color="#808080" size="2">.</font>
              <font size="2">NextStart</font>
              <font color="#808080" size="2">,</font>
              <font size="2"> S</font>
              <font color="#808080" size="2">.</font>
              <font size="2">Servers</font>
            </font>
          </font>
          <p>
            <font face="Times New Roman" color="#000080" size="3">In ScheduleHistory we found
a little over 6 thousand rows. You can use the following to check your db:</font>
          </p>
          <p>
            <font color="#ff0000" size="2">
              <font face="Times New Roman" color="#000000">
                <font color="#0000ff" size="2">select</font>
                <font size="2">
                </font>
                <font color="#ff00ff" size="2">count</font>
                <font color="#808080" size="2">(*)</font>
                <font size="2">
                </font>
                <font color="#0000ff" size="2">from</font>
                <font size="2"> schedulehistory<br /><br /><font color="#000080" size="3">6000+ does not seem like that many rows to be causing
that much of a peak, but regardless we deleted them all getting desperate at this
point:</font></font>
              </font>
            </font>
          </p>
          <font color="#0000ff" size="2">
            <p>
delete
</p>
          </font>
          <font size="2"> schedulehistory</font>
          <br />
          <br />
          <font color="#000080" size="3">Executing the 2 sprocs again for the schedule,
and cpu barely gets over 3% utilization. The site is again fast and responsive and
I was able to get in and check settings without getting timeouts. So, as an interim
fix I lowered the defaults in  DotNetNuke.Services.Scheduling.PurgeScheduleHistory under
Host &gt; Schedule.</font>
          <p>
            <img src="http://dnnblog.venexus.com/content/binary/purge-schedule-history-settings1.JPG" border="0" />
          </p>
        </font>
        <p>
          <font color="#000080">I am concerned about why 6000 rows of data would be taking such
a hit on cpu resources. However, that it more records than I believe should be there,
so lowering the defaults will help. Nothing in the DNN stored procedure for GetSchedule
really stands out at me as being problematic, nor at first glance do I see anything
that could be changed that may help, but I will ponder on this some more in my copious
spare time.</font>
        </p>
        <p>
          <font color="#000080">So, if you are having trouble with SQL Server performance and
DNN, check and make sure you keep your EventLog and ScheduleHistory purged. </font>
        </p>
        <p>
          <font color="#000080">If you need help, be sure to checkout our </font>
          <a href="http://www.venexus.com/Services/DotNetNuke/DotNetNukeSupport/tabid/912/Default.aspx">DNN
Support Packages</a>.
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=4da6fbc2-bdd4-4f65-bd91-e0eff928289c" />
      </body>
      <title>DNN and SQL Server Performance Issue?</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,4da6fbc2-bdd4-4f65-bd91-e0eff928289c.aspx</guid>
      <link>http://dnnblog.venexus.com/DNN+And+SQL+Server+Performance+Issue.aspx</link>
      <pubDate>Thu, 22 Mar 2007 18:12:18 GMT</pubDate>
      <description>&lt;p&gt;
&lt;font face="Times New Roman" color=#000080 size=3&gt;There is nothing better to start
off the day than having a client running into a 100% CPU utilization issue on their
production SQL Server. Every few minutes, the server would spike up and hang there
for a variable amount of time (15 seconds to several minutes). You can only imagine
the flakiness of a website with SQL Server choking to death. There was nothing of
value to point&amp;nbsp;any fingers&amp;nbsp;as to&amp;nbsp;the culprit of this&amp;nbsp;issue&amp;nbsp;in
the event logs for DNN (Admin &amp;gt; LogViewer)...none that we saw through a brief spot
checking and filtering of event types (this was incredibly slow and seeing timeouts
so we abandoned all hope of using DNN Admin/Host tools&amp;nbsp;to find the problem).&amp;nbsp;&amp;nbsp;And,
there was not an alarming number of events actually logged in EventLog table. However,
we have seen issues with performance that are usually resolved by clearing the Log
Viewer. We have seen cases where clients who have high traffic/usage sites, or a broken/problematic
module on all pages, have&amp;nbsp;5&amp;nbsp;and 6 figure rows of data for EventLog table,
especially if all the default settings are used for the DNN Log Viewer settings. We
have seen timeout issues just trying to clear the event log when they get that large
("Delete EventLog" as the sql statement&amp;nbsp;does the trick quickly from SSMS). So,
we went ahead and cleared it, but the issue persisted.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font face="Times New Roman" color=#000080 size=3&gt;For those who have not explored
much in SQL Server Management Studio (not in SSMS Express), there is now a Database
Engine Tuning&amp;nbsp; Advisor and SQL Server Profiler (under Tools &amp;gt; SQL Server Profiler).
Running the SSP, we performed a trace and caught the offending SQL causing all of
the havoc. Just a note...we have run DETA to find recommendations from trace files
for several large DNN databases and apply the recommendations (it usually creates
new indexes for tables that have 6 and 7 figure rows, helping greatly with performance
on databases). But&amp;nbsp;in this case, we just started and stopped the trace in SSP
before and after a huge and hanging spike. Going through the rows looking for CPU
hits, we found the following 2 villians of resources:&lt;/font&gt;
&lt;/p&gt;
&lt;font face="Times New Roman" size=2&gt;&lt;font size=2&gt; 
&lt;p&gt;
GetSchedule @Server
&lt;/font&gt;&lt;font color=#808080 size=2&gt;=&lt;/font&gt;&lt;font color=#ff0000 size=2&gt;'SERVERNAME'&gt;
&lt;/font&gt;&lt;font size=2&gt; 
&lt;p&gt;
GetScheduleNextTask @Server
&lt;/font&gt;&lt;font color=#808080 size=2&gt;=&lt;/font&gt;&lt;font color=#ff0000 size=2&gt;'SERVERNAME'&lt;br&gt;
&lt;font face="Times New Roman" color=#000000&gt;
&lt;br&gt;
&lt;font color=#000080 size=3&gt;Running these statements showed the huge spike on command,
pegging the server hard.&amp;nbsp;Looking in the stored proc it hits Schedule and ScheduleHistory. &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&gt;
&lt;font color=#ff0000 size=2&gt;&lt;font face="Times New Roman" color=#000000&gt;&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
ALTER
&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;PROCEDURE&lt;/font&gt;&lt;font size=2&gt; [dbo]&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;[GetSchedule]&gt;
&lt;p&gt;
@Server 
&lt;/font&gt;&lt;font color=#0000ff size=2&gt;varchar&lt;/font&gt;&lt;font color=#808080 size=2&gt;(&lt;/font&gt;&lt;font size=2&gt;150&lt;/font&gt;&lt;font color=#808080 size=2&gt;)&gt;
&lt;/font&gt;&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
AS
&lt;/p&gt;
&lt;p&gt;
SELECT
&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;ScheduleID&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;TypeFullName&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;TimeLapse&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;TimeLapseMeasurement&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;RetryTimeLapse&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;RetryTimeLapseMeasurement&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;ObjectDependencies&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;AttachToEvent&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;RetainHistoryNum&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;CatchUpEnabled&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;Enabled&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; SH&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;NextStart&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;Servers&gt;
&lt;/font&gt;&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
FROM
&lt;/font&gt;&lt;font size=2&gt; Schedule S&gt;
&lt;/font&gt;&lt;font color=#808080 size=2&gt; 
&lt;p&gt;
&lt;font color=#ff0000&gt;&lt;strong&gt;LEFT&lt;/strong&gt;&lt;/font&gt;
&lt;/font&gt;&lt;font color=#ff0000&gt;&lt;strong&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font size=2&gt;JOIN&lt;/font&gt;&lt;font size=2&gt; ScheduleHistory
SH&gt;
&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt; 
&lt;p&gt;
&lt;font color=#ff0000&gt;&lt;strong&gt;ON&lt;/strong&gt;&lt;/font&gt;
&lt;/font&gt;&lt;font color=#ff0000&gt;&lt;strong&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;ScheduleID &lt;/font&gt;&lt;font size=2&gt;=&lt;/font&gt;&lt;font size=2&gt; SH&lt;/font&gt;&lt;font size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;ScheduleID&gt;
&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt; 
&lt;p&gt;
&lt;font color=#ff0000&gt;&lt;strong&gt;WHERE&lt;/strong&gt;&lt;/font&gt;
&lt;/font&gt;&lt;font color=#ff0000&gt;&lt;strong&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font size=2&gt;(&lt;/font&gt;&lt;font size=2&gt;SH&lt;/font&gt;&lt;font size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;ScheduleHistoryID &lt;/font&gt;&lt;font size=2&gt;=&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font size=2&gt;(&lt;/font&gt;&lt;font size=2&gt;SELECT&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font size=2&gt;TOP&lt;/font&gt;&lt;font size=2&gt; 1
S1&lt;/font&gt;&lt;font size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;ScheduleHistoryID &lt;/font&gt;&lt;font size=2&gt;FROM&lt;/font&gt;&lt;font size=2&gt; ScheduleHistory
S1 &lt;/font&gt;&lt;font size=2&gt;WHERE&lt;/font&gt;&lt;font size=2&gt; S1&lt;/font&gt;&lt;font size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;ScheduleID &lt;/font&gt;&lt;font size=2&gt;=&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;ScheduleID &lt;/font&gt;&lt;font size=2&gt;ORDER&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font size=2&gt;BY&lt;/font&gt;&lt;font size=2&gt; S1&lt;/font&gt;&lt;font size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;NextStart &lt;/font&gt;&lt;font size=2&gt;DESC&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;font color=#ff0000&gt;&lt;strong&gt;)&lt;/strong&gt;&lt;/font&gt;&gt;
&lt;p&gt;
&lt;font color=#ff0000&gt;&lt;strong&gt;OR&lt;/strong&gt;&lt;/font&gt;
&lt;/font&gt;&lt;font color=#ff0000&gt;&lt;strong&gt;&lt;font size=2&gt; SH&lt;/font&gt;&lt;font size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;ScheduleHistoryID &lt;/font&gt;&lt;font size=2&gt;IS&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font color=#808080 size=2&gt;&lt;font color=#ff0000&gt;&lt;strong&gt;NULL)&lt;/strong&gt;&lt;/font&gt;&gt;
&lt;p&gt;
AND
&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#808080 size=2&gt;(&lt;/font&gt;&lt;font size=2&gt;@Server &lt;/font&gt;&lt;font color=#808080 size=2&gt;IS&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#808080 size=2&gt;NULL&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#808080 size=2&gt;or&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;Servers &lt;/font&gt;&lt;font color=#808080 size=2&gt;LIKE&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#ff0000 size=2&gt;',%'&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#808080 size=2&gt;+&lt;/font&gt;&lt;font size=2&gt; @Server &lt;/font&gt;&lt;font color=#808080 size=2&gt;+&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#ff0000 size=2&gt;'%,'&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#808080 size=2&gt;or&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;Servers &lt;/font&gt;&lt;font color=#808080 size=2&gt;IS&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#808080 size=2&gt;NULL)&gt;
&lt;/font&gt;&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
GROUP
&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;BY&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;ScheduleID&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;TypeFullName&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;TimeLapse&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;TimeLapseMeasurement&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;RetryTimeLapse&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;RetryTimeLapseMeasurement&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;ObjectDependencies&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;AttachToEvent&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;RetainHistoryNum&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;CatchUpEnabled&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;Enabled&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; SH&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;NextStart&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font size=2&gt; S&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;Servers&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&gt;
&lt;p&gt;
&lt;font face="Times New Roman" color=#000080 size=3&gt;In&amp;nbsp;ScheduleHistory we&amp;nbsp;found
a little over 6 thousand rows. You can use the following to check your db:&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#ff0000 size=2&gt;&lt;font face="Times New Roman" color=#000000&gt;&lt;font color=#0000ff size=2&gt;select&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#ff00ff size=2&gt;count&lt;/font&gt;&lt;font color=#808080 size=2&gt;(*)&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;from&lt;/font&gt;&lt;font size=2&gt; schedulehistory&lt;br&gt;
&lt;br&gt;
&lt;font color=#000080 size=3&gt;6000+ does not seem like that many rows to be causing that
much of a peak, but regardless we deleted them all getting desperate at this point:&lt;/font&gt;
&lt;/p&gt;
&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
delete
&lt;/font&gt;&lt;font size=2&gt; schedulehistory&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;font color=#000080 size=3&gt;Executing the&amp;nbsp;2 sprocs again for the schedule, and
cpu barely gets over 3% utilization. The site is again fast and responsive and I was
able to get in and check settings without getting timeouts. So,&amp;nbsp;as an interim
fix I lowered the defaults in &amp;nbsp;DotNetNuke.Services.Scheduling.PurgeScheduleHistory&amp;nbsp;under
Host &amp;gt; Schedule.&lt;/font&gt;&gt;
&lt;p&gt;
&lt;img src="http://dnnblog.venexus.com/content/binary/purge-schedule-history-settings1.JPG" border=0&gt;
&lt;/font&gt;&gt;&gt;&gt;&gt;
&lt;p&gt;
&lt;font color=#000080&gt;I am concerned about why 6000 rows of data would be taking such
a hit on cpu resources. However, that it more records than I believe should be there,
so lowering the defaults will help. Nothing in the DNN stored procedure for GetSchedule
really stands out at me as being problematic, nor at first glance do I see anything
that could be changed that may help, but I will ponder on this some more in my copious
spare time.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#000080&gt;So, if you are having trouble with SQL Server performance&amp;nbsp;and
DNN, check and make sure you keep your EventLog and ScheduleHistory purged. &lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#000080&gt;If you need help, be sure to checkout our &lt;/font&gt;&lt;a href="http://www.venexus.com/Services/DotNetNuke/DotNetNukeSupport/tabid/912/Default.aspx"&gt;DNN
Support Packages&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=4da6fbc2-bdd4-4f65-bd91-e0eff928289c" /&gt;</description>
      <category>DotNetNuke Errors;DotNetNuke General;MS SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=c5fcb04c-b6c0-4069-ae26-d3aacde22711</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,c5fcb04c-b6c0-4069-ae26-d3aacde22711.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <span>We had a backup domain controller
running on our dev machine. After moving it to a different server, we got the following
error on our development DNN websites:<br /></span>
        <span>
          <h1>Server Error in '/' Application.<hr color="silver" size="1" width="100%" /></h1>
          <h2>
            <i>The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access
to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.</i>
          </h2>
        </span>
        <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
          <b> Description: </b>An
unhandled exception occurred during the execution of the current web request. Please
review the stack trace for more information about the error and where it originated
in the code. 
<br /><br /><b> Exception Details: </b>System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK
SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files'.<br /><br /><b>Source Error:</b><br /><br /><table bgcolor="#ffffcc" width="100%"><tbody><tr><td><code> An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can be identified
using the exception stack trace below.</code></td></tr></tbody></table><br /><b>Stack Trace:</b><br /><br /><table bgcolor="#ffffcc" width="100%"><tbody><tr><td><code></code><pre>[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]<br />
System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection)
+3482363<br />
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +226<br /><br />
[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does
not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files'.]<br />
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3434991<br />
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88<br />
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +252<br /></pre></td></tr></tbody></table></font>
        <br />
I checked all the security permissions and ensured network service had full permission
for the folder. I even reset permissions to make sure. No dice. I found the following
trick to fix it quickly...despite my time looking for it. 
<br /><br />
In a command prompt, navigate to the following:<br />
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727<br /><br />
Then run the following command:<br />
aspnet_regiis -ga "NT AUTHORITY\NETWORK SERVICE"<br /><br />
Everything worked fine after running that. Since I am bound to forget this, I am posting
it here for me and others, hopefully saving me or someone time.<img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=c5fcb04c-b6c0-4069-ae26-d3aacde22711" /></body>
      <title>NT AUTHORITY-NETWORK SERVICE does not have write access</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,c5fcb04c-b6c0-4069-ae26-d3aacde22711.aspx</guid>
      <link>http://dnnblog.venexus.com/NT+AUTHORITYNETWORK+SERVICE+Does+Not+Have+Write+Access.aspx</link>
      <pubDate>Mon, 06 Nov 2006 06:18:19 GMT</pubDate>
      <description>&lt;span&gt;We had a backup domain controller running on our dev machine. After moving it
to a different server, we got the following error on our development DNN websites:&lt;br&gt;
&lt;/span&gt;&lt;span&gt;
&lt;h1&gt;Server Error in '/' Application.&lt;hr color="silver" size="1" width="100%"&gt;
&lt;/h1&gt;
&lt;h2&gt;
&lt;i&gt;The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access
to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.&lt;/i&gt; 
&lt;/h2&gt;
&lt;/span&gt; &lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt; &lt;b&gt; Description: &lt;/b&gt;An
unhandled exception occurred during the execution of the current web request. Please
review the stack trace for more information about the error and where it originated
in the code. 
&lt;br&gt;
&lt;br&gt;
&lt;b&gt; Exception Details: &lt;/b&gt;System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK
SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files'.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Source Error:&lt;/b&gt; 
&lt;br&gt;
&lt;br&gt;
&lt;table bgcolor="#ffffcc" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt; An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can be identified
using the exception stack trace below.&lt;/code&gt; 
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;
&lt;b&gt;Stack Trace:&lt;/b&gt; 
&lt;br&gt;
&lt;br&gt;
&lt;table bgcolor="#ffffcc" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;&lt;/code&gt;&lt;pre&gt;[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]&lt;br&gt;
System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection)
+3482363&lt;br&gt;
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +226&lt;br&gt;
&lt;br&gt;
[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does
not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET Files'.]&lt;br&gt;
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3434991&lt;br&gt;
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88&lt;br&gt;
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +252&lt;br&gt;
&lt;/pre&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/font&gt;
&lt;br&gt;
I checked all the security permissions and ensured network service had full permission
for the folder. I even reset permissions to make sure. No dice. I found the following
trick to fix it quickly...despite my time looking for it. 
&lt;br&gt;
&lt;br&gt;
In a command prompt, navigate to the following:&lt;br&gt;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727&lt;br&gt;
&lt;br&gt;
Then run the following command:&lt;br&gt;
aspnet_regiis -ga "NT AUTHORITY\NETWORK SERVICE"&lt;br&gt;
&lt;br&gt;
Everything worked fine after running that. Since I am bound to forget this, I am posting
it here for me and others, hopefully saving me or someone time.&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=c5fcb04c-b6c0-4069-ae26-d3aacde22711" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=bc709c63-8022-480e-81c0-f73f7fd8fed1</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,bc709c63-8022-480e-81c0-f73f7fd8fed1.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Wow, we can't even keep up with all of the new releases of DotNetNuke lately... <a href="http://dotnetnuke.com/About/Downloads/tabid/125/Default.aspx">Download
DNN 4.3.4</a></p>
        <p>
Digging a little deeper I see the reason for this quick build is due to a couple of
security issues, one being a "Critical Issue".
</p>
        <p>
          <table id="dnn_ctr3276_Links__ctl0_lstLinks" style="BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" summary="Links Design Table" border="0">
            <tbody>
              <tr>
                <td valign="top">
                  <table cellspacing="0" cellpadding="4" border="0">
                    <tbody>
                      <tr>
                        <td nowrap="nowrap">
                          <a class="Normal" title="File filter problem with editor" href="http://dotnetnuke.com/LinkClick.aspx?link=973&amp;tabid=940&amp;mid=3276" target="_self">DNN
2006-1-M (02 August 06)</a>   
</td>
                      </tr>
                      <tr>
                        <td>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
              <tr>
                <td valign="top">
                  <table cellspacing="0" cellpadding="4" border="0">
                    <tbody>
                      <tr>
                        <td nowrap="nowrap">
                          <a class="Normal" title="authentication issue could allow access to user profiles" href="http://dotnetnuke.com/LinkClick.aspx?link=976&amp;tabid=940&amp;mid=3276" target="_self">DNN
2006-2-C (02 August 06) </a> </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </p>
        <p>
I also found a page on DotNetNuke that I have not seen before:
</p>
        <p>
          <a href="http://dotnetnuke.com/SecurityPolicy/tabid/940/Default.aspx">http://dotnetnuke.com/SecurityPolicy/tabid/940/Default.aspx</a>
        </p>
        <p>
At the bottom are a couple of documents:
</p>
        <p>
          <table style="BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="100%" border="0">
            <tbody>
              <tr>
                <td valign="top" align="left">
                  <table cellspacing="0" cellpadding="0" width="100%">
                    <tbody>
                      <tr>
                        <td valign="center" align="left" height="25">
                          <span class="Head" id="dnn_ctr3268_dnnTITLE_lblTitle">Security Documentation</span>
                        </td>
                        <td valign="center" align="right" width="10" height="25">
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  <img height="5" src="http://dotnetnuke.com/Portals/_default/Containers/DNN-Minimal/images/pixel.gif" width="180" />
                </td>
              </tr>
              <tr>
                <td style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px" valign="top" align="left">
                  <span id="dnn_ctr3268_ContentPane" align="left">
                    <!-- Start_Module_3268 -->
                    <div id="dnn_ctr3268_ModuleContent">
                      <div class="DNN_Documents">
                        <table class="Normal" id="dnn_ctr3268_Document_grdDocuments" style="BORDER-COLLAPSE: collapse" cellspacing="0" summary="This table shows various documents that can be downloaded." border="0">
                          <tbody>
                            <tr class="SubHead">
                              <td>
 </td>
                              <td class="TitleHeader" scope="col">
Title</td>
                              <td class="OwnerHeader" scope="col">
Owner</td>
                              <td class="CategoryHeader" scope="col">
Category</td>
                              <td class="ModifiedDateHeader" scope="col">
Modified Date</td>
                              <td class="SizeHeader" scope="col">
Size (Kb)</td>
                              <td class="DownloadLinkHeader" scope="col">
 </td>
                            </tr>
                            <tr>
                              <td>
                              </td>
                              <td class="TitleCell">
                                <a id="dnn_ctr3268_Document_grdDocuments__ctl2_ctlTitle" href="http://dotnetnuke.com/LinkClick.aspx?fileticket=9jeLd9bVtzg%3d&amp;tabid=940&amp;mid=3268">Secure
Module Development</a>
                              </td>
                              <td class="OwnerCell">
Shaun Walker</td>
                              <td class="CategoryCell">
 </td>
                              <td class="ModifiedDateCell">
7/21/2006</td>
                              <td class="SizeCell">
274.41</td>
                              <td class="DownloadLinkCell">
                                <a id="dnn_ctr3268_Document_grdDocuments__ctl2_ctlDownloadLink" href="http://dotnetnuke.com/LinkClick.aspx?fileticket=9jeLd9bVtzg%3d&amp;tabid=940&amp;mid=3268">Download</a>
                              </td>
                            </tr>
                            <tr>
                              <td>
                              </td>
                              <td class="TitleCell">
                                <a id="dnn_ctr3268_Document_grdDocuments__ctl3_ctlTitle" href="http://dotnetnuke.com/LinkClick.aspx?fileticket=qkVjRRDHNwU%3d&amp;tabid=940&amp;mid=3268">Hardening
DotNetNuke Installations</a>
                              </td>
                              <td class="OwnerCell">
Shaun Walker</td>
                              <td class="CategoryCell">
 </td>
                              <td class="ModifiedDateCell">
7/21/2006</td>
                              <td class="SizeCell">
274.46</td>
                              <td class="DownloadLinkCell">
                                <a id="dnn_ctr3268_Document_grdDocuments__ctl3_ctlDownloadLink" href="http://dotnetnuke.com/LinkClick.aspx?fileticket=qkVjRRDHNwU%3d&amp;tabid=940&amp;mid=3268">Download</a>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </div>
                  </span>
                </td>
              </tr>
            </tbody>
          </table>
        </p>
        <p>
Can't we go back to complaining about when the next release will be? Just kidding.
It is good to see that the core team is proactive about keeping DNN patched and up-to-date.
As a community, we need to do the same and update our systems as quickly as possible
to keep DNN from getting a bad name.
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=bc709c63-8022-480e-81c0-f73f7fd8fed1" />
      </body>
      <title>DNN 4.3.4 Released - Fixes Critical Security Issue</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,bc709c63-8022-480e-81c0-f73f7fd8fed1.aspx</guid>
      <link>http://dnnblog.venexus.com/DNN+434+Released+Fixes+Critical+Security+Issue.aspx</link>
      <pubDate>Fri, 04 Aug 2006 03:57:24 GMT</pubDate>
      <description>&lt;p&gt;
Wow, we can't even keep up with all of the new releases of DotNetNuke lately... &lt;a href="http://dotnetnuke.com/About/Downloads/tabid/125/Default.aspx"&gt;Download
DNN 4.3.4&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Digging a little deeper I see the reason for this quick build is due to a couple of
security issues, one being a "Critical Issue".
&lt;/p&gt;
&lt;p&gt;
&lt;table id=dnn_ctr3276_Links__ctl0_lstLinks style="BORDER-COLLAPSE: collapse" cellspacing=0 cellpadding=0 summary="Links Design Table" border=0&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=top&gt;
&lt;table cellspacing=0 cellpadding=4 border=0&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td nowrap&gt;
&lt;a class=Normal title="File filter problem with editor" href="http://dotnetnuke.com/LinkClick.aspx?link=973&amp;amp;tabid=940&amp;amp;mid=3276" target=_self&gt;DNN
2006-1-M (02 August 06)&lt;/a&gt; &amp;nbsp; 
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign=top&gt;
&lt;table cellspacing=0 cellpadding=4 border=0&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td nowrap&gt;
&lt;a class=Normal title="authentication issue could allow access to user profiles" href="http://dotnetnuke.com/LinkClick.aspx?link=976&amp;amp;tabid=940&amp;amp;mid=3276" target=_self&gt;DNN
2006-2-C (02 August 06) &lt;/a&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/p&gt;
&lt;p&gt;
I also found a page on DotNetNuke that I have not seen before:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://dotnetnuke.com/SecurityPolicy/tabid/940/Default.aspx"&gt;http://dotnetnuke.com/SecurityPolicy/tabid/940/Default.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
At the bottom are a couple of documents:
&lt;/p&gt;
&lt;p&gt;
&lt;table style="BORDER-COLLAPSE: collapse" cellspacing=0 cellpadding=0 width="100%" border=0&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=top align=left&gt;
&lt;table cellspacing=0 cellpadding=0 width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=center align=left height=25&gt;
&lt;span class=Head id=dnn_ctr3268_dnnTITLE_lblTitle&gt;Security Documentation&lt;/span&gt; 
&lt;/td&gt;
&lt;td valign=center align=right width=10 height=25&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;img height=5 src="http://dotnetnuke.com/Portals/_default/Containers/DNN-Minimal/images/pixel.gif" width=180&gt; 
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px" valign=top align=left&gt;
&lt;span id=dnn_ctr3268_ContentPane align="left"&gt;
&lt;!-- Start_Module_3268 --&gt;
&lt;div id=dnn_ctr3268_ModuleContent&gt;
&lt;div class=DNN_Documents&gt;
&lt;table class=Normal id=dnn_ctr3268_Document_grdDocuments style="BORDER-COLLAPSE: collapse" cellspacing=0 summary="This table shows various documents that can be downloaded." border=0&gt;
&lt;tbody&gt;
&lt;tr class=SubHead&gt;
&lt;td&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td class=TitleHeader scope=col&gt;
Title&lt;/td&gt;
&lt;td class=OwnerHeader scope=col&gt;
Owner&lt;/td&gt;
&lt;td class=CategoryHeader scope=col&gt;
Category&lt;/td&gt;
&lt;td class=ModifiedDateHeader scope=col&gt;
Modified Date&lt;/td&gt;
&lt;td class=SizeHeader scope=col&gt;
Size (Kb)&lt;/td&gt;
&lt;td class=DownloadLinkHeader scope=col&gt;
&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;td class=TitleCell&gt;
&lt;a id=dnn_ctr3268_Document_grdDocuments__ctl2_ctlTitle href="http://dotnetnuke.com/LinkClick.aspx?fileticket=9jeLd9bVtzg%3d&amp;amp;tabid=940&amp;amp;mid=3268"&gt;Secure
Module Development&lt;/a&gt;&lt;/td&gt;
&lt;td class=OwnerCell&gt;
Shaun Walker&lt;/td&gt;
&lt;td class=CategoryCell&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td class=ModifiedDateCell&gt;
7/21/2006&lt;/td&gt;
&lt;td class=SizeCell&gt;
274.41&lt;/td&gt;
&lt;td class=DownloadLinkCell&gt;
&lt;a id=dnn_ctr3268_Document_grdDocuments__ctl2_ctlDownloadLink href="http://dotnetnuke.com/LinkClick.aspx?fileticket=9jeLd9bVtzg%3d&amp;amp;tabid=940&amp;amp;mid=3268"&gt;Download&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;/td&gt;
&lt;td class=TitleCell&gt;
&lt;a id=dnn_ctr3268_Document_grdDocuments__ctl3_ctlTitle href="http://dotnetnuke.com/LinkClick.aspx?fileticket=qkVjRRDHNwU%3d&amp;amp;tabid=940&amp;amp;mid=3268"&gt;Hardening
DotNetNuke Installations&lt;/a&gt;&lt;/td&gt;
&lt;td class=OwnerCell&gt;
Shaun Walker&lt;/td&gt;
&lt;td class=CategoryCell&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td class=ModifiedDateCell&gt;
7/21/2006&lt;/td&gt;
&lt;td class=SizeCell&gt;
274.46&lt;/td&gt;
&lt;td class=DownloadLinkCell&gt;
&lt;a id=dnn_ctr3268_Document_grdDocuments__ctl3_ctlDownloadLink href="http://dotnetnuke.com/LinkClick.aspx?fileticket=qkVjRRDHNwU%3d&amp;amp;tabid=940&amp;amp;mid=3268"&gt;Download&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/p&gt;
&lt;p&gt;
Can't we go back to complaining about when the next release will be? Just kidding.
It is good to see that the core team is proactive about keeping DNN patched and up-to-date.
As a community, we need to do the same and update our systems as quickly as possible
to keep DNN from getting a bad name.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=bc709c63-8022-480e-81c0-f73f7fd8fed1" /&gt;</description>
      <category>DotNetNuke Errors;DotNetNuke General</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=a70e3ecf-f6f7-4fb3-9e2d-6c6afe57c2cd</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,a70e3ecf-f6f7-4fb3-9e2d-6c6afe57c2cd.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <span class="Normal" id="dnn_ctr363_LogViewer_dlLog__ctl1_lblException">We are still
experiencing the caching issue on Installation C I mentioned in a <a href="http://dnnblog.venexus.com/DNN+43+Caching+Issues.aspx">previous
post</a>. This is the first item we tested with the new release and it is still
broken :-(</span>
        </p>
        <p>
          <span class="Normal">
            <b>AssemblyVersion</b>: 04.03.01<br /><b>Method</b>: System.Web.UI.Control.LoadViewStateRecursive<br /><b>FileName</b>: 
<br /><b>FileLineNumber</b>: 0<br /><b>FileColumnNumber</b>: 0<br /><b>PortalID</b>: 0<br /><b>PortalName</b>: Client Portal A<br /><b>UserID</b>: 1<br /><b>UserName</b>: host<br /><b>ActiveTabID</b>: 87<br /><b>ActiveTabName</b>: For Testing<br /><b>AbsoluteURL</b>: /Default.aspx<br /><b>AbsoluteURLReferrer</b>: 
<br /><b>ExceptionGUID</b>: c774691d-427e-41e1-abc0-714f3a1b7a4f<br /><b>DefaultDataProvider</b>: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider<br /><b>InnerException</b>: Failed to load viewstate. The control tree into which viewstate
is being loaded must match the control tree that was used to save viewstate during
the previous request. For example, when adding controls dynamically, the controls
added during a post-back must match the type and position of the controls added during
the initial request.<br /><b>Message</b>: DotNetNuke.Services.Exceptions.PageLoadException: Failed to load viewstate.
The control tree into which viewstate is being loaded must match the control tree
that was used to save viewstate during the previous request. For example, when adding
controls dynamically, the controls added during a post-back must match the type and
position of the controls added during the initial request. ---&gt; System.Web.HttpException:
Failed to load viewstate. The control tree into which viewstate is being loaded must
match the control tree that was used to save viewstate during the previous request.
For example, when adding controls dynamically, the controls added during a post-back
must match the type and position of the controls added during the initial request.
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Page.LoadAllState()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---<br /><b>StackTrace</b>: 
<br /><b>Source</b>: 
<br /><b>Server Name</b>: BARNEY<br /></span>
        </p>
        <p>
          <span class="Normal">So far, this issue only appears on a DNN installation that
uses a subdomain. Maybe this is related to using a subdomain somehow?  I
made sure I had logged out of the main domain site, and the subdomain site, cleared
browser cache and cookies, logged in again, and experieced the same issue.</span>
        </p>
        <p>
          <span class="Normal">
            <strong>UPDATE:</strong>
          </span>
        </p>
        <p>
          <span class="Normal">This issue does NOT occur if caching is turned off.</span>
        </p>
        <p>
          <span class="Normal">
            <strong>Update 6/28/2006:</strong>
          </span>
        </p>
        <p>
          <span class="Normal">Issue logged in <a href="http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=3348">DNN
Butracker ID#: 3348</a></span>
        </p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=a70e3ecf-f6f7-4fb3-9e2d-6c6afe57c2cd" />
      </body>
      <title>LoadViewStateRecursive Issues in DNN 4.3.1</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,a70e3ecf-f6f7-4fb3-9e2d-6c6afe57c2cd.aspx</guid>
      <link>http://dnnblog.venexus.com/LoadViewStateRecursive+Issues+In+DNN+431.aspx</link>
      <pubDate>Wed, 21 Jun 2006 14:17:02 GMT</pubDate>
      <description>&lt;p&gt;
&lt;span class=Normal id=dnn_ctr363_LogViewer_dlLog__ctl1_lblException&gt;We are still experiencing
the caching issue on Installation C I mentioned in a &lt;a href="http://dnnblog.venexus.com/DNN+43+Caching+Issues.aspx"&gt;previous
post&lt;/a&gt;. This is the first item&amp;nbsp;we tested with the new release and it is still
broken :-(&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;b&gt;AssemblyVersion&lt;/b&gt;: 04.03.01&lt;br&gt;
&lt;b&gt;Method&lt;/b&gt;: System.Web.UI.Control.LoadViewStateRecursive&lt;br&gt;
&lt;b&gt;FileName&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;FileLineNumber&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;FileColumnNumber&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;PortalID&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;PortalName&lt;/b&gt;: Client Portal A&lt;br&gt;
&lt;b&gt;UserID&lt;/b&gt;: 1&lt;br&gt;
&lt;b&gt;UserName&lt;/b&gt;: host&lt;br&gt;
&lt;b&gt;ActiveTabID&lt;/b&gt;: 87&lt;br&gt;
&lt;b&gt;ActiveTabName&lt;/b&gt;: For Testing&lt;br&gt;
&lt;b&gt;AbsoluteURL&lt;/b&gt;: /Default.aspx&lt;br&gt;
&lt;b&gt;AbsoluteURLReferrer&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;ExceptionGUID&lt;/b&gt;: c774691d-427e-41e1-abc0-714f3a1b7a4f&lt;br&gt;
&lt;b&gt;DefaultDataProvider&lt;/b&gt;: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider&lt;br&gt;
&lt;b&gt;InnerException&lt;/b&gt;: Failed to load viewstate. The control tree into which viewstate
is being loaded must match the control tree that was used to save viewstate during
the previous request. For example, when adding controls dynamically, the controls
added during a post-back must match the type and position of the controls added during
the initial request.&lt;br&gt;
&lt;b&gt;Message&lt;/b&gt;: DotNetNuke.Services.Exceptions.PageLoadException: Failed to load viewstate.
The control tree into which viewstate is being loaded must match the control tree
that was used to save viewstate during the previous request. For example, when adding
controls dynamically, the controls added during a post-back must match the type and
position of the controls added during the initial request. ---&amp;gt; System.Web.HttpException:
Failed to load viewstate. The control tree into which viewstate is being loaded must
match the control tree that was used to save viewstate during the previous request.
For example, when adding controls dynamically, the controls added during a post-back
must match the type and position of the controls added during the initial request.
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Page.LoadAllState()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---&lt;br&gt;
&lt;b&gt;StackTrace&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;Source&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;Server Name&lt;/b&gt;: BARNEY&lt;br&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;So far, this issue only appears on&amp;nbsp;a DNN installation that
uses a subdomain.&amp;nbsp;Maybe this is related to using a subdomain somehow?&amp;nbsp; I
made sure I had logged out of the main domain site, and the subdomain site, cleared
browser cache and cookies, logged in again, and experieced the same issue.&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;This issue does NOT occur if caching is turned off.&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;strong&gt;Update 6/28/2006:&lt;/strong&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;Issue logged in &lt;a href="http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=3348"&gt;DNN
Butracker ID#: 3348&lt;/a&gt;
&lt;/p&gt;
&gt;&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=a70e3ecf-f6f7-4fb3-9e2d-6c6afe57c2cd" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=26e2f4f9-6091-4fea-a31c-eaa8096e1924</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,26e2f4f9-6091-4fea-a31c-eaa8096e1924.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Just when we were about to abandon ship on the 4.3 release and roll back to 4.0.3,
a new "point release" is issued...
</p>
        <p>
"<span class="Normal"><em>A "point" release has been posted for DotNetNuke 3.3/4.3
today. This point release contains fixes for a number of issues which were
identified in the original Release Candidate packages.</em>" - <a href="http://www.dotnetnuke.com/Default.aspx?tabid=125">Download
from DNN</a></span></p>
        <p>
          <span class="Normal">With <a href="http://dnnblog.venexus.com/DNN+43+Caching+Issues.aspx">weird
caching issues</a> and missing UserController methods,...which I will rant about
later...we were prepared to roll back our development stack to the 4.0.3 release.
Instead we will be testing the new version with our fingers crossed that it fixes
many of the issues we have found. Check back later for the results!</span>
        </p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=26e2f4f9-6091-4fea-a31c-eaa8096e1924" />
      </body>
      <title>DNN 4.3.1 Release - Will it address the issues?</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,26e2f4f9-6091-4fea-a31c-eaa8096e1924.aspx</guid>
      <link>http://dnnblog.venexus.com/DNN+431+Release+Will+It+Address+The+Issues.aspx</link>
      <pubDate>Wed, 21 Jun 2006 13:45:26 GMT</pubDate>
      <description>&lt;p&gt;
Just when we were about to abandon ship on the 4.3 release and roll back to 4.0.3,
a new "point release" is issued...
&lt;/p&gt;
&lt;p&gt;
"&lt;span class=Normal&gt;&lt;em&gt;A "point" release has been posted for DotNetNuke 3.3/4.3 today.
This point release contains fixes for a&amp;nbsp;number of&amp;nbsp;issues which were identified
in the original Release Candidate packages.&lt;/em&gt;" - &lt;a href="http://www.dotnetnuke.com/Default.aspx?tabid=125"&gt;Download
from DNN&lt;/a&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;With &lt;a href="http://dnnblog.venexus.com/DNN+43+Caching+Issues.aspx"&gt;weird
caching issues&lt;/a&gt;&amp;nbsp;and missing UserController methods,...which I will rant about
later...we were prepared to roll back our development stack to the 4.0.3 release.
Instead we will be testing the new version with our fingers crossed that it fixes
many of the issues we have found. Check back later for the results!&lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=26e2f4f9-6091-4fea-a31c-eaa8096e1924" /&gt;</description>
      <category>DotNetNuke Errors;DotNetNuke General</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=c079c0c6-7ed6-4e73-9e63-4d3fc55c09dd</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,c079c0c6-7ed6-4e73-9e63-4d3fc55c09dd.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
We are seeing some weird errors on a few DNN 4.3 installations we are testing. Specifically,
there seems to be a caching issue when adding new pages. So far, we have experieced
the error in the following environments:
</p>
        <p>
          <strong>Installation A:</strong>
        </p>
        <p>
My local development machine (Dell Latitude D810) running XP with all of the latest
patches, local SQL Server 2005 Standard, fresh DNN 4.3 Source, using localhost.
</p>
        <p>
          <strong>Installation B:</strong>
        </p>
        <p>
Development server (Dell 1550) running Windows 2003 with all of the latest patches,
remote SQL Server 2005 Enterprise, DNN 4.3 Upgrade (upgrade from DNN 4.0.3), using <a href="http://www.dnnmoddev.org">www.dnnmoddev.org</a> domain
</p>
        <p>
          <strong>Installation C:</strong>
        </p>
        <p>
Development server (Dell 1550) running Windows 2003 with all of the latest patches,
local SQL Server 2005 Standard, DNN 4.3 Install (non source version), using a
subdomain of Venexus.com (someclient.venexus.com)
</p>
        <p>
          <strong>But NOT in Installation D:</strong>
        </p>
        <p>
Production server (Dell 2850) running Windows 2003 with all of the latest patches,
remote SQL Server 2005 Enterprise, DNN 4.3 Upgrade (upgrade from DNN 4.0.3), using <a href="http://www.someclient.com">www.someclient.com</a>.
</p>
        <p>
On Installation A, when creating a new page, after clicking update, I am redirected
to the home page and the newly created page is not in the SolPartMenu. I can refresh
the page and it is sometimes suddenly visible, and other times, still not visible.
If I go to Admin &gt; Pages, I can see it in the list.
</p>
        <p>
On Installation B, when creating a new page, we experience similar issues as Installation
A, but also see weird behavior in some modules where the contents are not displayed.
</p>
        <p>
On Installation C, all is the same as Installation A, but we see viewstate errors:
</p>
        <p>
          <span class="Normal" id="dnn_ctr363_LogViewer_dlLog__ctl6_lblException">
            <b>AssemblyVersion</b>:
04.03.00<br /><b>Method</b>: System.Web.UI.Control.LoadViewStateRecursive<br /><b>FileName</b>: 
<br /><b>FileLineNumber</b>: 0<br /><b>FileColumnNumber</b>: 0<br /><b>PortalID</b>: 0<br /><b>PortalName</b>: Client Development Portal<br /><b>UserID</b>: 1<br /><b>UserName</b>: host<br /><b>ActiveTabID</b>: 82<br /><b>ActiveTabName</b>: Downloads<br /><b>AbsoluteURL</b>: /Default.aspx<br /><b>AbsoluteURLReferrer</b>: 
<br /><b>ExceptionGUID</b>: 2848db05-e95f-48c2-875a-7c4cb7c525df<br /><b>DefaultDataProvider</b>: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider<br /><b>InnerException</b>: Failed to load viewstate. The control tree into which viewstate
is being loaded must match the control tree that was used to save viewstate during
the previous request. For example, when adding controls dynamically, the controls
added during a post-back must match the type and position of the controls added during
the initial request.<br /><b>Message</b>: DotNetNuke.Services.Exceptions.PageLoadException: Failed to load viewstate.
The control tree into which viewstate is being loaded must match the control tree
that was used to save viewstate during the previous request. For example, when adding
controls dynamically, the controls added during a post-back must match the type and
position of the controls added during the initial request. ---&gt; System.Web.HttpException:
Failed to load viewstate. The control tree into which viewstate is being loaded must
match the control tree that was used to save viewstate during the previous request.
For example, when adding controls dynamically, the controls added during a post-back
must match the type and position of the controls added during the initial request.
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Page.LoadAllState()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---<br /><b>StackTrace</b>: 
<br /><b>Source</b>: 
<br /><b>Server Name</b>: BARNEY</span>
        </p>
        <p>
          <span class="Normal">This error occurs after creating a new page, then being redirected
to the home page instead of the new page, and then clicking Add Page again. This is
reproducible until I turn caching off from within Host &gt; Host Settings &gt; Other
&gt; Caching</span>
        </p>
        <p>
          <span class="Normal">In Installation D, everything works as expected. </span>
        </p>
        <p>
          <span class="Normal">On Installation A - C, if caching is turned down to LOW, it is
still reproducible. Only turning caching off does the issue go away. Even more interesting
is the viewstate issue on Installation C goes away when caching is turned off. My
initial thought was that the viewstate error was somehow caused by using the subdomain.
We have seen viewstate errors with authentication when jumping from venexus.com to
subdomain.venexus.com and back. The only other viewstate errors we have seen is when
a session timeout occurs in the middle of a form...which is kinda expected, but should
be handled cleanly.</span>
        </p>
        <p>
          <span class="Normal">If anyone has seen this issue and knows of the cause, please
let us know. We will update this post when we figure out the issue.</span>
        </p>
        <p>
          <span class="Normal"> 
</span>
        </p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=c079c0c6-7ed6-4e73-9e63-4d3fc55c09dd" />
      </body>
      <title>DNN 4.3 Caching Issues?</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,c079c0c6-7ed6-4e73-9e63-4d3fc55c09dd.aspx</guid>
      <link>http://dnnblog.venexus.com/DNN+43+Caching+Issues.aspx</link>
      <pubDate>Tue, 20 Jun 2006 02:06:04 GMT</pubDate>
      <description>&lt;p&gt;
We are seeing some weird errors on a few DNN 4.3 installations we are testing. Specifically,
there seems to be a caching issue when adding new pages. So far, we have experieced
the error in the following environments:
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Installation A:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
My local development machine (Dell Latitude D810) running XP with all of the latest
patches, local SQL Server 2005 Standard, fresh DNN 4.3 Source, using localhost.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Installation B:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Development server (Dell 1550) running Windows 2003 with all of the latest patches,
remote SQL Server 2005 Enterprise, DNN 4.3 Upgrade (upgrade from DNN 4.0.3), using &lt;a href="http://www.dnnmoddev.org"&gt;www.dnnmoddev.org&lt;/a&gt;&amp;nbsp;domain
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Installation C:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Development server (Dell 1550) running Windows 2003 with all of the latest patches,
local SQL Server 2005 Standard, DNN 4.3&amp;nbsp;Install (non source version), using a
subdomain of Venexus.com (someclient.venexus.com)
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;But NOT in Installation D:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Production server (Dell 2850) running Windows 2003 with all of the latest patches,
remote SQL Server 2005 Enterprise, DNN 4.3 Upgrade (upgrade from DNN 4.0.3), using &lt;a href="http://www.someclient.com"&gt;www.someclient.com&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
On Installation A, when creating a new page, after clicking update, I am redirected
to the home page and the newly created page is not in the SolPartMenu. I can refresh
the page and it is sometimes suddenly visible, and other times, still not visible.
If I go to Admin &amp;gt; Pages, I can see it in the list.
&lt;/p&gt;
&lt;p&gt;
On Installation B, when creating a new page, we experience similar issues as Installation
A, but also see weird behavior in some modules where the contents are not displayed.
&lt;/p&gt;
&lt;p&gt;
On Installation C, all is the same as Installation A, but we see viewstate errors:
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal id=dnn_ctr363_LogViewer_dlLog__ctl6_lblException&gt;&lt;b&gt;AssemblyVersion&lt;/b&gt;:
04.03.00&lt;br&gt;
&lt;b&gt;Method&lt;/b&gt;: System.Web.UI.Control.LoadViewStateRecursive&lt;br&gt;
&lt;b&gt;FileName&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;FileLineNumber&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;FileColumnNumber&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;PortalID&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;PortalName&lt;/b&gt;: Client Development Portal&lt;br&gt;
&lt;b&gt;UserID&lt;/b&gt;: 1&lt;br&gt;
&lt;b&gt;UserName&lt;/b&gt;: host&lt;br&gt;
&lt;b&gt;ActiveTabID&lt;/b&gt;: 82&lt;br&gt;
&lt;b&gt;ActiveTabName&lt;/b&gt;: Downloads&lt;br&gt;
&lt;b&gt;AbsoluteURL&lt;/b&gt;: /Default.aspx&lt;br&gt;
&lt;b&gt;AbsoluteURLReferrer&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;ExceptionGUID&lt;/b&gt;: 2848db05-e95f-48c2-875a-7c4cb7c525df&lt;br&gt;
&lt;b&gt;DefaultDataProvider&lt;/b&gt;: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider&lt;br&gt;
&lt;b&gt;InnerException&lt;/b&gt;: Failed to load viewstate. The control tree into which viewstate
is being loaded must match the control tree that was used to save viewstate during
the previous request. For example, when adding controls dynamically, the controls
added during a post-back must match the type and position of the controls added during
the initial request.&lt;br&gt;
&lt;b&gt;Message&lt;/b&gt;: DotNetNuke.Services.Exceptions.PageLoadException: Failed to load viewstate.
The control tree into which viewstate is being loaded must match the control tree
that was used to save viewstate during the previous request. For example, when adding
controls dynamically, the controls added during a post-back must match the type and
position of the controls added during the initial request. ---&amp;gt; System.Web.HttpException:
Failed to load viewstate. The control tree into which viewstate is being loaded must
match the control tree that was used to save viewstate during the previous request.
For example, when adding controls dynamically, the controls added during a post-back
must match the type and position of the controls added during the initial request.
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList
childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at
System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object
savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Page.LoadAllState()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---&lt;br&gt;
&lt;b&gt;StackTrace&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;Source&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;Server Name&lt;/b&gt;: BARNEY&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;This error occurs after creating a new page, then being redirected
to the home page instead of the new page, and then clicking Add Page again. This is
reproducible until I turn caching off from within Host &amp;gt; Host Settings &amp;gt; Other
&amp;gt; Caching&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;In Installation D, everything works as expected. &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;On Installation A - C, if caching is turned down to LOW, it is
still reproducible. Only turning caching off does the issue go away. Even more interesting
is the viewstate issue on Installation C goes away when caching is turned off. My
initial thought was that the viewstate error was somehow caused&amp;nbsp;by using the&amp;nbsp;subdomain.
We have seen viewstate errors with authentication when jumping from venexus.com to
subdomain.venexus.com and back. The only other viewstate errors we have seen is when
a session timeout occurs in the middle of a form...which is kinda expected, but should
be handled cleanly.&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;If anyone has seen this issue and knows of the cause, please let
us know. We will update this post when we figure out the issue.&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&amp;nbsp;
&lt;/p&gt;
&gt;&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=c079c0c6-7ed6-4e73-9e63-4d3fc55c09dd" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=e46c35b3-993a-45ce-acfc-39730c7db289</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,e46c35b3-993a-45ce-acfc-39730c7db289.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <img src="http://www.venexus.com/Install/logo.gif" border="0" />
          <br />
          <!-- tags excluded on purpose so that installation feedback messages are displayed
</body>
</html>
-->
        </p>
        <h1>
          <font size="3">Nothing To Install At This Time</font>
        </h1>
        <h2>
          <font size="3">Current Assembly Version: 04.00.02</font>
        </h2>
        <h2>
          <font size="3">Current Database Version: 04.00.02</font>
        </h2>
        <p>
 
</p>
        <p>
If you get the "<strong>Nothing to Install At This Time</strong>" message when accessing
your DotNetNuke 4 portal, you can add the following line to the appSettings in the
web.config file:
</p>
        <p>
          <font color="#006400">
            <strong>&lt;add key="InstallationDate" value="3/9/2005" /&gt; </strong>
          </font>
        </p>
        <p>
        </p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=e46c35b3-993a-45ce-acfc-39730c7db289" />
      </body>
      <title>DotNetNuke 4 - Nothing To Install At This Time</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,e46c35b3-993a-45ce-acfc-39730c7db289.aspx</guid>
      <link>http://dnnblog.venexus.com/DotNetNuke+4+Nothing+To+Install+At+This+Time.aspx</link>
      <pubDate>Fri, 10 Mar 2006 16:45:17 GMT</pubDate>
      <description>&lt;p&gt;
&lt;img src="http://www.venexus.com/Install/logo.gif" border=0&gt; 
&lt;br&gt;
&lt;!-- tags excluded on purpose so that installation feedback messages are displayed
&lt;/body&gt;
&lt;/html&gt;
--&gt;
&lt;/p&gt;
&lt;h1&gt;&lt;font size=3&gt;Nothing To Install At This Time&lt;/font&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;font size=3&gt;Current Assembly Version: 04.00.02&lt;/font&gt;
&lt;/h2&gt;
&lt;h2&gt;&lt;font size=3&gt;Current Database Version: 04.00.02&lt;/font&gt;
&lt;/h2&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
If you get the "&lt;strong&gt;Nothing to Install At This Time&lt;/strong&gt;" message when accessing
your DotNetNuke 4 portal, you can add the following line to the appSettings in the
web.config file:
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#006400&gt;&lt;strong&gt;&amp;lt;add key="InstallationDate" value="3/9/2005" /&amp;gt; &lt;/strong&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=e46c35b3-993a-45ce-acfc-39730c7db289" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=b5594f12-a13a-49c7-b99a-d306577fd83b</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,b5594f12-a13a-49c7-b99a-d306577fd83b.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I ran into an issue with a DNN site we are developing in DotNetNuke 4 and the ability
to install modules from <strong>Host &gt; Module Definitions &gt; Add New Module</strong>.
After selecting the module and clicking <strong>Upload</strong>, I was immediately
redirected to the Module List page, without installing the module. The weird part
was that it did not cause an issue with all of the modules I was uploading, only a
few of them. Without turning debugging on, and finding the true root of the problem,
I simply did the following:
</p>
        <ol>
          <li>
Dropped the modules I wanted to install into the <strong>\Install\Module</strong> directory.</li>
          <li>
In a browser, navigate to <strong><a href="http://www.domain.com/install/install.aspx?mode=installresources">http://www.domain.com/install/install.aspx?mode=installresources</a></strong></li>
        </ol>
        <p>
DotNetNuke will then install the module and you are able to continue with your development.
Yay!
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=b5594f12-a13a-49c7-b99a-d306577fd83b" />
      </body>
      <title>Unable to Add or Upload Modules in DNN 4.</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,b5594f12-a13a-49c7-b99a-d306577fd83b.aspx</guid>
      <link>http://dnnblog.venexus.com/Unable+To+Add+Or+Upload+Modules+In+DNN+4.aspx</link>
      <pubDate>Wed, 01 Feb 2006 04:20:58 GMT</pubDate>
      <description>&lt;p&gt;
I ran into an issue with a DNN site we are developing in DotNetNuke 4 and the ability
to install modules from &lt;strong&gt;Host &amp;gt; Module Definitions &amp;gt; Add New Module&lt;/strong&gt;.
After selecting the module and clicking &lt;strong&gt;Upload&lt;/strong&gt;, I was immediately
redirected to the Module List page, without installing the module. The weird part
was that it did not cause an issue with all of the modules I was uploading, only a
few of them. Without turning debugging on, and finding the true root of the problem,
I simply did the following:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Dropped the modules I wanted to install into the &lt;strong&gt;\Install\Module&lt;/strong&gt; directory.&lt;/li&gt;
&lt;li&gt;
In a browser, navigate to &lt;strong&gt;&lt;a href="http://www.domain.com/install/install.aspx?mode=installresources"&gt;http://www.domain.com/install/install.aspx?mode=installresources&lt;/a&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
DotNetNuke will then install the module and you are able to continue with your development.
Yay!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=b5594f12-a13a-49c7-b99a-d306577fd83b" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=0e36cfb8-395e-46ee-ab88-e1c5cfcfce05</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,0e36cfb8-395e-46ee-ab88-e1c5cfcfce05.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
Most likely you are reading this because you are frantically trying to figure out
how to login into your DotNetNuke portal because you have found yourself locked out.
You may have even received a password reminder with a blank password. Having fun yet???<br /><br />
When we were first testing DotNetNuke in the DNN 3 beta days, we had a problem with
not being able to login into the host account. I fixed the issue by overwritting the
host <b>Password</b> and <b>PasswordSalt</b> fields in <b>aspnet_Membership</b> table.
Recently, the same issue arose and I had to do this again. So, I decided to jot down
a few notes that I hpe will help you in solving your issue. Read on....<br /><br />
Before I explain, lets check to make sure it is not one of the other issues related
to not being able to login.<br /><br /><ol><li><b>Clear your cache and cookies and retry to login</b></li><li><b>Did you recently upgrade your DotNetNuke site or change the web.config?</b> If
so, the passwords are encrypted and stored in the membership provider tables using
the machine validation and decryption key strings. They are located in the web.config
below the server connection string. You can now thank <font color="#006400">&lt;insert
favorite God&gt; </font>you backed up the DNN installation before upgrading, because
you can go back to the old web.config and use the machine keys to upgrade your new
web.config file. Look for something like this:<br />
                      
<br /><font color="#006400">  &lt;add key="MachineValidationKey" value="extremelylongrandomlookingstringofcharacterswouldgoinhere"
/&gt;<br />
  &lt;add key="MachineDecryptionKey" value="anothersetofextremelylongrandomlookingstringofcharacterswouldgoinhere"
/&gt;</font></li><li><b>D</b><b>id you accidentally change the Login page in Admin &gt; Site Settings &gt;
Advanced Settings</b>? You can do the following:<b> **NOTE** Make sure you change
your PortalID appropriately. </b>                         
<br />
From SQL Server Management Studio or Enterprise Manager, run the following statement:
                     
<br />
                   
<br /><font color="#006400">SELECT TabID, TabName FROM Tabs WHERE (TabName LIKE '%Login%')
AND (PortalID = '</font><b><font color="#ff0000">0</font></b><font color="#006400">')</font></li></ol><p><b>          </b><b>Find the Tab?<br /></b>        If you get a result, and are sure it is
the Login page, run the following SQL Statement to update your settings:<br /><b>          **NOTE** Make sure you have the correct 
TabID and PortalID!</b><br />
           
<br />
        <font color="#006400">Update Portals Set LoginTabID
= '</font><b><font color="#ff0000">123</font></b><font color="#006400">' WHERE (PortalID
= '</font><b><font color="#ff0000">0</font></b><font color="#006400">')</font><br />
                     
<br />
        You should now be directed to the login page
of your portal....<br /><br /><b>          Didn't Find the Tab?</b><br />
        If you did not get a result to the first query
and deleted the Login page, you are screwed...just kidding. <a href="http://blogs.snapsis.com/">John
Mitchell's Blog</a>         provides the <a href="http://blogs.snapsis.com/PermaLink,guid,05e0a045-4944-4f85-aa12-ac9cb774e2fb.aspx">solution</a>.<br /><br />
None of those work for you? Join the club!<br /><br /><b>The solution:<br />
Assuming you have more than one account for your portal (some lowly user account will
do), run the following SQL:<br /></b><font color="#006400"><br />
SELECT     aspnet_Users.UserName, aspnet_Membership.Password,
aspnet_Membership.PasswordSalt<br />
FROM         aspnet_Membership INNER JOIN
aspnet_Users ON aspnet_Membership.UserId = aspnet_Users.UserId<br />
WHERE     (aspnet_Users.UserName = 'host') OR (aspnet_Users.UserName
= '<b><font color="#ff0000">someusername</font></b>') </font><br /><br /><br />
You should now be able to see the Password and PasswordSalt row you need to use to
replace your host account Password and PasswordSalt. 
<br /><font color="#006400"><br />
UPDATE    aspnet_Membership<br />
SET         Password = '<b><font color="#ff0000">someusernameencryptedpasswordstring</font></b>',
PasswordSalt = '<b><font color="#ff0000">someusernameencryptedpasswordsaltstring</font></b>' 
<br />
WHERE     UserID = '<font color="#ff0000"><strong>youraspnetuseridforhost</strong></font>'</font><br /><br />
Now, go to the login page and request your password reminder. You should now have
the information you need to login into your portal.<br /><br />
Hope that helps!<br /><br /><strong>UPDATE 3/12/2006:</strong></p><p>
It may be neccessary to change the ApplicationID to match the portal in use.
</p><img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=0e36cfb8-395e-46ee-ab88-e1c5cfcfce05" /></body>
      <title>Unable to Login into your DotNetNuke Portal?</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,0e36cfb8-395e-46ee-ab88-e1c5cfcfce05.aspx</guid>
      <link>http://dnnblog.venexus.com/Unable+To+Login+Into+Your+DotNetNuke+Portal.aspx</link>
      <pubDate>Tue, 31 Jan 2006 00:12:30 GMT</pubDate>
      <description>&lt;p&gt;
&lt;/p&gt;
Most likely you are reading this because you are frantically trying to figure out
how to login into your DotNetNuke portal because you have found yourself locked out.
You may have even received a password reminder with a blank password. Having fun yet???&lt;br&gt;
&lt;br&gt;
When we were first testing DotNetNuke in the DNN 3 beta days, we had a problem with
not being able to login into the host account. I fixed the issue by overwritting the
host &lt;b&gt;Password&lt;/b&gt; and &lt;b&gt;PasswordSalt&lt;/b&gt; fields in &lt;b&gt;aspnet_Membership&lt;/b&gt; table.
Recently, the same issue arose and I had to do this again. So, I decided to jot down
a few notes that I hpe will help you in solving your issue. Read on....&lt;br&gt;
&lt;br&gt;
Before I explain, lets check to make sure it is not one of the other issues related
to not being able to login.&lt;br&gt;
&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;b&gt;Clear your cache and cookies and retry to login&lt;/b&gt; 
&lt;li&gt;
&lt;b&gt;Did you recently upgrade your DotNetNuke site or change the web.config?&lt;/b&gt; If
so, the passwords are encrypted and stored in the membership provider tables using
the machine validation and decryption key strings. They are located in the web.config
below the server connection string. You can now thank &lt;font color=#006400&gt;&amp;lt;insert
favorite God&amp;gt; &lt;/font&gt;you backed up the DNN installation before upgrading, because
you can go back to the old web.config and use the machine keys to upgrade your new
web.config file. Look for something like this:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&lt;font color=#006400&gt;&amp;nbsp; &amp;lt;add key="MachineValidationKey" value="extremelylongrandomlookingstringofcharacterswouldgoinhere"
/&amp;gt;&lt;br&gt;
&amp;nbsp; &amp;lt;add key="MachineDecryptionKey" value="anothersetofextremelylongrandomlookingstringofcharacterswouldgoinhere"
/&amp;gt;&lt;/font&gt; 
&lt;li&gt;
&lt;b&gt;D&lt;/b&gt;&lt;b&gt;id you accidentally change the Login page in Admin &amp;gt; Site Settings &amp;gt;
Advanced Settings&lt;/b&gt;? You can do the following:&lt;b&gt; **NOTE** Make sure you change
your PortalID appropriately.&amp;nbsp;&lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
From SQL Server Management Studio or Enterprise Manager, run the following statement:
&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&lt;font color=#006400&gt;SELECT TabID, TabName FROM Tabs WHERE (TabName LIKE '%Login%')
AND (PortalID = '&lt;/font&gt;&lt;b&gt;&lt;font color=#ff0000&gt;0&lt;/font&gt;&lt;/b&gt;&lt;font color=#006400&gt;')&lt;/font&gt; 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;b&gt;Find the Tab?&lt;br&gt;
&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; If you get a result, and are sure it is
the Login page, run the following SQL Statement to update your settings:&lt;br&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; **NOTE** Make sure you have the correct&amp;nbsp;
TabID and PortalID!&lt;/b&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=#006400&gt;Update Portals Set LoginTabID
= '&lt;/font&gt;&lt;b&gt;&lt;font color=#ff0000&gt;123&lt;/font&gt;&lt;/b&gt;&lt;font color=#006400&gt;' WHERE (PortalID
= '&lt;/font&gt;&lt;b&gt;&lt;font color=#ff0000&gt;0&lt;/font&gt;&lt;/b&gt;&lt;font color=#006400&gt;')&lt;/font&gt;
&lt;br&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; You should now be directed to the login page
of your portal....&lt;br&gt;
&lt;br&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; Didn't Find the Tab?&lt;/b&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; If you did not get a result to the first query
and deleted the Login page, you are screwed...just kidding. &lt;a href="http://blogs.snapsis.com/"&gt;John
Mitchell's Blog&lt;/a&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; provides the &lt;a href="http://blogs.snapsis.com/PermaLink,guid,05e0a045-4944-4f85-aa12-ac9cb774e2fb.aspx"&gt;solution&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
None of those work for you? Join the club!&lt;br&gt;
&lt;br&gt;
&lt;b&gt;The solution:&lt;br&gt;
Assuming you have more than one account for your portal (some lowly user account will
do), run the following SQL:&lt;br&gt;
&lt;/b&gt;&lt;font color=#006400&gt;
&lt;br&gt;
SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aspnet_Users.UserName, aspnet_Membership.Password,
aspnet_Membership.PasswordSalt&lt;br&gt;
FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aspnet_Membership INNER JOIN
aspnet_Users ON aspnet_Membership.UserId = aspnet_Users.UserId&lt;br&gt;
WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (aspnet_Users.UserName = 'host') OR (aspnet_Users.UserName
= '&lt;b&gt;&lt;font color=#ff0000&gt;someusername&lt;/font&gt;&lt;/b&gt;') &lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
You should now be able to see the Password and PasswordSalt row you need to use to
replace your host account Password and PasswordSalt. 
&lt;br&gt;
&lt;font color=#006400&gt;
&lt;br&gt;
UPDATE&amp;nbsp;&amp;nbsp;&amp;nbsp; aspnet_Membership&lt;br&gt;
SET&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Password = '&lt;b&gt;&lt;font color=#ff0000&gt;someusernameencryptedpasswordstring&lt;/font&gt;&lt;/b&gt;',
PasswordSalt = '&lt;b&gt;&lt;font color=#ff0000&gt;someusernameencryptedpasswordsaltstring&lt;/font&gt;&lt;/b&gt;' 
&lt;br&gt;
WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserID = '&lt;font color=#ff0000&gt;&lt;strong&gt;youraspnetuseridforhost&lt;/strong&gt;&lt;/font&gt;'&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
Now, go to the login page and request your password reminder. You should now have
the information you need to login into your portal.&lt;br&gt;
&lt;br&gt;
Hope that helps!&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;UPDATE 3/12/2006:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
It may be neccessary to change the ApplicationID to match the portal in use.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=0e36cfb8-395e-46ee-ab88-e1c5cfcfce05" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=9565cb49-a707-43a2-ba20-ae99bac71516</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,9565cb49-a707-43a2-ba20-ae99bac71516.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
The GetSchedule() timeout error:
</p>
        <p align="left">
          <span class="Normal">
            <font size="1">
              <font color="#ff0000">
                <span class="NormalRed" id="dnn_ctr332__ctl0_lblHeading">Error:
Schedule is currently unavailable.<br /></span>
                <span class="Normal" id="dnn_ctr332__ctl0_lblMessage">DotNetNuke.Services.Exceptions.ModuleLoadException:
Timeout expired. The timeout period elapsed prior to completion of the operation or
the server is not responding. ---&gt; System.Data.SqlClient.SqlException: Timeout
expired. The timeout period elapsed prior to completion of the operation or the server
is not responding. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior
runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult
result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,
RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
behavior) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection
connection, SqlTransaction transaction, CommandType commandType, String commandText,
SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String
connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString,
String spName, Object[] parameterValues) at DotNetNuke.Services.Scheduling.DNNScheduling.SqlDataProvider.GetSchedule()
at DotNetNuke.Services.Scheduling.DNNScheduling.SchedulingController.GetSchedule()
at DotNetNuke.Services.Scheduling.DNNScheduling.DNNScheduler.GetSchedule() at DotNetNuke.Modules.Admin.Scheduling.ViewSchedule.Page_Load(Object
sender, EventArgs e) --- End of inner exception stack trace ---</span>
              </font>
            </font>
          </span>
        </p>
        <p>
          <span class="Normal">
            <span class="Normal">The temporary fix: </span>
          </span>
        </p>
        <p>
          <span class="Normal">
            <span class="Normal">Cleaning out the ScheduleHistory table fixes
the problem until it gets too full again...</span>
          </span>
        </p>
        <p>
          <span class="Normal">
            <span class="Normal">
              <font color="#ff0000">Delete From ScheduleHistory
where ScheduleHistoryID &gt; 1</font>
            </span>
          </span>
        </p>
        <p>
          <span class="Normal">
            <span class="Normal">Make sure you backup your database before
executing this SQL statement.</span>
          </span>
        </p>
        <p>
          <span class="Normal">
            <span class="Normal">I need to investigate more on how the code
for GetSchedule() works and how to cleanup the ScheduleHistory more often. Also, we
are w</span>
          </span>
          <span class="Normal">
            <span class="Normal">orking with Microsoft
on a different issue, they have voiced concern on the performance of the stored proc
GetSchedule. I will post any suggestion here when they surface.</span>
          </span>
        </p>
        <p>
          <span class="Normal">
            <span class="Normal">
            </span>
          </span> 
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=9565cb49-a707-43a2-ba20-ae99bac71516" />
      </body>
      <title>DotNetNuke GetSchedule Timeout</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,9565cb49-a707-43a2-ba20-ae99bac71516.aspx</guid>
      <link>http://dnnblog.venexus.com/DotNetNuke+GetSchedule+Timeout.aspx</link>
      <pubDate>Mon, 23 Jan 2006 18:02:55 GMT</pubDate>
      <description>&lt;p&gt;
The GetSchedule() timeout error:
&lt;/p&gt;
&lt;p align=left&gt;
&lt;span class=Normal&gt;&lt;font size=1&gt;&lt;font color=#ff0000&gt;&lt;span class=NormalRed id=dnn_ctr332__ctl0_lblHeading&gt;Error:
Schedule is currently unavailable.&lt;br&gt;
&lt;/span&gt;&lt;span class=Normal id=dnn_ctr332__ctl0_lblMessage&gt;DotNetNuke.Services.Exceptions.ModuleLoadException:
Timeout expired. The timeout period elapsed prior to completion of the operation or
the server is not responding. ---&amp;gt; System.Data.SqlClient.SqlException: Timeout
expired. The timeout period elapsed prior to completion of the operation or the server
is not responding. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception,
Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior
runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult
result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,
RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
behavior) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection
connection, SqlTransaction transaction, CommandType commandType, String commandText,
SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String
connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString,
String spName, Object[] parameterValues) at DotNetNuke.Services.Scheduling.DNNScheduling.SqlDataProvider.GetSchedule()
at DotNetNuke.Services.Scheduling.DNNScheduling.SchedulingController.GetSchedule()
at DotNetNuke.Services.Scheduling.DNNScheduling.DNNScheduler.GetSchedule() at DotNetNuke.Modules.Admin.Scheduling.ViewSchedule.Page_Load(Object
sender, EventArgs e) --- End of inner exception stack trace ---&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;span class=Normal&gt;The temporary fix: &lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;span class=Normal&gt;Cleaning out the ScheduleHistory table&amp;nbsp;fixes
the problem until it gets too full again...&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;span class=Normal&gt;&lt;font color=#ff0000&gt;Delete From ScheduleHistory
where ScheduleHistoryID &amp;gt; 1&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;span class=Normal&gt;Make sure you backup your database before executing
this SQL statement.&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;span class=Normal&gt;I need to investigate more on how the code for
GetSchedule() works and how to cleanup the ScheduleHistory more often. Also, we are
w&lt;/span&gt;&lt;/span&gt;&lt;span class=Normal&gt;&lt;span class=Normal&gt;orking with Microsoft on a different
issue, they have voiced concern on the performance of the stored proc GetSchedule.
I will post any suggestion here when they surface.&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;span class=Normal&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=9565cb49-a707-43a2-ba20-ae99bac71516" /&gt;</description>
      <category>DotNetNuke Errors;MS SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=3e257cf3-5de5-4655-842d-eee6495c4c70</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,3e257cf3-5de5-4655-842d-eee6495c4c70.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
While working with Microsoft concerning the <a class="TitleLinkStyle" href="http://dnnblog.venexus.com/DNN+SQLDataProvider+And+64Bit+SQL+Server+2005+Issue.aspx"><font color="#005bba">DNN
SQLDataProvider and 64-Bit SQL Server 2005 Issue</font></a>, it was suggested that
there was a performance issue with <strong>GetTab</strong>. While this does not help
the issue we are having, it did help with performance...
</p>
        <p>
"There are some implicit converts happening even though you have explicit converts
in the statements"
</p>
        <p>
          <strong>Current GetTab SQL:</strong>
        </p>
        <p>
select TabID, 
<br />
TabOrder, 
<br />
Tabs.PortalID, 
<br />
TabName, 
<br />
IsVisible, 
<br />
ParentId, 
<br />
[Level], 
<br />
DisableLink, 
<br />
Title, 
<br />
Description, 
<br />
KeyWords, 
<br />
IsDeleted, 
<br /><font color="#ff0000"><strong>'Url'= case when F2.FileName is null then Tabs.Url else
F2.Folder + F2.FileName end,</strong></font><br />
SkinSrc, 
<br />
ContainerSrc, 
<br />
TabPath, 
<br />
StartDate, 
<br />
EndDate,<br />
'IconFile' = case when Files.FileName is null then Tabs.IconFile else Files.Folder
+ Files.FileName end,<br />
'HasChildren' = case when exists (select 1 from Tabs T2 where T2.ParentId = Tabs.TabId)
then 'true' else 'false' end,<br />
RefreshInterval,<br />
PageHeadText<br />
from   Tabs<br />
left outer join Files on Tabs.IconFile = 'fileid=' + convert(varchar,Files.FileID)<br /><font color="#ff0000"><strong>left outer join Files F2 on Tabs.Url = 'fileid=' + convert(varchar,F2.FileID)</strong></font><br />
where  TabId = @TabId
</p>
        <p>
 
</p>
        <p>
          <strong>The FIX:</strong>
        </p>
        <p>
select TabID, 
<br />
TabOrder, 
<br />
Tabs.PortalID, 
<br />
TabName, 
<br />
IsVisible, 
<br />
ParentId, 
<br />
[Level], 
<br />
DisableLink, 
<br />
Title, 
<br />
Description, 
<br />
KeyWords, 
<br />
IsDeleted, 
<br /><font color="#ff0000"><strong>'Url'= case when Files.FileName is null then Tabs.Url
else files.Folder + Files.FileName end,</strong></font><br />
SkinSrc, 
<br />
ContainerSrc, 
<br />
TabPath, 
<br />
StartDate, 
<br />
EndDate,<br />
'IconFile' = case when Files.FileName is null then Tabs.IconFile else Files.Folder
+ Files.FileName end,<br />
'HasChildren' = case when exists (select 1 from Tabs T2 where T2.ParentId = Tabs.TabId)
then 'true' else 'false' end,<br />
RefreshInterval,<br />
PageHeadText<br />
from   Tabs<br />
left outer join Files on Tabs.IconFile = 'fileid=' + convert(nvarchar,Files.FileID)<br /><font color="#ff0000"><strong>and Tabs.Url = 'fileid=' + convert(nvarchar,Files.FileID)</strong></font><br />
where  TabId = @TabId
</p>
        <p>
Running SQLDiag.exe confirmed the modification helped improve performance. More details
later...
</p>
        <p>
I'll post this to the DNN Bug Tracker shortly...
</p>
        <p>
          <strong>Update 1/25/2006:</strong>
        </p>
        <p>
Now in Bug Tracker: <a href="http://support.dotnetnuke.com/Default.aspx?p=23&amp;i=2404">2404</a><br /></p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=3e257cf3-5de5-4655-842d-eee6495c4c70" />
      </body>
      <title>Performance Issue with DotNetNuke Stored Procedure GetTab</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,3e257cf3-5de5-4655-842d-eee6495c4c70.aspx</guid>
      <link>http://dnnblog.venexus.com/Performance+Issue+With+DotNetNuke+Stored+Procedure+GetTab.aspx</link>
      <pubDate>Fri, 13 Jan 2006 19:35:44 GMT</pubDate>
      <description>&lt;p&gt;
While working with Microsoft concerning the &lt;a class=TitleLinkStyle href="http://dnnblog.venexus.com/DNN+SQLDataProvider+And+64Bit+SQL+Server+2005+Issue.aspx"&gt;&lt;font color=#005bba&gt;DNN
SQLDataProvider and 64-Bit SQL Server 2005 Issue&lt;/font&gt;&lt;/a&gt;, it was suggested that
there was a performance issue with &lt;strong&gt;GetTab&lt;/strong&gt;. While this does not help
the issue we are having, it did help with performance...
&lt;/p&gt;
&lt;p&gt;
"There are some implicit converts happening even though you have explicit converts
in the statements"
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Current GetTab SQL:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
select TabID, 
&lt;br&gt;
TabOrder, 
&lt;br&gt;
Tabs.PortalID, 
&lt;br&gt;
TabName, 
&lt;br&gt;
IsVisible, 
&lt;br&gt;
ParentId, 
&lt;br&gt;
[Level], 
&lt;br&gt;
DisableLink, 
&lt;br&gt;
Title, 
&lt;br&gt;
Description, 
&lt;br&gt;
KeyWords, 
&lt;br&gt;
IsDeleted, 
&lt;br&gt;
&lt;font color=#ff0000&gt;&lt;strong&gt;'Url'= case when F2.FileName is null then Tabs.Url else
F2.Folder + F2.FileName end,&lt;/strong&gt;&lt;/font&gt; 
&lt;br&gt;
SkinSrc, 
&lt;br&gt;
ContainerSrc, 
&lt;br&gt;
TabPath, 
&lt;br&gt;
StartDate, 
&lt;br&gt;
EndDate,&lt;br&gt;
'IconFile' = case when Files.FileName is null then Tabs.IconFile else Files.Folder
+ Files.FileName end,&lt;br&gt;
'HasChildren' = case when exists (select 1 from Tabs T2 where T2.ParentId = Tabs.TabId)
then 'true' else 'false' end,&lt;br&gt;
RefreshInterval,&lt;br&gt;
PageHeadText&lt;br&gt;
from&amp;nbsp;&amp;nbsp; Tabs&lt;br&gt;
left outer join Files on Tabs.IconFile = 'fileid=' + convert(varchar,Files.FileID)&lt;br&gt;
&lt;font color=#ff0000&gt;&lt;strong&gt;left outer join Files F2 on Tabs.Url = 'fileid=' + convert(varchar,F2.FileID)&lt;/strong&gt;&lt;/font&gt;
&lt;br&gt;
where&amp;nbsp; TabId = @TabId
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;The FIX:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
select TabID, 
&lt;br&gt;
TabOrder, 
&lt;br&gt;
Tabs.PortalID, 
&lt;br&gt;
TabName, 
&lt;br&gt;
IsVisible, 
&lt;br&gt;
ParentId, 
&lt;br&gt;
[Level], 
&lt;br&gt;
DisableLink, 
&lt;br&gt;
Title, 
&lt;br&gt;
Description, 
&lt;br&gt;
KeyWords, 
&lt;br&gt;
IsDeleted, 
&lt;br&gt;
&lt;font color=#ff0000&gt;&lt;strong&gt;'Url'= case when Files.FileName is null then Tabs.Url
else files.Folder + Files.FileName end,&lt;/strong&gt;&lt;/font&gt; 
&lt;br&gt;
SkinSrc, 
&lt;br&gt;
ContainerSrc, 
&lt;br&gt;
TabPath, 
&lt;br&gt;
StartDate, 
&lt;br&gt;
EndDate,&lt;br&gt;
'IconFile' = case when Files.FileName is null then Tabs.IconFile else Files.Folder
+ Files.FileName end,&lt;br&gt;
'HasChildren' = case when exists (select 1 from Tabs T2 where T2.ParentId = Tabs.TabId)
then 'true' else 'false' end,&lt;br&gt;
RefreshInterval,&lt;br&gt;
PageHeadText&lt;br&gt;
from&amp;nbsp;&amp;nbsp; Tabs&lt;br&gt;
left outer join Files on Tabs.IconFile = 'fileid=' + convert(nvarchar,Files.FileID)&lt;br&gt;
&lt;font color=#ff0000&gt;&lt;strong&gt;and Tabs.Url = 'fileid=' + convert(nvarchar,Files.FileID)&lt;/strong&gt;&lt;/font&gt;
&lt;br&gt;
where&amp;nbsp; TabId = @TabId
&lt;/p&gt;
&lt;p&gt;
Running SQLDiag.exe confirmed the modification helped improve performance. More details
later...
&lt;/p&gt;
&lt;p&gt;
I'll post this to the DNN Bug Tracker shortly...
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Update 1/25/2006:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Now in Bug Tracker: &lt;a href="http://support.dotnetnuke.com/Default.aspx?p=23&amp;amp;i=2404"&gt;2404&lt;/a&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=3e257cf3-5de5-4655-842d-eee6495c4c70" /&gt;</description>
      <category>DotNetNuke Errors;MS SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=5ae12687-1b47-497a-8e91-701d3eed4379</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,5ae12687-1b47-497a-8e91-701d3eed4379.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I made the following post on the <a href="http://forums.asp.net/1160658/ShowPost.aspx">DNN
Forums</a>, and decided to post it here in case someone reads it here first...
</p>
        <p>
This is all related to: <a class="TitleLinkStyle" href="http://dnnblog.venexus.com/Upgrading+DNN+From+Local+SQL+Server+2000+To+Remote+SQL+Server+2005.aspx"><font color="#005bba">Upgrading
DNN from local SQL Server 2000 to Remote SQL Server 2005</font></a></p>
        <p>
We are experiencing an issue with DNN and a <strong>64-Bit SQL Server 2005</strong> database
server that seems to be related to the <strong>SQLDataProvider</strong>. We are currently
running a production web server (<strong>Server A</strong>) that has an instance of
SQL Server 2000 running locally. We have a mixture of DNN3 and NON-DNN sites running
on Server A. All DNN sites are fast and run smoothly, only experiencing a few issues
during peak traffic times regarding the local SQL Server 2000. Previously we had a
separate server for our production SQL Server 2000 databases. However, we recently
acquired a very fast 64-Bit server that came from Overture.com (<strong>Server C)</strong> and
had to make room in our rack by decommissioning the old database server after moving
all databases to Server A. Now, we are in the process of moving all Server A databases
to Server C , so we can go back to using Server A as web server only. We have been
testing and planning our database move utilizing our development server (<strong>Server
B</strong>).  Our goal is to move ALL Server A databases to Server C. 
</p>
        <p>
          <strong>Server A:<br /></strong>Dell 2850<br />
Dual 3 Ghz Xeons<br />
2 Gb RAM<br /><strong>32-Bit</strong><br />
Windows 2003 Standard Edition<br />
SQL Server 2000
</p>
        <p>
          <strong>Server B:</strong>
          <br />
Dell 1550<br />
Dual 1 Ghz Pentiums<br />
2 Gb RAM<br /><strong>32-Bit</strong><br />
Windows 2003 Enterprise Edition<br />
SQL Server 2000 Standard Instance<br />
SQL Server 2005 Enterprise Instance
</p>
        <p>
          <strong>Server C:</strong>
          <br />
Dell 7150 
<br />
Quad Itanium Processors<br />
12 Gb RAM<br /><strong>64-Bit</strong> Windows 2003 Enterprise Edition<br /><strong>64-Bit</strong> SQL Server 2005 Enterprise Edition
</p>
        <p>
          <br />
We began testing the NON-DNN site and DNN site databases against Server B, all with
success. We also setup DNN instances on Server B that used Server C as database server.
Testing was successful, but all DNN databases tested were less than 100 Mb. We noticed
that the DNN sites on Server B that talked to Server C DNN databases were slower,
but dismissed it as being on the slower Server B when compared to Server A. 
</p>
        <p>
So, after much testing for NON-DNN sites, we moved all NON-DNN databases to Server
C. All NON-DNN sites use the <strong>SQLOLEDB Provider</strong>. Our largest NON-DNN
database is over 3.5 Gb. After the move, the site with the largest database experienced
great performance/speed improvements. Some larger data transactions were executed
in almost half of the time. We were very pleased with the results. 
</p>
        <p>
          <img src="http://www.venexus.com/64bit-A.gif" />
        </p>
        <p>
After successful NON-DNN databases move from Server A to Server C, we began moving
the DNN databases to Server C.  The first 3 were very small databases. However,
the largest of the 3, we noticed a difference in speed. Concerned, but determined
to move on, we moved a 2.5 Gb DNN database to Server C and gave it a try... The speed
was horrible taking as much as 15-45 seconds to deliver a page. We quickly backed
out of the upgrade and began our investigation…
</p>
        <p>
          <img src="http://www.venexus.com/64bit-B.gif" />
        </p>
        <p>
Doing a little research, I dug into the DNN documentation for Data Access and looked
at the code to see DNN uses <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatasqlclientsqlconnectionclasstopic.asp">System.Data.SQLClient</a> as
the provider. <strong>Why would SQLOLEDB be fast and the DNN SQLDataProvider be so
dreadfully slow and only when on a 64-Bit server?</strong> I really have no desire
to change any of the core DNN code to use the System.Data.OleDb as the provider to
test and see if there is a difference, so any recommedations and/or suggestions are
appreciated. 
</p>
        <p>
I know there are a few issues with 64-Bit SQL Server 2005 tools running slow: <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;906892">You
may experience slow performance when you run 32-bit SQL Server tools on 64-bit operating
systems</a>. But, this should not be related to the issue since this concerns just
the tools, or does it? 
</p>
        <p>
I plan on burning a support call to Microsoft, but would like to gain any insight
others might have before I make the call.
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=5ae12687-1b47-497a-8e91-701d3eed4379" />
      </body>
      <title>DNN SQLDataProvider and 64-Bit SQL Server 2005 Issue</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,5ae12687-1b47-497a-8e91-701d3eed4379.aspx</guid>
      <link>http://dnnblog.venexus.com/DNN+SQLDataProvider+And+64Bit+SQL+Server+2005+Issue.aspx</link>
      <pubDate>Fri, 06 Jan 2006 05:04:29 GMT</pubDate>
      <description>&lt;p&gt;
I made the following post on the &lt;a href="http://forums.asp.net/1160658/ShowPost.aspx"&gt;DNN
Forums&lt;/a&gt;, and decided to post it here in case someone reads it here first...
&lt;/p&gt;
&lt;p&gt;
This is all related to: &lt;a class=TitleLinkStyle href="http://dnnblog.venexus.com/Upgrading+DNN+From+Local+SQL+Server+2000+To+Remote+SQL+Server+2005.aspx"&gt;&lt;font color=#005bba&gt;Upgrading
DNN from local SQL Server 2000 to Remote SQL Server 2005&lt;/font&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
We are experiencing an issue with DNN and a &lt;strong&gt;64-Bit SQL Server 2005&lt;/strong&gt; database
server that seems to be related to the &lt;strong&gt;SQLDataProvider&lt;/strong&gt;. We are currently
running a production web server (&lt;strong&gt;Server A&lt;/strong&gt;) that has an instance of
SQL Server 2000 running locally. We have a mixture of DNN3 and NON-DNN sites running
on Server A. All DNN sites are fast and run smoothly, only experiencing a few issues
during peak traffic times regarding the local SQL Server 2000. Previously we had a
separate server for our production SQL Server 2000 databases. However, we recently
acquired a very fast 64-Bit server that came from Overture.com (&lt;strong&gt;Server C)&lt;/strong&gt; and
had to make room in our rack by decommissioning the old database server after moving
all databases to Server A. Now, we are in the process of moving all Server A databases
to Server C , so we can go back to using Server A as web server only. We have been
testing and planning our database move utilizing our development server (&lt;strong&gt;Server
B&lt;/strong&gt;).&amp;nbsp; Our goal is to move ALL Server A databases to Server C. 
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Server A:&lt;br&gt;
&lt;/strong&gt;Dell 2850&lt;br&gt;
Dual 3 Ghz Xeons&lt;br&gt;
2 Gb RAM&lt;br&gt;
&lt;strong&gt;32-Bit&lt;/strong&gt;
&lt;br&gt;
Windows 2003 Standard Edition&lt;br&gt;
SQL Server 2000
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Server B:&lt;/strong&gt;
&lt;br&gt;
Dell 1550&lt;br&gt;
Dual 1 Ghz Pentiums&lt;br&gt;
2 Gb RAM&lt;br&gt;
&lt;strong&gt;32-Bit&lt;/strong&gt;
&lt;br&gt;
Windows 2003 Enterprise Edition&lt;br&gt;
SQL Server 2000 Standard Instance&lt;br&gt;
SQL Server 2005 Enterprise Instance
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Server C:&lt;/strong&gt;
&lt;br&gt;
Dell 7150 
&lt;br&gt;
Quad Itanium Processors&lt;br&gt;
12 Gb RAM&lt;br&gt;
&lt;strong&gt;64-Bit&lt;/strong&gt; Windows 2003 Enterprise Edition&lt;br&gt;
&lt;strong&gt;64-Bit&lt;/strong&gt; SQL Server 2005 Enterprise Edition
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
We began testing the NON-DNN site and DNN site databases against Server B, all with
success. We also setup DNN instances on Server B that used Server C as database server.
Testing was successful, but all DNN databases tested were less than 100 Mb. We noticed
that the DNN sites on Server B that talked to Server C DNN databases were slower,
but dismissed it as being on the slower Server B when compared to Server A. 
&lt;/p&gt;
&lt;p&gt;
So, after much testing for NON-DNN sites, we moved all NON-DNN databases to Server
C. All NON-DNN sites use the &lt;strong&gt;SQLOLEDB Provider&lt;/strong&gt;. Our largest NON-DNN
database is over 3.5 Gb. After the move, the site with the largest database experienced
great performance/speed improvements. Some larger data transactions were executed
in almost half of the time. We were very pleased with the results. 
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.venexus.com/64bit-A.gif"&gt;
&lt;/p&gt;
&lt;p&gt;
After successful NON-DNN databases move from Server A to Server C, we began moving
the DNN databases to Server C.&amp;nbsp; The first 3 were very small databases. However,
the largest of the 3, we noticed a difference in speed. Concerned, but determined
to move on, we moved a 2.5 Gb DNN database to Server C and gave it a try... The speed
was horrible taking as much as 15-45 seconds to deliver a page. We quickly backed
out of the upgrade and began our investigation…
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.venexus.com/64bit-B.gif"&gt;
&lt;/p&gt;
&lt;p&gt;
Doing a little research, I dug into the DNN documentation for Data Access and looked
at the code to see DNN uses &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatasqlclientsqlconnectionclasstopic.asp"&gt;System.Data.SQLClient&lt;/a&gt; as
the provider. &lt;strong&gt;Why would SQLOLEDB be fast and the DNN SQLDataProvider be so
dreadfully slow and only when on a 64-Bit server?&lt;/strong&gt; I really have no desire
to change any of the core DNN code to use the System.Data.OleDb as the provider to
test and see if there is a difference, so any recommedations and/or suggestions are
appreciated.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
I know there are a few issues with 64-Bit SQL Server 2005 tools running slow: &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;906892"&gt;You
may experience slow performance when you run 32-bit SQL Server tools on 64-bit operating
systems&lt;/a&gt;. But, this should not be related to the issue since this concerns just
the tools, or does it? 
&lt;/p&gt;
&lt;p&gt;
I plan on burning a support call to Microsoft, but would like to gain any insight
others might have before I make the call.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=5ae12687-1b47-497a-8e91-701d3eed4379" /&gt;</description>
      <category>DotNetNuke Errors;MS SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=180e3946-35a6-42a3-bf9a-c34e461b2964</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,180e3946-35a6-42a3-bf9a-c34e461b2964.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <span>
          </span>
        </p>
        <h1>
          <font size="3">Server Error in '/' Application.</font>
          <hr width="100%" color="silver" size="1" />
        </h1>
        <h2>
          <i>
            <font size="2">Object reference not set to an instance of an object.</font>
          </i>
        </h2>
        <p>
          <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
            <b>
              <font face="Verdana">Description: </font>
            </b>An
unhandled exception occurred during the execution of the current web request. Please
review the stack trace for more information about the error and where it originated
in the code. 
<br /><br /><b><font face="Verdana">Exception Details: </font></b>System.NullReferenceException:
Object reference not set to an instance of an object.<br /><br /><b><font face="Verdana">Source Error:</font></b><br /><br /><table width="100%" bgcolor="#ffffcc"><tbody><tr><td><code>An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can be identified
using the exception stack trace below.</code></td></tr></tbody></table><br /><b><font face="Verdana">Stack Trace:</font></b><br /><br /><table width="100%" bgcolor="#ffffcc"><tbody><tr><td><code><pre>[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +702
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +64
</pre></code></td></tr></tbody></table><br /></font>
        </p>
        <hr width="100%" color="silver" size="1" />
        <p>
          <b>
            <font face="Verdana">Version Information:</font>
          </b> Microsoft .NET Framework
Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 
</p>
        <p>
I have DNN 4.0.2 running on my laptop and frequently get this error. I started getting
this error with the first version of DNN 4 and have hoped with each release that it
would go away without any luck. I know of another person who is experiencing this
error as well. Until I find the solution, this is a placeholder...
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=180e3946-35a6-42a3-bf9a-c34e461b2964" />
      </body>
      <title>DotNetNuke . HttpModules . UrlRewriteModule . OnBeginRequest Error</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,180e3946-35a6-42a3-bf9a-c34e461b2964.aspx</guid>
      <link>http://dnnblog.venexus.com/DotNetNuke+HttpModules+UrlRewriteModule+OnBeginRequest+Error.aspx</link>
      <pubDate>Fri, 30 Dec 2005 01:35:09 GMT</pubDate>
      <description>&lt;p&gt;
&lt;span&gt;
&lt;/p&gt;
&lt;h1&gt;&lt;font size=3&gt;Server Error in '/' Application.&lt;/font&gt; 
&lt;hr width="100%" color=silver size=1&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;&lt;font size=2&gt;Object reference not set to an instance of an object.&lt;/font&gt;&lt;/i&gt; 
&lt;/h2&gt;
&lt;p&gt;
&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;&lt;font face=Verdana&gt;Description: &lt;/font&gt;&lt;/b&gt;An
unhandled exception occurred during the execution of the current web request. Please
review the stack trace for more information about the error and where it originated
in the code. 
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;&lt;font face=Verdana&gt;Exception Details: &lt;/font&gt;&lt;/b&gt;System.NullReferenceException:
Object reference not set to an instance of an object.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;&lt;font face=Verdana&gt;Source Error:&lt;/font&gt;&lt;/b&gt; 
&lt;br&gt;
&lt;br&gt;
&lt;table width="100%" bgcolor=#ffffcc&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can be identified
using the exception stack trace below.&lt;/code&gt; 
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;
&lt;b&gt;&lt;font face=Verdana&gt;Stack Trace:&lt;/font&gt;&lt;/b&gt; 
&lt;br&gt;
&lt;br&gt;
&lt;table width="100%" bgcolor=#ffffcc&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;&lt;pre&gt;[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +702
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +64
&lt;/pre&gt;
&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;hr width="100%" color=silver size=1&gt;
&lt;p&gt;
&lt;b&gt;&lt;font face=Verdana&gt;Version Information:&lt;/font&gt;&lt;/b&gt;&amp;nbsp;Microsoft .NET Framework
Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 
&lt;/p&gt;
&lt;p&gt;
I have DNN 4.0.2 running on my laptop and frequently get this error. I started getting
this error with the first version of DNN 4 and have hoped with each release that it
would go away without any luck. I know of another person who is experiencing this
error as well. Until I find the solution, this is a placeholder...&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=180e3946-35a6-42a3-bf9a-c34e461b2964" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=277f8c7b-4937-4b40-b0cd-6329f6397253</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,277f8c7b-4937-4b40-b0cd-6329f6397253.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
We were experiencing the following error 4 times per minute.
</p>
        <h3>Scheduler Exception :
</h3>
        <p>
          <font color="#ff0000">AssemblyVersion: -1<br />
Method: 
<br />
FileName: 
<br />
FileLineNumber: -1<br />
FileColumnNumber: -1<br />
PortalID: -1<br />
PortalName: 
<br />
UserID: -1<br />
UserName: 
<br />
ActiveTabID: -1<br />
ActiveTabName: 
<br />
AbsoluteURL: 
<br />
AbsoluteURLReferrer: 
<br />
ExceptionGUID: 
<br />
DefaultDataProvider: 
<br />
InnerException: Add failed. Duplicate key value supplied.<br />
Message: System.ArgumentException: Add failed. Duplicate key value supplied. at Microsoft.VisualBasic.Collection.Add(Object
Item, String Key, Object Before, Object After) at DotNetNuke.Services.Scheduling.DNNScheduling.CoreScheduler.AddToScheduleInProgress(ScheduleHistoryItem
objScheduleHistoryItem) at DotNetNuke.Services.Scheduling.DNNScheduling.CoreScheduler.WorkStarted(SchedulerClient&amp;
objSchedulerClient)<br />
StackTrace: 
<br />
Source: </font>
        </p>
        <h4>Environment:
</h4>
        <p>
          <strong>DotNetNuke Version: </strong>3.1.1 
</p>
        <p>
          <strong>Data Provider:</strong> SqlDataProvider 
</p>
        <p>
          <strong>.NET Framework:</strong> 1.1.4322.2032 
<br /></p>
        <p>
So, I went into <strong>Host </strong>&gt; <strong>Schedule </strong>and started disabling
each Scheduled Task until I found the culprit. This was pretty easy to figure out
because the only non-core scheduled tasks that was new was the following:
</p>
        <p>
UserPaymentTools.BuyNow.PurgeShoppingCart, UserPaymentTools.BuyNow
</p>
        <p>
AND
</p>
        <p>
UserPaymentTools.BuyNow.ServicePayments, UserPaymentTools.BuyNow
</p>
        <p>
I tried every combination and each task created 2 scheduler exceptions per minute,
despite having a frequency of 1 and 3 hours. I have disabled both task and no longer
experience the error. I plan on following up with the developer of this module and
will post my comments in a separate entry as this is the second major issue I have
experienced from 2 modules I have purchased from this individual and did not receive
a response from the first one... 
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=277f8c7b-4937-4b40-b0cd-6329f6397253" />
      </body>
      <title>DotNetNuke Scheduler Exception - Duplicate Key Value Supplied</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,277f8c7b-4937-4b40-b0cd-6329f6397253.aspx</guid>
      <link>http://dnnblog.venexus.com/DotNetNuke+Scheduler+Exception+Duplicate+Key+Value+Supplied.aspx</link>
      <pubDate>Wed, 21 Dec 2005 01:17:14 GMT</pubDate>
      <description>&lt;p&gt;
We were experiencing the following error 4 times per minute.
&lt;/p&gt;
&lt;h3&gt;Scheduler Exception :
&lt;/h3&gt;
&lt;p&gt;
&lt;font color=#ff0000&gt;AssemblyVersion: -1&lt;br&gt;
Method: 
&lt;br&gt;
FileName: 
&lt;br&gt;
FileLineNumber: -1&lt;br&gt;
FileColumnNumber: -1&lt;br&gt;
PortalID: -1&lt;br&gt;
PortalName: 
&lt;br&gt;
UserID: -1&lt;br&gt;
UserName: 
&lt;br&gt;
ActiveTabID: -1&lt;br&gt;
ActiveTabName: 
&lt;br&gt;
AbsoluteURL: 
&lt;br&gt;
AbsoluteURLReferrer: 
&lt;br&gt;
ExceptionGUID: 
&lt;br&gt;
DefaultDataProvider: 
&lt;br&gt;
InnerException: Add failed. Duplicate key value supplied.&lt;br&gt;
Message: System.ArgumentException: Add failed. Duplicate key value supplied. at Microsoft.VisualBasic.Collection.Add(Object
Item, String Key, Object Before, Object After) at DotNetNuke.Services.Scheduling.DNNScheduling.CoreScheduler.AddToScheduleInProgress(ScheduleHistoryItem
objScheduleHistoryItem) at DotNetNuke.Services.Scheduling.DNNScheduling.CoreScheduler.WorkStarted(SchedulerClient&amp;amp;
objSchedulerClient)&lt;br&gt;
StackTrace: 
&lt;br&gt;
Source: &lt;/font&gt;
&lt;/p&gt;
&lt;h4&gt;Environment:
&lt;/h4&gt;
&lt;p&gt;
&lt;strong&gt;DotNetNuke Version: &lt;/strong&gt;3.1.1 
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Data Provider:&lt;/strong&gt; SqlDataProvider 
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;.NET Framework:&lt;/strong&gt; 1.1.4322.2032 
&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
So, I went into &lt;strong&gt;Host &lt;/strong&gt;&amp;gt; &lt;strong&gt;Schedule &lt;/strong&gt;and started disabling
each Scheduled Task until I found the culprit. This was pretty easy to figure out
because the only non-core scheduled tasks that was new was the following:
&lt;/p&gt;
&lt;p&gt;
UserPaymentTools.BuyNow.PurgeShoppingCart, UserPaymentTools.BuyNow
&lt;/p&gt;
&lt;p&gt;
AND
&lt;/p&gt;
&lt;p&gt;
UserPaymentTools.BuyNow.ServicePayments, UserPaymentTools.BuyNow
&lt;/p&gt;
&lt;p&gt;
I tried every combination and each task created 2 scheduler exceptions per minute,
despite having a frequency of 1 and 3 hours. I have disabled both task and no longer
experience the error. I plan on following up with the developer of this module and
will post my comments in a separate entry as this is the second major issue I have
experienced from 2 modules I have purchased from this individual and did not receive
a response from the first one... 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=277f8c7b-4937-4b40-b0cd-6329f6397253" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=96751dcb-08c7-465c-9608-7c5791568665</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,96751dcb-08c7-465c-9608-7c5791568665.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
If you try to run DNN 3.X using .Net 1.1 AND DNN 4.x using .Net 2.0, make sure
you put the sites into separate application pools if they are running on the same
server. Not doing so will result in the following error in the event log:
</p>
        <font color="#ff0000" size="2">
          <p>
            <strong>It is not possible to run two different versions of ASP.NET in the same IIS
process. Please use the IIS Administration Tool to reconfigure your server to run
the application in a separate process.</strong>
          </p>
        </font>
        <p>
In versions of IIS before 6.0, each application runs in a seperate process during
run time. IIS 6 brings the ability to run spearate application pools and applications
that are assigned to different application pools never run in the same process.
So this was all new to me ;-)
</p>
        <p>
So, to change it is quite simple...
</p>
        <p class="labelproc">
          <b>To create a pool designation in IIS 6.0</b>
        </p>
        <ol type="1">
          <li>
Open the IIS management console and expand the local computer by clicking the plus
sign. 
</li>
          <li>
Right-click the <b>Application Pools</b> folder, point to <b>New</b>, and then click <b>Application
Pool</b>. The <b>Add New Application Pool</b> dialog box appears. 
</li>
          <li>
Enter the new pool designation in the <b>Application pool</b> text box, and then click <b>OK</b>. 
</li>
        </ol>
        <p class="labelproc">
          <b>To assign a pool designation to an ASP.NET application in IIS 6.0</b>
        </p>
        <ol type="1">
          <li>
Open the IIS management console, expand the local computer by clicking the plus sign,
and navigate to the folder that contains the ASP.NET application. 
</li>
          <li>
Right-click the application and then click <b>Properties</b>. The application's properties
dialog box appears. 
</li>
          <li>
On the <b>Directory</b> tab, select the desired pool designation from the <b>Application
Pool</b> list. 
</li>
        </ol>
        <p class="dtH1">
          <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconconfiguringaspnetapplicationforaspnetversion.asp">Configuring
an ASP.NET Application for an ASP.NET Version</a>
        </p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=96751dcb-08c7-465c-9608-7c5791568665" />
      </body>
      <title>Running .Net 1.1 and 2.0 for multiple DNN 3.x and DNN 4.x installations in IIS 6</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,96751dcb-08c7-465c-9608-7c5791568665.aspx</guid>
      <link>http://dnnblog.venexus.com/Running+Net+11+And+20+For+Multiple+DNN+3x+And+DNN+4x+Installations+In+IIS+6.aspx</link>
      <pubDate>Fri, 16 Dec 2005 15:30:08 GMT</pubDate>
      <description>&lt;p&gt;
If you try to run DNN 3.X using .Net 1.1&amp;nbsp;AND DNN 4.x using .Net 2.0, make sure
you put the sites into separate application pools if they are running on the same
server. Not doing so&amp;nbsp;will result in the following error in the event log:
&lt;/p&gt;
&lt;font color=#ff0000 size=2&gt; 
&lt;p&gt;
&lt;strong&gt;It is not possible to run two different versions of ASP.NET in the same IIS
process. Please use the IIS Administration Tool to reconfigure your server to run
the application in a separate process.&lt;/strong&gt;
&lt;/p&gt;
&lt;/font&gt; 
&lt;p&gt;
In versions of IIS before 6.0, each application runs in a seperate process during
run time. IIS 6 brings the ability to run spearate application pools and applications
that are assigned to different application pools never run in&amp;nbsp;the same&amp;nbsp;process.
So this was all new to me ;-)
&lt;/p&gt;
&lt;p&gt;
So, to change it is quite simple...
&lt;/p&gt;
&lt;p class=labelproc&gt;
&lt;b&gt;To create a pool designation in IIS 6.0&lt;/b&gt; 
&lt;ol type=1&gt;
&lt;li&gt;
Open the IIS management console and expand the local computer by clicking the plus
sign. 
&lt;li&gt;
Right-click the &lt;b&gt;Application Pools&lt;/b&gt; folder, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;Application
Pool&lt;/b&gt;. The &lt;b&gt;Add New Application Pool&lt;/b&gt; dialog box appears. 
&lt;li&gt;
Enter the new pool designation in the &lt;b&gt;Application pool&lt;/b&gt; text box, and then click &lt;b&gt;OK&lt;/b&gt;. 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class=labelproc&gt;
&lt;b&gt;To assign a pool designation to an ASP.NET application in IIS 6.0&lt;/b&gt; 
&lt;ol type=1&gt;
&lt;li&gt;
Open the IIS management console, expand the local computer by clicking the plus sign,
and navigate to the folder that contains the ASP.NET application. 
&lt;li&gt;
Right-click the application and then click &lt;b&gt;Properties&lt;/b&gt;. The application's properties
dialog box appears. 
&lt;li&gt;
On the &lt;b&gt;Directory&lt;/b&gt; tab, select the desired pool designation from the &lt;b&gt;Application
Pool&lt;/b&gt; list. 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class=dtH1&gt;
&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconconfiguringaspnetapplicationforaspnetversion.asp"&gt;Configuring
an ASP.NET Application for an ASP.NET Version&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=96751dcb-08c7-465c-9608-7c5791568665" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=5f4c28f5-170b-4a4a-adfc-e6f90f00a78f</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,5f4c28f5-170b-4a4a-adfc-e6f90f00a78f.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
InnerException: The<strong> incoming tabular data stream (TDS) remote procedure call
(RPC) protocol stream is incorrect</strong>. Parameter 1 ("@rawQuery"): Data type <strong>0xE7</strong> has
an <strong>invalid data length</strong> or <strong>metadata length</strong>.
</p>
        <p>
This is here as a placeholder because I have a feeling this is going to come up agaqin
soon...We experieced this issue with a DNN module that called a stored proc on a database
that was not located on the same server as where the DNN installation lived and a
different database than the DNN database. 
</p>
        <p>
          <strong>0xE7 = 231, which is correct for nvarchar</strong>. Running SQL Profiler,
no trace of the stored proc being run was found. 
</p>
        <p>
          <font color="#ff0000">**NOTE** The stored procedure that is being called is <strong>NOT</strong> in
the DotNetNuke database.</font>
        </p>
        <p>
We tried the following cases with interesting results:
</p>
        <p>
          <strong>Error Case:</strong>
        </p>
        <p>
Server A (Windows 2003 Standard running IIS), connecting to Server B (remote SQL Server
2005 database). <strong>ERROR = TRUE</strong></p>
        <p>
          <strong>Test Case 1:</strong>
        </p>
        <p>
Server A (Windows 2003 Enterprise running IIS), connecting to local SQL Server
2000  database. <strong>ERROR = FALSE</strong></p>
        <p>
          <strong>Test Case 2:</strong>
        </p>
        <p>
Server C (Windows 2003 Standard running IIS), connecting to local SQL Server
2000  database. <strong>ERROR = FALSE</strong></p>
        <p>
          <strong>Test Case 3:</strong>
        </p>
        <p>
Server A (Windows 2003 Enterprise running IIS), connecting to Server C (remote SQL
Server 2000  database). <strong>ERROR = FALSE</strong></p>
        <p>
          <strong>Test Case 4:</strong>
        </p>
        <p>
Server C (Windows 2003 Standard running IIS), connecting to Server B (remote
SQL Server 2005 database). <strong>ERROR = TRUE</strong></p>
        <p>
          <strong>Test Case 5:</strong>
        </p>
        <p>
Server D (Windows 2003 Standard running IIS), connecting to local SQL Server
2005  database. <strong>ERROR = TRUE</strong></p>
        <p>
See the pattern? So, this definitely points to an SQL Server 2005 issue. This lead
us down the route of changing the provider to see if the module would work. And guess
what? It did. The error goes away. WTF? No time to run a packet sniffer. I am logging
this here as a great mystery to solve some other time.
</p>
        <p>
          <br />
          <strong> Update 1/9/2005:</strong>
        </p>
        <p>
During validation of a byte-ordered user-defined type passed through RPC, user-defined
type validation performs de-serialization/re-serialization of the user-defined type
and requires that the resulting bytes be exactly the same as the original. If the
validation fails, you will see the error: 
</p>
        <div class="errormsg">
          <font color="#ff0000">"System.Data.SqlClient.SqlException, Incoming
TDS RPC protocol stream is incorrect. Parameter 1 ("<var>&lt;ParameterName&gt;</var>"):
The supplied value is not a valid instance of data type <var>&lt;TypeName&gt;</var>.
Check the source data for invalid values."</font>  - Reference: <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;910228">http://support.microsoft.com/default.aspx?scid=kb;en-us;910228</a> 
in section 4.1.4
</div>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=5f4c28f5-170b-4a4a-adfc-e6f90f00a78f" />
      </body>
      <title>DotNetNuke - Incoming TDS RPC Protocol Stream Incorrect Error for SQL Server 2005</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,5f4c28f5-170b-4a4a-adfc-e6f90f00a78f.aspx</guid>
      <link>http://dnnblog.venexus.com/DotNetNuke+Incoming+TDS+RPC+Protocol+Stream+Incorrect+Error+For+SQL+Server+2005.aspx</link>
      <pubDate>Tue, 13 Dec 2005 20:35:40 GMT</pubDate>
      <description>&lt;p&gt;
InnerException: The&lt;strong&gt; incoming tabular data stream (TDS) remote procedure call
(RPC) protocol stream is incorrect&lt;/strong&gt;. Parameter 1 ("@rawQuery"): Data type &lt;strong&gt;0xE7&lt;/strong&gt; has
an &lt;strong&gt;invalid data length&lt;/strong&gt; or &lt;strong&gt;metadata length&lt;/strong&gt;.
&lt;/p&gt;
&lt;p&gt;
This is here as a placeholder because I have a feeling this is going to come up agaqin
soon...We experieced this issue with a DNN module that called a stored proc on a database
that was not located on the same server as where the DNN installation lived and a
different database than the DNN database. 
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;0xE7 = 231,&amp;nbsp;which is correct for nvarchar&lt;/strong&gt;. Running SQL Profiler,
no trace of the stored proc being run was found. 
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#ff0000&gt;**NOTE** The stored procedure that is being called is &lt;strong&gt;NOT&lt;/strong&gt; in
the DotNetNuke database.&lt;/font&gt; 
&lt;/p&gt;
&lt;p&gt;
We tried the following cases with interesting results:
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Error Case:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Server A (Windows 2003 Standard running IIS), connecting to Server B (remote SQL Server
2005 database).&amp;nbsp;&lt;strong&gt;ERROR = TRUE&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Test Case 1:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Server A (Windows 2003&amp;nbsp;Enterprise running IIS), connecting to local SQL Server
2000&amp;nbsp; database. &lt;strong&gt;ERROR = FALSE&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Test Case 2:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Server&amp;nbsp;C (Windows 2003 Standard running IIS), connecting to local SQL Server
2000&amp;nbsp; database. &lt;strong&gt;ERROR = FALSE&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Test Case 3:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Server A (Windows 2003 Enterprise running IIS), connecting to Server C (remote SQL
Server 2000&amp;nbsp; database). &lt;strong&gt;ERROR = FALSE&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Test Case 4:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Server&amp;nbsp;C (Windows 2003 Standard running IIS), connecting to Server B (remote
SQL Server 2005 database).&amp;nbsp;&lt;strong&gt;ERROR = TRUE&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Test Case 5:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Server&amp;nbsp;D (Windows 2003 Standard running IIS), connecting to local SQL Server
2005&amp;nbsp; database. &lt;strong&gt;ERROR = TRUE&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
See the pattern? So, this definitely points to an SQL Server 2005 issue. This lead
us down the route of changing the provider to see if the module would work. And guess
what? It did. The error goes away. WTF? No time to run a packet sniffer. I am logging
this here as a great mystery to solve some other time.
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
&lt;strong&gt;&amp;nbsp;Update 1/9/2005:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
During validation of a byte-ordered user-defined type passed through RPC, user-defined
type validation performs de-serialization/re-serialization of the user-defined type
and requires that the resulting bytes be exactly the same as the original. If the
validation fails, you will see the error: 
&lt;/p&gt;
&lt;div class=errormsg&gt;&lt;font color=#ff0000&gt;"System.Data.SqlClient.SqlException, Incoming
TDS RPC protocol stream is incorrect. Parameter 1 ("&lt;var&gt;&amp;lt;ParameterName&amp;gt;&lt;/var&gt;"):
The supplied value is not a valid instance of data type &lt;var&gt;&amp;lt;TypeName&amp;gt;&lt;/var&gt;.
Check the source data for invalid values."&lt;/font&gt;&amp;nbsp; - Reference: &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;910228"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;910228&lt;/a&gt;&amp;nbsp;
in section 4.1.4
&lt;/div&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=5f4c28f5-170b-4a4a-adfc-e6f90f00a78f" /&gt;</description>
      <category>DotNetNuke Errors;MS SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=31d3794d-0a32-4efb-83e7-ad451cc26e25</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,31d3794d-0a32-4efb-83e7-ad451cc26e25.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
        <p>
I am getting the following error randomly on a localhost install of DNN on my laptop.
Restarting IIS fixes the problem until it randomly occurs again.<span></span></p>
        <h1>
          <font size="3">Server Error in '/' Application. 
<hr width="100%" color="silver" size="1" /></font>
        </h1>
        <h2>
          <i>
            <font size="3">Object reference not set to an instance of an object.</font>
          </i>
        </h2>
        <p>
          <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
            <b>
              <font face="Verdana">Description: </font>
            </b>An
unhandled exception occurred during the execution of the current web request. Please
review the stack trace for more information about the error and where it originated
in the code. 
<br /><br /><b><font face="Verdana">Exception Details: </font></b>System.NullReferenceException:
Object reference not set to an instance of an object.<br /><br /><b><font face="Verdana">Source Error:</font></b><br /><br /><table width="100%" bgcolor="#ffffcc"><tbody><tr><td><code>An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can be identified
using the exception stack trace below.</code></td></tr></tbody></table><br /><b><font face="Verdana">Stack Trace:</font></b><br /><br /><table width="100%" bgcolor="#ffffcc"><tbody><tr><td><code><pre>[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1123
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +64
</pre></code></td></tr></tbody></table></font>
        </p>
        <p>
 
</p>
        <p>
This is a placeholder until I find the solution....
</p>
        <p>
          <strong>Not to self:</strong> Is this a session timeout issue? Seems like it happens
after a long duration has passed before returning to localhost. Dig through the logs
and look ;-)
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=31d3794d-0a32-4efb-83e7-ad451cc26e25" />
      </body>
      <title>Random DNN 4 Error</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,31d3794d-0a32-4efb-83e7-ad451cc26e25.aspx</guid>
      <link>http://dnnblog.venexus.com/Random+DNN+4+Error.aspx</link>
      <pubDate>Sun, 11 Dec 2005 19:49:47 GMT</pubDate>
      <description>&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
I am getting the following error randomly on a localhost install of DNN on my laptop.
Restarting IIS fixes the problem until it randomly occurs again.&lt;span&gt;
&lt;/p&gt;
&lt;h1&gt;&lt;font size=3&gt;Server Error in '/' Application. 
&lt;hr width="100%" color=silver size=1&gt;
&lt;/font&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;&lt;font size=3&gt;Object reference not set to an instance of an object.&lt;/font&gt;&lt;/i&gt; 
&lt;/h2&gt;
&lt;p&gt;
&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;&lt;font face=Verdana&gt;Description: &lt;/font&gt;&lt;/b&gt;An
unhandled exception occurred during the execution of the current web request. Please
review the stack trace for more information about the error and where it originated
in the code. 
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;&lt;font face=Verdana&gt;Exception Details: &lt;/font&gt;&lt;/b&gt;System.NullReferenceException:
Object reference not set to an instance of an object.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;&lt;font face=Verdana&gt;Source Error:&lt;/font&gt;&lt;/b&gt; 
&lt;br&gt;
&lt;br&gt;
&lt;table width="100%" bgcolor=#ffffcc&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can be identified
using the exception stack trace below.&lt;/code&gt; 
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;
&lt;b&gt;&lt;font face=Verdana&gt;Stack Trace:&lt;/font&gt;&lt;/b&gt; 
&lt;br&gt;
&lt;br&gt;
&lt;table width="100%" bgcolor=#ffffcc&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;&lt;pre&gt;[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1123
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +64
&lt;/pre&gt;
&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
This is a placeholder until I find the solution....
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Not to self:&lt;/strong&gt; Is this a session timeout issue? Seems like it happens
after a long duration has passed before returning to localhost. Dig through the logs
and look ;-)
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=31d3794d-0a32-4efb-83e7-ad451cc26e25" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=b2357155-99f2-4d05-91c4-a56ea0d041b0</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,b2357155-99f2-4d05-91c4-a56ea0d041b0.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p align="left">
          <span id="lblDirectLink" style="FONT-SIZE: x-small; COLOR: gray">
            <span id="lblDesc">
              <font color="#000000">Lee
Sykes of <a href="http://www.dnncreative.com/">DNN Creative</a> informed me this morning
that there is an issue with modules that dynamically change the title.</font>
            </span>
          </span>
        </p>
        <p align="left">
          <span style="FONT-SIZE: x-small; COLOR: gray">
            <span>
              <font color="#ff0000">
                <strong>Line
50 in CDefault.vb is commented out:</strong>
              </font>
              <font size="2">
              </font>
            </span>
          </span>
        </p>
        <p>
        </p>
        <p>
          <font color="#008000" size="2">
            <font color="#008000">'Public Title As String = ""</font>
            <br />
            <br />
            <font color="#000000">This will cause many modules that use this property of CDefault
to dynamically set the page title to break.</font>
          </font>
        </p>
        <p>
          <font color="#008000" size="2">
            <font color="#000000">
              <a href="http://support.dotnetnuke.com/issue/ViewIssue.aspx?ID=2208">Source</a>
            </font>
          </font>
        </p>
        <p>
          <font size="2">
            <font color="#000000">I know this will cause some errors. I have several
modules that alter the page title based on content for search engine optimization.
This will definitley delay any upgrade we do from DNN 3 to DNN 4 in our production
environment if it takes longer than 1 month for the next patch/release. I will post
any updates here.</font>
          </font>
        </p>
        <p>
          <table class="webFormSimple" id="Table1" cellspacing="0" cellpadding="5" width="100%" border="0">
            <tbody>
              <tr>
                <td class="webFormSimpleItem3_TD_B" colspan="2">
                  <p>
                    <span id="lblTitle" style="FONT-WEIGHT: bold; FONT-SIZE: medium">
                      <font color="#000000">
                      </font>
                    </span> 
</p>
                </td>
              </tr>
            </tbody>
          </table>
        </p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=b2357155-99f2-4d05-91c4-a56ea0d041b0" />
      </body>
      <title>CDefault.Title no longer supported in 4.0.1</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,b2357155-99f2-4d05-91c4-a56ea0d041b0.aspx</guid>
      <link>http://dnnblog.venexus.com/CDefaultTitle+No+Longer+Supported+In+401.aspx</link>
      <pubDate>Fri, 09 Dec 2005 15:59:38 GMT</pubDate>
      <description>&lt;p align=left&gt;
&lt;span id=lblDirectLink style="FONT-SIZE: x-small; COLOR: gray"&gt;&lt;span id=lblDesc&gt;&lt;font color=#000000&gt;Lee
Sykes of &lt;a href="http://www.dnncreative.com/"&gt;DNN Creative&lt;/a&gt; informed me this morning
that there is an issue with modules that dynamically change the title.&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p align=left&gt;
&lt;span style="FONT-SIZE: x-small; COLOR: gray"&gt;&lt;span&gt;&lt;font color=#ff0000&gt;&lt;strong&gt;Line
50 in CDefault.vb is commented out:&lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;
&gt;&lt;font color=#008000 size=2&gt;&lt;font color=#008000&gt;'Public Title As String = ""&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;font color=#000000&gt;This will cause many modules that use this property of CDefault
to dynamically set the page title to break.&lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font color=#008000 size=2&gt;&lt;font color=#000000&gt;&lt;a href="http://support.dotnetnuke.com/issue/ViewIssue.aspx?ID=2208"&gt;Source&lt;/a&gt;&lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size=2&gt;&lt;font color=#000000&gt;I know this will cause some errors. I have several
modules&amp;nbsp;that alter the page title based on content for search engine optimization.
This will definitley delay any upgrade we do from DNN 3 to DNN 4 in our production
environment if it takes longer than 1 month for the next patch/release. I will post
any updates here.&lt;/font&gt;
&lt;/p&gt;
&gt;&gt;&gt; 
&lt;p&gt;
&lt;table class=webFormSimple id=Table1 cellspacing=0 cellpadding=5 width="100%" border=0&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=webFormSimpleItem3_TD_B colspan=2&gt;
&lt;p&gt;
&lt;span id=lblTitle style="FONT-WEIGHT: bold; FONT-SIZE: medium"&gt;&lt;font color=#000000&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=b2357155-99f2-4d05-91c4-a56ea0d041b0" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=4fb796ed-35b8-4469-9e28-1b8e5dee02ee</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,4fb796ed-35b8-4469-9e28-1b8e5dee02ee.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I successfully updated our development environment with DNN 4.0.1.
</p>
        <p>
See below:
</p>
        <h2>
          <font size="3">Current Assembly Version: 04.00.01</font>
        </h2>
        <h2>
          <font size="3">Current Database Version: 04.00.00</font>
        </h2>
        <p>
          <font size="3">
            <br />
            <br />
          </font>
        </p>
        <h2>
          <font size="3">Upgrade Status Report</font>
        </h2>
        <p>
00:00:00.031 - Upgrading to Version: 4.0.1<br />
00:00:00.750 - Performing General Upgrades<br />
00:00:01.140 - Installing Module File D:\DNN4.0\Install\Module\Announcements.zip:<br />
00:00:01.531 - Installing Module File D:\DNN4.0\Install\Module\Announcements_3.1_Install.zip:<br />
00:00:01.968 - Installing Module File D:\DNN4.0\Install\Module\Contacts_3.1_Install.zip:<br />
00:00:02.203 - Installing Module File D:\DNN4.0\Install\Module\Discussions_3.1_Install.zip:<br />
00:00:02.500 - Installing Module File D:\DNN4.0\Install\Module\Documents_3.1_Install.zip:<br />
00:00:02.750 - Installing Module File D:\DNN4.0\Install\Module\Events_3.1_Install.zip:<br />
00:00:03.140 - Installing Module File D:\DNN4.0\Install\Module\FAQs_3.1_Install.zip:<br />
00:00:03.375 - Installing Module File D:\DNN4.0\Install\Module\Feedback_3.1_Install.zip:<br />
00:00:03.546 - Installing Module File D:\DNN4.0\Install\Module\HTML_3.1_Install.zip:<br />
00:00:03.765 - Installing Module File D:\DNN4.0\Install\Module\IFrame_3.1_Install.zip:<br />
00:00:03.968 - Installing Module File D:\DNN4.0\Install\Module\Image_3.1_Install.zip:<br />
00:00:04.125 - Installing Module File D:\DNN4.0\Install\Module\Links_3.1_Install.zip:<br />
00:00:04.453 - Installing Module File D:\DNN4.0\Install\Module\NewsFeeds_3.1_Install.zip:<br />
00:00:04.625 - Installing Module File D:\DNN4.0\Install\Module\Survey_3.1_Install.zip:<br />
00:00:06.875 - Installing Module File D:\DNN4.0\Install\Module\UserDefinedTable_3.1_Install.zip:<br />
00:00:08.406 - Installing Module File D:\DNN4.0\Install\Module\UsersOnline_3.1_Install.zip:<br />
00:00:08.797 - Installing Module File D:\DNN4.0\Install\Module\XML_3.1_Install.zip:<br /></p>
        <h2>
          <font size="3">Upgrade Complete</font>
          <font size="3">
            <br />
            <br />
          </font>
        </h2>
        <h2>
          <a href="http://www.dnnmoddev.org/Default.aspx">
            <font size="3">Click Here To Access
Your Portal</font>
          </a>
        </h2>
        <p>
 
</p>
        <p>
          <strong>
            <font size="3">Our Development Environment</font>
          </strong>     
</p>
        <p>
          <strong>Web Server:<br /></strong>Dell 1550 Dual 1 Ghz processors with 2 Gb RAM 
<br />
Windows 2003 Stadard Edition with Service Pack 1
</p>
        <p>
          <strong>Database Server:</strong>
          <br />
Dell 7150 Quad Itanium processors with 12 Gb RAM 
<br />
Windows 2003 Enterprise Edition with Service Pack 1 (64 bit) 
<br />
Microsoft SQL Server 2005 Enterprise Edition (64 bit)
</p>
        <p>
          <strong>DotNetNuke:</strong>
          <br />
DotNetNuke Version: 4.0.1 
<br />
Data Provider: SqlDataProvider 
<br />
.NET Framework: 2.0.50727.42 
<br />
ASP.NET Identity: NT AUTHORITY\NETWORK SERVICE
</p>
        <p>
I have confirmed that the DNN Search module errors I had experieced in DNN 4.0.0 have
been fixed. As commented on the <a href="http://dnnblog.venexus.com/DNN+40+And+Search+Module+Errors.aspx">DNN
4.0 and Search Module Errors</a> post by <span class="commentPermalinkStyle"><a href="http://www.cathal.co.uk/">Cathal</a> of
the DNN Core Team: "</span><span class="commentPermalinkStyle">this was caused by
an error with the businesscontroller interface. It's been fixed in dnn4.01 which has
been released".</span></p>
        <p>
          <span class="commentPermalinkStyle"> 
</span>
        </p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=4fb796ed-35b8-4469-9e28-1b8e5dee02ee" />
      </body>
      <title>Successful DNN 4.0.1 upgrade from 4.0.0</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,4fb796ed-35b8-4469-9e28-1b8e5dee02ee.aspx</guid>
      <link>http://dnnblog.venexus.com/Successful+DNN+401+Upgrade+From+400.aspx</link>
      <pubDate>Fri, 09 Dec 2005 04:55:04 GMT</pubDate>
      <description>&lt;p&gt;
I successfully updated our development environment with DNN 4.0.1.
&lt;/p&gt;
&lt;p&gt;
See below:
&lt;/p&gt;
&lt;h2&gt;&lt;font size=3&gt;Current Assembly Version: 04.00.01&lt;/font&gt;
&lt;/h2&gt;
&lt;h2&gt;&lt;font size=3&gt;Current Database Version: 04.00.00&lt;/font&gt;
&lt;/h2&gt;
&lt;p&gt;
&lt;font size=3&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;h2&gt;&lt;font size=3&gt;Upgrade Status Report&lt;/font&gt;
&lt;/h2&gt;
&lt;p&gt;
00:00:00.031 -&amp;nbsp;Upgrading to Version: 4.0.1&lt;br&gt;
00:00:00.750 -&amp;nbsp;Performing General Upgrades&lt;br&gt;
00:00:01.140 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\Announcements.zip:&lt;br&gt;
00:00:01.531 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\Announcements_3.1_Install.zip:&lt;br&gt;
00:00:01.968 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\Contacts_3.1_Install.zip:&lt;br&gt;
00:00:02.203 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\Discussions_3.1_Install.zip:&lt;br&gt;
00:00:02.500 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\Documents_3.1_Install.zip:&lt;br&gt;
00:00:02.750 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\Events_3.1_Install.zip:&lt;br&gt;
00:00:03.140 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\FAQs_3.1_Install.zip:&lt;br&gt;
00:00:03.375 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\Feedback_3.1_Install.zip:&lt;br&gt;
00:00:03.546 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\HTML_3.1_Install.zip:&lt;br&gt;
00:00:03.765 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\IFrame_3.1_Install.zip:&lt;br&gt;
00:00:03.968 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\Image_3.1_Install.zip:&lt;br&gt;
00:00:04.125 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\Links_3.1_Install.zip:&lt;br&gt;
00:00:04.453 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\NewsFeeds_3.1_Install.zip:&lt;br&gt;
00:00:04.625 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\Survey_3.1_Install.zip:&lt;br&gt;
00:00:06.875 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\UserDefinedTable_3.1_Install.zip:&lt;br&gt;
00:00:08.406 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\UsersOnline_3.1_Install.zip:&lt;br&gt;
00:00:08.797 -&amp;nbsp;Installing Module File D:\DNN4.0\Install\Module\XML_3.1_Install.zip:&lt;br&gt;
&lt;/p&gt;
&lt;h2&gt;&lt;font size=3&gt;Upgrade Complete&lt;/font&gt;&lt;font size=3&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/h2&gt;
&lt;h2&gt;&lt;a href="http://www.dnnmoddev.org/Default.aspx"&gt;&lt;font size=3&gt;Click Here To Access
Your Portal&lt;/font&gt;&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&lt;font size=3&gt;Our Development Environment&lt;/font&gt;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Web Server:&lt;br&gt;
&lt;/strong&gt;Dell 1550 Dual 1 Ghz processors with 2 Gb RAM 
&lt;br&gt;
Windows 2003 Stadard Edition with Service Pack 1
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Database Server:&lt;/strong&gt;
&lt;br&gt;
Dell 7150 Quad Itanium processors with 12 Gb RAM 
&lt;br&gt;
Windows 2003 Enterprise Edition with Service Pack 1 (64 bit) 
&lt;br&gt;
Microsoft SQL Server 2005 Enterprise Edition (64 bit)
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;DotNetNuke:&lt;/strong&gt;
&lt;br&gt;
DotNetNuke Version: 4.0.1 
&lt;br&gt;
Data Provider: SqlDataProvider 
&lt;br&gt;
.NET Framework: 2.0.50727.42 
&lt;br&gt;
ASP.NET Identity: NT AUTHORITY\NETWORK SERVICE
&lt;/p&gt;
&lt;p&gt;
I have confirmed that the DNN Search module errors I had experieced in DNN 4.0.0 have
been fixed. As commented on the &lt;a href="http://dnnblog.venexus.com/DNN+40+And+Search+Module+Errors.aspx"&gt;DNN
4.0 and Search Module Errors&lt;/a&gt;&amp;nbsp;post by &lt;span class=commentPermalinkStyle&gt;&lt;a href="http://www.cathal.co.uk/"&gt;Cathal&lt;/a&gt; of
the DNN Core Team: "&lt;/span&gt;&lt;span class=commentPermalinkStyle&gt;this was caused by an
error with the businesscontroller interface. It's been fixed in dnn4.01 which has
been released".&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=commentPermalinkStyle&gt;&amp;nbsp;
&lt;/p&gt;
&gt;&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=4fb796ed-35b8-4469-9e28-1b8e5dee02ee" /&gt;</description>
      <category>DotNetNuke Errors;DotNetNuke General</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=9fafb47d-dc77-486c-932f-3d59280d7c06</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,9fafb47d-dc77-486c-932f-3d59280d7c06.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Out of the box, DNN 4.0 Search is broken. A search test showed the following:
</p>
        <p>
          <img src="http://dnnblog.venexus.com/content/binary/dnn-search-errors.jpg" border="0" />
        </p>
        <p>
In the Log Viewer I see the following errors:
</p>
        <p>
          <span class="Normal" id="dnn_ctr356_LogViewer_dlLog__ctl3_lblException">
            <b>ModuleId</b>:
-1<br /><b>ModuleDefId</b>: -1<br /><b>FriendlyName</b>: 
<br /><b>ModuleControlSource</b>: 
<br /><b>AssemblyVersion</b>: 04.00.00<br /><b>Method</b>: System.Web.UI.Util.CheckVirtualFileExists<br /><b>FileName</b>: 
<br /><b>FileLineNumber</b>: 0<br /><b>FileColumnNumber</b>: 0<br /><b>PortalID</b>: 0<br /><b>PortalName</b>: My Website<br /><b>UserID</b>: 1<br /><b>UserName</b>: host<br /><b>ActiveTabID</b>: 37<br /><b>ActiveTabName</b>: Search Results<br /><b>AbsoluteURL</b>: /Default.aspx<br /><b>AbsoluteURLReferrer</b>: 
<br /><b>ExceptionGUID</b>: d7404334-fde9-4910-adea-52b19d7d8278<br /><b>DefaultDataProvider</b>: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider<br /><b>InnerException</b>: The file '/DesktopModules/SearchResults/SearchResults.ascx'
does not exist.<br /><b>Message</b>: DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/DesktopModules/SearchResults/SearchResults.ascx'
does not exist. ---&gt; System.Web.HttpException: The file '/DesktopModules/SearchResults/SearchResults.ascx'
does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath,
Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control
objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception
stack trace ---<br /><b>StackTrace</b>: 
<br /><b>Source</b>: 
<br /><b>Server Name</b>: BARNEY</span>
        </p>
        <p>
          <span class="Normal">I have confirmed that '/DesktopModules/SearchResults/SearchResults.ascx
does not exist and have yet to find where it's real location is.</span>
        </p>
        <p>
          <span class="Normal">
          </span> 
</p>
        <p>
          <span class="Normal">
            <span class="Normal" id="dnn_ctr356_LogViewer_dlLog__ctl2_lblException">
              <b>ModuleId</b>:
-1<br /><b>ModuleDefId</b>: -1<br /><b>FriendlyName</b>: 
<br /><b>ModuleControlSource</b>: 
<br /><b>AssemblyVersion</b>: 04.00.00<br /><b>Method</b>: System.Web.UI.UserControl.get_Request<br /><b>FileName</b>: 
<br /><b>FileLineNumber</b>: 0<br /><b>FileColumnNumber</b>: 0<br /><b>PortalID</b>: 0<br /><b>PortalName</b>: My Website<br /><b>UserID</b>: 1<br /><b>UserName</b>: host<br /><b>ActiveTabID</b>: 37<br /><b>ActiveTabName</b>: Search Results<br /><b>AbsoluteURL</b>: /Default.aspx<br /><b>AbsoluteURLReferrer</b>: 
<br /><b>ExceptionGUID</b>: 761ae1d9-b426-4dee-af03-f371eb81af25<br /><b>DefaultDataProvider</b>: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider<br /><b>InnerException</b>: Object reference not set to an instance of an object.<br /><b>Message</b>: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference
not set to an instance of an object. ---&gt; System.NullReferenceException: Object
reference not set to an instance of an object. at System.Web.UI.UserControl.get_Request()
at DotNetNuke.Entities.Modules.PortalModuleBase.get_IsEditable() at DotNetNuke.UI.Containers.Title.CanEditModule()
in D:\Venexus\DNN4.0\Admin\Containers\Title.ascx.vb:line 52 at DotNetNuke.UI.Containers.Title.Page_Load(Object
sender, EventArgs e) in D:\Venexus\DNN4.0\Admin\Containers\Title.ascx.vb:line 82 ---
End of inner exception stack trace ---<br /><b>StackTrace</b>: 
<br /><b>Source</b>: 
<br /><b>Server Name</b>: BARNEY<br /></span>
          </span>
        </p>
        <p>
          <span class="Normal">
            <span class="Normal">
              <span class="Normal" id="dnn_ctr356_LogViewer_dlLog__ctl1_lblException">
                <b>ModuleId</b>:
-1<br /><b>ModuleDefId</b>: -1<br /><b>FriendlyName</b>: 
<br /><b>ModuleControlSource</b>: 
<br /><b>AssemblyVersion</b>: 04.00.00<br /><b>Method</b>: DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax<br /><b>FileName</b>: 
<br /><b>FileLineNumber</b>: 0<br /><b>FileColumnNumber</b>: 0<br /><b>PortalID</b>: 0<br /><b>PortalName</b>: My Website<br /><b>UserID</b>: 1<br /><b>UserName</b>: host<br /><b>ActiveTabID</b>: 37<br /><b>ActiveTabName</b>: Search Results<br /><b>AbsoluteURL</b>: /Default.aspx<br /><b>AbsoluteURLReferrer</b>: 
<br /><b>ExceptionGUID</b>: c9460ab3-3704-4c8b-a55d-d0d63a4a1bea<br /><b>DefaultDataProvider</b>: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider<br /><b>InnerException</b>: MinMax persistance type of cookie requires a ModuleId<br /><b>Message</b>: DotNetNuke.Services.Exceptions.ModuleLoadException: MinMax persistance
type of cookie requires a ModuleId ---&gt; System.Exception: MinMax persistance type
of cookie requires a ModuleId at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control
objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc,
String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames)
at DotNetNuke.UI.Containers.Visibility.Page_Load(Object sender, EventArgs e) in D:\Venexus\DNN4.0\Admin\Containers\Visibility.ascx.vb:line
216 --- End of inner exception stack trace ---<br /><b>StackTrace</b>: 
<br /><b>Source</b>: 
<br /><b>Server Name</b>: BARNEY<br /></span>
            </span>
          </span>
        </p>
        <p>
          <span class="Normal">
            <span class="Normal">
              <span class="Normal">After further research
I found a fix on ecktwo's website: </span>
            </span>
          </span>
          <a href="http://www.innovatasites.com/ecktwo/Tutorials/DNNSearchforDNN400/tabid/2497/Default.aspx">DNN
Search for 4.0.0</a>
        </p>
        <p>
          <strong>
            <font color="#ff0000">UPDATE: This issue was fixed in DNN 4.0.1 release</font>
          </strong>
        </p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=9fafb47d-dc77-486c-932f-3d59280d7c06" />
      </body>
      <title>DNN 4.0 and Search Module Errors</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,9fafb47d-dc77-486c-932f-3d59280d7c06.aspx</guid>
      <link>http://dnnblog.venexus.com/DNN+40+And+Search+Module+Errors.aspx</link>
      <pubDate>Tue, 06 Dec 2005 18:47:44 GMT</pubDate>
      <description>&lt;p&gt;
Out of the box, DNN 4.0 Search is broken. A search test showed the following:
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://dnnblog.venexus.com/content/binary/dnn-search-errors.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
In the Log Viewer I see the following errors:
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal id=dnn_ctr356_LogViewer_dlLog__ctl3_lblException&gt;&lt;b&gt;ModuleId&lt;/b&gt;:
-1&lt;br&gt;
&lt;b&gt;ModuleDefId&lt;/b&gt;: -1&lt;br&gt;
&lt;b&gt;FriendlyName&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;ModuleControlSource&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;AssemblyVersion&lt;/b&gt;: 04.00.00&lt;br&gt;
&lt;b&gt;Method&lt;/b&gt;: System.Web.UI.Util.CheckVirtualFileExists&lt;br&gt;
&lt;b&gt;FileName&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;FileLineNumber&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;FileColumnNumber&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;PortalID&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;PortalName&lt;/b&gt;: My Website&lt;br&gt;
&lt;b&gt;UserID&lt;/b&gt;: 1&lt;br&gt;
&lt;b&gt;UserName&lt;/b&gt;: host&lt;br&gt;
&lt;b&gt;ActiveTabID&lt;/b&gt;: 37&lt;br&gt;
&lt;b&gt;ActiveTabName&lt;/b&gt;: Search Results&lt;br&gt;
&lt;b&gt;AbsoluteURL&lt;/b&gt;: /Default.aspx&lt;br&gt;
&lt;b&gt;AbsoluteURLReferrer&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;ExceptionGUID&lt;/b&gt;: d7404334-fde9-4910-adea-52b19d7d8278&lt;br&gt;
&lt;b&gt;DefaultDataProvider&lt;/b&gt;: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider&lt;br&gt;
&lt;b&gt;InnerException&lt;/b&gt;: The file '/DesktopModules/SearchResults/SearchResults.ascx'
does not exist.&lt;br&gt;
&lt;b&gt;Message&lt;/b&gt;: DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/DesktopModules/SearchResults/SearchResults.ascx'
does not exist. ---&amp;gt; System.Web.HttpException: The file '/DesktopModules/SearchResults/SearchResults.ascx'
does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath,
Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control
objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception
stack trace ---&lt;br&gt;
&lt;b&gt;StackTrace&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;Source&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;Server Name&lt;/b&gt;: BARNEY&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;I have confirmed that '/DesktopModules/SearchResults/SearchResults.ascx
does not exist and have yet to find where it's real location is.&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;span class=Normal id=dnn_ctr356_LogViewer_dlLog__ctl2_lblException&gt;&lt;b&gt;ModuleId&lt;/b&gt;:
-1&lt;br&gt;
&lt;b&gt;ModuleDefId&lt;/b&gt;: -1&lt;br&gt;
&lt;b&gt;FriendlyName&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;ModuleControlSource&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;AssemblyVersion&lt;/b&gt;: 04.00.00&lt;br&gt;
&lt;b&gt;Method&lt;/b&gt;: System.Web.UI.UserControl.get_Request&lt;br&gt;
&lt;b&gt;FileName&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;FileLineNumber&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;FileColumnNumber&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;PortalID&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;PortalName&lt;/b&gt;: My Website&lt;br&gt;
&lt;b&gt;UserID&lt;/b&gt;: 1&lt;br&gt;
&lt;b&gt;UserName&lt;/b&gt;: host&lt;br&gt;
&lt;b&gt;ActiveTabID&lt;/b&gt;: 37&lt;br&gt;
&lt;b&gt;ActiveTabName&lt;/b&gt;: Search Results&lt;br&gt;
&lt;b&gt;AbsoluteURL&lt;/b&gt;: /Default.aspx&lt;br&gt;
&lt;b&gt;AbsoluteURLReferrer&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;ExceptionGUID&lt;/b&gt;: 761ae1d9-b426-4dee-af03-f371eb81af25&lt;br&gt;
&lt;b&gt;DefaultDataProvider&lt;/b&gt;: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider&lt;br&gt;
&lt;b&gt;InnerException&lt;/b&gt;: Object reference not set to an instance of an object.&lt;br&gt;
&lt;b&gt;Message&lt;/b&gt;: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference
not set to an instance of an object. ---&amp;gt; System.NullReferenceException: Object
reference not set to an instance of an object. at System.Web.UI.UserControl.get_Request()
at DotNetNuke.Entities.Modules.PortalModuleBase.get_IsEditable() at DotNetNuke.UI.Containers.Title.CanEditModule()
in D:\Venexus\DNN4.0\Admin\Containers\Title.ascx.vb:line 52 at DotNetNuke.UI.Containers.Title.Page_Load(Object
sender, EventArgs e) in D:\Venexus\DNN4.0\Admin\Containers\Title.ascx.vb:line 82 ---
End of inner exception stack trace ---&lt;br&gt;
&lt;b&gt;StackTrace&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;Source&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;Server Name&lt;/b&gt;: BARNEY&lt;br&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;span class=Normal&gt;&lt;span class=Normal id=dnn_ctr356_LogViewer_dlLog__ctl1_lblException&gt;&lt;b&gt;ModuleId&lt;/b&gt;:
-1&lt;br&gt;
&lt;b&gt;ModuleDefId&lt;/b&gt;: -1&lt;br&gt;
&lt;b&gt;FriendlyName&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;ModuleControlSource&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;AssemblyVersion&lt;/b&gt;: 04.00.00&lt;br&gt;
&lt;b&gt;Method&lt;/b&gt;: DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax&lt;br&gt;
&lt;b&gt;FileName&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;FileLineNumber&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;FileColumnNumber&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;PortalID&lt;/b&gt;: 0&lt;br&gt;
&lt;b&gt;PortalName&lt;/b&gt;: My Website&lt;br&gt;
&lt;b&gt;UserID&lt;/b&gt;: 1&lt;br&gt;
&lt;b&gt;UserName&lt;/b&gt;: host&lt;br&gt;
&lt;b&gt;ActiveTabID&lt;/b&gt;: 37&lt;br&gt;
&lt;b&gt;ActiveTabName&lt;/b&gt;: Search Results&lt;br&gt;
&lt;b&gt;AbsoluteURL&lt;/b&gt;: /Default.aspx&lt;br&gt;
&lt;b&gt;AbsoluteURLReferrer&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;ExceptionGUID&lt;/b&gt;: c9460ab3-3704-4c8b-a55d-d0d63a4a1bea&lt;br&gt;
&lt;b&gt;DefaultDataProvider&lt;/b&gt;: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider&lt;br&gt;
&lt;b&gt;InnerException&lt;/b&gt;: MinMax persistance type of cookie requires a ModuleId&lt;br&gt;
&lt;b&gt;Message&lt;/b&gt;: DotNetNuke.Services.Exceptions.ModuleLoadException: MinMax persistance
type of cookie requires a ModuleId ---&amp;gt; System.Exception: MinMax persistance type
of cookie requires a ModuleId at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control
objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc,
String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames)
at DotNetNuke.UI.Containers.Visibility.Page_Load(Object sender, EventArgs e) in D:\Venexus\DNN4.0\Admin\Containers\Visibility.ascx.vb:line
216 --- End of inner exception stack trace ---&lt;br&gt;
&lt;b&gt;StackTrace&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;Source&lt;/b&gt;: 
&lt;br&gt;
&lt;b&gt;Server Name&lt;/b&gt;: BARNEY&lt;br&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span class=Normal&gt;&lt;span class=Normal&gt;&lt;span class=Normal&gt;After further research I
found a fix on ecktwo's website: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.innovatasites.com/ecktwo/Tutorials/DNNSearchforDNN400/tabid/2497/Default.aspx"&gt;DNN
Search for 4.0.0&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&lt;font color=#ff0000&gt;UPDATE: This issue was fixed in DNN 4.0.1 release&lt;/font&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=9fafb47d-dc77-486c-932f-3d59280d7c06" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=798faae4-6180-4fe5-8ba8-2f96ce6d32dc</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,798faae4-6180-4fe5-8ba8-2f96ce6d32dc.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
The first thing I noticed when I selected the dropdown for modules was that many were
missing. 
</p>
        <p>
 
</p>
        <p>
          <img src="http://dnnblog.venexus.com/content/binary/missing-modules.jpg" border="0" /> 
</p>
        <p>
Where are the other core modules??? They appear in the correct folder:
</p>
        <p>
 
</p>
        <p>
          <img src="http://dnnblog.venexus.com/content/binary/desktopmodules.jpg" border="0" />
        </p>
        <p>
 
</p>
        <p>
I am not sure why this happened, but to fix it, I simply unzipped DotNetNuke_4.0.0_Install.zip
to a new folder and using <strong>Host &gt; Module Definitions &gt; Upload New Module</strong>,
uploaded each module found in <strong>\Install\Module</strong></p>
        <p>
 
</p>
        <p>
          <img src="http://dnnblog.venexus.com/content/binary/install-modules.jpg" border="0" />
        </p>
        <p>
After uploading the modules and installing them, all seems well and I successfully
added a new Text/HTML module into the Home page and edited it without incident. 
</p>
        <p>
 
</p>
        <p>
          <img src="http://dnnblog.venexus.com/content/binary/all-modules.jpg" border="0" />
        </p>
        <p>
 
</p>
        <p>
 
</p>
        <p>
          <strong>
            <font color="#ff0000">UPDATE: Read <a href="http://dnnblog.venexus.com/CommentView,guid,798faae4-6180-4fe5-8ba8-2f96ce6d32dc.aspx">Cathal's
Comments</a></font>
          </strong>
        </p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=798faae4-6180-4fe5-8ba8-2f96ce6d32dc" />
      </body>
      <title>DNN 4.0 and Missing Modules after Installation</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,798faae4-6180-4fe5-8ba8-2f96ce6d32dc.aspx</guid>
      <link>http://dnnblog.venexus.com/DNN+40+And+Missing+Modules+After+Installation.aspx</link>
      <pubDate>Mon, 05 Dec 2005 19:21:02 GMT</pubDate>
      <description>&lt;p&gt;
The first thing I noticed when I selected the dropdown for modules was that many were
missing. 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://dnnblog.venexus.com/content/binary/missing-modules.jpg" border=0&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Where are the other core modules??? They appear in the correct folder:
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://dnnblog.venexus.com/content/binary/desktopmodules.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
I am not sure why this happened, but to fix it, I simply unzipped DotNetNuke_4.0.0_Install.zip
to a new folder and using &lt;strong&gt;Host &amp;gt; Module Definitions &amp;gt; Upload New Module&lt;/strong&gt;,
uploaded each module found in &lt;strong&gt;\Install\Module&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://dnnblog.venexus.com/content/binary/install-modules.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
After uploading the modules and installing them, all seems well and I successfully
added a new Text/HTML module into the Home page and edited it without incident. 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://dnnblog.venexus.com/content/binary/all-modules.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&lt;font color=#ff0000&gt;UPDATE: Read &lt;a href="http://dnnblog.venexus.com/CommentView,guid,798faae4-6180-4fe5-8ba8-2f96ce6d32dc.aspx"&gt;Cathal's
Comments&lt;/a&gt;&lt;/font&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=798faae4-6180-4fe5-8ba8-2f96ce6d32dc" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=e9bd310e-dcb0-4dec-8218-dd61cd861acd</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,e9bd310e-dcb0-4dec-8218-dd61cd861acd.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I had installed DotNetNuke 4.0 on a Windows 2003 Standard box using a remote SQL Server
2005 Enterprise database on a development box earlier tonight. I had navigated around
doing a few things and paused in the middle of updating the <strong>host</strong> account.
I might have reached the session expiration time before I returned, but I decided
to update the host password and clicked <strong>update. </strong>This is the error
that was returned:
</p>
        <h1>Unhandled Error
</h1>
        <h2>Error Details
</h2>
        <p>
          <table cellspacing="0" cellpadding="0" border="0">
            <tbody>
              <tr>
                <td>
                  <b>File</b>
                </td>
                <td>
                  <b>
                  </b>
                </td>
              </tr>
              <tr>
                <td>
                  <b>Error</b>  </td>
                <td>
                  <p>
                    <b>An error has occurred while establishing a connection to the server. When connecting
to SQL Server 2005, this failure may be caused by the fact that under the default
settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,
error: 40 - Could not open a connection to SQL Server)</b>
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </p>
        <p>
I believe this means I need to allow named pipes because by default SQL Server 2005
does not allow this type connection. I was not aware that DNN used Named Pipes and
I did not see anything concerning this in the Installation help. So, this is how you
change it....
</p>
        <ol>
          <li>
Start &gt; All Programs &gt; Microsoft SQL Server 2005 &gt; Configuration Tools &gt;
SQL Server Surface Are Configuration 
</li>
          <li>
Once opened, use Surface Area Configuration for Services and Connections 
</li>
          <li>
Select Using both TCP/IP and named pipes 
<br /><img alt="" hspace="0" src="http://www.venexus.com/images/dnn-help/surface-area-config-named-pipes.jpg" align="baseline" border="0" /></li>
          <li>
A notification that the Database Engine must be restarted before it takes effect will
be displayed. You can restart the engine from Admin Tools &gt; Services and restart
SQL Server (MSSQLSERVER)</li>
        </ol>
        <p>
I am assuming this is all that is required. I will post a comment here if I encounter
this error again. 
</p>
        <p>
 
</p>
        <p>
 
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=e9bd310e-dcb0-4dec-8218-dd61cd861acd" />
      </body>
      <title>DNN 4.0 and SQL Server 2005 Error using Named Pipes</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,e9bd310e-dcb0-4dec-8218-dd61cd861acd.aspx</guid>
      <link>http://dnnblog.venexus.com/DNN+40+And+SQL+Server+2005+Error+Using+Named+Pipes.aspx</link>
      <pubDate>Sun, 04 Dec 2005 05:05:10 GMT</pubDate>
      <description>&lt;p&gt;
I had installed DotNetNuke 4.0 on a Windows 2003 Standard box using a remote SQL Server
2005 Enterprise database on a development box earlier tonight. I had navigated around
doing a few things and paused in the middle of updating the &lt;strong&gt;host&lt;/strong&gt; account.
I might have reached the session expiration time before I returned, but I decided
to update the host password and clicked &lt;strong&gt;update. &lt;/strong&gt;This is the error
that was returned:
&lt;/p&gt;
&lt;h1&gt;Unhandled Error
&lt;/h1&gt;
&lt;h2&gt;Error Details
&lt;/h2&gt;
&lt;p&gt;
&lt;table cellspacing=0 cellpadding=0 border=0&gt;
&lt;tbody&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;p&gt;
&lt;b&gt;An error has occurred while establishing a connection to the server. When connecting
to SQL Server 2005, this failure may be caused by the fact that under the default
settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,
error: 40 - Could not open a connection to SQL Server)&lt;/b&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/p&gt;
&lt;p&gt;
I believe this means I need to allow named pipes because by default SQL Server 2005
does not allow this type connection. I was not aware that DNN used Named Pipes and
I did not see anything concerning this in the Installation help. So, this is how you
change it....
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Start &amp;gt; All Programs &amp;gt; Microsoft SQL Server 2005 &amp;gt; Configuration Tools &amp;gt;
SQL Server Surface Are Configuration 
&lt;li&gt;
Once opened, use Surface Area Configuration for Services and Connections 
&lt;li&gt;
Select Using both TCP/IP and named pipes 
&lt;br&gt;
&lt;img alt="" hspace=0 src="http://www.venexus.com/images/dnn-help/surface-area-config-named-pipes.jpg" align=baseline border=0&gt; 
&lt;li&gt;
A notification that the Database Engine must be restarted before it takes effect will
be displayed. You can restart the engine from Admin Tools &amp;gt; Services and restart
SQL Server (MSSQLSERVER)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
I am assuming this is all that is required. I will post a comment here if I encounter
this error again. 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=e9bd310e-dcb0-4dec-8218-dd61cd861acd" /&gt;</description>
      <category>DotNetNuke Errors;MS SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=d29ee720-206f-4b96-a26b-ae5dd88a8d13</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,d29ee720-206f-4b96-a26b-ae5dd88a8d13.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
        <p>
At the end of the DNN 4.0 install on Dev, I encountered the following error:
</p>
        <p>
 
</p>
        <h2>Installation Complete
</h2>
        <p>
          <br />
          <br />
 
</p>
        <h2>
          <a href="http://localhost/Default.aspx">Click Here To Access Your Portal</a>
        </h2>
        <p>
          <br />
          <br />
        </p>
        <link href="Install.css" type="text/css" rel="stylesheet" />
        <img src="http://www.venexus.com/images/dnn.gif" border="0" />
        <br />
        <!-- tags excluded on purpose so that installation feedback messages are displayed
</body>
</html>
-->
        <h1>Unhandled Error
</h1>
        <h2>Error Details
</h2>
        <p>
          <table cellspacing="0" cellpadding="0" border="0">
            <tbody>
              <tr>
                <td>
                  <b>File</b>
                </td>
                <td>
                  <b>
                  </b>
                </td>
              </tr>
              <tr>
                <td>
                  <b>Error</b>  </td>
                <td>
                  <b>Unable to generate a temporary class (result=1). error CS2001: Source file 'C:\WINDOWS\TEMP\vsl59tus.0.cs'
could not be found error CS2008: No inputs specified </b>
                </td>
              </tr>
            </tbody>
          </table>
          <br />
        </p>
        <p>
System:
</p>
        <p>
Windows 2003 with Service Pack 1
</p>
        <p>
DNN 4.0
</p>
        <p>
SQL Server 2000 on local machine.
</p>
        <p>
 
</p>
        <p>
          <font size="4">
            <strong>The answer is to give <font color="#ff0000">Network Services</font> full
permissions for C:\WINDOWS\TEMP and C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727</strong>
          </font>
        </p>
        <p>
I might have missed this in the Installation instructions, but I sure did not see
it in there that it was required to give permissions to the Temp folder. Anyway, it's
working now. I will be testing against a remote SQL Server 2005 shortly...
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=d29ee720-206f-4b96-a26b-ae5dd88a8d13" />
      </body>
      <title>Unable to generate a temporary class at end of DotNetNuke 4.0 Installation</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,d29ee720-206f-4b96-a26b-ae5dd88a8d13.aspx</guid>
      <link>http://dnnblog.venexus.com/Unable+To+Generate+A+Temporary+Class+At+End+Of+DotNetNuke+40+Installation.aspx</link>
      <pubDate>Sun, 04 Dec 2005 02:41:50 GMT</pubDate>
      <description>&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
At the end of the DNN 4.0 install on Dev, I encountered the following error:
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;h2&gt;Installation Complete
&lt;/h2&gt;
&lt;p&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;h2&gt;&lt;a href="http://localhost/Default.aspx"&gt;Click Here To Access Your Portal&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;
&lt;br&gt;
&lt;br&gt;
&lt;link href="Install.css" type=text/css rel=stylesheet&gt;&lt;img src="http://www.venexus.com/images/dnn.gif" border=0&gt; 
&lt;br&gt;
&lt;!-- tags excluded on purpose so that installation feedback messages are displayed
&lt;/body&gt;
&lt;/html&gt;
--&gt;&gt;
&lt;h1&gt;Unhandled Error
&lt;/h1&gt;
&lt;h2&gt;Error Details
&lt;/h2&gt;
&lt;p&gt;
&lt;table cellspacing=0 cellpadding=0 border=0&gt;
&lt;tbody&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\vsl59tus.0.cs'
could not be found error CS2008: No inputs specified &lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
System:
&lt;/p&gt;
&lt;p&gt;
Windows 2003 with Service Pack 1
&lt;/p&gt;
&lt;p&gt;
DNN 4.0
&lt;/p&gt;
&lt;p&gt;
SQL Server 2000 on local machine.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;font size=4&gt;&lt;strong&gt;The answer is to give &lt;font color=#ff0000&gt;Network Services&lt;/font&gt; full
permissions for C:\WINDOWS\TEMP and C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727&lt;/strong&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
I might have missed this in the Installation instructions, but I sure did not see
it in there that it was required to give permissions to the Temp folder. Anyway, it's
working now. I will be testing against a remote SQL Server 2005 shortly...
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=d29ee720-206f-4b96-a26b-ae5dd88a8d13" /&gt;</description>
      <category>DotNetNuke Errors</category>
    </item>
    <item>
      <trackback:ping>http://dnnblog.venexus.com/Trackback.aspx?guid=3d8f6b08-0101-4582-b2a6-59ea7f0297e5</trackback:ping>
      <pingback:server>http://dnnblog.venexus.com/pingback.aspx</pingback:server>
      <pingback:target>http://dnnblog.venexus.com/PermaLink,guid,3d8f6b08-0101-4582-b2a6-59ea7f0297e5.aspx</pingback:target>
      <dc:creator>Jeff Smith</dc:creator>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
A DotNetNuke site I have been working on that has some decent traffic, was experiencing
an occasional <strong>Out of Memory Error. </strong>During peak traffic times, IIS
would crap out and throw the error.<em></em>IISReset was neccessary sometimes to
alleviate the issue...very frustrating.
</p>
        <p>
          <strong>Here is the error:</strong>
        </p>
        <p>
          <strong>InnerException</strong>: Exception of type System.OutOfMemoryException was
thrown.<br /><b>Message</b>: DotNetNuke.Services.Exceptions.PageLoadException: Exception of type
System.OutOfMemoryException was thrown. ---&gt; System.OutOfMemoryException: Exception
of type System.OutOfMemoryException was thrown. --- End of inner exception stack trace
---<br /></p>
        <p>
          <strong>Environment:</strong>
        </p>
        <ul>
          <li>
DotNetNuke 3.1 
</li>
          <li>
Windows 2003 Server 
</li>
          <li>
All of the latest patches/service packs 
</li>
          <li>
MS SQL Server 2000 
</li>
          <li>
1.6 Gb Database size 
</li>
          <li>
Dual 3 Ghz Xeons with 2 Gb RAM Dell 2850</li>
        </ul>
        <p>
After digging into logs and looking around <strong>Host &gt; Schedule</strong>,
 I noticed that the errors coincided with the DNN Search Indexer schedule, so
I stopped it. This helped for a bit, but as the site continued to grow (over 500,000
pages), the error began reappearing. 
</p>
        <p>
I had tried a few other things to get rid of the issue without success. For example,
under <strong>Host &gt; Schedule </strong>I enabled DotNetNuke.Services.Cache.PurgeCache,
DOTNETNUKE and was purging every 30 minutes. I thought surely this would be the answer,
kicking myself for not enabling it earlier. However, to my disappointment, the error
persisted. ARRRRRRRR!
</p>
        <p>
I feel strongly that SQL Server should be on it's own server, but due to a server
shuffle in our rack and decommisioning an older server to make room for 3 other servers,
we have been using a single server for both IIS and SQL Server for this site. We are
working through a few Remote Procedure Call errors with DNN 3.x and 4.0 and SQL
Server 2005 (will discuss in later post) and were forced to use this setup. This error
would surely go away when we move our production database to our Quad Itanium Processor
server with 12 Gb RAM, but unfortunately this was not an option. So, I started digging
through MSDN and found the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_config_9zfy.asp">Server
Memory Options</a>.
</p>
        <p>
"Use <b>max server memory</b> to prevent SQL Server from using more than the specified
amount of memory, thus leaving remaining memory available to start other applications
quickly. SQL Server does not immediately allocate the memory specified in <b>max server
memory</b> on startup. Memory usage is increased as needed by SQL Server until reaching
the value specified in <b>max server memory</b>. SQL Server cannot exceed this memory
usage unless the value of <b>max server memory</b> is raised." - MSDN
</p>
        <p>
So, I decided to give it a try...This is what I did:
</p>
        <ol>
          <li>
Opened <strong>Enterprise Manager</strong></li>
          <li>
Expanded the<strong> server group</strong></li>
          <li>
Right-clicked <strong>the server</strong></li>
          <li>
            <strong>C</strong>licked <strong>Properties</strong></li>
          <li>
Clicked the <strong>Memory</strong> tab 
</li>
          <li>
Under <strong>Dynamically configure SQL Server memory</strong>, lower the <strong>Maximum</strong></li>
        </ol>
        <p>
This seems to have worked. MS SQL Server is such a pig. By putting it on a diet and
setting max server memory, the error has disappeared. I decided to do some testing
and was beating up the server pretty bad with several crawlers/spiders I have
built and was hitting the site hard. The only error I experienced during my testing
was an occasional deadlock victim error, which is expected with the number of transactions
taking place on this database. I will live with a temporary error over an IIS crash
anyday. Moving everything back to seperate servers for IIS and SQL Server should help
greatly for a DNN site of this size. Let's just hope the DNN team can knock out a
few crtitical issues with RPC and SQL Direct provider.
</p>
        <img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=3d8f6b08-0101-4582-b2a6-59ea7f0297e5" />
      </body>
      <title>Out of Memory Exception on Large DotNetNuke Website</title>
      <guid isPermaLink="false">http://dnnblog.venexus.com/PermaLink,guid,3d8f6b08-0101-4582-b2a6-59ea7f0297e5.aspx</guid>
      <link>http://dnnblog.venexus.com/Out+Of+Memory+Exception+On+Large+DotNetNuke+Website.aspx</link>
      <pubDate>Fri, 02 Dec 2005 07:32:13 GMT</pubDate>
      <description>&lt;p&gt;
A DotNetNuke site I have been working on that has some decent traffic, was experiencing
an occasional &lt;strong&gt;Out of Memory Error. &lt;/strong&gt;During peak traffic times, IIS
would crap out and throw the error.&lt;em&gt; &lt;/em&gt;IISReset was neccessary sometimes to
alleviate the issue...very frustrating.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Here is the error:&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;InnerException&lt;/strong&gt;: Exception of type System.OutOfMemoryException was
thrown.&lt;br&gt;
&lt;b&gt;Message&lt;/b&gt;: DotNetNuke.Services.Exceptions.PageLoadException: Exception of type
System.OutOfMemoryException was thrown. ---&amp;gt; System.OutOfMemoryException: Exception
of type System.OutOfMemoryException was thrown. --- End of inner exception stack trace
---&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Environment:&lt;/strong&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
DotNetNuke 3.1 
&lt;li&gt;
Windows 2003 Server 
&lt;li&gt;
All of the latest patches/service packs 
&lt;li&gt;
MS SQL Server 2000 
&lt;li&gt;
1.6 Gb Database size 
&lt;li&gt;
Dual 3 Ghz Xeons with 2 Gb RAM Dell 2850&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
After digging into logs and looking&amp;nbsp;around &lt;strong&gt;Host &amp;gt; Schedule&lt;/strong&gt;,
&amp;nbsp;I noticed that the errors coincided with the DNN Search Indexer schedule, so
I stopped it. This helped for a bit, but as the site continued to grow (over 500,000
pages), the error&amp;nbsp;began reappearing.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
I had tried a few other things to get rid of the issue without success. For example,
under &lt;strong&gt;Host &amp;gt; Schedule &lt;/strong&gt;I enabled DotNetNuke.Services.Cache.PurgeCache,
DOTNETNUKE and was purging every 30 minutes. I thought surely this would be the answer,
kicking myself for not enabling it earlier. However, to my disappointment, the error
persisted. ARRRRRRRR!
&lt;/p&gt;
&lt;p&gt;
I feel strongly that SQL Server should be on it's own server, but due to a server
shuffle in our rack and decommisioning an older server to make room for 3 other servers,
we have been using a single server for both IIS and SQL Server for this site. We are
working through a few Remote Procedure Call errors with DNN 3.x and 4.0&amp;nbsp;and SQL
Server 2005 (will discuss in later post) and were forced to use this setup. This error
would surely go away when we move our production database to our Quad Itanium Processor
server with 12 Gb RAM, but unfortunately this was not an option. So, I started digging
through MSDN and found the &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adminsql/ad_config_9zfy.asp"&gt;Server
Memory Options&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
"Use &lt;b&gt;max server memory&lt;/b&gt; to prevent SQL Server from using more than the specified
amount of memory, thus leaving remaining memory available to start other applications
quickly. SQL Server does not immediately allocate the memory specified in &lt;b&gt;max server
memory&lt;/b&gt; on startup. Memory usage is increased as needed by SQL Server until reaching
the value specified in &lt;b&gt;max server memory&lt;/b&gt;. SQL Server cannot exceed this memory
usage unless the value of &lt;b&gt;max server memory&lt;/b&gt; is raised." - MSDN
&lt;/p&gt;
&lt;p&gt;
So, I decided to give it a try...This is what I did:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Opened &lt;strong&gt;Enterprise Manager&lt;/strong&gt; 
&lt;li&gt;
Expanded the&lt;strong&gt; server group&lt;/strong&gt; 
&lt;li&gt;
Right-clicked &lt;strong&gt;the server&lt;/strong&gt; 
&lt;li&gt;
&lt;strong&gt;C&lt;/strong&gt;licked &lt;strong&gt;Properties&lt;/strong&gt; 
&lt;li&gt;
Clicked the &lt;strong&gt;Memory&lt;/strong&gt; tab 
&lt;li&gt;
Under &lt;strong&gt;Dynamically configure SQL Server memory&lt;/strong&gt;, lower the &lt;strong&gt;Maximum&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
This seems to have worked. MS SQL Server is such a pig. By putting it on a diet and
setting max server memory, the error has disappeared.&amp;nbsp;I decided to do some testing
and was&amp;nbsp;beating up the server pretty bad with several crawlers/spiders I have
built and was&amp;nbsp;hitting the site hard. The only error I experienced during my testing
was an occasional deadlock victim error, which is expected with the number of transactions
taking place on this database. I will live with a temporary error over an IIS crash
anyday. Moving everything back to seperate servers for IIS and SQL Server should help
greatly for a DNN site of this size. Let's just hope the DNN team can knock out a
few crtitical issues with RPC and SQL Direct provider.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://dnnblog.venexus.com/aggbug.ashx?id=3d8f6b08-0101-4582-b2a6-59ea7f0297e5" /&gt;</description>
      <category>MS SQL Server;DotNetNuke Errors</category>
    </item>
  </channel>
</rss>