﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>My Blog</title>
    <description>&amp;nbsp;&amp;nbsp;</description>
    <link>http://www.dataquadrant.com/Blog/tabid/54/BlogId/1/Default.aspx</link>
    <language>en-US</language>
    <managingEditor>md@dumitrascu.net</managingEditor>
    <webMaster>md@dumitrascu.net</webMaster>
    <pubDate>Sat, 04 Feb 2012 19:13:51 GMT</pubDate>
    <lastBuildDate>Sat, 04 Feb 2012 19:13:51 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.5.1.40272</generator>
    <item>
      <title>Error in SharePoint after applying SP1</title>
      <description>&lt;p&gt; After applying SP1 you may see this error in your Application event log:&lt;/p&gt;
&lt;div&gt; Retrieving the COM class factory for component with CLSID {3D42CCB1-4665-4620-92A3-478F47389230} failed due to the following error: 80070005.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;This is a security error. To fix this you need to reconfigure security entries for OSearch DCOM component. Follow these steps:&lt;/div&gt;
&lt;ul type="disc"&gt;
    &lt;li&gt;Go to Start --&gt; Administrative Tools Component Services &lt;/li&gt;
    &lt;li&gt;Expand Component Services --&gt; Computers --&gt; My Computer --&gt; DCOM Config&lt;/li&gt;
    &lt;li&gt;Find Osearch, right click and select Properties&lt;/li&gt;
    &lt;li&gt;Select Security tab&lt;/li&gt;
    &lt;li&gt;Edit Launch and Activation Permissions
    &lt;ul type="disc"&gt;
        &lt;li&gt;Add WSS_ADMIN_WPG with Local Launch and Local Activation&lt;/li&gt;
        &lt;li&gt;Add WSS_WPG with Local Launch and Local Activation&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
&lt;/ul&gt;
&lt;ul type="disc"&gt;
    &lt;li&gt;Edit Access Permissions
    &lt;ul type="disc"&gt;
        &lt;li&gt;Add WSS_ADMIN_WPG with Local Access&lt;/li&gt;
        &lt;li&gt;Add WSS_WPG with Local Access&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt; &lt;/div&gt;</description>
      <link>http://dataquadrant/Blog/tabid/54/EntryId/14/Error-in-SharePoint-after-applying-SP1.aspx</link>
      <category domain="http://www.dataquadrant.com/blog/tabid/54/blogid/8/default.aspx">SharePoint</category>
      <author>md@dumitrascu.net</author>
      <comments>http://dataquadrant/Blog/tabid/54/EntryId/14/Error-in-SharePoint-after-applying-SP1.aspx#Comments</comments>
      <guid isPermaLink="true">http://dataquadrant/Blog/tabid/54/EntryId/14/Error-in-SharePoint-after-applying-SP1.aspx</guid>
      <pubDate>Sat, 22 Mar 2008 12:39:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.dataquadrant.com/DesktopModules/Blog/Trackback.aspx?id=14</trackback:ping>
    </item>
    <item>
      <title>How to Check if Current Page is in Edit or Preview Mode</title>
      <description>&lt;div style="margin: 0in 0in 0pt"&gt;As part of the sequel “How to do simple things in DotNetNuke after you created your first module”, I’ll show you today how to recognize inside your module, when the page is in edit mode and when is in preview mode. &lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt; &lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt; Me.EditMode property is not enough to show this state of the page. You need also to evaluate the a cookie used to indicate if the page is in preview or not.&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;  &lt;/div&gt;
