<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Microsoft Technology, .Net, BizTalk, Sharepoint &#38; etc.</title>
	<atom:link href="http://littletalk.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://littletalk.wordpress.com</link>
	<description>Liedong(Ken) Zheng, Senior SharePoint Developer at SIMPLOT</description>
	<lastBuildDate>Tue, 17 Nov 2009 00:58:25 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='littletalk.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/273a2ea2429a815e9b5d08a05fc38987?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Microsoft Technology, .Net, BizTalk, Sharepoint &#38; etc.</title>
		<link>http://littletalk.wordpress.com</link>
	</image>
			<item>
		<title>How to programmatically retrieve selected items in a Multiple-Selection list box in InfoPath</title>
		<link>http://littletalk.wordpress.com/2009/11/17/how-to-programmatically-retrieve-selected-items-in-a-multiple-selection-list-box-in-infopath/</link>
		<comments>http://littletalk.wordpress.com/2009/11/17/how-to-programmatically-retrieve-selected-items-in-a-multiple-selection-list-box-in-infopath/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 00:58:25 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=739</guid>
		<description><![CDATA[Quite often you will need to get selected values from a  Multiple-Selection list box to a field. I haven&#8217;t found a way to do in rules but the following code will solve the problem.
Suppose you have a Multiple-Selection List Box named myListBox on an InfoPath form and an after change event to fill a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=739&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Quite often you will need to get selected values from a  Multiple-Selection list box to a field. I haven&#8217;t found a way to do in rules but the following code will solve the problem.</p>
<p>Suppose you have a Multiple-Selection List Box named myListBox on an InfoPath form and an after change event to fill a Text Box named myTextBox with the values or display names of the items that were selected in the Multiple-Selection List Box.</p>
<p><strong>Retrieving the values of selected items</strong><br />
You could use the following C# code to retrieve the values that were selected:</p>
<pre class="brush: csharp;">
        public void field13_Changed(object sender, XmlEventArgs e)
        {
            XPathNavigator root = MainDataSource.CreateNavigator();
            XPathNodeIterator iter = root.Select(&quot;//my:myListBox &quot;,
              NamespaceManager);

            System.Text.StringBuilder sb = new System.Text.StringBuilder();

            while (iter.MoveNext())
            {
                string value = iter.Current.Value;
                sb.Append(value);
                if (sb.Length &gt; 0)
                {
                    sb.Append(&quot;;&quot;);
                }
            }

            root.SelectSingleNode(&quot;//my:myTextBox&quot;,
              NamespaceManager).SetValue(sb.ToString());
        }
</pre>
<p><strong><br />
Retrieving the display names of selected items</strong></p>
<p>If you want to retrieve the Display Names of the items that were selected and you’ve bound the Multiple-Selection List Box to a repeating node either in the Main data source or a secondary data source, you’ll have to do a programmatic lookup to retrieve the Display Names.</p>
<p>You could use the following C# code to retrieve the display names of the items that were selected:</p>
<pre class="brush: csharp;">
XPathNavigator root = MainDataSource.CreateNavigator();
XPathNodeIterator iter = root.Select(&quot;//my:myListBox&quot;,
  NamespaceManager);

System.Text.StringBuilder sb = new System.Text.StringBuilder();

while (iter.MoveNext())
{
  string value = iter.Current.Value;

  XPathNavigator secDS = DataSources[&quot;Fruits&quot;].CreateNavigator();
  string displayName = secDS.SelectSingleNode(
    &quot;/dfs:myFields/dfs:dataFields/d:Fruits[@ID = '&quot;
    + value + &quot;']/@Name&quot;, NamespaceManager).Value;

  sb.Append(displayName);
  sb.Append(&quot;;&quot;);
}

root.SelectSingleNode(&quot;//my:myTextBox&quot;,
 NamespaceManager).SetValue(sb.ToString());
</pre>
<p>where Fruits is a secondary data source, @ID the value of an item, and @Name the display name of an item.</p>
<p>Note: You cannot do a lookup for items if you’ve manually entered them into the list box.</p>
<p>More useful code you can find from <a href="http://www.bizsupportonline.net/blog/2009/03/programmatically-retrieve-selected-items-multiple-selection-list-box-infopath/">http://www.bizsupportonline.net/blog/2009/03/programmatically-retrieve-selected-items-multiple-selection-list-box-infopath/</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/739/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/739/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/739/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=739&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/11/17/how-to-programmatically-retrieve-selected-items-in-a-multiple-selection-list-box-in-infopath/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>Site.RootWeb.AllUsers didn&#8217;t return all users</title>
		<link>http://littletalk.wordpress.com/2009/11/10/site-rootweb-allusers-didnt-return-all-users/</link>
		<comments>http://littletalk.wordpress.com/2009/11/10/site-rootweb-allusers-didnt-return-all-users/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 05:18:22 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[User Permission]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=737</guid>
		<description><![CDATA[Sometime you may find  Site.RootWeb.AllUsers didn&#8217;t return all users even the user you can find in search. This is because AllUsers shows active users, i.e. those who have interacted with the sitecollection at least once. A quick way to add user in is go to your site collection level (top-level Web site ), clcik [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=737&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Sometime you may find  Site.RootWeb.AllUsers didn&#8217;t return all users even the user you can find in search. This is because AllUsers shows active users, i.e. those who have interacted with the sitecollection at least once. A quick way to add user in is go to your site collection level (top-level Web site ), clcik advanced permission, then add users in then removed them. </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/737/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=737&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/11/10/site-rootweb-allusers-didnt-return-all-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>Find a stored procedure containing</title>
		<link>http://littletalk.wordpress.com/2009/11/10/find-a-stored-procedure-containing/</link>
		<comments>http://littletalk.wordpress.com/2009/11/10/find-a-stored-procedure-containing/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 01:20:46 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[stored procedure]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=735</guid>
		<description><![CDATA[Quite often you need to find which stored procedure contains key word. I find this blog and use
SELECT ROUTINE_NAME, ROUTINE_DEFINITION
    FROM INFORMATION_SCHEMA.ROUTINES
    WHERE ROUTINE_DEFINITION LIKE '%foobar%'
    AND ROUTINE_TYPE='PROCEDURE'
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=735&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Quite often you need to find which stored procedure contains key word. I find <a href="http://databases.aspfaq.com/database/how-do-i-find-a-stored-procedure-containing-text.html">this blog</a> and use<br />
<code>SELECT ROUTINE_NAME, ROUTINE_DEFINITION<br />
    FROM INFORMATION_SCHEMA.ROUTINES<br />
    WHERE ROUTINE_DEFINITION LIKE '%foobar%'<br />
    AND ROUTINE_TYPE='PROCEDURE'</code></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/735/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=735&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/11/10/find-a-stored-procedure-containing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>Fix for &#8216;The database principal owns a schema in the database, and cannot be dropped&#8217; Error in SQL Server 2005</title>
		<link>http://littletalk.wordpress.com/2009/11/09/fix-for-the-database-principal-owns-a-schema-in-the-database-and-cannot-be-dropped-error-in-sql-server-2005/</link>
		<comments>http://littletalk.wordpress.com/2009/11/09/fix-for-the-database-principal-owns-a-schema-in-the-database-and-cannot-be-dropped-error-in-sql-server-2005/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 03:40:22 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server 2005]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=733</guid>
		<description><![CDATA[It happens when you are trying to delete a SQL user. To change the DB_Owner to some another &#8220;Database Principal&#8221;; simply Drill Down to your Database in Sql Server Management Studio and further more Drill Down to your_DB_Name &#62;Security &#62; Schemas &#62; db_owner &#62; right click &#62; select properties. You would find the name of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=733&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It happens when you are trying to delete a SQL user. To change the DB_Owner to some another &#8220;Database Principal&#8221;; simply Drill Down to your Database in Sql Server Management Studio and further more Drill Down to your_DB_Name &gt;Security &gt; Schemas &gt; db_owner &gt; right click &gt; select properties. You would find the name of the &#8220;Database Principal&#8221; that you want to delete. Change this to some another &#8220;Database Principal&#8221;; for Example, to &#8220;dbo&#8221;.<br />
You need to make the same changes to all the schemas where the &#8220;Database Principal&#8221; is having/owning the role. For Example, if it is having &#8220;db_owner, db_datareader, db_datawriter&#8221; roles; then you have to make the above said changes for all these 3 schemas.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/733/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/733/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/733/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=733&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/11/09/fix-for-the-database-principal-owns-a-schema-in-the-database-and-cannot-be-dropped-error-in-sql-server-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>xxx does not implement IReportServerConnection or could not be found   at Microsoft.Reporting.WebForms.ConfigFilePropertyInterface in SharePoint</title>
		<link>http://littletalk.wordpress.com/2009/11/04/xxx-does-not-implement-ireportserverconnection-or-could-not-be-found-at-microsoft-reporting-webforms-configfilepropertyinterface-in-sharepoint/</link>
		<comments>http://littletalk.wordpress.com/2009/11/04/xxx-does-not-implement-ireportserverconnection-or-could-not-be-found-at-microsoft-reporting-webforms-configfilepropertyinterface-in-sharepoint/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 03:57:39 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[SharePoint Report]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=728</guid>
		<description><![CDATA[If you create a custom viewer and add  in your web.config. 

&#60;add key=&#34;ReportViewerServerConnection&#34; value= ...&#62;

You will find your Site Ussage report will not working and throw error with your assembly does not implement IReportServerConnection or could not be found. After searching the net and I found Steve&#8217;s blog. Although the error is different, the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=728&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you create a custom viewer and add  in your web.config. </p>
<pre class="brush: xml;">
&lt;add key=&quot;ReportViewerServerConnection&quot; value= ...&gt;
</pre>
<p>You will find your Site Ussage report will not working and throw error with your assembly does not implement IReportServerConnection or could not be found. After searching the net and I found <a href="http://stevemchugh.blogspot.com/2007/10/reporting-services-and-virtual.html">Steve&#8217;s blog</a>. Although the error is different, the fix is the same. </p>
<p>&#8220;The problem is that web config&#8217;s are inherited in IIS therefore the reporting services web service web config settings are inherited from the report manager web config which means that the setting you removed is needed for report manager but breaks the web service.&#8221;</p>
<p>So to fix the problem, go to C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\TEMPLATE\LAYOUTS and open web.config, add:</p>
<pre class="brush: xml;">
&lt;appSettings&gt;
    &lt;add key=&quot;ReportViewerServerConnection&quot; value=&quot;&quot; /&gt;
&lt;/appSettings&gt;
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/728/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/728/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/728/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/728/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/728/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/728/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=728&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/11/04/xxx-does-not-implement-ireportserverconnection-or-could-not-be-found-at-microsoft-reporting-webforms-configfilepropertyinterface-in-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>Easiest Way To Add Custom Page to SharePoint</title>
		<link>http://littletalk.wordpress.com/2009/11/04/easiest-way-to-add-custom-page-to-sharepoint/</link>
		<comments>http://littletalk.wordpress.com/2009/11/04/easiest-way-to-add-custom-page-to-sharepoint/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 00:26:03 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Custom Page]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=725</guid>
		<description><![CDATA[I found the easiest way to add custom page to SharePoint is to create a host aspx page and embed usercontrol inside, so next time if you have any update you can just update the usercontrol.
Below is the aspx inline page and I upload to Pages library

&#60;%@ Page Language=&#34;C#&#34;  EnableSessionState=&#34;true&#34;  MasterPageFile=&#34;~masterurl/default.master&#34;%&#62;
&#60;%@ Register src=&#34;~/_controltemplates/TestUserControl.ascx&#34; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=725&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I found the easiest way to add custom page to SharePoint is to create a host aspx page and embed usercontrol inside, so next time if you have any update you can just update the usercontrol.</p>
<p>Below is the aspx inline page and I upload to Pages library</p>
<pre class="brush: xml;">
&lt;%@ Page Language=&quot;C#&quot;  EnableSessionState=&quot;true&quot;  MasterPageFile=&quot;~masterurl/default.master&quot;%&gt;
&lt;%@ Register src=&quot;~/_controltemplates/TestUserControl.ascx&quot; tagname=&quot;TestUserControl&quot; tagprefix=&quot;uc1&quot; %&gt;

&lt;asp:Content ID=&quot;Content2&quot; ContentPlaceHolderID=&quot;PlaceHolderMain&quot; runat=&quot;server&quot;&gt;
&lt;asp:ScriptManager ID=&quot;ScriptManager1&quot; runat=&quot;server&quot;/&gt;
      &lt;uc1:TestUserControl ID=&quot;JDEGLSearch&quot; runat=&quot;server&quot; /&gt;
&lt;/asp:Content&gt;
</pre>
<p>The TestUserControl.ascx just a User Control created in the visual studio. You can add the ui into 12\TEMPLATE\CONTROLTEMPLATES</p>
<p>or you can add into _\12\TEMPLATE\LAYOUTS folder but which means everyone can access the page</p>
<pre class="brush: xml;">
&lt;%@ Page language=&quot;C#&quot; MasterPageFile=&quot;~/_layouts/application.master&quot; Inherits=&quot;Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c&quot; %&gt;

&lt;asp:Content ID=&quot;Content2&quot; ContentPlaceHolderID=&quot;PlaceHolderMain&quot; runat=&quot;server&quot;&gt;
  &lt;b&gt;Hello&lt;/b&gt;
&lt;/asp:Content&gt;
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/725/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=725&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/11/04/easiest-way-to-add-custom-page-to-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>Use Session in Custom Page: Session state can only be used when enableSessionState is set to true</title>
		<link>http://littletalk.wordpress.com/2009/11/04/use-session-in-custom-page-session-state-can-only-be-used-when-enablesessionstate-is-set-to-true/</link>
		<comments>http://littletalk.wordpress.com/2009/11/04/use-session-in-custom-page-session-state-can-only-be-used-when-enablesessionstate-is-set-to-true/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 00:17:42 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Custom Page]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=723</guid>
		<description><![CDATA[If you received this error when use session in your custom aspx page deployed to SharePoint:
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=723&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you received this error when use session in your custom aspx page deployed to SharePoint:</p>
<p><em>Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration. </em></p>
<p>If you add “EnableSessionState=&#8221;true” “ to your   it should enable it but also you need to modify you web.config</p>
<p>The problem is that by default, Sharepoint does not allow server side code in .aspx pages by default. You need to enable this using PageParserPath. Add the PageParserPath inside of the PageParserPaths node of the web.config file, changing the virtual path to the path you want to enable. Or you can use /Pages/* as the value if they are in the same folder</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/723/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/723/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/723/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/723/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/723/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=723&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/11/04/use-session-in-custom-page-session-state-can-only-be-used-when-enablesessionstate-is-set-to-true/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>October 2009 Cumulative Update Packages for SharePoint Server 2007 and Windows SharePoint Services 3.0 is available</title>
		<link>http://littletalk.wordpress.com/2009/11/03/october-2009-cumulative-update-packages-for-sharepoint-server-2007-and-windows-sharepoint-services-3-0-is-available/</link>
		<comments>http://littletalk.wordpress.com/2009/11/03/october-2009-cumulative-update-packages-for-sharepoint-server-2007-and-windows-sharepoint-services-3-0-is-available/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 23:08:02 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=721</guid>
		<description><![CDATA[The server-packages of October 2009 Cumulative Update for Microsoft Office SharePoint Server 2007 and Windows SharePoint Services 3.0 are ready for download. October 2009 Cumulative Updates introduce more rules on Pre-Upgrade Checker, which can help customers to prepare the upgrade of their SharePoint farm to SharePoint 2010.
Download Information
Windows SharePoint Services 3.0 October 2009 cumulative update [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=721&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The server-packages of October 2009 Cumulative Update for Microsoft Office SharePoint Server 2007 and Windows SharePoint Services 3.0 are ready for download. October 2009 Cumulative Updates introduce more rules on Pre-Upgrade Checker, which can help customers to prepare the upgrade of their SharePoint farm to SharePoint 2010.</p>
<p>Download Information</p>
<p>Windows SharePoint Services 3.0 October 2009 cumulative update package<br />
<a href="http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=974989">http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=974989</a></p>
<p>Office SharePoint Server 2007 October 2009 cumulative update package<br />
<a href="http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=974988">http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=974988</a></p>
<p>Detail Description</p>
<p>Description of the Windows SharePoint Services 3.0 October 2009 cumulative update package<br />
<a href="http://support.microsoft.com/kb/974989">http://support.microsoft.com/kb/974989 </a></p>
<p>Description of the Office SharePoint Server 2007 October 2009 cumulative update package<br />
<a href="http://support.microsoft.com/kb/974988">http://support.microsoft.com/kb/974988</a> </p>
<p>Installation Recommendation for a fresh SharePoint Server</p>
<p>To keep all files in a SharePoint installation up-to-date, the following sequence is recommended.</p>
<p>   1. Service Pack 2 for Windows SharePoint Services 3.0 and language packs<br />
   2. Service Pack 2 for Office SharePoint Server 2007 and language packs<br />
   3. October 2009 Cumulative Update package for Windows SharePoint Services 3.0<br />
   4. October 2009 Cumulative Update package for Office SharePoint Server 2007</p>
<p>Please note: Start from April 2009 Cumulative Update, the packages will no longer install on a farm without a service pack installed. You must have installed either Service Pack 1 (SP1) or SP2 prior to the installation of the cumulative updates.</p>
<p>After applying the preceding updates, run the SharePoint Products and Technologies Configuration Wizard or “psconfig -cmd upgrade -inplace b2b -wait” in command line. This needs to be done on every server in the farm with SharePoint installed.</p>
<p>The version of content databases should be 12.0.6520.5000 after successfully applying these updates.</p>
<p>You can also refer to April Cumulative Update post for deployment guides, slipstream how-to links and FAQs. </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/721/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/721/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/721/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=721&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/11/03/october-2009-cumulative-update-packages-for-sharepoint-server-2007-and-windows-sharepoint-services-3-0-is-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;The type or namespace &#8221; does not exist in the class or namespace &#8221; (are you missing an assembly reference?)&#8221; in SmartPart Sharepoint</title>
		<link>http://littletalk.wordpress.com/2009/10/29/the-type-or-namespace-does-not-exist-in-the-class-or-namespace-are-you-missing-an-assembly-reference-in-smartpart-sharepoint/</link>
		<comments>http://littletalk.wordpress.com/2009/10/29/the-type-or-namespace-does-not-exist-in-the-class-or-namespace-are-you-missing-an-assembly-reference-in-smartpart-sharepoint/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 04:34:53 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[SharePoint2007]]></category>
		<category><![CDATA[Smart Part]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/?p=719</guid>
		<description><![CDATA[Sometime you get this error when you deployed a web part which use references. To fix the problem, you need to open your aspx page and add references like , even you are not useing it in your UI
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=719&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Sometime you get this error when you deployed a web part which use references. To fix the problem, you need to open your aspx page and add references like , even you are not useing it in your UI</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/719/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/719/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/719/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=719&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/10/29/the-type-or-namespace-does-not-exist-in-the-class-or-namespace-are-you-missing-an-assembly-reference-in-smartpart-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
		<item>
		<title>Install TFS 2010 Beta 2</title>
		<link>http://littletalk.wordpress.com/2009/10/27/install-tfs-2010-beta-2/</link>
		<comments>http://littletalk.wordpress.com/2009/10/27/install-tfs-2010-beta-2/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 04:08:03 +0000</pubDate>
		<dc:creator>ken zheng</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://littletalk.wordpress.com/2009/10/27/install-tfs-2010-beta-2/</guid>
		<description><![CDATA[Finally today, I managed to install TFS 2010 on my virtual pc which is server 2008 with SharePoint 2007. The erors I got is all aournd permission. So you need to make sure your SharePoint Service and Application Pool use domain account. There are 2 problems I had;
1. Ther error happens when configure the TFS.
TF255275: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=718&subd=littletalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Finally today, I managed to install TFS 2010 on my virtual pc which is server 2008 with SharePoint 2007. The erors I got is all aournd permission. So you need to make sure your SharePoint Service and Application Pool use <strong>domain account</strong>. There are 2 problems I had;<br />
1. Ther error happens when configure the TFS.<br />
TF255275: The following Web service for SQL Server Reporting Services could not be accessed: http:///ReportServer/ReportService2005.asmx.<br />
To fix this error, you will need to remove the ReportServer and ReportServerTempDb database from the database server, see <a href="http://blogs.msdn.com/habibh/archive/2009/07/06/troubleshooting-team-foundation-server-2010-beta-1-error-tf255275.aspx">here</a> for more details.<br />
2. Grant TFS permission to SharePoint. This is a permission problem. I will need to change all my sharepopint service to run under domain account. See <a href="http://msdn.microsoft.com/en-us/library/ms253177%28VS.100%29.aspx"> here </a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/littletalk.wordpress.com/718/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/littletalk.wordpress.com/718/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/littletalk.wordpress.com/718/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/littletalk.wordpress.com/718/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/littletalk.wordpress.com/718/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/littletalk.wordpress.com/718/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/littletalk.wordpress.com/718/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/littletalk.wordpress.com/718/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/littletalk.wordpress.com/718/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/littletalk.wordpress.com/718/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=littletalk.wordpress.com&blog=2688155&post=718&subd=littletalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://littletalk.wordpress.com/2009/10/27/install-tfs-2010-beta-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e36e65741ca6b868a4f626cb656121bb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ken zheng</media:title>
		</media:content>
	</item>
	</channel>
</rss>