<?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>Dot Net Thoughts &#187; sharepoint</title>
	<atom:link href="http://www.dotnetthoughts.net/category/sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotnetthoughts.net</link>
	<description>thoughts about .Net, WPF, Sharepoint, Javascript and more.</description>
	<lastBuildDate>Wed, 28 Jul 2010 09:59:26 +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>GUI for STSADM</title>
		<link>http://www.dotnetthoughts.net/2009/04/03/gui-for-stsadm/</link>
		<comments>http://www.dotnetthoughts.net/2009/04/03/gui-for-stsadm/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 07:31:01 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://anuraj.wordpress.com/2009/04/03/gui-for-stsadm/</guid>
		<description><![CDATA[Are you tired of using the command-line version of STSADM? Then, download STSADMWin, the GUI for the powerful command line utility STSADM, from here . I found STSADMWin a very helpful tool. It lists all the STSADM commands in dropdown, and as you select a command, all the parameters for the command show up. You [...]]]></description>
			<content:encoded><![CDATA[<p>Are you tired of using the command-line version of STSADM? Then, download STSADMWin, the GUI for the powerful command line utility STSADM, from <a target="_blank" href="http://blogs.msdn.com/ronalus/archive/2007/01/04/stsadmwin-has-an-2007-version.aspx">here </a>.<br />
I found STSADMWin a very helpful tool. It lists all the STSADM commands in dropdown, and as you select a command, all the parameters for the command show up. You won&#8217;t miss any, even if you want to. Drop the downloaded file to \12\BIN directory and run the executable.<br />
Rock it!</p>
<p>Thanks to my colleague Meera for this useful information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2009/04/03/gui-for-stsadm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating CAB files using MakeCab.exe</title>
		<link>http://www.dotnetthoughts.net/2008/05/02/creating-cab-files-using-makecabexe/</link>
		<comments>http://www.dotnetthoughts.net/2008/05/02/creating-cab-files-using-makecabexe/#comments</comments>
		<pubDate>Fri, 02 May 2008 12:25:54 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Office Interoperability]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://anuraj.wordpress.com/?p=82</guid>
		<description><![CDATA[If you are working with Sharepoint or Infopath sometime you need to use makecab.exe, it is a command line utility to create cab files from Microsoft. You can use makecab utility from command prompt. Command line output from MakeCab/? MAKECAB [/V[n]] [/D var=value ...] [/L dir] source [destination] MAKECAB [/V[n]] [/D var=value ...] /F directive_file [...]]]></description>
			<content:encoded><![CDATA[<p>If you are working with Sharepoint or Infopath sometime you need to use makecab.exe, it is a command line utility to create cab files from Microsoft. You can use makecab utility from command prompt.</p>
<p>Command line output from MakeCab/?</p>
<p><code><br />
MAKECAB [/V[n]] [/D var=value ...] [/L dir] source [destination]<br />
MAKECAB [/V[n]] [/D var=value ...] /F directive_file [...]</code><br />
<code>source  - File to compress.<br />
destination  - File name to give compressed file. If omitted, the<br />
last character of the source file name is replaced<br />
with an underscore (_) and used as the destination.<br />
/F directives - A file with MakeCAB directives (may be repeated).<br />
/D var=value - Defines variable with specified value.<br />
/L dir - Location to place destination (default is current directory).<br />
/V[n] - Verbosity level (1..3)</code></p>
<p>But I was unable to create the cab file with multiple files using this. After a long search I found one solution from <a href="http://msdn.microsoft.com/en-us/library/ms916839.aspx" target="_blank">MSDN &#8211; Using MakeCab.exe</a>. Then I have created one .ddf file and using the command</p>
<p><code><br />
makecab.exe /f Sample.ddf<br />
</code></p>
<p>And in the sample.ddf you can specify the file names.</p>
<p><code><br />
;*** Sample Source Code MakeCAB Directive file example<br />
;<br />
.OPTION EXPLICIT ; Generate errors<br />
.Set CabinetNameTemplate="Sample.cab"<br />
.set DiskDirectoryTemplate=CDROM ; All cabinets go in a single directory<br />
.Set CompressionType=MSZIP;** All files are compressed in cabinet files<br />
.Set UniqueFiles="OFF"<br />
.Set Cabinet=on<br />
.Set DiskDirectory1="Cabs"<br />
image1.gif<br />
image2.gif<br />
mystyle.xsl<br />
manifest.xsf<br />
myschema.xsd<br />
script.vbs<br />
template.xml<br />
upgrade.xsl<br />
;*** &lt;the end&gt;<br />
</code></p>
<p>I think the code is self explanatory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2008/05/02/creating-cab-files-using-makecabexe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying ASP.Net error pages in WSS</title>
		<link>http://www.dotnetthoughts.net/2007/11/13/displaying-aspnet-error-pages-in-wss/</link>
		<comments>http://www.dotnetthoughts.net/2007/11/13/displaying-aspnet-error-pages-in-wss/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 06:20:57 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://anuraj.wordpress.com/2007/11/13/displaying-aspnet-error-pages-in-wss/</guid>
		<description><![CDATA[Normally while developing applications in WSS, if any error occured, the WSS will give it&#8217;s own error page, and it contains nothing much information about the error, like unexpected error occured. To enable to view the ASP.Net error page we need to modify the web.config in the Root directory. Change the customErrors mode from &#8220;On&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Normally while developing applications in WSS, if any error occured, the WSS will give it&#8217;s own error page, and it contains nothing much information about the error, like <em>unexpected error occured.</em> To enable to view the ASP.Net error page we need to modify the web.config in the Root directory. Change the <code>customErrors mode </code>from &#8220;On&#8221; to &#8220;Off&#8221; or &#8220;RemoteOnly&#8221;. And change the <code>CallStack </code>attribute of <code>SafeMode </code>tag from &#8220;false&#8221; to &#8220;true&#8221;. Then if an error occurs it WSS will give the exact error.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2007/11/13/displaying-aspnet-error-pages-in-wss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&quot;Object reference&quot; error while deploying webpart using VS 2005</title>
		<link>http://www.dotnetthoughts.net/2007/11/12/object-reference-error-while-deploying-webpart-using-vs-2005/</link>
		<comments>http://www.dotnetthoughts.net/2007/11/12/object-reference-error-while-deploying-webpart-using-vs-2005/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 06:07:38 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://anuraj.wordpress.com/2007/11/12/object-reference-error-while-deploying-webpart-using-vs-2005/</guid>
		<description><![CDATA[Today, while deploying webpart to our WSS 3.0 server we got some funny errors like object reference not set to an instance of an object. The team got stuck in there for more than 3 hours. After lot of googling we found it is because of missing some entries in the WSS Content Database. To [...]]]></description>
			<content:encoded><![CDATA[<p>Today, while deploying webpart to our WSS 3.0 server we got some funny errors like object reference not set to an instance of an object. The team got stuck in there for more than 3 hours. After lot of googling we found it is because of missing some entries in the WSS Content Database. To fix this issue, Microsoft doesn&#8217;t providing any tool. And we got some tools and tips from</p>
<p><a target="_blank" href="http://wsswiki.com/Visual_Studio_Extensions_For_WSS_3.0">Missing Feature.exe</a></p>
<p><a target="_blank" href="http://thomascarpe.com/Lists/Categories/Category.aspx?Name=SharePoint">FeatureCleaner.exe</a></p>
<p>And we found the FeatureCleaner v0 is good tool, compare to Missing Feature.exe, because in the latter we need to give the Connection string to the WSS Database.</p>
<p><strong>Update</strong></p>
<p>We need to modify the FeatureCleaner v0 source, if you WSS installed on other than C:\ Drive.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2007/11/12/object-reference-error-while-deploying-webpart-using-vs-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which w3wp.exe process belongs to which App Pool in IIS6</title>
		<link>http://www.dotnetthoughts.net/2007/11/09/which-w3wpexe-process-belongs-to-which-app-pool-in-iis6/</link>
		<comments>http://www.dotnetthoughts.net/2007/11/09/which-w3wpexe-process-belongs-to-which-app-pool-in-iis6/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 23:55:59 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://anuraj.wordpress.com/2007/11/09/which-w3wpexe-process-belongs-to-which-app-pool-in-iis6/</guid>
		<description><![CDATA[While debugging webparts , event handlers etc. in sharepoint we may need to attach the w3wp.exe. But the real problem is that to identify which w3wp.exe is for the sharepoint webpage we are trying to debug?, there may be two more w3wp.exe processes. In that time we can attach the two w3wp.exe processes it will [...]]]></description>
			<content:encoded><![CDATA[<p>While debugging webparts , event handlers etc. in sharepoint we may need to attach the w3wp.exe. But the real problem is that to identify which w3wp.exe is for the sharepoint webpage we are trying to debug?, there may be two more w3wp.exe processes. In that time we can attach the two w3wp.exe processes it will work. But it slow down the server performance.</p>
<p>Today I got a solution for this, Microsoft is providing some script files to identify which w3wp.exe process belongs to the sharepoint application pool.</p>
<p>To get the details Go to Command Prompt. Change directory to SystemRoot/System32.  Use command cscript.exe iisapp.vbs. &lt;enter&gt; will give you all the application process, with the w3wp process Ids.</p>
<p>W3WP.exe PID: 3848   AppPoolId: SharePoint &#8211; 80<br />
W3WP.exe PID: 6044   AppPoolId: SharePoint Central Administration v3</p>
<p>From my machine.</p>
<p>For more details<br />
<a href="http://weblogs.asp.net/owscott/archive/2004/09/21/Which-w3wp.exe-process-belongs-to-which-App-Pool-in-IIS6.aspx" target="_blank"></p>
<p>http://weblogs.asp.net/owscott/archive/2004/09/21/</p>
<p>Which-w3wp.exe-process-belongs-to-which-App-Pool-in-IIS6.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2007/11/09/which-w3wpexe-process-belongs-to-which-app-pool-in-iis6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SPUtility.SendEmail</title>
		<link>http://www.dotnetthoughts.net/2007/11/07/sputilitysendemail/</link>
		<comments>http://www.dotnetthoughts.net/2007/11/07/sputilitysendemail/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 23:02:49 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[C#.Net]]></category>
		<category><![CDATA[Sharepoint API]]></category>
		<category><![CDATA[SPContext]]></category>
		<category><![CDATA[SPUtility]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://anuraj.wordpress.com/2007/11/07/sputilitysendemail/</guid>
		<description><![CDATA[In my project I need to send mail to Administrator, while adding items to a list using Webpart. I have tried ASP.Net, System.Net namespace but I need to read all the server and mail settings from any config file. After I got sharepoint&#8217;s own mechanism to send mail. SPUtility.SendEmail(SPContext.Current.Site.OpenWeb(), false, false, &#34;admin@myserver.com&#34;, &#34;Hello World&#34;, &#34;This [...]]]></description>
			<content:encoded><![CDATA[<p>In my project I need to send mail to Administrator, while adding items to a list using Webpart. I have tried ASP.Net, System.Net namespace but I need to read all the server and mail settings from any config file. After I got sharepoint&#8217;s own mechanism to send mail.</p>
<pre class="brush: csharp;">
SPUtility.SendEmail(SPContext.Current.Site.OpenWeb(), false, false, &quot;admin@myserver.com&quot;, &quot;Hello World&quot;, &quot;This is a Sample Mail&quot;);
</pre>
<p>This will send a mail to &#8220;admin@myserver.com&#8221;, with &#8220;Hello World&#8221; as subject and &#8220;This is a Sample Mail&#8221; as body. You can send HTML emails by changing the third parameter to TRUE.</p>
<p>Update : You may need to use <strong>SPSecurity.RunWithElevatedPrivileges</strong> method to send mails.</p>
<p>Url :<a target="_blank" href="http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx"></p>
<p>http://msdn2.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx</a></p>
<p>This method enable users to Execute the specified method with Full Control rights even if the user does not otherwise have Full Control.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2007/11/07/sputilitysendemail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
