<?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>Niks&#039;s Blog</title>
	<atom:link href="http://nikhilshankarsingh.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nikhilshankarsingh.wordpress.com</link>
	<description>My thoughts create my world</description>
	<lastBuildDate>Wed, 20 Apr 2011 06:19:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nikhilshankarsingh.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/7fbe69fcfcebf3f2a7c38967f0870496?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Niks&#039;s Blog</title>
		<link>http://nikhilshankarsingh.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nikhilshankarsingh.wordpress.com/osd.xml" title="Niks&#039;s Blog" />
	<atom:link rel='hub' href='http://nikhilshankarsingh.wordpress.com/?pushpress=hub'/>
		<item>
		<title>OWSSVR.dll Sharepoint/MOSS, Accessing List data As XML</title>
		<link>http://nikhilshankarsingh.wordpress.com/2011/04/20/owssvr-dll-sharepointmoss/</link>
		<comments>http://nikhilshankarsingh.wordpress.com/2011/04/20/owssvr-dll-sharepointmoss/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 06:14:42 +0000</pubDate>
		<dc:creator>nikhil</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[accessing sharepint list data as XML]]></category>
		<category><![CDATA[OWSSVR]]></category>

		<guid isPermaLink="false">http://nikhilshankarsingh.wordpress.com/?p=145</guid>
		<description><![CDATA[  Approaches:   Site Url :http://servername/site1/dummysite List Name : Project Tasks   DataSheet View : test.aspx   List View : Allitems.aspx   list GUID: 5166419E-2DB1-4EA4-8911-FC12ADE6D57A   datasheet View GUID: 13217A3C-60A8-4FA9-9662-7BBD1EB19FC8    Display Document Library Page   http://url/_vti_bin/owssvr.dll?dialogview=FileOpen&#38;location=shared%20documents   Filter On Document Library http://URL/_vti_bin/owssvr.dll?dialogview=FileOpen&#38;location=Requirement%20Document&#38;FilterField1=ID&#38;FilterValue1=1    XML data file of Datasheet View   http://URL/_vti_bin/owssvr.dll?CS=65001&#38;XMLDATA=1&#38;RowLimit=0&#38;List={5166419E-2DB1-4EA4-8911-FC12ADE6D57A}&#38;View={13217A3C-60A8-4FA9-9662-7BBD1EB19FC8}     XML data [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=145&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> </p>
<p dir="ltr" align="left"><strong>Approaches:</strong></p>
<p> </p>
<p dir="ltr" align="left">Site Url :<strong><span style="font-size:small;font-family:Calibri;"><strong><span style="font-size:small;font-family:Calibri;"><a href="http://servername/site1/dummysite">http://servername/site1/</a></span></strong></span></strong>dummysite</p>
<p dir="ltr" align="left">List Name : Project Tasks</p>
<p> </p>
<p dir="ltr" align="left">DataSheet View : test.aspx</p>
<p> </p>
<p dir="ltr" align="left">List View : Allitems.aspx</p>
<p> </p>
<p dir="ltr" align="left">list GUID: 5166419E-2DB1-4EA4-8911-FC12ADE6D57A</p>
<p> </p>
<p dir="ltr" align="left">datasheet View GUID: 13217A3C-60A8-4FA9-9662-7BBD1EB19FC8</p>
<p> </p>
<p dir="ltr" align="left"> <strong>Display Document Library Page</strong></p>
<p> </p>
<p dir="ltr" align="left"><a href="http://url/_vti_bin/owssvr.dll?dialogview=FileOpen&amp;location=shared%20documents"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://<span style="color:#ff0000;">url</span>/_vti_bin/owssvr.dll?dialogview=FileOpen&amp;location=shared%20documents</span></span></a></p>
<p> </p>
<p dir="ltr" align="left"><strong>Filter On Document Library</strong></p>
<p dir="ltr" align="left"><a href="http://url/_vti_bin/owssvr.dll?dialogview=FileOpen&amp;location=Requirement%20Document&amp;FilterField1=ID&amp;FilterValue1=1"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://<span style="color:#ff0000;">URL</span>/_vti_bin/owssvr.dll?dialogview=FileOpen&amp;location=Requirement%20Document&amp;FilterField1=ID&amp;FilterValue1=1</span></span></a></p>
<p> </p>
<p dir="ltr" align="left"><strong> XML data file of Datasheet View</strong></p>
<p> </p>
<p dir="ltr" align="left"><a href="http://url/_vti_bin/owssvr.dll?CS=65001&amp;XMLDATA=1&amp;RowLimit=0&amp;List={5166419E-2DB1-4EA4-8911-FC12ADE6D57A}&amp;View={13217A3C-60A8-4FA9-9662-7BBD1EB19FC8}"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://<span style="color:#ff0000;">URL</span>/_vti_bin/owssvr.dll?CS=65001&amp;XMLDATA=1&amp;RowLimit=0&amp;List={5166419E-2DB1-4EA4-8911-FC12ADE6D57A}&amp;View={13217A3C-60A8-4FA9-9662-7BBD1EB19FC8}</span></span></a></p>
<p> </p>
<p dir="ltr" align="left"> <strong> XML data file of Filtered List Allitem.aspx</strong></p>
<p> </p>
<p dir="ltr" align="left"><a href="http://url/_vti_bin/owssvr.dll?Cmd=Display&amp;List={5166419E-2DB1-4EA4-8911-FC12ADE6D57A}&amp;XMLDATA=TRUE&amp;FilterField1=Status&amp;FilterValue1=Completed"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://<span style="color:#ff0000;">URL</span>/_vti_bin/owssvr.dll?Cmd=Display&amp;List={5166419E-2DB1-4EA4-8911-FC12ADE6D57A}&amp;XMLDATA=TRUE&amp;FilterField1=Status&amp;FilterValue1=Completed</span></span></a></p>
<p> </p>
<p dir="ltr" align="left"> <strong>XML with Filtered data of DataSheet view</strong></p>
<p> </p>
<p dir="ltr" align="left"><a href="http://url/_vti_bin/owssvr.dll?Cmd=Display&amp;List={5166419E-2DB1-4EA4-8911-FC12ADE6D57A}&amp;View={13217A3C-60A8-4FA9-9662-7BBD1EB19FC8}&amp;XMLDATA=TRUE&amp;FilterField1=Status&amp;FilterValue1=Completed"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://<span style="color:#ff0000;">URL</span>/_vti_bin/owssvr.dll?Cmd=Display&amp;List={5166419E-2DB1-4EA4-8911-FC12ADE6D57A}&amp;View={13217A3C-60A8-4FA9-9662-7BBD1EB19FC8}&amp;XMLDATA=TRUE&amp;FilterField1=Status&amp;FilterValue1=Completed</span></span></a></p>
<p> </p>
<p dir="ltr" align="left"> <strong>Error:</strong></p>
<p> </p>
<p dir="ltr" align="left"><a href="http://url/_vti_bin/owssvr.dll?Using=Lists%2FProject%20%20Tasks%2FAllItems.aspx&amp;FilterField1=Status&amp;FilterValue1=Completed"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://<span style="color:#ff0000;">URL</span>/_vti_bin/owssvr.dll?Using=Lists%2FProject%20%20Tasks%2FAllItems.aspx&amp;FilterField1=Status&amp;FilterValue1=Completed</span></span></a></p>
<p> </p>
<p dir="ltr" align="left"> F<strong>ilter on Allitem.aspx but gives error for Dharasheet view</strong></p>
<p> </p>
<p dir="ltr" align="left"><a href="http://url/Lists/Project%20%20Tasks/AllItems.aspx?FilterField1=Status&amp;FilterValue1=Completed"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://<span style="color:#ff0000;">URL</span>/Lists/Project%20%20Tasks/AllItems.aspx?FilterField1=Status&amp;FilterValue1=Completed</span></span></a></p>
<p> </p>
<p dir="ltr" align="left"> <strong>Using RenderView method</strong></p>
<p> </p>
<p dir="ltr" align="left"><a href="http://url/_vti_bin/owssvr.dll?Cmd=RenderView&amp;List={5166419E-2DB1-4EA4-8911-FC12ADE6D57A}&amp;View={13217A3C-60A8-4FA9-9662-7BBD1EB19FC8}&amp;URLBase=http://URL/Lists/Requirement%20Document/test.aspx"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://<span style="color:#ff0000;">URL</span>/_vti_bin/owssvr.dll?Cmd=RenderView&amp;List={5166419E-2DB1-4EA4-8911-FC12ADE6D57A}&amp;View={13217A3C-60A8-4FA9-9662-7BBD1EB19FC8}&amp;URLBase=http://<span style="color:#ff0000;">URL</span>/Lists/Requirement%20Document/test.aspx</span></span></a></p>
<p> </p>
<p dir="ltr" align="left"><strong>Gives Error:</strong></p>
<p> </p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"><span style="font-size:medium;font-family:Verdana;">The XML page cannot be displayed </span></p>
<p dir="ltr" align="left"> </p>
<p> </p>
<p dir="ltr" align="left">Cannot view XML input using XSL style sheet. Please correct the error and then click the</p>
<p> </p>
<p dir="ltr" align="left">Only one top level element is allowed in an XML document. Error processing resource &#8216;http://<span style="color:#ff0000;">URL</span>/&#8230;</p>
<p> </p>
<p dir="ltr" align="left">/ist/css/PMO/NPS/NPSs/Lists/Project%20%20Tasks/DispForm.aspx?ID=23&amp;quot; ONCLICK=&amp;quot;GoToLink(this);return false;&amp;&#8230;</p>
<p> </p>
<p dir="ltr" align="left"> </p>
<p> </p>
<p dir="ltr" align="left"> <strong><span style="text-decoration:underline;"> References :</span></strong></p>
<p dir="ltr" align="left"> </p>
<table style="width:465px;height:540px;" dir="ltr" width="465" border="1" cellspacing="2">
<tbody>
<tr>
<td valign="top" height="33"><span style="font-size:xx-small;"><a href="http://msdn.microsoft.com/en-us/library/ms478653.aspx"><span style="font-size:xx-small;font-family:Lucida Sans Unicode;"><span style="font-size:xx-small;font-family:Lucida Sans Unicode;">http://msdn.microsoft.com/en-us/library/ms478653.aspx</span></span></a></span><span style="font-size:xx-small;"><a href="http://www.synergyonline.com/blog/blog-moss/Lists/Posts/Post.aspx?ID=24"><span style="font-size:xx-small;font-family:Lucida Sans Unicode;"><span style="font-size:xx-small;font-family:Lucida Sans Unicode;">http://www.synergyonline.com/blog/blog-moss/Lists/Posts/Post.aspx?ID=24</span></span></a></span></p>
<p dir="ltr" align="left">1. Returning all data for a SharePoint list, including its XSD:</p>
<p dir="ltr" align="left"> <a href="http://webapp/%5bsite%5d/_vti_bin/owssvr.dll?Cmd=Display&amp;List=%7bListGuid%7d&amp;Query=*&amp;XMLDATA=TRUE"><span style="font-size:x-small;font-family:Lucida Sans Unicode;"><span style="font-size:x-small;font-family:Lucida Sans Unicode;">http://WebApp/[site]/_vti_bin/owssvr.dll?Cmd=Display&amp;List={ListGuid}&amp;Query=*&amp;XMLDATA=TRUE</span></span></a></p>
<p dir="ltr" align="left"> <span style="font-size:x-small;color:#333333;font-family:Lucida Sans Unicode;"><span style="font-size:x-small;color:#333333;font-family:Lucida Sans Unicode;"><span style="font-size:x-small;color:#333333;font-family:Lucida Sans Unicode;">2. Or, how about just returning all data for a SharePoint list, but based on a specific view from the list:<br />
</span></span></span><a href="http://webapp/%5bsite%5d/_vti_bin/owssvr.dll?Cmd=Display&amp;List=%7bListGuid%7d&amp;View=%7bViewGuid%7d&amp;XMLDATA=TRUE"><span style="font-size:x-small;font-family:Lucida Sans Unicode;"><span style="font-size:x-small;font-family:Lucida Sans Unicode;">http://WebApp/[site]/_vti_bin/owssvr.dll?Cmd=Display&amp;List={ListGuid}&amp;View={ViewGuid}&amp;XMLDATA=TRUE</span></span></a></p>
<p dir="ltr" align="left">3. Aside from returning XML data, you can also get definition information.  For example, you can return the CAML-based definition of a list.  This can be real handy at times, especially if you are creating your own list definitions.  You can create the list using the UI and then scrape its definition this way:</p>
<p><span style="font-size:xx-small;"><a href="http://webapp/%5bsite%5d/_vti_bin/owssvr.dll?Cmd=ExportList&amp;List=%7bListGuid"><span style="font-size:x-small;font-family:Lucida Sans Unicode;"><span style="font-size:x-small;font-family:Lucida Sans Unicode;">http://WebApp/[site]/_vti_bin/owssvr.dll?Cmd=ExportList&amp;List={ListGuid</span></span></a><span style="text-decoration:underline;"><span style="font-size:x-small;color:#004080;font-family:Lucida Sans Unicode;"><span style="font-size:x-small;color:#004080;font-family:Lucida Sans Unicode;"><span style="font-size:x-small;color:#004080;font-family:Lucida Sans Unicode;">}</span></span></span></span></span></p>
<p dir="ltr" align="left">4. How about getting the ONET.XML (site definition) that was used to create a web site:</p>
<p><span style="font-size:xx-small;"><a href="http://webapp/%5bsite%5d/_vti_bin/owssvr.dll?Cmd=GetProjSchema"><span style="font-size:x-small;font-family:Lucida Sans Unicode;"><span style="font-size:x-small;font-family:Lucida Sans Unicode;">http://WebApp/[site]/_vti_bin/owssvr.dll?Cmd=GetProjSchema</span></span></a><span style="font-size:xx-small;color:#333333;font-family:Lucida Sans Unicode;"><span style="font-size:xx-small;color:#333333;font-family:Lucida Sans Unicode;"><span style="font-size:xx-small;color:#333333;font-family:Lucida Sans Unicode;"><br />
</span></span></span><span style="font-size:x-small;color:#333333;font-family:Lucida Sans Unicode;"><span style="font-size:x-small;color:#333333;font-family:Lucida Sans Unicode;"><span style="font-size:x-small;color:#333333;font-family:Lucida Sans Unicode;">5. And, finally, I’m not sure how this is helpful, but you could return all of the field types registered into SharePoint:</span></span></span></span><span style="font-size:xx-small;"><a href="http://webapp/[site]/_vti_bin/owssvr.dll?Cmd=GetProjSchema&amp;SiteTemplate=fldtypes"><span style="font-size:x-small;font-family:Lucida Sans Unicode;"><span style="font-size:x-small;font-family:Lucida Sans Unicode;">http://WebApp/[site]/_vti_bin/owssvr.dll?Cmd=GetProjSchema&amp;SiteTemplate=fldtypes</span></span></a></span> </td>
</tr>
</tbody>
</table>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left">Important Urls</p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"><a href="http://blog.pathtosharepoint.com/2008/09/24/using-the-rpc-method-via-the-url-protocol/"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://blog.pathtosharepoint.com/2008/09/24/using-the-rpc-method-via-the-url-protocol/</span></span></a></p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left">First experiment</p>
<p dir="ltr" align="left"><strong><span style="text-decoration:underline;"><br />
In the address box of your browser, replace the library URL with this:</span></strong></p>
<p dir="ltr" align="left"><a href="http://thisserver/sites/ThisSite/_vti_bin/owssvr.dll?dialogview=FileOpen&amp;location=shared%20documents">http://ThisServer/sites/ThisSite/_vti_bin/owssvr.dll?dialogview=FileOpen&amp;location=shared%20documents</a></p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left">The browser will display the list of documents in your &#8220;Shared documents&#8221; library. You won’t be able to do much with this, but this is an easy way to show owssvr.dll at work.</p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"><a href="http://flylib.com/books/en/3.464.1.107/1/"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://flylib.com/books/en/3.464.1.107/1/</span></span></a></p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"><a href="http://msdn.microsoft.com/en-us/library/dd588673(v=office.11).aspx"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://msdn.microsoft.com/en-us/library/dd588673(v=office.11).aspx</span></span></a></p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nikhilshankarsingh.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nikhilshankarsingh.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nikhilshankarsingh.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nikhilshankarsingh.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nikhilshankarsingh.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nikhilshankarsingh.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nikhilshankarsingh.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nikhilshankarsingh.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nikhilshankarsingh.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nikhilshankarsingh.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nikhilshankarsingh.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nikhilshankarsingh.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nikhilshankarsingh.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nikhilshankarsingh.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=145&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nikhilshankarsingh.wordpress.com/2011/04/20/owssvr-dll-sharepointmoss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db3b34d3eba51000dd5fa7b4e32e44de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nikhil</media:title>
		</media:content>
	</item>
		<item>
		<title>Office SharePoint Server Publishing Infrastructure Feature Activation Error</title>
		<link>http://nikhilshankarsingh.wordpress.com/2011/04/20/office-sharepoint-server-publishing-infrastructure-feature-activation-error/</link>
		<comments>http://nikhilshankarsingh.wordpress.com/2011/04/20/office-sharepoint-server-publishing-infrastructure-feature-activation-error/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 05:59:17 +0000</pubDate>
		<dc:creator>nikhil</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nikhilshankarsingh.wordpress.com/?p=142</guid>
		<description><![CDATA[Feature Activation Error : Office SharePoint Server Publishing Infrastructure   If you get error denied while activating this feature, you have not activated the dependent feature called &#8220;PublishingResources&#8221;.   Fix:   Activate the &#8220;PublishingResources&#8221; feature using stsadm command   stsadm -o activatefeature -name PublishingResources -url   http://YOUR_WEBSITE           if Wed application [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=142&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3><a href="http://sansanwal.blogspot.com/2010/02/feature-activation-error-office.html">Feature Activation Error : Office SharePoint Server Publishing Infrastructure</a></h3>
<p> </p>
<p dir="ltr" align="left">If you get error denied while activating this feature, you have not activated the dependent feature called &#8220;PublishingResources&#8221;.</p>
<p> </p>
<p dir="ltr" align="left">Fix:</p>
<p> </p>
<p dir="ltr" align="left">Activate the &#8220;PublishingResources&#8221; feature using stsadm command</p>
<p> </p>
<p dir="ltr" align="left">stsadm -o activatefeature -name PublishingResources -url</p>
<p> </p>
<p dir="ltr" align="left"><a href="http://your_website/"><span style="font-size:small;font-family:Calibri;"><span style="font-size:small;font-family:Calibri;">http://YOUR_WEBSITE</span></span></a></p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left">if Wed application not found error then use Computer (Server Name) name instead of IP address<br />
(change the URL)</p>
<p dir="ltr" align="left"> </p>
<p>Now, Activate the Office SharePoint Server Publishing Infrastructure feature.</p>
<p dir="ltr" align="left"> </p>
<p dir="ltr" align="left"> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nikhilshankarsingh.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nikhilshankarsingh.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nikhilshankarsingh.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nikhilshankarsingh.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nikhilshankarsingh.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nikhilshankarsingh.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nikhilshankarsingh.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nikhilshankarsingh.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nikhilshankarsingh.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nikhilshankarsingh.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nikhilshankarsingh.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nikhilshankarsingh.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nikhilshankarsingh.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nikhilshankarsingh.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=142&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nikhilshankarsingh.wordpress.com/2011/04/20/office-sharepoint-server-publishing-infrastructure-feature-activation-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db3b34d3eba51000dd5fa7b4e32e44de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nikhil</media:title>
		</media:content>
	</item>
		<item>
		<title>Office SharePoint Server 2007 Data Protection and Recovery</title>
		<link>http://nikhilshankarsingh.wordpress.com/2009/12/16/office-sharepoint-server-2007-data-protection-and-recovery/</link>
		<comments>http://nikhilshankarsingh.wordpress.com/2009/12/16/office-sharepoint-server-2007-data-protection-and-recovery/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 08:59:51 +0000</pubDate>
		<dc:creator>nikhil</dc:creator>
				<category><![CDATA[Backup and Recovery sharepoint content]]></category>
		<category><![CDATA[Sharepoint Data Protection and Recovery]]></category>

		<guid isPermaLink="false">http://nikhilshankarsingh.wordpress.com/?p=132</guid>
		<description><![CDATA[Content Recovery Troubleshoot versioning, Recycle Bins, and backups and restores (Office SharePoint Server 2007) Capture and restore content by using the Web site delete event (Office SharePoint Server 2007) Archive and retrieve content by using Stsadm import and export operations (Office SharePoint Server 2007) Archive site versions by using database snapshots (Office SharePoint Server 2007) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=132&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Content Recovery</p>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/cc263025.aspx">Troubleshoot versioning, Recycle Bins, and backups and      restores (Office SharePoint Server 2007)</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc706875.aspx">Capture and restore content by using the Web site delete      event (Office SharePoint Server 2007</a>)</li>
<li><a href="http://technet.microsoft.com/en-us/library/cc766807.aspx">Archive and retrieve content by using Stsadm import and export      operations (Office SharePoint Server 2007)</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc706872.aspx">Archive site versions by using database snapshots (Office      SharePoint Server 2007)</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc770240.aspx">Back up and restore an item by using DPM (Office SharePoint      Server)</a></li>
</ul>
<p>Catastrophic Recovery (Farm, Server, and Database Restores)</p>
<ul>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=124087">Office SharePoint Server 2007 Data Protection and Recovery      model</a></li>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=102839&amp;clcid=0x409">Data protection and recovery for Office SharePoint Server</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc263037.aspx">Move content databases (Office SharePoint Server 2007)</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc512725.aspx">Move all databases (Office SharePoint Server 2007)</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc825326.aspx">Add, split, and merge content databases (Office SharePoint      Server 2007)</a></li>
</ul>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/cc263097.aspx">Back up and restore Web applications by using built-in tools (Office SharePoint Server 2007)</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc671616.aspx">Back up and restore databases (Office SharePoint Server)</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc262412.aspx">Back up and restore an entire farm (Office SharePoint Server 2007)</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc263298.aspx">Back up a farm by using built-in tools (Office SharePoint Server 2007)</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc262426.aspx">Restore a farm by using built-in tools (Office SharePoint Server 2007)</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc263069.aspx">Back up a farm by using SQL Server tools (Office SharePoint Server 2007)</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc262197.aspx">Restore a farm by using SQL Server tools (Office SharePoint Server 2007)</a></li>
</ul>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/cc770247.aspx">Back up and restore a site by using DPM (Office SharePoint      Server)</a></li>
<li><a href="http://blogs.msdn.com/joelo/archive/2006/10/06/SharePoint-Tech-Content-Database-sizing-and-capacity-planning-_2800_backup_2F00_restore-implications_2900_.aspx">Database sizing Backup/Restore Implications (Blog      Post)</a></li>
</ul>
<p>High Availability (Clustering, Logshipping, Mirroring, Hardware Replication)</p>
<ul>
<li>TechNet: <a href="http://technet.microsoft.com/en-us/library/cc748824.aspx" target="_blank">Plan for availability      (Office SharePoint Server)</a> New!</li>
<li>TechNet: <a href="http://go.microsoft.com/fwlink/?LinkId=122369">Planning High Availability Visio Model</a> New!</li>
<li><a href="http://blogs.msdn.com/mikewat/archive/2007/07/28/database-mirroring-and-log-shipping-which-is-better.aspx">Database Mirroring vs. Logshipping (Mike Watson)</a></li>
<li><a href="http://blogs.technet.com/wbaer/archive/2008/03/13/sql-server-2000-2005-log-shipping-notes-with-sharepoint-products-and-technologies.aspx">Logshipping Options with SQL 2000/2005 (Bill Baer)</a></li>
<li><a href="http://www.fedspug.org/SharePoint%20Developers%202008%20Developers%20Conf%20Present/Disaster%20Recovery%20for%20SharePoint%20Products%20and%20Technologies%20%20WSS%20v3.0%20and%20MOSS%202007.pptx">Teched 2008 Orlando Disaster Recovery Options (Mike      Watson)</a></li>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=83725&amp;clcid=0x409">Database Mirroring with SharePoint Whitepaper      (TechNet)</a> Updated Recently!</li>
<li><a href="http://blogs.technet.com/wbaer/archive/2007/04/23/sql-server-2005-database-mirroring-and-windows-sharepoint-services-3-0-microsoft-office-sharepoint-server-2007-part-1-introduction-overview-and-basics.aspx">SQL Server 2005 Database Mirroring and Windows      SharePoint Services 3.0/Microsoft Office SharePoint Server 2007 &#8211; Part 1      (Introduction, Overview, and basics)</a> (Bill Baer)</li>
<li><a href="http://blogs.technet.com/wbaer/archive/2007/05/25/sql-server-2005-database-mirroring-and-windows-sharepoint-services-3-0-microsoft-office-sharepoint-server-2007-part-2-configuration.aspx">SQL Server 2005 Database Mirroring and Windows      SharePoint Services 3.0/Microsoft Office SharePoint Server 2007 &#8211; Part 2      (Configuration)</a> (Bill Baer)</li>
<li><a href="http://blogs.technet.com/wbaer/archive/2007/08/01/sql-server-2005-database-mirroring-and-windows-sharepoint-services-3-0-microsoft-office-sharepoint-server-2007-part-3-failover.aspx">SQL Server 2005 Database Mirroring and Windows      SharePoint Services 3.0/Microsoft Office SharePoint Server 2007 &#8211; Part 3      (Failover)</a> (Bill Baer)</li>
<li><a href="http://blogs.technet.com/wbaer/archive/2007/08/15/cluster-or-mirror.aspx">Cluster or mirror?</a> (Bill Baer)</li>
<li><a href="http://www.sharepointjoel.com/Lists/Posts/Post.aspx?ID=56">Words of Caution on SQL Mirroring (Joel Oleson)</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nikhilshankarsingh.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nikhilshankarsingh.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nikhilshankarsingh.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nikhilshankarsingh.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nikhilshankarsingh.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nikhilshankarsingh.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nikhilshankarsingh.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nikhilshankarsingh.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nikhilshankarsingh.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nikhilshankarsingh.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nikhilshankarsingh.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nikhilshankarsingh.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nikhilshankarsingh.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nikhilshankarsingh.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=132&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nikhilshankarsingh.wordpress.com/2009/12/16/office-sharepoint-server-2007-data-protection-and-recovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db3b34d3eba51000dd5fa7b4e32e44de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nikhil</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010 Resources</title>
		<link>http://nikhilshankarsingh.wordpress.com/2009/12/16/sharepoint-2010-resources/</link>
		<comments>http://nikhilshankarsingh.wordpress.com/2009/12/16/sharepoint-2010-resources/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 08:40:56 +0000</pubDate>
		<dc:creator>nikhil</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://nikhilshankarsingh.wordpress.com/?p=130</guid>
		<description><![CDATA[SharePoint 2010 Site on SharePoint 2010 SharePoint 2010 Overview and Demos Developer SharePoint 2010 MSDN Resources: MSDN Library – SharePoint 2010 SharePoint 2010 Developer Center SharePoint 2010 MSDN Forums IT Pro SharePoint 2010 TechNet Resources SharePoint 2010 TechNet Tech Center SharePoint 2010 TechNet Forums SharePoint 2010 Content Posters<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=130&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>SharePoint 2010 Site on SharePoint 2010</strong></p>
<ul>
<li><a href="http://sharepoint2010.microsoft.com/Pages/default.aspx">SharePoint 2010 Overview and Demos</a></li>
</ul>
<p><strong>Developer SharePoint 2010 MSDN Resources:</strong></p>
<ul>
<li><a href="http://msdn.microsoft.com/en-us/library/dd776256.aspx">MSDN Library – SharePoint 2010</a></li>
<li><a href="http://msdn.microsoft.com/en-gb/sharepoint/ee514561.aspx">SharePoint 2010 Developer Center</a></li>
<li><a href="http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/threads">SharePoint 2010 MSDN Forums</a></li>
</ul>
<p><strong>IT Pro SharePoint 2010 TechNet Resources</strong></p>
<ul>
<li><a href="http://technet.microsoft.com/en-us/sharepoint/ee263917.aspx">SharePoint 2010 TechNet Tech Center</a></li>
<li><a href="http://social.technet.microsoft.com/Forums/en-US/sharepoint2010general/threads">SharePoint 2010 TechNet Forums</a></li>
<li><a href="http://blogs.technet.com/tothesharepoint/archive/2009/10/23/3288841.aspx">SharePoint 2010 Content Posters</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nikhilshankarsingh.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nikhilshankarsingh.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nikhilshankarsingh.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nikhilshankarsingh.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nikhilshankarsingh.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nikhilshankarsingh.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nikhilshankarsingh.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nikhilshankarsingh.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nikhilshankarsingh.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nikhilshankarsingh.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nikhilshankarsingh.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nikhilshankarsingh.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nikhilshankarsingh.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nikhilshankarsingh.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=130&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nikhilshankarsingh.wordpress.com/2009/12/16/sharepoint-2010-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db3b34d3eba51000dd5fa7b4e32e44de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nikhil</media:title>
		</media:content>
	</item>
		<item>
		<title>Best Practices For SharePoint</title>
		<link>http://nikhilshankarsingh.wordpress.com/2009/12/16/best-practices-for-sharepoint/</link>
		<comments>http://nikhilshankarsingh.wordpress.com/2009/12/16/best-practices-for-sharepoint/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 08:31:00 +0000</pubDate>
		<dc:creator>nikhil</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://nikhilshankarsingh.wordpress.com/?p=128</guid>
		<description><![CDATA[Best Practices For SharePoint Web Part Development: Custom Web parts (including resource files) are contained within a SharePoint Feature and are packaged as a SharePoint solution in order to be deployed. The configuration of Web parts that are being deployed gives the administrator the flexibility of deploying to the Web application level or lower. You [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=128&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3>Best Practices For SharePoint Web Part Development:</h3>
<ol>
<li>Custom <strong>Web parts </strong>(including resource files) are contained within a SharePoint Feature and are packaged as a SharePoint solution in order to be deployed.</li>
<li>The configuration of Web parts that are being deployed gives the administrator the flexibility of deploying to the Web application level or lower.</li>
<li>You use the SharePoint Web part infrastructure’s standardized set of connection interfaces for Web parts to exchange information with each other at run time.</li>
<li>Source code for third party Web parts solutions, whenever possible, is provided with adequate documentation to ensure good technical support.</li>
<li>All custom Web parts utilize the SharePoint architecture to ensure consistent behaviour across the application for functionality such as single sign-on, feature deployment, and so on.</li>
<li>Assemblies have a strong name. (Dynamically generated ASP.NET Web page assemblies cannot currently have a strong name.)</li>
<li>You use delay signing as a way to protect and restrict the private key that is used in the strong name and signing process.</li>
<li>Assemblies include declarative security attributes (with SecurityAction.RequestMinimum) to specify minimum permission requirements.</li>
<li>Highly privileged assemblies are separated from lower privileged assemblies.</li>
<li>If an assembly is to be used in a partial-trust environment (for example, it is called from a partial-trust Web application), then privileged code is in a separate assembly.</li>
<li>You rely on a native configuration file to support the application instead of changing the configuration to the Web.config.</li>
<li>You use .NET Framework 2.0, 3.0, or 3.5.</li>
<li>You use a single .NET Framework version. You do not mix multiple versions.</li>
<li>Your code is 64 bit compatible.</li>
</ol>
<h3>Best Practices For General SharePoint Software Development:</h3>
<p>10.  Your application does not try to directly access any SharePoint databases. Data stores in SharePoint databases are only updated by using the SharePoint object model.</p>
<p>11.  You avoid hard coding strings and labels. You use resources or language files instead.</p>
<p>12.  When referencing the SPWeb or SPSite objects, you employ a <tt>using</tt> statement or, alternatively, you use an explicit call of the .Dispose method to ensure proper use and disposing of the memory objects.</p>
<p>13.  You use caching as appropriate to reduce unnecessary round trips. For Web parts, you expose the cache expiration (duration) as a Web part property.</p>
<p>14.  When packaging your solution, you include a Code Access Security policy for the solution and, if necessary, include your assembly in the Safe Controls list though the solution.</p>
<p>15.  When logging code, you use the Portal Log class to log the SharePoint Unified Logging Service (ULS) logs.</p>
<p>16.  If you need to update multiple list items by using remote code, you use the Web service to update list items. You only use SPListItem.Update() if you have to update more than one item at a time by using local OM-based code.</p>
<p>17.  When using the Count property of a SPListItemCollection, you only call it once and then store it in a variable that you can refer to when looping. You do not call it inside a loop.</p>
<p>18.  The solution uses the AppSettings object to implement XML mapping. (This can be provided by using the settings persistence framework in .NET 2.0, 3.0, or 3.5.) The solution avoids creating custom XML files and a strongly typed object for XML mapping.</p>
<p>19.  Installation and deployment logging are provided in the event logs to enable appropriate operational troubleshooting during installation and uninstallation.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nikhilshankarsingh.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nikhilshankarsingh.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nikhilshankarsingh.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nikhilshankarsingh.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nikhilshankarsingh.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nikhilshankarsingh.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nikhilshankarsingh.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nikhilshankarsingh.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nikhilshankarsingh.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nikhilshankarsingh.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nikhilshankarsingh.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nikhilshankarsingh.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nikhilshankarsingh.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nikhilshankarsingh.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=128&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nikhilshankarsingh.wordpress.com/2009/12/16/best-practices-for-sharepoint/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db3b34d3eba51000dd5fa7b4e32e44de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nikhil</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction To Web Parts</title>
		<link>http://nikhilshankarsingh.wordpress.com/2009/12/11/introduction-to-web-parts/</link>
		<comments>http://nikhilshankarsingh.wordpress.com/2009/12/11/introduction-to-web-parts/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 12:24:15 +0000</pubDate>
		<dc:creator>nikhil</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://nikhilshankarsingh.wordpress.com/2009/12/11/introduction-to-web-parts/</guid>
		<description><![CDATA[Web Parts are server-side controls that run inside the context of special pages (that is, Web Part Pages) within an ASP.NET application or a Windows SharePoint Services site. They are the &#8220;building blocks&#8221; of pages in Windows SharePoint Services. There are now two different Web Part styles in Windows SharePoint Services 3.0. Both are supported, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=73&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Web Parts are server-side controls that run inside the context of special pages (that is, Web Part Pages) within an ASP.NET application or a Windows SharePoint Services site. They are the &#8220;<strong>building blocks</strong>&#8221; of pages in Windows SharePoint Services.</p>
<p>There are now two different Web Part styles in Windows SharePoint Services 3.0. Both are supported, but the ASP.NET 2.0 Web Part is the recommended style for your new projects.<br />
<strong>SharePoint-based Web Parts</strong> — The older style Web Parts have a dependency on <strong>Microsoft.SharePoint.dll</strong> and must inherit from the <strong>WebPart </strong>base class in the <strong>Microsoft.SharePoint.WebPartPages </strong>namespace. These Web Parts can only be used in SharePoint Web sites. Yet in Windows SharePoint Services 3.0, the Microsoft.SharePoint.dll was changed so that Web Parts written in the older style would be compatible with the Windows SharePoint Services 3.0 runtime.<br />
<strong>ASP.NET 2.0 Web Parts </strong>— These Web Parts are built on top of the ASP.NET Web Part infrastructure. The newer ASP.NET-style Web Parts have a dependency on <strong>System.Web.dll</strong> and must inherit from a different base class named <strong>WebPart </strong>in the <strong>System.Web.UI.WebControls.WebParts </strong>namespace. These Web Parts can be used in Windows SharePoint Services applications whether Windows SharePoint Services is involved or not, making them highly reusable. If you are creating your Web Part specifically for a SharePoint site, and it will consume the Windows SharePoint Services object model, you can derive from the ASP.NET System.Web.UI.WebControls.WebParts.WebPart base class and add a reference to the SharePoint object model in your project.</p>
<p>The Windows SharePoint Services 3.0 Web Part infrastructure is built on top of a control named <strong>SPWebPartManager </strong>that is derived from the ASP.NET 2.0 <strong>WebPartManager </strong>control. The SPWebPartManager control overrides the standard behavior of the WebPartManager control to persist Web Part data inside the Windows SharePoint Services content database instead of in the ASP.NET services database. In most cases, you don not have to worry about dealing directly with the SPWebPartManager control because the one and only required instance is already defined in <strong>default.master</strong>. When you create a content page that links to default.master, the SPWebPartManager control is already there.</p>
<p>When you create a Web Part Page for a standard ASP.NET 2.0 application, you need to add logic that interacts with the WebPartManager control to manage the Web Part display mode, and generally you also need to explicitly add editor parts and catalog parts to the page along with the HTML layout to accommodate them. Fortunately, you do not have to perform these changes when creating content pages for a Windows SharePoint Services 3.0 site. Instead, you inherit from the WebPartPage class that is defined inside the Microsoft.SharePoint.WebPartPages namespace and it does all the work behind the scenes for you.</p>
<p>Custom Web Parts provide developers with a method to create user interface elements that support both customization and personalization. The term <strong>customization </strong>implies that changes are seen by all site members. Individual users can further personalize Web Part Pages by adding, reconfiguring, and removing Web Parts. The term <strong>personalization </strong>implies that these changes will be seen only by the user that made them.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nikhilshankarsingh.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nikhilshankarsingh.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nikhilshankarsingh.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nikhilshankarsingh.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nikhilshankarsingh.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nikhilshankarsingh.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nikhilshankarsingh.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nikhilshankarsingh.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nikhilshankarsingh.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nikhilshankarsingh.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nikhilshankarsingh.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nikhilshankarsingh.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nikhilshankarsingh.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nikhilshankarsingh.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=73&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nikhilshankarsingh.wordpress.com/2009/12/11/introduction-to-web-parts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db3b34d3eba51000dd5fa7b4e32e44de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nikhil</media:title>
		</media:content>
	</item>
		<item>
		<title>Developing First Three Web Parts for SharePoint</title>
		<link>http://nikhilshankarsingh.wordpress.com/2009/12/11/developing-first-three-web-parts-for-sharepoint/</link>
		<comments>http://nikhilshankarsingh.wordpress.com/2009/12/11/developing-first-three-web-parts-for-sharepoint/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 12:22:03 +0000</pubDate>
		<dc:creator>nikhil</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://nikhilshankarsingh.wordpress.com/2009/12/11/developing-first-three-web-parts-for-sharepoint/</guid>
		<description><![CDATA[Note : In order to follow these steps we need Visual Studio 2005 (.NET 2.0) or later. we will also need network access to a Windows 2003/8 server with SharePoint 2007 (WSS or MOSS). Also we need to have administration rights on our SharePoint server and also administration rights in our target SharePoint web application. The steps [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=72&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Note : In order to follow these steps we need Visual Studio 2005 (.NET 2.0) or later. we will also need network access to a Windows 2003/8 server with SharePoint 2007 (WSS or MOSS). Also we need to have administration rights on our SharePoint server and also administration rights in our target SharePoint web application. </em></p>
<p><strong><span style="text-decoration:underline;">The steps to create a simple Web Part that prints &#8220;Hello World!&#8221; to the screen.</span></strong></p>
<p>1. In Visual Studio, create a new class library</p>
<p>2. Add a reference to System.Web.</p>
<p>3. Create a class that inherits from the WebPart class in System.Web.UI.WebControls.WebParts.</p>
<p>4. In order to control the rendering of the Web Part one overrides the Render method. An HtmlTextWriter instance is passed into the Render method and can then be used to write markup to the page output.</p>
<p><em>using System;</em></p>
<p><em>using System.Collections.Generic;</em></p>
<p><em>using System.Text;</em></p>
<p><em>using System.Web;</em></p>
<p><em>using System.Web.UI;</em></p>
<p><em>using System.Web.UI.WebControls;</em></p>
<p><em>using System.Web.UI.WebControls.WebParts;</em></p>
<p><em>namespace ExampleWebPartLibrary</em></p>
<p><em>{</em></p>
<p><em>public class MyWebPart : WebPart</em></p>
<p><em>{</em></p>
<p><em>protected override void Render(HtmlTextWriter writer)</em></p>
<p><em>{</em></p>
<p><em>writer.Write(&#8220;Hello World!&#8221;);</em></p>
<p><em>}</em></p>
<p><em>}</em></p>
<p><em>}</em></p>
<p><strong>5. OPTIONAL </strong>Add the code statements using System.Security; and [assembly: AllowPartiallyTrustedCallers] to our AssemblyInfo.cs file.</p>
<p>6. Specify proper Assembly Name and Namespace properties for the class library project by opening the project property page</p>
<p><strong>7. OPTIONAL</strong> Specify the Signing parameters in the project property page</p>
<p>8. Build the assembly frequent</p>
<p>9. Copy the newly created assembly from bin\Release or bin\Debug folder and paste it in the bin directory of the sharepoint web application OR In our class library properties, set the build output path to the bin directory of our SharePoint development web application.</p>
<p><strong>10. OPTIONAL </strong>copy the assembly into C:\Windows\Assembly (GAC), REight click select properies to find its public key</p>
<p>11. In the web.config file of the sharepoint web application, add the assembly as a safe control.</p>
<p><em>&lt;SafeControl </em></p>
<p><em>Assembly=&#8221;ExampleWebPartLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=db485f68ad2dc0c5&#8243; </em></p>
<p><em>Namespace=&#8221;ExampleWebPartLibrary&#8221; </em></p>
<p><em>TypeName=&#8221;*&#8221; Safe=&#8221;True&#8221; AllowRemoteDesigner=&#8221;True&#8221; /&gt;</em></p>
<p>12. We can now add the web part library to your SharePoint site. To do this, log in as an administrator and go to the settings page. Click on &#8220;Web Part Gallery&#8221; under the &#8220;Galleries&#8221; section. Click &#8220;New&#8221; and we should see our web part in a list. Select our web part and click &#8220;populate gallery&#8221;.</p>
<p>13. We can give your web part a friendly title and control its permissions using the edit button in the web part gallery. I have chosen to call the Web Part &#8220;My Web Part&#8221;.</p>
<p>14. Finally we can add the web part to a web part page and we should see the web part&#8217;s hard coded &#8220;Hello World!&#8221; message.</p>
<p><strong><span style="text-decoration:underline;">Adding ASP.NET controls in our web part</span></strong></p>
<p>1. Repeat the steps 1-3 of first example.</p>
<p>2. Controls should be declared as member variables and then initialised and configured within an override of the CreateChildControls method. I usually create a separate method to setup each control and then invoke that method from CreateChildControls. It is important to add the created controls to the list of Web Part controls. If a control is not added to this list then it&#8217;s events won&#8217;t be raised on post back.</p>
<p><em>private Button btnDemo;</em></p>
<p><em>private void createBtnDemo()</em></p>
<p><em>{</em></p>
<p><em>btnDemo = new Button();</em></p>
<p><em>btnDemo.Text = &#8220;Click me&#8221;;</em></p>
<p><em>btnDemo.Click += new EventHandler(btnDemo_Click);</em></p>
<p><em>// This line of code is required to trigger the click eventControls.Add(btnDemo);</em></p>
<p><em>}</em></p>
<p><em>protected override void CreateChildControls()</em></p>
<p><em>{</em></p>
<p><em>base.CreateChildControls();</em></p>
<p><em>createBtnDemo();</em></p>
<p><em>createLblHelloWorld();</em></p>
<p><em>}</em></p>
<p>3. The controls are rendered inside the Render method override. This method can be used to layout the web part it&#8217;s controls. The HtmlTextWriter has many useful methods to help out, including WriteBreak() which writes a &#8220;&lt;br /&gt;&#8221;.</p>
<p><em>protected override void Render(HtmlTextWriter writer)</em></p>
<p><em>{</em></p>
<p><em>writer.WriteBreak();</em></p>
<p><em>lblHelloWorld.RenderControl(writer);</em></p>
<p><em>writer.WriteBreak();</em></p>
<p><em>writer.WriteBreak();</em></p>
<p><em>btnDemo.RenderControl(writer);</em></p>
<p><em>}</em></p>
<p>4. Perform the steps from 5 (of first example) to deploy the web part</p>
<p><strong><span style="text-decoration:underline;">Accessing SharePoint data in our web part </span></strong></p>
<p>1. Repeat the steps 1-3 of first example.</p>
<p>2. Reference Microsoft.SharePoint.dll by browsing to the directory &#8220;[Program Files]\Common Files\Microsoft Shared\web server extensions\12\ISAPI&#8221;.</p>
<p>3. To take care of the code access security for our web part by setting the target SharePoint site&#8217;s trust level to &#8220;Full&#8221;. This level of trust is generally acceptable in an Intranet environment. Find the following in our site&#8217;s web.config file:</p>
<p><em>&lt;trust level=&#8221;WSS_Minimal&#8221; originUrl=&#8221;" </em><em>/&gt;</em></p>
<p>change this to:</p>
<p><em>&lt;trust level=&#8221;Full&#8221; originUrl=&#8221;" /&gt;</em></p>
<p>4. Write some code to access SharePoint data. Here I show a simple web part that displays the name of the presently logged in user:</p>
<p><em>using System.Web.UI.WebControls.WebParts;</em></p>
<p><em>using Microsoft.SharePoint;</em></p>
<p><em>namespace ExampleWebPartLibrary</em></p>
<p><em>{</em></p>
<p><em>public class HelloUser : WebPart</em></p>
<p><em>{</em></p>
<p><em>protected override void Render(System.Web.UI.HtmlTextWriter writer)</em></p>
<p><em>{</em></p>
<p><em>// Get a contextual reference to the current SPWeb</em></p>
<p><em>SPWeb currentWeb = SPContext.Current.Web;</em></p>
<p><em>// Write a message to the current user</em></p>
<p><em>writer.Write(&#8220;Hello &#8221; + currentWeb.CurrentUser.LoginName);</em></p>
<p><em>}</em></p>
<p><em>}</em></p>
<p><em>}</em></p>
<p><em>Note : SPContext.Current.Web is the starting point for accessing SharePoint data. For example we can use it to access data in lists and document libraries. </em></p>
<p>5. Perform the steps from 5 (of first example) to deploy the web part</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nikhilshankarsingh.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nikhilshankarsingh.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nikhilshankarsingh.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nikhilshankarsingh.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nikhilshankarsingh.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nikhilshankarsingh.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nikhilshankarsingh.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nikhilshankarsingh.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nikhilshankarsingh.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nikhilshankarsingh.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nikhilshankarsingh.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nikhilshankarsingh.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nikhilshankarsingh.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nikhilshankarsingh.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=72&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nikhilshankarsingh.wordpress.com/2009/12/11/developing-first-three-web-parts-for-sharepoint/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db3b34d3eba51000dd5fa7b4e32e44de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nikhil</media:title>
		</media:content>
	</item>
		<item>
		<title>WebPart Deployment</title>
		<link>http://nikhilshankarsingh.wordpress.com/2009/12/11/webpart-deployment/</link>
		<comments>http://nikhilshankarsingh.wordpress.com/2009/12/11/webpart-deployment/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 12:19:23 +0000</pubDate>
		<dc:creator>nikhil</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://nikhilshankarsingh.wordpress.com/2009/12/11/webpart-deployment/</guid>
		<description><![CDATA[Within a SharePoint site,  we can deploy a Web Part assembly in any of the following locations. bin directory — The bin directory is a folder stored in your Web application root directory. For most installations, this is located in the %SYSTEMDRIVE%\inetpub\wwwroot\wss\VirtualDirectories\&#60;port number&#62;\bin directory. Global Assembly Cache (GAC) — The GAC enables you to share [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=71&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Within a SharePoint site,  we can deploy a Web Part assembly in any of the following locations.</p>
<ul>
<li><strong>bin directory </strong>— The bin directory is a folder stored in your Web application root directory. For most installations, this is located in the %SYSTEMDRIVE%\inetpub\wwwroot\wss\VirtualDirectories\&lt;port number&gt;\bin directory.</li>
<li><strong>Global Assembly Cache (GAC) </strong>— The GAC enables you to share assemblies across numerous applications. Components are typically installed in the %SYSTEMDRIVE%\WINDOWS\Assembly directory.</li>
</ul>
<p><em>Note that the recommended practice is to deploy assemblies to the bin directory.</em></p>
<p>Windows SharePoint Services provides a <strong>SafeControls list </strong>to prevent users from arbitrarily adding server-side code within ASPX pages. The SafeControls list is a list of approved controls and Web Parts that are specific to the SharePoint site that we have designated as safe for invocation on any ASPX page within our site. This list is contained in the <strong>web.config </strong>file in your Web application root. The local path contains the physical location of the web.config file.</p>
<p>Web Parts are designed to be distributed over the Internet or an intranet. For security reasons, when we create a custom Web Part, we should give it a <strong>strong name </strong>to ensure that the Web Part can be trusted by our users.</p>
<p>By default, the trust level for a server will be WSS_Minimal, which does not allow access to the Windows SharePoint Services object model. In order to perform such actions, we must perform one of the following three actions:</p>
<ul>
<li><strong>Create a custom policy file </strong>for your assembly,</li>
<li><strong>Install </strong>your assembly in the GAC global assembly cache</li>
<li><strong>Increase the trust level </strong>for the entire virtual server. Eg: increase the default trust from WSS_Minimal to WSS_Medium in the web.config file.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nikhilshankarsingh.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nikhilshankarsingh.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nikhilshankarsingh.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nikhilshankarsingh.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nikhilshankarsingh.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nikhilshankarsingh.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nikhilshankarsingh.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nikhilshankarsingh.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nikhilshankarsingh.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nikhilshankarsingh.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nikhilshankarsingh.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nikhilshankarsingh.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nikhilshankarsingh.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nikhilshankarsingh.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=71&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nikhilshankarsingh.wordpress.com/2009/12/11/webpart-deployment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db3b34d3eba51000dd5fa7b4e32e44de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nikhil</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint Tips and Tricks</title>
		<link>http://nikhilshankarsingh.wordpress.com/2009/12/11/sharepoint-tips-and-tricks/</link>
		<comments>http://nikhilshankarsingh.wordpress.com/2009/12/11/sharepoint-tips-and-tricks/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 12:16:47 +0000</pubDate>
		<dc:creator>nikhil</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://nikhilshankarsingh.wordpress.com/?p=66</guid>
		<description><![CDATA[Some Valid Questions During SharePoint Project KickStart Today we have a Project KickStart call with one of our  prospective clients. I just tried to compile a list of questions to ask during the call. Let me share it with you.  This could be helpful Active Directory Exists in the infrastructure: Yes / No SharePoint version (WSS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=66&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>Some Valid Questions During SharePoint Project KickStart</td>
</tr>
</tbody>
</table>
<p>Today we have a Project KickStart call with one of our  prospective clients.</p>
<p>I just tried to compile a list of questions to ask during the call.</p>
<p>Let me share it with you.  This could be helpful</p>
<ol>
<li>Active Directory Exists in the infrastructure: Yes / No</li>
<li>SharePoint version (WSS or MOSS ent/std) and its licensing</li>
<li>Presence of dependant products and envirornments like .Net framework and SQL Server</li>
<li>Presence of other softwares in the infrastructure</li>
<li>SharePoint Environment Exists : Yes / No</li>
<li>If yes,
<ol>
<li>Purpose of the SharePoint Environment</li>
<li>Number of servers</li>
<li>Purpose of each servers</li>
<li>Current User Base</li>
<li>Are users in same domain</li>
<li>Are users in same geographical location</li>
<li>Current amount of data</li>
<li>Current data growth</li>
<li>Current performance load</li>
</ol>
</li>
</ol>
<p>10. Authentication Mode (Forms / Windows)</p>
<p>11. Security options present (SSL)</p>
<p>12. Is SharePoint Integrating with any other tool/products</p>
<p>13. Current issues (if any)?</p>
<ol>
<li>About the Proposed SharePoint Environment
<ol>
<li>Purpose of the SharePoint Environment</li>
<li>Number of servers</li>
<li>Purpose of each servers</li>
<li>Current User Base</li>
<li>Are users in same domain</li>
<li>Are users in same geographical location</li>
<li>Current amount of data</li>
<li>Expected data growth</li>
<li>Current performance load</li>
</ol>
</li>
</ol>
<p>10. Authentication Mode (Forms / Windows)</p>
<p>11. Security requirements (SSL)</p>
<p>12. Integration requirements Siebel/SAP/Peoplesoft/CRM/Lotus Notes, etc. Live Communicator Server</p>
<p>13. Other Specific requirements (if any)?</p>
<ol>
<li>Regarding the user work stations
<ol>
<li>Operating System</li>
<li>Web Browser</li>
<li>Office Tools version</li>
</ol>
</li>
<li>SharePoint Features anticipating from the proposed solution 
<ol>
<li>Portal</li>
<li>Collaboration</li>
<li>Search</li>
<li>Business Intelligence</li>
<li>Business forms</li>
<li>Content Management</li>
</ol>
</li>
</ol>
<p>10. Plans regarding a separate QAQC environment</p>
<p>11. Plans regarding a separate Development environment</p>
<p>12. Disaster Recovery strategy</p>
<ol>
<li>Backup strategy</li>
<li>Test Restore strategy</li>
<li>Tools (builtin / 3<sup>rd</sup> party)</li>
</ol>
<p>13. Anti virus related</p>
<ol>
<li>Current antivirus</li>
<li>Vendor</li>
</ol>
<p>14. Governance</p>
<ol>
<li>Authentication and Authorization</li>
<li>Administrators and Site Owners</li>
<li>Users Groups and permissions</li>
<li>Information security Policies</li>
</ol>
<p>15. Information organization related</p>
<ol>
<li>Site structur</li>
</ol>
<p>16. Customization related</p>
<ol>
<li>Branding requirements</li>
<li>Content types </li>
</ol>
<p>17. Personalization requirements</p>
<p>18. development related</p>
<ol>
<li>Require Custom web parts : Yes/No</li>
<li>Require Custom work flows : Yes/No</li>
<li>Require Custom site definitions / templates : Yes/No</li>
<li>Require Custom work flows : Yes/No</li>
<li>Development and deployment strategy</li>
<li>Access to development environment</li>
</ol>
<p> </p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><strong>Tip#customize the files in the Layouts folder </a></strong></td>
</tr>
</tbody>
</table>
<p>Follow these steps to customize the files in the Layouts folder</p>
<ol>
<li>Create a Layouts_Backup folder to contain a backup of the originally installed files and folders. For example,</li>
</ol>
<p>             create a Layouts_Backup folder in the following location:</p>
<p>C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\</p>
<p>12\Template\Layouts\Layouts_Backup</p>
<ol>
<li>Copy the originally installed files and folders from the Layouts folder to the Layouts_Backup folder that you created in step 1.</li>
</ol>
<p>            For example, copy the originally installed files and folders from the following folder to the Layouts_Backup folder:</p>
<p>C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Layouts</p>
<ol>
<li>In the Layouts folder, customize the .aspx files and the Application.Master file as needed.</li>
</ol>
<p> </p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><strong>Tip#Create a custom Layouts folder </strong></td>
</tr>
</tbody>
</table>
<p>This method will change the layouts directory for any site collection within the Web application that is being modified. To apply custom layouts changes to an individual site collection, the site collection should reside in its own Web application.</p>
<ol>
<li>Create a custom LayoutsSiteCollection folder to contain a copy of the originally installed files and folders. For example, create a LayoutsSiteCollection folder in the following location:</li>
</ol>
<p>C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Layouts\LayoutsSiteCollection</p>
<p><strong> </strong></p>
<ol>
<li>Copy the originally installed files and folders from the Layouts folder to the LayoutsSiteCollection folder that you created in step 1. For example, copy the originally installed files and folders from the following folder to the LayoutsSiteCollection folder:</li>
</ol>
<p>C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Layouts</p>
<ol>
<li>Start Internet Information Services (IIS) Manager. To do this, click <strong>Start</strong>, point to <strong>All Programs</strong>, point to <strong>Administrative Tools</strong>, and then click <strong>Internet Information Services (IIS) Manager</strong>.</li>
<li>In IIS Manager, follow these steps:
<ol>
<li>Expand the Web site that is hosting the site collection.</li>
<li>Right-click <strong>_layouts</strong>, and then click <strong>Properties</strong>.</li>
<li>Click the <strong>Virtual Directory</strong> tab.</li>
<li>Click <strong>Browse</strong>, change the path from the Layouts folder to the LayoutsSiteCollection folder, and then click <strong>OK</strong> two times.</li>
</ol>
</li>
<li>In the LayoutsSiteCollection folder, customize the .aspx files and the Application.Master file as needed.</li>
<li>Repeat these steps for each site collection that you have to customize.</li>
</ol>
<h4>This method enables the customization of application pages for individual site collections.</h4>
<p> </p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><strong>Tips for WebPart Development </strong></td>
</tr>
</tbody>
</table>
<ul>
<li>unless you intend to use your WebPart on SharePoint 2003 site inherit your WebPart class from System.Web.UI.WebControls.WebParts.WebPart</li>
<li>Deploy WebPart dll to bin folder instead of GAC [full trust] if possible</li>
<li>Remember to add [assembly: AllowPartiallyTrustedCallers()] to allow the strong named assembly to run from the bin</li>
<li>Remember to change trust level in web.config from &#8220;WSS_Minimal&#8221; to &#8220;WSS_Medium&#8221; or create your own policy if your WebPart uses Object Model</li>
</ul>
<p> </p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><strong>Tip#SPContext</strong><strong></strong></td>
</tr>
</tbody>
</table>
<p>If you are creating a Web Part, custom Web service, or Web application to work</p>
<p>with site collections, individual sites, or lists, you can use members of</p>
<p>the <strong>Microsoft.SharePoint.SPContext </strong>class to obtain the current site collection, Web site, or list.</p>
<p>When you create a Web application in the <strong>/_layouts </strong>virtual directory,</p>
<p>its functionality becomes available to all sites on the Web server.</p>
<p>Outside of an HTTP context, such as in a console application or a</p>
<p>Windows application, use a constructor of the SPSite class to obtain a specific site collection and to reach various objects within the collection.</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nikhilshankarsingh.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nikhilshankarsingh.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nikhilshankarsingh.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nikhilshankarsingh.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nikhilshankarsingh.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nikhilshankarsingh.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nikhilshankarsingh.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nikhilshankarsingh.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nikhilshankarsingh.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nikhilshankarsingh.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nikhilshankarsingh.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nikhilshankarsingh.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nikhilshankarsingh.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nikhilshankarsingh.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=66&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nikhilshankarsingh.wordpress.com/2009/12/11/sharepoint-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db3b34d3eba51000dd5fa7b4e32e44de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nikhil</media:title>
		</media:content>
	</item>
		<item>
		<title>Developing Event Handlers</title>
		<link>http://nikhilshankarsingh.wordpress.com/2009/12/11/developing-event-handlers/</link>
		<comments>http://nikhilshankarsingh.wordpress.com/2009/12/11/developing-event-handlers/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 12:00:21 +0000</pubDate>
		<dc:creator>nikhil</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://nikhilshankarsingh.wordpress.com/?p=64</guid>
		<description><![CDATA[Event Handlers specify a server-side code routine that is called when registered events occur within the SharePoint environment. Custom event handlers can be attached to and have a scope of Web application, site collection, Web site, list, or document library. This .Net assembly contains the additional business logic you need to run when the event [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=64&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Event Handlers specify a server-side code routine that is called when registered events occur within the SharePoint environment. Custom event handlers can be attached to and have a scope of Web application, site collection, Web site, list, or document library. This .Net assembly contains the additional business logic you need to run when the event occurs in SharePoint.</p>
<p>There are two events raised for each type of event Eg: ItemAdded and ItemAdding. The &#8220;&#8230;ing&#8221; event occurs before the action starts and the &#8220;&#8230;ed&#8221; occurs after the actions ends. &#8220;&#8230;ing&#8221; events occur synchronously while the &#8220;&#8230;ed&#8221; events occur asynchronously.</p>
<p><strong>Synchronous </strong>events:</p>
<ul>
<li>Occur before the event. </li>
<li>Block the flow of code execution until your event handler completes.</li>
<li>Provide you with the ability to cancel the events resulting in no after event (“&#8230;ed&#8221;) being fired.</li>
</ul>
<p><strong>Asynchronous </strong>events:</p>
<ul>
<li>Occur after the event.</li>
<li>Do not block the flow of code execution in SharePoint.</li>
</ul>
<p>Microsoft Office SharePoint Server 2007 and Windows SharePoint Services 3.0 event handlers can be installed through feature event receivers by having the feature event receiver add a reference to the event callback routine in the applicable event handler collection.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nikhilshankarsingh.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nikhilshankarsingh.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nikhilshankarsingh.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nikhilshankarsingh.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nikhilshankarsingh.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nikhilshankarsingh.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nikhilshankarsingh.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nikhilshankarsingh.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nikhilshankarsingh.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nikhilshankarsingh.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nikhilshankarsingh.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nikhilshankarsingh.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nikhilshankarsingh.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nikhilshankarsingh.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nikhilshankarsingh.wordpress.com&amp;blog=10907984&amp;post=64&amp;subd=nikhilshankarsingh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nikhilshankarsingh.wordpress.com/2009/12/11/developing-event-handlers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/db3b34d3eba51000dd5fa7b4e32e44de?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nikhil</media:title>
		</media:content>
	</item>
	</channel>
</rss>