&lt;pre style="margin: 0in 0in 0pt"&gt;&lt;font color="#0000ff"&gt;If Me.EditMode Then&lt;br /&gt;   Dim objPreview As HttpCookie&lt;br /&gt;   objPreview = Request.Cookies("_Tab_Admin_Preview" &amp; PortalSettings.PortalId.ToString)&lt;br /&gt;   If Not objPreview Is Nothing AndAlso CType(objPreview.Value, Boolean) Then&lt;br /&gt;     'the page is in preview mode&lt;br /&gt;     '...&lt;br /&gt;    &lt;br /&gt;   Else&lt;br /&gt;     'the page is in edit mode&lt;br /&gt;     '...&lt;br /&gt;  &lt;br /&gt;   End If&lt;br /&gt;End If&lt;/font&gt;&lt;/pre&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;  &lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;This is useful, obviously when you want to show different things when the page is in edit mode rather than preview.&lt;/div&gt;</description>
      <link>http://dataquadrant/Blog/tabid/54/EntryId/13/How-to-Check-if-Current-Page-is-in-Edit-or-Preview-Mode.aspx</link>
      <category domain="http://www.dataquadrant.com/blog/tabid/54/blogid/2/default.aspx">DotNetNuke</category>
      <comments>http://dataquadrant/Blog/tabid/54/EntryId/13/How-to-Check-if-Current-Page-is-in-Edit-or-Preview-Mode.aspx#Comments</comments>
      <guid isPermaLink="true">http://dataquadrant/Blog/tabid/54/EntryId/13/How-to-Check-if-Current-Page-is-in-Edit-or-Preview-Mode.aspx</guid>
      <pubDate>Tue, 31 Jul 2007 01:34:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.dataquadrant.com/DesktopModules/Blog/Trackback.aspx?id=13</trackback:ping>
    </item>
    <item>
      <title>How to Create a Page Programmatically in DotNetNuke</title>
      <description>&lt;div style="margin: 0in 0in 0pt"&gt;This snippet of code shows you how to programmatically create a page (tab) in DotNetNuke 4.x from a template.&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;It is called from the context of a module, so we have access to some of the main objects of DNN framework, such as PortalSettings.&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;Few properties are copied from the current active page: TabPermissions, SkinSrc, ContainerSrc. With a little effort you can specify your own values, if these ones are not appropriate.&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt; &lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;The most important point is the use of the page template. By default, DotNetNuke comes with one template that is adding a HTML module to the main ContentPane. This template is placed in “…\Portals\_default\Templates\ Default.page.template” file. It is a XML file and you can easily change it or clone it to create your own template.&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt; &lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="font-size: x-small"&gt;&lt;span style="font-family: Courier New"&gt;        'create new hidden page &lt;br /&gt;
        Dim ctrTab As New DotNetNuke.Entities.Tabs.TabController&lt;br /&gt;
        Dim objTab As New DotNetNuke.Entities.Tabs.TabInfo&lt;br /&gt;
        Dim objActiveTab As DotNetNuke.Entities.Tabs.TabInfo&lt;br /&gt;
        objActiveTab = Me.PortalSettings.ActiveTab&lt;br /&gt;
        objTab.IsVisible = False&lt;br /&gt;
        objTab.PortalID = Me.PortalId&lt;br /&gt;
        objTab.TabID = Null.NullInteger&lt;br /&gt;
        objTab.PortalID = PortalId&lt;br /&gt;
        objTab.TabName = "Page Name"&lt;br /&gt;
        objTab.Title = "Page Name"&lt;br /&gt;
        objTab.Description = "Description"&lt;br /&gt;
        objTab.KeyWords = ""&lt;br /&gt;
        'we make it hidden this time&lt;br /&gt;
        objTab.IsVisible = False&lt;br /&gt;
        objTab.DisableLink = False&lt;br /&gt;
        objTab.ParentId = -1&lt;br /&gt;
        objTab.IconFile = ""&lt;br /&gt;
        objTab.IsDeleted = False&lt;br /&gt;
        objTab.Url = "N"&lt;br /&gt;
        'get the same permissions as the current active page&lt;br /&gt;
        objTab.TabPermissions = objActiveTab.TabPermissions&lt;br /&gt;
        'get the same skin as the current active page&lt;br /&gt;
        objTab.SkinSrc = objActiveTab.SkinSrc&lt;br /&gt;
        objTab.ContainerSrc = objActiveTab.ContainerSrc&lt;br /&gt;
        objTab.TabPath = GenerateTabPath(objTab.ParentId, objTab.TabName)&lt;br /&gt;
        objTab.StartDate = Null.NullDate&lt;br /&gt;
        objTab.EndDate = Null.NullDate&lt;br /&gt;
        objTab.PageHeadText = ""&lt;br /&gt;
        objTab.TabID = ctrTab.AddTab(objTab)&lt;br /&gt;
        'create the page from our template&lt;br /&gt;
        Dim xmlDoc As New System.Xml.XmlDocument&lt;br /&gt;
        xmlDoc.Load(Server.MapPath(Me.Page.TemplateSourceDirectory &amp; "/Portals/_default/Templates") &amp; _&lt;br /&gt;
        "\Default.page.template")&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="font-size: x-small"&gt;&lt;span style="font-family: Courier New"&gt;        Dim objPortals As New PortalController&lt;br /&gt;
        objPortals.ParsePanes(xmlDoc.SelectSingleNode("//portal/tabs/tab/panes"), _&lt;br /&gt;
                              objTab.PortalID, objTab.TabID, PortalTemplateModuleAction.Ignore, New Hashtable)&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt; &lt;/div&gt;
