<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Lucky At SharePoint...</title>
	<atom:link href="http://luckyatsharepoint.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://luckyatsharepoint.wordpress.com</link>
	<description>Sharpoint is Lucky Enough :)</description>
	<lastBuildDate>Mon, 11 Aug 2008 11:33:01 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='luckyatsharepoint.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/0c3288354ecd71e4c115da0cca113d7f?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Lucky At SharePoint...</title>
		<link>http://luckyatsharepoint.wordpress.com</link>
	</image>
			<item>
		<title>HOWTO: Create and Deploy a &#8220;Hello World&#8221; WebPart for SharePoint</title>
		<link>http://luckyatsharepoint.wordpress.com/2008/03/06/howto-create-and-deploy-a-hello-world-webpart-for-sharepoint/</link>
		<comments>http://luckyatsharepoint.wordpress.com/2008/03/06/howto-create-and-deploy-a-hello-world-webpart-for-sharepoint/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 17:42:21 +0000</pubDate>
		<dc:creator>luckyatsharepoint</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://luckyatsharepoint.wordpress.com/2008/03/06/howto-create-and-deploy-a-hello-world-webpart-for-sharepoint/</guid>
		<description><![CDATA[Assuming I have a SharePoint site ready to go, I will be using  My Site for Office SharePoint Portal Server 2003 for my example. (NOTE: I  will be creating links in this document to screen shots to help clarify what I&#8217;m  writing about).

Install the   Web Part Templates for Visual Studio [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luckyatsharepoint.wordpress.com&blog=3045387&post=10&subd=luckyatsharepoint&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Assuming I have a SharePoint site ready to go, I will be using <a href="http://www.unboxedsolutions.com/sean/images/mysite.jpg" target="_blank"> My Site</a> for Office SharePoint Portal Server 2003 for my example. (NOTE: I  will be creating links in this document to screen shots to help clarify what I&#8217;m  writing about).</p>
<ol>
<li>Install the  <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=14D5D92F-C3A6-407C-AAD7-B8C41A4991BE&amp;displaylang=en" target="_blank"> Web Part Templates for Visual Studio .NET</a></li>
<li>Start Visual Studio and create a new C# Web Part Project named <em> HelloWebPartLib</em> as  <a href="http://www.unboxedsolutions.com/sean/images/hellowebpartlib.jpg" target="_blank">illustrated</a>.</li>
<li>Visual Studio will automatically create several files for you. Delete   the files: WebPart1.cs and WebPart1.dwp.</li>
<li>Add a Web Part class to the project named HelloWorld.cs as  <a href="http://www.unboxedsolutions.com/sean/images/helloworld_cs.jpg" target="_blank"> illustrated</a>.</li>
<li>Add a new Web Part DWP item to the project named HelloWorld.dwp as  <a href="http://www.unboxedsolutions.com/sean/images/helloworld_dwp.jpg" target="_blank"> illustrated</a>.</li>
<li>In the Properties window for the DWP file, set the Build Action property   to &#8220;Content&#8221;. This will be needed later when you build a CAB file for   deployment.<img src="http://www.unboxedsolutions.com/sean/images/setcontent.jpg" alt="" /></li>
<li>Create a new key pair using sn.exe so you can give the HelloWebPartLib a   strong name as  <a href="http://www.unboxedsolutions.com/sean/images/keypair.jpg" target="_blank"> illustrated</a>.For example:  <span style="font-family:Courier New;">sn -k c:\keypair.snk</span></li>
<li>Edit the AssemblyInfo.cs file to change the AssemblyKeyFile attribute to   point to the key pair file you just created.<span style="font-family:Courier New;">[assembly: AssemblyKeyFile("c:\\keypair.snk")]</span></li>
<li>In the HelloWord.cs file, edit the RenderWebPart method to write out   &#8220;Hello World!&#8221;
<div>
<div style="border:1pt solid windowtext;padding:1pt 4pt;">
<p class="MsoNormal" style="border:medium none;padding:0;"><span style="font-size:10pt;font-family:'Courier New';color:blue;">protected</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:blue;">override</span> <span style="color:blue;">void</span> RenderWebPart(HtmlTextWriter output)</span></p>
<p class="MsoNormal" style="border:medium none;padding:0;"><span style="font-size:10pt;font-family:'Courier New';">{</span></p>
<p class="MsoNormal" style="border:medium none;padding:0;"><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:green;">//output.Write(SPEncode.HtmlEncode(Text));</span></span></p>
<p class="MsoNormal" style="border:medium none;padding:0;"><span style="font-size:10pt;font-family:'Courier New';"> output.Write(&#8220;Hello World!&#8221;);</span></p>
<p class="MsoNormal" style="border:medium none;padding:0;"><span style="font-size:10pt;font-family:'Courier New';">}</span></p>
</div>
</div>
</li>
<li>Build the HelloWebPartLib project.</li>
<li>Now that you have built the project, we need to extract the   PublicKeyToken value of the assembly to specify in the HelloWorld.dwp file.   I use <a href="http://www.aisto.com/roeder/dotnet/" target="_blank">Lutz   Roeder&#8217;s Reflector</a> utility to pull this information, however you can use   sn -T from the Visual Studio command prompt as well.<img src="http://www.unboxedsolutions.com/sean/images/PublicKeyToken.jpg" alt="" width="433" height="349" /></li>
<li>Edit the HelloWorld.dwp file so that the XML entity named &lt;Assembly&gt;   contains the PublicKeyToken value that you extracted using Reflector or   sn.exe. Also, add the TypeName value as shown below.NOTE: Make sure you replace the highlighted public key token value in the   example below with your own!
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';">&lt;?xml   version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';">&lt;WebPart   xmlns=&#8221;http://schemas.microsoft.com/WebPart/v2&#8243; &gt;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';"> &lt;Title&gt;Hello World&lt;/Title&gt;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';"> &lt;Description&gt;Hello World WebPart&lt;/Description&gt;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';"> &lt;Assembly&gt;HelloWebPartLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=<span style="background-color:#ffff00;">4a5727bcff5dd0bb</span>&lt;/Assembly&gt;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';"> &lt;TypeName&gt;HelloWebPartLib.HelloWorld&lt;/TypeName&gt;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';"> &lt;!&#8211; Specify initial values for any additional base class or custom   properties here. &#8211;&gt;</span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';">&lt;/WebPart&gt;</span></p>
</li>
<li>Edit the Manifest.xml file to specify the HelloWorld.dwp file in your   project. Note that you can simply alter the existing text that reads &#8220;<span style="font-size:10pt;font-family:'Courier New';color:blue;">&lt;</span><span style="font-size:10pt;font-family:'Courier New';color:maroon;">DwpFile</span><span style="font-size:10pt;font-family:'Courier New';color:fuchsia;"> </span> <span style="font-size:10pt;font-family:'Courier New';color:red;">FileName</span><span style="font-size:10pt;font-family:'Courier New';color:blue;">=&#8221;WebPart1.dwp&#8221;/&gt;</span>&#8221; and change it to the following:
<p class="MsoNormal"><span style="font-size:10pt;font-family:'Courier New';color:blue;">&lt;</span><span style="font-size:10pt;font-family:'Courier New';color:maroon;">DwpFile</span><span style="font-size:10pt;font-family:'Courier New';color:fuchsia;"> </span> <span style="font-size:10pt;font-family:'Courier New';color:red;">FileName</span><span style="font-size:10pt;font-family:'Courier New';color:blue;">=&#8221;HelloWorld.dwp&#8221;/&gt;</span></p>
</li>
<li>Now we are ready to deploy our Web Part. The easiest way to do so is to   create a CAB project.</li>
<li>Right-click on your solution and then click Add New Project.</li>
<li>As  <a href="http://www.unboxedsolutions.com/sean/images/hellowpcab.jpg" target="_blank"> illustrated</a>, create a Setup and Deployment CAB project named <em> HelloWPCab</em>.</li>
<li>Right-click on the CAB project, point to Add, and then click Project   Output.</li>
<li>When the Add Project Output Group dialog box appears, specify &#8220;primary   output&#8221; and &#8220;content files&#8221; and then click OK.<img src="http://www.unboxedsolutions.com/sean/images/projectoutput.jpg" alt="" /></li>
<li>Rebuild the entire solution. At this point a CAB file will have been   created in the project directory you specified when creating the CAB   project.</li>
<li>To install our CAB file on the SharePoint server, copy the generated CAB   file to the server. For this example, I am copying to the C:\ drive of the   server.</li>
<li>Once our CAB file has been copied over to the server, we can run the   SharePoint command-line administration tool named stsadm.exe. This will   deploy our CAB file containing the HelloWorld WebPart.NOTE: The stsadm.exe file on the server is in C:\Program Files\Common   Files\Microsoft Shared\web server extensions\60\BIN\ by defult.</li>
<li>As   <a href="http://www.unboxedsolutions.com/sean/images/stsadm_utility.jpg" target="_blank"> illustrated</a>, run the stsadm.exe utility using the following   parameters to install the HelloWorld WebPart. Note that you may need to   change the highlighted path below depending on where you copied the CAB file   on the server.<span style="font-family:Courier New;">stsadm -o addwppack -globalinstall -force -filename  <span style="background-color:#ffff00;">C:\</span>HelloWPCab.cab</span></li>
<li>As  <a href="http://www.unboxedsolutions.com/sean/images/AddWebPart.jpg" target="_blank"> illustrated</a>, now you can add your WebPart to a SharePoint portal page!   In this case, I am adding it to the default page in &#8220;My Site&#8221;. Do this by   clicking on the Modify My Page link, point to Add Web Parts, and then click   Browse.</li>
<li>When you click on the Virtual Server Gallery link on the right window   pane, you will see the Hello World Web part available for use.<img src="http://www.unboxedsolutions.com/sean/images/virtualservergallery.jpg" alt="" /></li>
<li>Drag and Drop your Hello World WebPart into one of the available zones   as illustarted. That&#8217;s it!<img src="http://www.unboxedsolutions.com/sean/images/DragDropWebPart.jpg" alt="" /></li>
</ol>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/luckyatsharepoint.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/luckyatsharepoint.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luckyatsharepoint.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luckyatsharepoint.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luckyatsharepoint.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luckyatsharepoint.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luckyatsharepoint.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luckyatsharepoint.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luckyatsharepoint.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luckyatsharepoint.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luckyatsharepoint.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luckyatsharepoint.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luckyatsharepoint.wordpress.com&blog=3045387&post=10&subd=luckyatsharepoint&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://luckyatsharepoint.wordpress.com/2008/03/06/howto-create-and-deploy-a-hello-world-webpart-for-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eb2a285bfcd73c3ad81ffdff1e0599b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">luckyatsharepoint</media:title>
		</media:content>

		<media:content url="http://www.unboxedsolutions.com/sean/images/setcontent.jpg" medium="image" />

		<media:content url="http://www.unboxedsolutions.com/sean/images/PublicKeyToken.jpg" medium="image" />

		<media:content url="http://www.unboxedsolutions.com/sean/images/projectoutput.jpg" medium="image" />

		<media:content url="http://www.unboxedsolutions.com/sean/images/virtualservergallery.jpg" medium="image" />

		<media:content url="http://www.unboxedsolutions.com/sean/images/DragDropWebPart.jpg" medium="image" />
	</item>
		<item>
		<title>Adding user control to SharePoint 2007 (MOSS/WSS) Web Part and handling events in there</title>
		<link>http://luckyatsharepoint.wordpress.com/2008/03/06/adding-user-control-to-sharepoint-2007-mosswss-web-part-and-handling-events-in-there/</link>
		<comments>http://luckyatsharepoint.wordpress.com/2008/03/06/adding-user-control-to-sharepoint-2007-mosswss-web-part-and-handling-events-in-there/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 11:10:15 +0000</pubDate>
		<dc:creator>luckyatsharepoint</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://luckyatsharepoint.wordpress.com/2008/03/06/adding-user-control-to-sharepoint-2007-mosswss-web-part-and-handling-events-in-there/</guid>
		<description><![CDATA[Requirement: I have a Web User Control where I added one textbox and a button. Now I wanted to add this user control into a SharePoint Web Part. After adding this Web Part to any page, if I click the button, there should be a text “Hello World” in the Text Box.
 
Steps:
 

Create a blank web [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luckyatsharepoint.wordpress.com&blog=3045387&post=9&subd=luckyatsharepoint&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;">Requirement: I have a Web User Control where I added one textbox and a button. Now I wanted to add this user control into a SharePoint Web Part. After adding this Web Part to any page, if I click the button, there should be a text “Hello World” in the Text Box.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;">Steps:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<ol>
<li class="MsoNormal"><span style="font-size:10pt;font-family:Verdana;">Create a blank web application and add a web user control (name WebUserControl.ascx) into it. While adding the user control, uncheck the &#8220;Place code in a separate file&#8221; option.</span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:Verdana;">Add one TextField and a Button to the user control. The ids of these controls are TextBox1 and Button1 respectively.</span></li>
<li class="MsoNormal"><span style="font-size:10pt;color:windowtext;font-family:Verdana;">Now copy this user control to a folder (wuc) under your virtual host (Web Application) path. In my case it is: “C:\Inetpub\wwwroot\wss\VirtualDirectories\80\wuc\”.</span><span style="font-size:10pt;font-family:Verdana;"></span></li>
<li class="MsoNormal"><span style="font-size:10pt;color:windowtext;font-family:Verdana;">Now create a web part application using Visual Studio SharePoint Web Part template. Here is the code for the web part:</span><span style="font-size:10pt;font-family:Verdana;"></span></li>
</ol>
<p class="MsoNormal" style="margin:0 0 0 0.25in;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin:0 0 0 0.25in;"><span style="font-size:10pt;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">using</span><span style="font-size:10pt;font-family:'Courier New';"> System;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">using</span><span style="font-size:10pt;font-family:'Courier New';"> System.Runtime.InteropServices;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">using</span><span style="font-size:10pt;font-family:'Courier New';"> System.Web.UI;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">using</span><span style="font-size:10pt;font-family:'Courier New';"> System.Web.UI.WebControls.WebParts;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">using</span><span style="font-size:10pt;font-family:'Courier New';"> System.Xml.Serialization;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">using</span><span style="font-size:10pt;font-family:'Courier New';"> Microsoft.SharePoint;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">using</span><span style="font-size:10pt;font-family:'Courier New';"> Microsoft.SharePoint.WebControls;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">using</span><span style="font-size:10pt;font-family:'Courier New';"> Microsoft.SharePoint.WebPartPages;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:blue;font-family:'Courier New';">namespace</span><span style="font-size:10pt;font-family:'Courier New';"> wucwp</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">{</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">    [<span style="color:teal;">Guid</span>(<span style="color:maroon;">"ee818646-e872-455c-a857-6e64e513539b"</span>)]</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">    <span style="color:blue;">public</span> <span style="color:blue;">class</span> wucwp : System.Web.UI.WebControls.WebParts.WebPart</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">    {</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        UserControl userControl;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        System.Web.UI.WebControls.TextBox txtField;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        System.Web.UI.WebControls.Button showButton;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        <span style="color:blue;">public</span> wucwp()</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        {</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            <span style="color:blue;">this</span>.ExportMode = WebPartExportMode.All;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        }</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        <span style="color:blue;">protected</span> <span style="color:blue;">override</span> <span style="color:blue;">void</span> Render(HtmlTextWriter writer)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        {</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            <span style="color:green;">// TODO: add custom rendering code here.</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            <span style="color:green;">// writer.Write(&#8220;Output HTML&#8221;);</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            userControl.RenderControl(writer);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        }</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        <span style="color:blue;">protected</span> <span style="color:blue;">override</span> <span style="color:blue;">void</span> CreateChildControls()</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        {</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            <span style="color:blue;">base</span>.CreateChildControls();</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            userControl = (UserControl) Page.LoadControl(<span style="color:maroon;">@&#8221;/wuc/WebUserControl.ascx&#8221;</span>);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            txtField = (System.Web.UI.WebControls.TextBox) <span style="color:blue;">this</span>.userControl.FindControl(<span style="color:maroon;">&#8220;TextBox1&#8243;</span>);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            showButton = (System.Web.UI.WebControls.Button) <span style="color:blue;">this</span>.userControl.FindControl(<span style="color:maroon;">&#8220;Button1&#8243;</span>);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            showButton.Click += <span style="color:blue;">new</span> <span style="color:teal;">EventHandler</span>(showButton_Click);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            Controls.Add(userControl);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        }</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        <span style="color:blue;">void</span> showButton_Click(<span style="color:blue;">object</span> sender, <span style="color:teal;">EventArgs</span> e)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        {</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            <span style="color:green;">//throw new Exception(&#8220;The method or operation is not implemented.&#8221;);</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">            txtField.Text = <span style="color:maroon;">&#8220;Hello World&#8221;</span>;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">        }</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">    }</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:'Courier New';">}</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:black;font-family:Verdana;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:black;font-family:Verdana;">Now deploy this web part and add it to any page of your site and this should work as expected.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:black;font-family:Verdana;"></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:black;font-family:Verdana;"></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:black;font-family:Verdana;"><b>Update Note:</b> One minor modification. It is better to put the .<font color="#800000" face="Courier New">WebUserControl.ascx</font> file under 12-Hive\TEMPLATE\CONTROLTEMPLATES folder,  and access it as <font face="Courier New">userControl = (UserControl) Page.LoadControl(<span style="color:maroon;">@&#8221;/_controltemplates/WebUserControl.ascx&#8221;</span>);</font></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:black;font-family:Verdana;"></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:black;font-family:Verdana;"><font face="Courier New"><span style="font-size:10pt;color:black;font-family:Verdana;">Thanks Inge for your inputs.</span></font></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/luckyatsharepoint.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/luckyatsharepoint.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luckyatsharepoint.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luckyatsharepoint.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luckyatsharepoint.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luckyatsharepoint.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luckyatsharepoint.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luckyatsharepoint.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luckyatsharepoint.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luckyatsharepoint.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luckyatsharepoint.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luckyatsharepoint.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luckyatsharepoint.wordpress.com&blog=3045387&post=9&subd=luckyatsharepoint&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://luckyatsharepoint.wordpress.com/2008/03/06/adding-user-control-to-sharepoint-2007-mosswss-web-part-and-handling-events-in-there/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eb2a285bfcd73c3ad81ffdff1e0599b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">luckyatsharepoint</media:title>
		</media:content>
	</item>
		<item>
		<title>Web User Controls</title>
		<link>http://luckyatsharepoint.wordpress.com/2008/03/05/web-user-controls/</link>
		<comments>http://luckyatsharepoint.wordpress.com/2008/03/05/web-user-controls/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 07:10:49 +0000</pubDate>
		<dc:creator>luckyatsharepoint</dc:creator>
				<category><![CDATA[ASP.Net]]></category>

		<guid isPermaLink="false">http://luckyatsharepoint.wordpress.com/2008/03/05/web-user-controls/</guid>
		<description><![CDATA[Web User Controls
User controls are those controls which we create and add to Web pages. Creating a user control for Web Application is very similar to creating a user control in Windows Application. User controls in ASP.NET are based on the System.Web.UI.UserControl class and the class hierarchy is as follows:
Object
Control
TemplateControl
UserControl
Creating User Controls
To create a user control select [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luckyatsharepoint.wordpress.com&blog=3045387&post=8&subd=luckyatsharepoint&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span>Web User Controls</span></p>
<p>User controls are those controls which we create and add to Web pages. Creating a user control for <a id="KonaLink0" class="kLink" href="http://www.startvbdotnet.com/aspsite/extras/user.aspx#" target="_new"><span style="color:#009900;"><span class="kLink" style="font-weight:400;font-size:x-small;position:relative;font-family:verdana;color:#009900;">Web </span><span class="kLink" style="font-weight:400;font-size:x-small;position:relative;font-family:verdana;color:#009900;">Application</span></span></a> is very similar to creating a user control in Windows Application. User controls in ASP.NET are based on the <span style="color:#0000ff;">System.Web.UI.UserControl</span> class and the class hierarchy is as follows:</p>
<p><span style="color:#0000ff;">Object<br />
Control<br />
TemplateControl<br />
UserControl</span></p>
<p><strong>Creating User Controls</strong></p>
<p>To create a user control select <span style="color:#0000ff;">Project-&gt;Add Web User Control</span> from the main menu to add it to an existing project. It looks like the image below.</p>
<p><img class="alignleft" src="http://www.startvbdotnet.com/aspsite/extras/images/web.gif" alt="" width="423" height="311" /></p>
<p>You can also select <span style="color:#0000ff;">File-&gt;New-&gt;Project-&gt;Visual Basic Projects-&gt;Web Control Library</span> to create a new user control. The dialog box looks like the image below.</p>
<p><img src="http://www.startvbdotnet.com/aspsite/extras/images/web2.gif" border="0" alt="" width="421" height="295" /></p>
<p>By default, user control files have an &#8220;ascx&#8221; extension. The following user control sample which we will create is a simple control that contains hyperlinks. While browsing the Internet you might notice some <a id="KonaLink1" class="kLink" href="http://www.startvbdotnet.com/aspsite/extras/user.aspx#" target="_new"><span style="color:#009900;"><span class="kLink" style="font-weight:400;font-size:x-small;position:relative;font-family:verdana;color:#009900;">Web </span><span class="kLink" style="font-weight:400;font-size:x-small;position:relative;font-family:verdana;color:#009900;">sites</span></span></a> that have lots of links towards the bottom of the page and those links are found on each and every Web page of that site. For example, if you hit amazon.com you will notice 17-20 links towards the bottom of the page and on each and every page of amazon.com you will find those links. Creating such kind of links manually on each and every page of the site can be a pain as you need to make sure that each and every link works and none is broken. With a <a id="KonaLink2" class="kLink" href="http://www.startvbdotnet.com/aspsite/extras/user.aspx#" target="_new"><span style="color:#009900;"><span class="kLink" style="font-weight:400;font-size:x-small;position:relative;font-family:verdana;color:#009900;">ASP</span></span></a>.NET user control you can create just one control of that kind and add that to each and every page without creating the links manually on each and every page.</p>
<p>To start, add a user control file to the project selecting from <span style="color:#0000ff;">Project-&gt;Add Web User Control </span>and drag five hyperlink server controls from the toolbox on to the user control file (WebUserControl1.ascx). We are designing the user interface for the user control at this time. Select each hyperlink control and set it&#8217;s NavigateUrl to a site of your choice and Target property to &#8220;_parent&#8221;. The HTML view of this file looks like this:</p>
<table id="Table2" style="width:90%;background-color:linen;" border="0">
<tbody>
<tr>
<td>&lt;%@ Control Language=&#8221;vb&#8221; AutoEventWireup=&#8221;false&#8221; Codebehind=&#8221;WebUserControl1.ascx.vb&#8221;_<br />
Inherits=&#8221;asp.WebUserControl1&#8243; TargetSchema=&#8221;http://schemas.microsoft.com/intellisense/ie5&#8243; %&gt;<br />
&lt;asp:HyperLink id=&#8221;HyperLink1&#8243; runat=&#8221;<a id="KonaLink3" class="kLink" href="http://www.startvbdotnet.com/aspsite/extras/user.aspx#" target="_new"><span style="color:#009900;"><span class="kLink" style="font-weight:400;font-size:x-small;position:relative;font-family:Verdana;color:#009900;">server</span></span></a>&#8221; Target=&#8221;_parent&#8221;_<br />
NavigateUrl=&#8221;http://www.startvbdotnet.com&#8221;&gt;Startvbdotnet&lt;/asp:HyperLink&gt;<br />
&lt;asp:HyperLink id=&#8221;HyperLink2&#8243; runat=&#8221;server&#8221; Target=&#8221;_parent&#8221;_<br />
NavigateUrl=&#8221;http://www.<a id="KonaLink4" class="kLink" href="http://www.startvbdotnet.com/aspsite/extras/user.aspx#" target="_new"><span style="color:#009900;"><span class="kLink" style="font-weight:400;font-size:x-small;position:relative;font-family:Verdana;color:#009900;">microsoft</span></span></a>.com&#8221;&gt;Microsoft&lt;/asp:HyperLink&gt;<br />
&lt;asp:HyperLink id=&#8221;HyperLink3&#8243; runat=&#8221;server&#8221; Target=&#8221;_parent&#8221;_<br />
NavigateUrl=&#8221;http://www.msdn.microsoft.com&#8221;&gt;MSDN&lt;/asp:HyperLink&gt;<br />
&lt;asp:HyperLink id=&#8221;HyperLink4&#8243; runat=&#8221;server&#8221; Target=&#8221;_parent&#8221;_<br />
NavigateUrl=&#8221;http://www.msdn.microsoft.com/vbasic&#8221;&gt;Visual Basic Home&lt;/asp:HyperLink&gt;<br />
&lt;asp:HyperLink id=&#8221;HyperLink5&#8243; runat=&#8221;server&#8221; Target=&#8221;_parent&#8221;_<br />
NavigateUrl=&#8221;http://www.msdn.microsoft.com/net&#8221;&gt;.NET Home&lt;/asp:HyperLink&gt;</td>
</tr>
</tbody>
</table>
<p>Notice the code above, the code doesn&#8217;t have any HTML elements like, &lt;HEAD&gt;, &lt;BODY&gt;, etc. By default Web user controls cannot contain the <a id="KonaLink5" class="kLink" href="http://www.startvbdotnet.com/aspsite/extras/user.aspx#" target="_new"><span style="color:#009900;"><span class="kLink" style="font-weight:400;font-size:x-small;position:relative;font-family:verdana;color:#009900;">HTML </span><span class="kLink" style="font-weight:400;font-size:x-small;position:relative;font-family:verdana;color:#009900;">tags</span></span></a> that inlcude the &lt;HTML&gt;, &lt;HEAD&gt;, &lt;BODY&gt; and &lt;FORM&gt; tags.</p>
<p>Once you are finished designing the user interface it&#8217;s now time to use the control. To use the newly created user control, in the Web <a id="KonaLink6" class="kLink" href="http://www.startvbdotnet.com/aspsite/extras/user.aspx#" target="_new"><span style="color:#009900;"><span class="kLink" style="font-weight:400;font-size:x-small;position:relative;font-family:verdana;color:#009900;">Forms </span><span class="kLink" style="font-weight:400;font-size:x-small;position:relative;font-family:verdana;color:#009900;">Designer</span></span></a>, open the Web Forms page you want to add the control to, and make sure that the page is in Design View. Select the user control&#8217;s file in Solution Explorer, and drag it onto the page. That add&#8217;s the user control to the form. Note that because the Web User Control has not been compiled, VB doesn&#8217;t know what it will look like at run time, so it gives it a <span style="color:#0000ff;">generic apperance</span> at design time. The image below displays that.</p>
<p><img src="http://www.startvbdotnet.com/aspsite/extras/images/webcontrol.gif" border="0" alt="" width="303" height="152" /></p>
<p><strong>Adding a User Control Manually</strong></p>
<p>We also can add a user control to a Web Forms page in HTML view. The procedure above demonstrated creation of a user control and adding it to a Web form by drag and drop feature. The following two steps will show you how to add it in code.</p>
<p><span style="text-decoration:underline;">Register the user control</span></p>
<p>The first step in the process is to register the user control which we created. To do so, open the Web forms page to which you want to add the user control. Go to design view and switch to HTML view and at the top of the page, before the &lt;HTML&gt; tag, you need to add a directive that registers this control so that it will be recognized when the page is processed. You should use the directive to associate a name and a namespace with the Web user control by specifying TagPrefix, TagName, and Src location values. The line of code for that looks like this:</p>
<p><strong>&lt;%@ Register TagPrefix=&#8221;uc1&#8243; TagName=&#8221;links&#8221; src=&#8221;WebUserControl1.ascx&#8221; mce_src=&#8221;WebUserControl1.ascx&#8221; %&gt; </strong></p>
<p>The values for each attribute mentioned on the above line of code are as follows:</p>
<p>TagPrefix: The TagPrefix determines a unique namespace for the user control. If multiple user controls on the page happen to have the same name, they can be differentiated from each other using this<br />
TagName: The TagName is the name for the user control. This name is used along with the tag prefix to uniquely identify the namespace for the control<br />
Src: Src attribute is the virtual path to the user control</p>
<p><span style="text-decoration:underline;">Adding the User Control</span></p>
<p>The next step is to add the user control to the page. To add the user control to a page use the following line of code:</p>
<p><strong>&lt;uc1:links id=&#8221;links1&#8243; runat=&#8221;server&#8221;/&gt;</strong></p>
<p>The above line of code should be placed in the &lt;BODY&gt; region of the page and within the &lt;FORM&gt; element. You can place the line code where you want the control to appear on the page. When you run the application the Web User control will be displayed on the page.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/luckyatsharepoint.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/luckyatsharepoint.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luckyatsharepoint.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luckyatsharepoint.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luckyatsharepoint.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luckyatsharepoint.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luckyatsharepoint.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luckyatsharepoint.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luckyatsharepoint.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luckyatsharepoint.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luckyatsharepoint.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luckyatsharepoint.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luckyatsharepoint.wordpress.com&blog=3045387&post=8&subd=luckyatsharepoint&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://luckyatsharepoint.wordpress.com/2008/03/05/web-user-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eb2a285bfcd73c3ad81ffdff1e0599b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">luckyatsharepoint</media:title>
		</media:content>

		<media:content url="http://www.startvbdotnet.com/aspsite/extras/images/web.gif" medium="image" />

		<media:content url="http://www.startvbdotnet.com/aspsite/extras/images/web2.gif" medium="image" />

		<media:content url="http://www.startvbdotnet.com/aspsite/extras/images/webcontrol.gif" medium="image" />
	</item>
		<item>
		<title>How to disable logging in Windows Sharepoint Services V3</title>
		<link>http://luckyatsharepoint.wordpress.com/2008/03/03/how-to-disable-logging-in-windows-sharepoint-services-v3/</link>
		<comments>http://luckyatsharepoint.wordpress.com/2008/03/03/how-to-disable-logging-in-windows-sharepoint-services-v3/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 11:42:28 +0000</pubDate>
		<dc:creator>luckyatsharepoint</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Logs in Sharepoint]]></category>
		<category><![CDATA[Lucky]]></category>
		<category><![CDATA[luckyatsharepoint]]></category>

		<guid isPermaLink="false">http://luckyatsharepoint.wordpress.com/?p=4</guid>
		<description><![CDATA[
WSS V3 out of the box has extensive logging activity, Logs can be usually found in this directory and tend to grow significantly over time:   C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12LOGS
If you are running WSS V3 in a developement environement or in a VPC and want to optimize resources, you can disable logging activity by doing the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luckyatsharepoint.wordpress.com&blog=3045387&post=4&subd=luckyatsharepoint&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div class="postcontent">
<p style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';">WSS V3 out of the box has extensive logging activity, Logs can be usually found in this directory and tend to grow significantly over time:   </span><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';"><em>C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12LOGS</em></span></p>
<p style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';">If you are running WSS V3 in a developement environement or in a VPC and want to optimize resources, you can disable logging activity by doing the following:</span></p>
<ul>
<li>
<div style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';">Go to WSS V3 Central Administration -&gt; Operations -&gt; Logging and Reporting</span></div>
</li>
<li>
<div style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';">Click on <strong>Diagnostic Logging</strong></span></div>
<ol>
<li>
<div style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';"><u>Customer Experience Improvement Program</u>: select <strong>No, I don&#8217;t wish to participate</strong></span></div>
</li>
<li>
<div style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';"><u>Error Reports</u>: select <strong>Ignore errors and don&#8217;t collect information.</strong></span></div>
</li>
<li>
<div style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';"><u>Trace log</u>: clear the entire <strong>Path</strong>.</span></div>
</li>
<li>
<div style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';"></span><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';">Click <strong>OK</strong></span></div>
</li>
</ol>
</li>
<li>
<div style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';">Click on <strong>Usage Analysis Processing</strong></span></div>
<ol>
<li>
<div style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';">Uncheck <strong>Enable logging</strong></span></div>
</li>
<li>
<div style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';">Click <strong>OK</strong></span></span></div>
</li>
</ol>
</li>
<li>
<div style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';">Click on Information Management Policy Usage Reports</span></span></div>
<ol>
<li>
<div style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';">Uncheck <strong>Enable recurring policy usage reports</strong></span></span></div>
</li>
</ol>
</li>
</ul>
<p style="margin:0;" class="MsoNormal"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';"></span></span><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';"><span style="font-size:10pt;color:black;font-family:'MS Shell Dlg','sans-serif';">Please remember that once you have disabled logging <strong>it will be impossible to troubleshoot any PS nor WSS errors</strong>. <strong>This is not a recommended setting for any production system!</strong></p>
<ul></ul>
<p></span></span></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/luckyatsharepoint.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/luckyatsharepoint.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/luckyatsharepoint.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/luckyatsharepoint.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/luckyatsharepoint.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/luckyatsharepoint.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/luckyatsharepoint.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/luckyatsharepoint.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/luckyatsharepoint.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/luckyatsharepoint.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/luckyatsharepoint.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/luckyatsharepoint.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=luckyatsharepoint.wordpress.com&blog=3045387&post=4&subd=luckyatsharepoint&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://luckyatsharepoint.wordpress.com/2008/03/03/how-to-disable-logging-in-windows-sharepoint-services-v3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/eb2a285bfcd73c3ad81ffdff1e0599b0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">luckyatsharepoint</media:title>
		</media:content>
	</item>
	</channel>
</rss>