<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>KB</title>
	<atom:link href="http://www.canwestinfo.com/kb/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.canwestinfo.com/kb</link>
	<description>Development Knowledge Base</description>
	<lastBuildDate>Thu, 30 Sep 2010 20:39:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to share session state</title>
		<link>http://www.canwestinfo.com/kb/?p=50</link>
		<comments>http://www.canwestinfo.com/kb/?p=50#comments</comments>
		<pubDate>Thu, 30 Sep 2010 20:39:47 +0000</pubDate>
		<dc:creator>rying</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.canwestinfo.com/kb/?p=50</guid>
		<description><![CDATA[http://www.codeproject.com/KB/session/sharedsession.aspx http://blogs.msdn.com/toddca/archive/2007/01/25/sharing-asp-net-session-state-across-applications.aspx http://weblogs.asp.net/scottgu/archive/2006/04/22/Always-set-the-_2200_applicationName_2200_-property-when-configuring-ASP.NET-2.0-Membership-and-other-Providers.aspx http://msdn.microsoft.com/en-us/library/aa479313.aspx]]></description>
			<content:encoded><![CDATA[<p>http://www.codeproject.com/KB/session/sharedsession.aspx</p>
<p>http://blogs.msdn.com/toddca/archive/2007/01/25/sharing-asp-net-session-state-across-applications.aspx</p>
<p>http://weblogs.asp.net/scottgu/archive/2006/04/22/Always-set-the-_2200_applicationName_2200_-property-when-configuring-ASP.NET-2.0-Membership-and-other-Providers.aspx</p>
<p>http://msdn.microsoft.com/en-us/library/aa479313.aspx</p>
]]></content:encoded>
			<wfw:commentRss>http://www.canwestinfo.com/kb/?feed=rss2&amp;p=50</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find broadcast ip address</title>
		<link>http://www.canwestinfo.com/kb/?p=47</link>
		<comments>http://www.canwestinfo.com/kb/?p=47#comments</comments>
		<pubDate>Mon, 27 Sep 2010 20:21:43 +0000</pubDate>
		<dc:creator>rying</dc:creator>
				<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://www.canwestinfo.com/kb/?p=47</guid>
		<description><![CDATA[netstat -nr &#124; grep -i default &#124; awk &#8216;{print $2}&#8217; ifconfig lan0]]></description>
			<content:encoded><![CDATA[<p>netstat -nr | grep -i default | awk &#8216;{print $2}&#8217;</p>
<p>ifconfig lan0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.canwestinfo.com/kb/?feed=rss2&amp;p=47</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS stop response with error Connections_Refused</title>
		<link>http://www.canwestinfo.com/kb/?p=44</link>
		<comments>http://www.canwestinfo.com/kb/?p=44#comments</comments>
		<pubDate>Mon, 27 Sep 2010 18:59:29 +0000</pubDate>
		<dc:creator>rying</dc:creator>
				<category><![CDATA[WebServer]]></category>

		<guid isPermaLink="false">http://www.canwestinfo.com/kb/?p=44</guid>
		<description><![CDATA[http://support.microsoft.com/kb/934878 non-page memory less than 20mb.  There could be a memory leak some where. http://blogs.msdn.com/b/david.wang/archive/2005/09/21/howto-diagnose-iis6-failing-to-accept-connections-due-to-connections-refused.aspx]]></description>
			<content:encoded><![CDATA[<p>http://support.microsoft.com/kb/934878</p>
<p>non-page memory less than 20mb.  There could be a memory leak some where.</p>
<p>http://blogs.msdn.com/b/david.wang/archive/2005/09/21/howto-diagnose-iis6-failing-to-accept-connections-due-to-connections-refused.aspx</p>
]]></content:encoded>
			<wfw:commentRss>http://www.canwestinfo.com/kb/?feed=rss2&amp;p=44</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Difference Between Index Rebuild and Index Reorganize</title>
		<link>http://www.canwestinfo.com/kb/?p=42</link>
		<comments>http://www.canwestinfo.com/kb/?p=42#comments</comments>
		<pubDate>Thu, 09 Sep 2010 16:59:03 +0000</pubDate>
		<dc:creator>rying</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.canwestinfo.com/kb/?p=42</guid>
		<description><![CDATA[Index Rebuild : This process drops the existing Index and Recreates the index. USE AdventureWorks; GO ALTER INDEX ALL ON Production.Product REBUILD GO Index Reorganize : This process physically reorganizes the leaf nodes of the index. USE AdventureWorks; GO ALTER INDEX ALL ON Production.Product REORGANIZE GO Recommendation: Index should be rebuild when index fragmentation is [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Index Rebuild : </strong>This process drops the existing Index and Recreates the index.<br />
<code>USE AdventureWorks;<br />
GO<br />
ALTER INDEX ALL ON Production.Product REBUILD<br />
GO<br />
</code><br />
<strong>Index Reorganize : </strong>This process physically reorganizes the leaf nodes of the index.<br />
<code>USE AdventureWorks;<br />
GO<br />
ALTER INDEX ALL ON Production.Product REORGANIZE<br />
GO<br />
</code><br />
<strong>Recommendation:</strong> Index should be rebuild when index  fragmentation is great than 40%. Index should be reorganized when index  fragmentation is between 10% to 40%. Index rebuilding process uses more  CPU and it locks the database resources. SQL Server development version  and Enterprise version has option ONLINE, which can be turned on when  Index is rebuilt. ONLINE option will keep index available during the  rebuilding.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.canwestinfo.com/kb/?feed=rss2&amp;p=42</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vitural machine disk incompatible problem</title>
		<link>http://www.canwestinfo.com/kb/?p=37</link>
		<comments>http://www.canwestinfo.com/kb/?p=37#comments</comments>
		<pubDate>Fri, 20 Aug 2010 20:13:06 +0000</pubDate>
		<dc:creator>rying</dc:creator>
				<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.canwestinfo.com/kb/?p=37</guid>
		<description><![CDATA[http://www.desktop-virtualization.com/2008/02/07/convert-vmware-server-20-vms-into-server-104/]]></description>
			<content:encoded><![CDATA[<p>http://www.desktop-virtualization.com/2008/02/07/convert-vmware-server-20-vms-into-server-104/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.canwestinfo.com/kb/?feed=rss2&amp;p=37</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start Shutdown oracle database</title>
		<link>http://www.canwestinfo.com/kb/?p=35</link>
		<comments>http://www.canwestinfo.com/kb/?p=35#comments</comments>
		<pubDate>Fri, 20 Aug 2010 19:05:28 +0000</pubDate>
		<dc:creator>rying</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.canwestinfo.com/kb/?p=35</guid>
		<description><![CDATA[sqlplus / as sysdba startup shutdown immediate lsnrctl start]]></description>
			<content:encoded><![CDATA[<p>sqlplus / as sysdba<br />
startup<br />
shutdown immediate</p>
<p>lsnrctl start</p>
]]></content:encoded>
			<wfw:commentRss>http://www.canwestinfo.com/kb/?feed=rss2&amp;p=35</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby ssh problem</title>
		<link>http://www.canwestinfo.com/kb/?p=33</link>
		<comments>http://www.canwestinfo.com/kb/?p=33#comments</comments>
		<pubDate>Thu, 29 Apr 2010 20:47:32 +0000</pubDate>
		<dc:creator>rying</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.canwestinfo.com/kb/?p=33</guid>
		<description><![CDATA[Got an error during using Net/SSH module Net::SSH::HostKeyMismatch: fingerprint 0d:8c:4f:3e:3c:8e:52:17:f8:d5:45:b0:c1:66:cd:f6 does not match for &#8220;xxxx&#8221; The problem is ruby cache the key and the host get rebuild so the key changed. Solution is remove the known_hosts under $HOME/.ssh folder. On windows will be C:\Documents and Settings\[username]\.ssh]]></description>
			<content:encoded><![CDATA[<p>Got an error during using Net/SSH module</p>
<p>Net::SSH::HostKeyMismatch: fingerprint 0d:8c:4f:3e:3c:8e:52:17:f8:d5:45:b0:c1:66:cd:f6 does not match for &#8220;xxxx&#8221;</p>
<p>The problem is ruby cache the key and the host get rebuild so the key changed.</p>
<p>Solution is remove the known_hosts under $HOME/.ssh folder.</p>
<p>On windows will be C:\Documents and Settings\[username]\.ssh</p>
]]></content:encoded>
			<wfw:commentRss>http://www.canwestinfo.com/kb/?feed=rss2&amp;p=33</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extend VMWare virtual disk</title>
		<link>http://www.canwestinfo.com/kb/?p=31</link>
		<comments>http://www.canwestinfo.com/kb/?p=31#comments</comments>
		<pubDate>Thu, 29 Apr 2010 20:22:02 +0000</pubDate>
		<dc:creator>rying</dc:creator>
				<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.canwestinfo.com/kb/?p=31</guid>
		<description><![CDATA[vmware-vdiskmanager.exe -x 40Gb [diskfile] Mount disk file into another virtual machine. ide0:1.present = &#8220;TRUE&#8221; ide0:1.fileName = &#8220;WDevD1.vmdk&#8221; ide0:1.mode = &#8220;persistent&#8221; ide0:1.deviceType = &#8220;disk&#8221; ide0:1.redo = &#8220;&#8221; Start virtual machine. Using diskpart command list volume select [volume 2] extend Mount the disk back to original vm]]></description>
			<content:encoded><![CDATA[<ol>
<li>vmware-vdiskmanager.exe -x 40Gb [diskfile]</li>
<li>Mount disk file into another virtual machine.</li>
<p>ide0:1.present = &#8220;TRUE&#8221;<br />
ide0:1.fileName = &#8220;WDevD1.vmdk&#8221;<br />
ide0:1.mode = &#8220;persistent&#8221;<br />
ide0:1.deviceType = &#8220;disk&#8221;<br />
ide0:1.redo = &#8220;&#8221;</p>
<li>Start virtual machine.</li>
<li>Using diskpart command</li>
<p>list volume<br />
select [volume 2]<br />
extend</p>
<li>Mount the disk back to original vm</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.canwestinfo.com/kb/?feed=rss2&amp;p=31</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blackberry JDE preprocess</title>
		<link>http://www.canwestinfo.com/kb/?p=28</link>
		<comments>http://www.canwestinfo.com/kb/?p=28#comments</comments>
		<pubDate>Wed, 14 Apr 2010 22:58:45 +0000</pubDate>
		<dc:creator>rying</dc:creator>
				<category><![CDATA[Blackberry Dev]]></category>

		<guid isPermaLink="false">http://www.canwestinfo.com/kb/?p=28</guid>
		<description><![CDATA[Edit project file add Options=-quiet -define=JDE_4_7_BELOW;PREPROCESSOR In the .java file Add this line to beginning of the file //#preprocess //#ifdef JDE_4_7_BELOW import net.rim.device.api.ui.UiEngineInstance; //#else import net.rim.device.api.ui.UiEngineInstance; //#endif]]></description>
			<content:encoded><![CDATA[<p>Edit project file add</p>
<p>Options=-quiet -define=JDE_4_7_BELOW;PREPROCESSOR</p>
<p>In the .java file</p>
<p>Add this line to beginning of the file</p>
<p>//#preprocess</p>
<p>//#ifdef JDE_4_7_BELOW<br />
import net.rim.device.api.ui.UiEngineInstance;<br />
//#else<br />
import net.rim.device.api.ui.UiEngineInstance;<br />
//#endif</p>
]]></content:encoded>
			<wfw:commentRss>http://www.canwestinfo.com/kb/?feed=rss2&amp;p=28</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring SSL Host Headers (IIS 6.0)</title>
		<link>http://www.canwestinfo.com/kb/?p=25</link>
		<comments>http://www.canwestinfo.com/kb/?p=25#comments</comments>
		<pubDate>Fri, 09 Apr 2010 23:48:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.canwestinfo.com/kb/?p=25</guid>
		<description><![CDATA[http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/596b9108-b1a7-494d-885d-f8941b07554c.mspx?mfr=true Configuring Server Bindings for SSL Host Headers (IIS 6.0) cscript.exe adsutil.vbs set /w3svc/&#60;site identifier&#62;/SecureBindings &#8220;:443:&#60;host header&#62;&#8220;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/596b9108-b1a7-494d-885d-f8941b07554c.mspx?mfr=true" target="_blank">http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/596b9108-b1a7-494d-885d-f8941b07554c.mspx?mfr=true</a></p>
<p><strong>Configuring Server Bindings for SSL Host Headers (IIS 6.0)</strong></p>
<p>cscript.exe adsutil.vbs set /w3svc/<em>&lt;site  identifier&gt;</em>/SecureBindings &#8220;:443<em>:&lt;host  header&gt;</em>&#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.canwestinfo.com/kb/?feed=rss2&amp;p=25</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