&lt;div style="margin: 0in 0in 0pt"&gt;I will conclude that creating pages programmatically is not complicated in DotNetNuke, and can be useful in the process of custom module creation, when we want to save the admin user few extra steps.&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;</description>
      <link>http://dataquadrant/Blog/tabid/54/EntryId/12/How-to-Create-a-Page-Programmatically-in-DotNetNuke.aspx</link>
      <category domain="http://www.dataquadrant.com/blog/tabid/54/blogid/2/default.aspx">DotNetNuke</category>
      <comments>http://dataquadrant/Blog/tabid/54/EntryId/12/How-to-Create-a-Page-Programmatically-in-DotNetNuke.aspx#Comments</comments>
      <guid isPermaLink="true">http://dataquadrant/Blog/tabid/54/EntryId/12/How-to-Create-a-Page-Programmatically-in-DotNetNuke.aspx</guid>
      <pubDate>Mon, 30 Jul 2007 09:44:00 GMT</pubDate>
      <slash:comments>6</slash:comments>
      <trackback:ping>http://www.dataquadrant.com/DesktopModules/Blog/Trackback.aspx?id=12</trackback:ping>
    </item>
    <item>
      <title>Next features of zsReport</title>
      <description>&lt;p&gt;Here is a list of features I am currently working on for next release of &lt;strong&gt;zsReport&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Localization.&lt;/li&gt;
    &lt;li&gt;Support for linked reports&lt;/li&gt;
    &lt;li&gt;My Favorites reports&lt;/li&gt;
    &lt;li&gt;Top 10 Reports eventually by category. (Add categories).&lt;/li&gt;
    &lt;li&gt;Improve visual look.&lt;/li&gt;
    &lt;li&gt;Get better at running multiple modules on the same page. Good for building dashboards.&lt;/li&gt;
    &lt;li&gt;Allow the admin to control the target of the links (drill-downs) in reports.&lt;/li&gt;
    &lt;li&gt;Allow parameter zone and toolbar to be hidden or visible.&lt;/li&gt;
    &lt;li&gt;Build DNN specific subscription rather than using Reporting Services server side subscription.&lt;/li&gt;
    &lt;li&gt;Thumbnail view of the reports list. With automatic or on demand thumbnail generation.&lt;/li&gt;
    &lt;li&gt;Improve administration and management functions: usage activity reports, update and upload etc&lt;/li&gt;
    &lt;li&gt;Allow multiple source of Reporting Services Servers to be merged into the same module.&lt;/li&gt;
    &lt;li&gt;Improve social functions: share-it, email-it, digg-it etc. Expose RSS feed as an option. Admin controllable.&lt;/li&gt;
    &lt;li&gt;
    &lt;div&gt;Integrate with Business Objects reports.&lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;Change the name of the module to zsReport (to incorporate with other products of mine)&lt;/li&gt;
&lt;/ul&gt;</description>
      <link>http://dataquadrant/Blog/tabid/54/EntryId/11/Next-features-of-zsReport.aspx</link>
      <category domain="http://www.dataquadrant.com/blog/tabid/54/blogid/7/default.aspx">zsReport</category>
      <author>md@dumitrascu.net</author>
      <comments>http://dataquadrant/Blog/tabid/54/EntryId/11/Next-features-of-zsReport.aspx#Comments</comments>
      <guid isPermaLink="true">http://dataquadrant/Blog/tabid/54/EntryId/11/Next-features-of-zsReport.aspx</guid>
      <pubDate>Sun, 29 Jul 2007 05:59:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.dataquadrant.com/DesktopModules/Blog/Trackback.aspx?id=11</trackback:ping>
    </item>
    <item>
      <title>Workaround Module Installer Problems With Same Filename In Different Locations</title>
      <description>The problem I have with dnn module installer/packager is that I cannot pack files with same name that reside in different locations of your module subfolders.&lt;a href=http://dataquadrant/Blog/tabid/54/EntryId/10/Workaround-Module-Installer-Problems-With-Same-Filename-In-Different-Locations.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://dataquadrant/Blog/tabid/54/EntryId/10/Workaround-Module-Installer-Problems-With-Same-Filename-In-Different-Locations.aspx</link>
      <category domain="http://www.dataquadrant.com/blog/tabid/54/blogid/2/default.aspx">DotNetNuke</category>
      <comments>http://dataquadrant/Blog/tabid/54/EntryId/10/Workaround-Module-Installer-Problems-With-Same-Filename-In-Different-Locations.aspx#Comments</comments>
      <guid isPermaLink="true">http://dataquadrant/Blog/tabid/54/EntryId/10/Workaround-Module-Installer-Problems-With-Same-Filename-In-Different-Locations.aspx</guid>
      <pubDate>Mon, 04 Jun 2007 06:52:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.dataquadrant.com/DesktopModules/Blog/Trackback.aspx?id=10</trackback:ping>
    </item>
    <item>
      <title>Export ColdFusion 7 Settings</title>
      <description>If you want to export/import ColdFusion server settings you should read this:
http://www.doughughes.net/index.cfm?event=viewEntry&amp;entryId=73&lt;a href=http://dataquadrant/Blog/tabid/54/EntryId/7/Export-ColdFusion-7-Settings.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://dataquadrant/Blog/tabid/54/EntryId/7/Export-ColdFusion-7-Settings.aspx</link>
      <author>md@dumitrascu.net</author>
      <comments>http://dataquadrant/Blog/tabid/54/EntryId/7/Export-ColdFusion-7-Settings.aspx#Comments</comments>
      <guid isPermaLink="true">http://dataquadrant/Blog/tabid/54/EntryId/7/Export-ColdFusion-7-Settings.aspx</guid>
      <pubDate>Fri, 02 Feb 2007 00:08:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.dataquadrant.com/DesktopModules/Blog/Trackback.aspx?id=7</trackback:ping>
    </item>
    <item>
      <title>How to Migrate HTML module source code from DNN 3.x to DNN 4.x</title>
      <description>Four steps for migrating HTML module source code  from DNN 3 to DNN 4&lt;a href=http://dataquadrant/Blog/tabid/54/EntryId/1/How-to-Migrate-HTML-module-source-code-from-DNN-3-x-to-DNN-4-x.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://dataquadrant/Blog/tabid/54/EntryId/1/How-to-Migrate-HTML-module-source-code-from-DNN-3-x-to-DNN-4-x.aspx</link>
      <category domain="http://www.dataquadrant.com/blog/tabid/54/blogid/2/default.aspx">DotNetNuke</category>
      <comments>http://dataquadrant/Blog/tabid/54/EntryId/1/How-to-Migrate-HTML-module-source-code-from-DNN-3-x-to-DNN-4-x.aspx#Comments</comments>
      <guid isPermaLink="true">http://dataquadrant/Blog/tabid/54/EntryId/1/How-to-Migrate-HTML-module-source-code-from-DNN-3-x-to-DNN-4-x.aspx</guid>
      <pubDate>Mon, 24 Jul 2006 01:47:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.dataquadrant.com/DesktopModules/Blog/Trackback.aspx?id=1</trackback:ping>
    </item>
  </channel>
</rss>
