<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-17891784523801690</id><updated>2011-10-22T22:32:54.145-07:00</updated><category term='USEFULL SHORT CUTS AND COMMANDS'/><category term='IIS CONFIGURATION'/><category term='SharePoint Glossary'/><category term='SharePoint Dev - Security'/><category term='SharePoint Development'/><title type='text'>SharePoint Cheat Sheet</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>36</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-6910785208945043218</id><published>2009-03-10T08:20:00.000-07:00</published><updated>2009-03-10T09:57:57.207-07:00</updated><title type='text'>How to create custom 404 error pages for MOSS applications?</title><content type='html'>&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Based on my scenario. I had couple different applications and I was needed to specify different custom 404 error pages under each one. In order to implement it you need to follow steps below.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;1. By default you can find error page under location below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;%systemdrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\LangID - sps404.html&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;2. Make two copies of this page and paste under the same location.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;3. I assumed that you have by this time two custom pages you. In IIS under each application create Virtual Directory. For example "Custom Errors" and paste your custom build error pages in each application.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;4. Than go to step 2 and make changes in each page (copied from sps404.html)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;Change the name of the page:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;STSNavigate("/_layouts/spsredirect.aspx?oldUrl=" + requestedUrl);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;To:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;STSNavigate("/_layouts/NameofYourCustomErrorPage.aspx?oldUrl=" + requestedUrl);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Save it (Do the same for both pages)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;5. Time to use CodePlex application (&lt;a href="http://www.codeplex.com/spm"&gt;you can download SharePoint Manager 2007 here&lt;/a&gt;).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Run it. Select Application you need. In the properties window find the field - FileNotFoundPage and paste the name of error page (copied from sps404.html). Do that for both applications and save it. That's it - You all set.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;_________________________________________________________________&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;Microsoft suggest follow steps below. You can find original article &lt;/span&gt;&lt;a href="http://support.microsoft.com/kb/941329"&gt;&lt;span style="color:#333333;"&gt;here.&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#333333;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;How to point to a custom 404 error Web page in Windows SharePoint Services 3.0 or in Microsoft Office SharePoint Server 2007&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:#333333;"&gt;&lt;br /&gt;&lt;br /&gt;To configure Windows SharePoint Services 3.0 or SharePoint Server 2007 to point to a custom 404 error Web page, follow these steps.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note&lt;/strong&gt; Because of a design limitation, the custom 404 error Web page does not work when you access invalid site collections. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;Log on to the computer that is running SharePoint Server 2007 by using an account that has administrative permissions. &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;In Windows Explorer, locate the following folder:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;%systemdrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\LangID&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#333333;"&gt;Notes&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;In this path, %systemdrive% represents the actual drive name of the drive on which the operating system is installed. &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;In this path, LangID represents the actual language ID of the language that you use. For example, 1033 is the language ID for U.S. English.&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;Create the custom HTML file. To do this, use the appropriate method.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;h4 id="tocHeadRef"&gt;&lt;span style="color:#333333;"&gt;Microsoft Office SharePoint Server 2007&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;loadTOCNode(3, 'moreinformation'); &lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;On the computer that is running SharePoint Server 2007, copy the Sps404.html file to a temporary folder. &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;Rename the Sps404.html file. For example, give the file the following name:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;Custom404.html&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;Add the custom content to the Custom404.html file. &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;Copy the Custom404.html file to the %systemdrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\LangID folder.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h4 id="tocHeadRef"&gt;&lt;span style="color:#333333;"&gt;Windows SharePoint Services 3.0&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;loadTOCNode(3, 'moreinformation');&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;On the computer that is running Windows SharePoint Services 3.0, locate the existing Error.htm file in the following folder:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;%systemdrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\LangID&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#333333;"&gt;Notes&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;In this path, %systemdrive% represents the actual drive name of the drive on which the operating system is installed. &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;In this path, LangID represents the actual language ID of the language that you use. For example, 1033 is the language ID for U.S. English.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;Copy the Error.htm file to a temporary folder. &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;Rename the Error.htm file. For example, give the file the following name:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;Custom404.htm&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;Modify the Custom404.htm file as required. &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;Copy the Custom404.htm file to the %systemdrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\LangID folder.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;Create a custom console application by using Microsoft Visual Studio 2005 Professional Edition or Microsoft Visual Studio 2005 Standard Edition. Then, add the following code to the custom console application.&lt;/span&gt;&lt;/li&gt;&lt;pre class="Cpp" name="code"&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;// The following code assumes that a reference is made to Microsoft.SharePoint.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Microsoft.SharePoint.Administration.SPWebApplication webapp =&lt;br /&gt;&lt;br /&gt;Microsoft.SharePoint.Administration.SPWebApplication.Lookup(new Uri("http://&lt;serverurl&gt;"));&lt;br /&gt;&lt;br /&gt;            webapp.FileNotFoundPage = "&lt;custom404.htm&gt;";&lt;br /&gt;&lt;br /&gt;            webapp.Update();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;&lt;strong&gt;Notes&lt;/strong&gt; &lt;/span&gt;&lt;ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;In this code, &amp;lt;serverurl&amp;gt; represents the actual URL of the computer that is running SharePoint Server 2007.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;In this code, &amp;lt;Custom404.htm&amp;gt; represents the actual name that you created for the custom HTML file.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;For more information about how to create a custom console application by using Visual Studio 2005, visit the following Microsoft Web site:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms438026.aspx"&gt;&lt;span style="color:#333333;"&gt;http://msdn2.microsoft.com/en-us/library/ms438026.aspx&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#333333;"&gt; (http://msdn2.microsoft.com/en-us/library/ms438026.aspx) &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;&lt;strong&gt;Note&lt;/strong&gt; By default in Windows SharePoint Services 3.0 and in SharePoint Server 2007, the &lt;strong&gt;FileNotFoundPage&lt;/strong&gt; property is set to the "null" setting.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#333333;"&gt;Run the custom console application on the computer that is running SharePoint Server 2007.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;&lt;strong&gt;Note&lt;/strong&gt; By default in Windows Internet Explorer, the &lt;strong&gt;Show friendly HTTP error messages&lt;/strong&gt; setting is turned on. In this case, the custom error page may not appear. For more information about this setting, click the following article number to view the article in the Microsoft &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-6910785208945043218?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/6910785208945043218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=6910785208945043218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/6910785208945043218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/6910785208945043218'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/03/how-to-create-custom-404-error-pages.html' title='How to create custom 404 error pages for MOSS applications?'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-8305660861165147542</id><published>2009-02-09T18:05:00.000-08:00</published><updated>2009-02-09T19:13:26.299-08:00</updated><title type='text'>CabLib Compress ERROR: Could not flush cabinet: Could not create cabinet file Title is required</title><content type='html'>If you get this error during building WSP it is because your files have “read only" properties. Check Out files (in Visual Studio or another editor) or Right Click folder -&gt; Properties and Uncheck "Read only".&lt;br /&gt;Build WSP again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-8305660861165147542?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/8305660861165147542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=8305660861165147542' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8305660861165147542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8305660861165147542'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/02/cablib-compress-error-could-not-flush.html' title='CabLib Compress ERROR: Could not flush cabinet: Could not create cabinet file Title is required'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-3893131192285710033</id><published>2009-01-24T14:58:00.000-08:00</published><updated>2009-01-24T15:04:58.686-08:00</updated><title type='text'>The search request was unable to connect to the Search Service.</title><content type='html'>In order to resolve this error "The search request was unable to connect to the Search Service.":&lt;br /&gt;1. Go to the server:&lt;br /&gt;Run &gt; Type “Services.msc” - &gt;&lt;br /&gt;- Start a SharePoint search service;&lt;br /&gt;- Start Indexing service;&lt;br /&gt;- IISReset&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-3893131192285710033?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/3893131192285710033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=3893131192285710033' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3893131192285710033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3893131192285710033'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/search-request-was-unable-to-connect-to.html' title='The search request was unable to connect to the Search Service.'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-8484122231602619497</id><published>2009-01-23T06:53:00.000-08:00</published><updated>2009-01-23T07:09:59.902-08:00</updated><title type='text'>Sharepoint Service Error: A deployment or retraction is already under way for the solution *.wsp</title><content type='html'>&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;Sharepoint Service Error:&lt;/strong&gt;&lt;/span&gt; A deployment or retraction is already under way for the solution *.wsp&lt;br /&gt;&lt;br /&gt;To resolve this problem do the next steps:&lt;br /&gt;&lt;br /&gt;Click "Start", click "Run" type cmd&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The operation below shows you all runnig deploying process:&lt;/strong&gt;&lt;br /&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&gt;stsadm -o enumdeployments&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Base on GUI of process you can cancel it. Use next operation for that:&lt;/strong&gt;&lt;br /&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN&gt;stsadm -o canceldeployment -id "GUID job ID"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-8484122231602619497?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/8484122231602619497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=8484122231602619497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8484122231602619497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8484122231602619497'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/sharepoint-service-error-deployment-or.html' title='Sharepoint Service Error: A deployment or retraction is already under way for the solution *.wsp'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-957676708436136483</id><published>2009-01-13T17:17:00.000-08:00</published><updated>2009-01-13T17:18:32.543-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Dev - Security'/><title type='text'>Security Classes</title><content type='html'>SPGroup&lt;br /&gt;SPUser&lt;br /&gt;SPRoleAssignment&lt;br /&gt;SPRoleDefinition&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-957676708436136483?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/957676708436136483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=957676708436136483' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/957676708436136483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/957676708436136483'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/security-classes.html' title='Security Classes'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-2710697698285943690</id><published>2009-01-13T17:14:00.000-08:00</published><updated>2009-01-13T17:16:29.671-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Dev - Security'/><title type='text'>Setting Unique Folder Permissions</title><content type='html'>SPPrincipal principal = userToAdd; &lt;br /&gt;SPFolderCollection submissions = web.GetFolder("Submissions").SubFolders; &lt;br /&gt;SPFolder newFolder = submissions.Add("testfolder"); &lt;br /&gt;&lt;br /&gt;SPListItem folderItem = newFolder.Item; &lt;br /&gt;folderItem.BreakRoleInheritance(true); &lt;br /&gt;folderItem.Update(); &lt;br /&gt;SPRoleAssignment folderRoleAssignment = new SPRoleAssignment(principal); SPRoleAssignmentCollection folderRoleAssignments = folderItem.RoleAssignments; SPRoleDefinitionBindingCollection folderRoleDefBindings = folderRoleAssignment.RoleDefinitionBindings; &lt;br /&gt;folderRoleDefBindings.Add(roleDefinitions["Contribute"]); &lt;br /&gt;folderRoleAssignments.Add(folderRoleAssignment);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-2710697698285943690?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/2710697698285943690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=2710697698285943690' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/2710697698285943690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/2710697698285943690'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/setting-unique-folder-permissions.html' title='Setting Unique Folder Permissions'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-94461658062010677</id><published>2009-01-13T17:13:00.000-08:00</published><updated>2009-01-13T17:16:29.672-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Development'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Dev - Security'/><title type='text'>Adding User to a SharePoint Group</title><content type='html'>web.AllowUnsafeUpdates = true;&lt;br /&gt;SPGroup studentsGroup = web.Groups["Students"];&lt;br /&gt;SPUser userToAdd = web.SiteUsers["pilothouse\\testgroup"];&lt;br /&gt;studentsGroup.AddUser(userToAdd);&lt;br /&gt;Response.Write("Added user successfully");&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-94461658062010677?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/94461658062010677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=94461658062010677' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/94461658062010677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/94461658062010677'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/adding-user-to-sharepoint-group.html' title='Adding User to a SharePoint Group'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-8052283209773298515</id><published>2009-01-13T17:09:00.000-08:00</published><updated>2009-01-13T17:16:29.672-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Dev - Security'/><title type='text'>Role Assignments For the Site</title><content type='html'>SPRoleAssignmentCollection webRoleAssignments =&lt;br /&gt;web.RoleAssignments;&lt;br /&gt;&lt;br /&gt;Response.Write("&lt;b&gt;&lt;b&gt;All role assignments in this site: " + "&lt;/b&gt;&lt;br /&gt;&lt;/b&gt;");&lt;br /&gt;&lt;br /&gt;foreach (SPRoleAssignment webRoleAssignment in webRoleAssignments)&lt;br /&gt;{&lt;br /&gt;Response.Write(webRoleAssignment.Member.Name + " "&lt;br /&gt;+ webRoleAssignment.RoleDefinitionBindings[0].Name + " "&lt;br /&gt;+ webRoleAssignment.Parent.ToString() + "&lt;br /&gt;");&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-8052283209773298515?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/8052283209773298515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=8052283209773298515' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8052283209773298515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8052283209773298515'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/role-assignments-for-site.html' title='Role Assignments For the Site'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-4136987885489782246</id><published>2009-01-13T17:08:00.000-08:00</published><updated>2009-01-13T17:16:29.673-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Dev - Security'/><title type='text'>Role Definitions</title><content type='html'>&lt;span style="color:#009900;"&gt;// Role definitions are represented as "Permissions Levels"&lt;br /&gt;// in user interface&lt;/span&gt;&lt;br /&gt;SPRoleDefinitionCollection roleDefinitions = web.RoleDefinitions;&lt;br /&gt;Response.Write("&lt;b&gt;&lt;b&gt;All role definitions in this site: " + "&lt;/b&gt;&lt;br /&gt;&lt;/b&gt;");&lt;br /&gt;foreach (SPRoleDefinition roleDefinition in roleDefinitions)&lt;br /&gt;{&lt;br /&gt;Response.Write(roleDefinition.Name + "&lt;br /&gt;");&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-4136987885489782246?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/4136987885489782246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=4136987885489782246' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/4136987885489782246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/4136987885489782246'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/role-definitions.html' title='Role Definitions'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-5589988607122534133</id><published>2009-01-13T17:05:00.000-08:00</published><updated>2009-01-13T17:16:29.673-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Dev - Security'/><title type='text'>SharePoint Group Users</title><content type='html'>// All users in "Students" SharePoint group&lt;br /&gt;users = web.Groups["Students"].Users;&lt;br /&gt;&lt;br /&gt;Response.Write("&lt;b&gt;&lt;b&gt;All users in \"Students\" SharePoint group: " + "&lt;/b&gt;&lt;br /&gt;&lt;/b&gt;");&lt;br /&gt;foreach (SPUser user in users)&lt;br /&gt;{&lt;br /&gt;Response.Write(user.Name + "&lt;br /&gt;");&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-5589988607122534133?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/5589988607122534133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=5589988607122534133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5589988607122534133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5589988607122534133'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/sharepoint-group-users.html' title='SharePoint Group Users'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-5992656568587579057</id><published>2009-01-13T17:00:00.000-08:00</published><updated>2009-01-13T17:16:29.674-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Dev - Security'/><title type='text'>SharePoint Group Security Principals</title><content type='html'>// SharePoint Groups that are Security Principals on this website&lt;br /&gt;SPGroupCollection groups = web.Groups;&lt;br /&gt;Response.Write("&lt;b&gt;&lt;b&gt;All SharePoint groups in this site: "+"&lt;/b&gt;&lt;br /&gt;&lt;/b&gt;");&lt;br /&gt;foreach (SPGroup group in groups)&lt;br /&gt;{&lt;br /&gt;Response.Write(group.Name + "&lt;br /&gt;");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// All SharePoint Groups in this site collection&lt;br /&gt;groups = web.SiteGroups;&lt;br /&gt;Response.Write("&lt;b&gt;&lt;b&gt;All SharePoint groups in this site collection: " + "&lt;/b&gt;&lt;br /&gt;&lt;/b&gt;"); foreach (SPGroup group in groups)&lt;br /&gt;{&lt;br /&gt;Response.Write(group.Name + "&lt;br /&gt;");&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-5992656568587579057?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/5992656568587579057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=5992656568587579057' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5992656568587579057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5992656568587579057'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/sharepoint-group-security-principals.html' title='SharePoint Group Security Principals'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-3626827597496576513</id><published>2009-01-13T16:53:00.000-08:00</published><updated>2009-01-13T17:16:29.674-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Dev - Security'/><title type='text'>Domain User and Group Security Principals</title><content type='html'>&lt;span style="color:#009900;"&gt;// All domain users and groups&lt;br /&gt;// that are Security Principals for the website&lt;br /&gt;// This is the list you see in /_layouts/user.aspx&lt;/span&gt;&lt;br /&gt;SPUserCollection users = web.Users;&lt;br /&gt;Response.Write(&lt;span style="color:#990000;"&gt;"&lt;b&gt;&lt;b&gt;All domain user principals in this site: " + "&lt;/b&gt;&lt;br /&gt;&lt;/b&gt;"&lt;/span&gt;);&lt;br /&gt;foreach (SPUser user in users)&lt;br /&gt;{&lt;br /&gt;Response.Write(user.Name + &lt;span style="color:#990000;"&gt;"&lt;br /&gt;"&lt;/span&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;// All domain users and groups within the site collection&lt;/span&gt;&lt;br /&gt;users = web.SiteUsers;&lt;br /&gt;Response.Write(&lt;span style="color:#990000;"&gt;"&lt;b&gt;&lt;b&gt;All users in this site collection: " + "&lt;/b&gt;&lt;br /&gt;&lt;/b&gt;"&lt;/span&gt;);&lt;br /&gt;foreach (SPUser user in users)&lt;br /&gt;{&lt;br /&gt;Response.Write(user.Name +&lt;span style="color:#990000;"&gt; "&lt;br /&gt;"&lt;/span&gt; );&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-3626827597496576513?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/3626827597496576513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=3626827597496576513' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3626827597496576513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3626827597496576513'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/domain-user-and-group-security.html' title='Domain User and Group Security Principals'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-7781762682317835301</id><published>2009-01-13T16:49:00.000-08:00</published><updated>2009-01-13T17:16:29.675-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Development'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Dev - Security'/><title type='text'>Security Permission Inheritance</title><content type='html'>SPSite site = SPContext.Current.Site;&lt;br /&gt;SPWeb web = SPContext.Current.Web;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;// Test to see if the site has unique permissions&lt;br /&gt;&lt;/span&gt;if (web.HasUniqueRoleAssignments)&lt;br /&gt;{&lt;br /&gt;Response.Write(web.Title + &lt;span style="color:#990000;"&gt;" does not inherit permissions&lt;br /&gt;"&lt;/span&gt; );&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;Response.Write(web.Title + &lt;span style="color:#990000;"&gt;" inherits permissions&lt;br /&gt;"&lt;/span&gt; );&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-7781762682317835301?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/7781762682317835301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=7781762682317835301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/7781762682317835301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/7781762682317835301'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/security-permission-inheritance.html' title='Security Permission Inheritance'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-3661596118031508215</id><published>2009-01-12T06:51:00.000-08:00</published><updated>2009-01-12T06:58:58.266-08:00</updated><title type='text'>Uncustomized and Customized Pages</title><content type='html'>&lt;span style="color:#000000;"&gt;Ghosted - Uncustomized&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Unghosted - Customized&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;In WSS v3 pages exist in one of two states: &lt;strong&gt;customized or uncustomized&lt;/strong&gt;. An &lt;strong&gt;uncustomized&lt;/strong&gt; page is one that is listed in the site's contents database, but the actual source of the page (the file) resides on the file system, and the content database simply contains a link pointing to the file. A &lt;strong&gt;customized&lt;/strong&gt; page is also listed in the content database, but the source of the page is also stored in the database. Future requests for that page (in the context of a specific site) will be served from the database, not from the file system.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-3661596118031508215?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/3661596118031508215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=3661596118031508215' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3661596118031508215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3661596118031508215'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/uncustomized-and-customized-pages.html' title='Uncustomized and Customized Pages'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-8766695537048000008</id><published>2009-01-10T08:32:00.000-08:00</published><updated>2009-01-10T09:02:24.498-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Development'/><title type='text'>SharePoint Development using C#</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;strong&gt;Before you start developing you need a reference to&lt;/strong&gt; &lt;span style="color:#ff0000;"&gt;"using Microsoft.SharePoint;"&lt;/span&gt; &lt;strong&gt;namespace.&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Working with a list&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Short description of some classes:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Site Organization Classes&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;SPContext -&lt;br /&gt;SPWebCollection -&lt;br /&gt;SPListCollection -&lt;br /&gt;SPWeb - represents site;&lt;br /&gt;SPSite - represents site collection;&lt;br /&gt;SPList -&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;List Classes&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;SPField -&lt;br /&gt;SPView -&lt;br /&gt;SPListItem -&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;Getting the Current Website&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:#000000;"&gt;SPWeb web = SPContext.Current.Web;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Site Collection Navigation&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;SPSite siteCollection = SPContext.Current.Site;&lt;br /&gt;SPWeb rootWeb = siteCollection.RootWeb;&lt;br /&gt;TreeNode rootNode = new TreeNode(rootWeb.Title);&lt;br /&gt;treeSiteCollection.Nodes.Add(rootNode);&lt;br /&gt;addSubWebsToTree(rootWeb, rootNode);&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Create a list&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;SPWeb web = SPContext.Current.Web;&lt;br /&gt;web.AllowUnsafeUpdates = true;&lt;br /&gt;&lt;br /&gt;SPList list;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;list = web.Lists["Student Assignments"];&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;catch(Exception ex)&lt;br /&gt;{&lt;br /&gt;System.Guid listID&lt;br /&gt;= web.Lists.Add("Student Assignments", "", SPListTemplateType.Tasks);&lt;br /&gt;list = web.Lists[listID];&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;Creating a column in a list&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;SPFieldCollection fields = list.Fields;&lt;br /&gt;SPField gradeField;&lt;br /&gt;if (fields.ContainsField("Grade"))&lt;br /&gt;{&lt;br /&gt;gradeField = fields["Grade"];&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;fields.Add("Grade", SPFieldType.Number, false);&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Adding Field to default view of the list&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;SPView defaultView = list.DefaultView;&lt;br /&gt;if (!defaultView.ViewFields.Exists("Grade"))&lt;br /&gt;{&lt;br /&gt;defaultView.ViewFields.Add("Grade");&lt;br /&gt;defaultView.Update();&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;Creating a new list item&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;SPListItemCollection items = list.Items;&lt;br /&gt;SPListItem newItem = items.Add();&lt;br /&gt;newItem["Title"] = "Homework 1";&lt;br /&gt;newItem["DueDate"] = System.DateTime.Now;&lt;br /&gt;newItem["Grade"] = 5; newItem.Update(); &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-8766695537048000008?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/8766695537048000008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=8766695537048000008' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8766695537048000008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8766695537048000008'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/sharepoint-development-using-c.html' title='SharePoint Development using C#'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-508337719838751604</id><published>2009-01-04T07:39:00.000-08:00</published><updated>2009-01-04T07:40:59.276-08:00</updated><title type='text'>Single Sign On Administration</title><content type='html'>&lt;p&gt;&lt;strong&gt;Single Sign On&lt;/strong&gt; –allow users to authenticate once into SharePoint and then access other applications such as Siebel or SAP using mapped credentials from encrypted credentials database.   Administrators and developers use supporting application interfaces to manage single sign on credentials&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Application Definition&lt;/strong&gt; – metadata (username, passwords, group) about an application that that will be accessible through single sign on. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-508337719838751604?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/508337719838751604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=508337719838751604' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/508337719838751604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/508337719838751604'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/single-sign-on-administration.html' title='Single Sign On Administration'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-5995812261078094064</id><published>2009-01-03T17:50:00.000-08:00</published><updated>2009-01-03T17:54:56.941-08:00</updated><title type='text'>Solution Deployment</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Solution is a cab file with a manifest file that contains: &lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Feature definitions &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Site Definitions &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Resources –Assemblies (DLLs) that implement related functionality &lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Solution is very similar to a web part package in SharePoint 2003&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-5995812261078094064?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/5995812261078094064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=5995812261078094064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5995812261078094064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5995812261078094064'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/solution-deployment.html' title='Solution Deployment'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-6684891473326233806</id><published>2009-01-03T17:00:00.000-08:00</published><updated>2009-01-03T17:03:23.087-08:00</updated><title type='text'>The “Global” Template</title><content type='html'>SharePoint provisions “Global” template before any other template&lt;br /&gt;&lt;br /&gt;The template includes:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;– Base type list schema definitions&lt;/strong&gt;&lt;br /&gt;•Generic List&lt;br /&gt;•Document Library&lt;br /&gt;•Discussion Forum&lt;br /&gt;•Issues List&lt;br /&gt;•Survey List&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;- Gallery Lists&lt;br /&gt;&lt;/strong&gt;•Master Page Gallery&lt;br /&gt;•Web Part Gallery – only at the root site&lt;br /&gt;•List Template Gallery – only at the root site&lt;br /&gt;•Site Template Gallery – only at the root site&lt;br /&gt;•User Information List – only at the root site&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;- Features&lt;br /&gt;&lt;/strong&gt;•Content Types&lt;br /&gt;•Site Columns (Fields)&lt;br /&gt;•Mobile Redirect&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-6684891473326233806?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/6684891473326233806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=6684891473326233806' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/6684891473326233806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/6684891473326233806'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/global-template.html' title='The “Global” Template'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-3347683208894223137</id><published>2009-01-03T16:45:00.000-08:00</published><updated>2009-01-03T16:58:21.570-08:00</updated><title type='text'>Site Definitions in 2007:  Folder Structure</title><content type='html'>Program files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;•GLOBAL&lt;/span&gt; – contains “Global Template” site definition&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;•SiteTemplates &lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;- STS&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;- default.aspx&lt;br /&gt;- &lt;strong&gt;XML&lt;/strong&gt;&lt;br /&gt;- onet.xml – references features&lt;br /&gt;- does not contain base types&lt;br /&gt;- does not contain list templates&lt;br /&gt;&lt;strong&gt;&lt;em&gt;- MPS&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;•FEATURES&lt;/span&gt; – contains all SharePoint and custom features&lt;br /&gt;&lt;strong&gt;&lt;em&gt;- CustomList&lt;br /&gt;- Navigation&lt;br /&gt;- DocumentLibrary&lt;/em&gt;&lt;/strong&gt; – document library feature&lt;br /&gt;- &lt;strong&gt;ListTemplates&lt;br /&gt;&lt;/strong&gt;- DocLib.xml&lt;br /&gt;- &lt;strong&gt;DocLib&lt;/strong&gt;&lt;br /&gt;- Schema.xml – DOES NOT CONTAIN&lt;br /&gt;- Upload.aspx&lt;br /&gt;- No allitems.aspx or editform.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-3347683208894223137?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/3347683208894223137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=3347683208894223137' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3347683208894223137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3347683208894223137'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2009/01/site-definitions-in-2007-folder.html' title='Site Definitions in 2007:  Folder Structure'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-1114962089935326324</id><published>2008-12-11T12:24:00.000-08:00</published><updated>2008-12-11T12:25:02.461-08:00</updated><title type='text'>3 configuration changes needed to enable anonymous access for a public-facing MOSS site</title><content type='html'>1.       IIS - Grant Read rights to the Internet Guest Account (that is used in inetmgr anonymous access settings) for the site’s physical folder under inetpub&lt;br /&gt;&lt;br /&gt;2.       Central Admin – Navigate to Application Management -&gt; Authentication Providers.  Edit the “Default” zone and select “Enable Anonymous Access”&lt;br /&gt;&lt;br /&gt;3.       Site Collection – Navigate to Site Actions -&gt; Site Settings -&gt; Advanced Permissions.  Navigate to Settings -&gt; Anonymous Access.  Select “Entire Web site”.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-1114962089935326324?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/1114962089935326324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=1114962089935326324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/1114962089935326324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/1114962089935326324'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/12/3-configuration-changes-needed-to.html' title='3 configuration changes needed to enable anonymous access for a public-facing MOSS site'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-5156946079462405959</id><published>2008-11-27T12:30:00.000-08:00</published><updated>2008-11-27T13:25:41.091-08:00</updated><title type='text'>How to create a new scope in SharePoint?</title><content type='html'>&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;In order to create and activate new scope, you have to do next steps:&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;First step:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;You have to create "Metadata property mappings"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Go to SSP, Click on the "Search Settings";&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Click "Metadata property mappings";&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Click "New Managed Property";&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Give "Property Name", type;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Also in our example you need to "Add Mapping"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Click "Add Mapping", Choose category "People" and select a crawled property "People:FirstName(Text)";&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;And Check "Allow this property to be used in scopes"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Second Step:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Next Go to SSP, Click on the "Search Settings"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Go to the Scopes area and Click "View scopes"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Click "New Scope"&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Specified "Title" and click "OK"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Then Click on the Scope that you just created and choose "Edit Properties"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Now you need to specify "Rule". Click "Empty - Add rules"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;In our example we using "Property Query"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Now you have to update, Click "Start Update Now"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Choose from "Property Query" area Managed Property that you created in First Step = FirstName (For Example: Eugene)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Third Step:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Go to you site collections:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Click SiteActions -&gt; Site Settings -&gt; Modify All Site Settings&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Then Click "Search Scopes" in Site Collection Administration area.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Click "Search Dropdown" and check your scope.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Click OK&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;and in order to see changes in dropdown list you need to do iisreset.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Ctrl+R and type iisreset&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Done&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-5156946079462405959?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/5156946079462405959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=5156946079462405959' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5156946079462405959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5156946079462405959'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/how-to-create-new-scope-in-sharepoint.html' title='How to create a new scope in SharePoint?'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-6403078131879510619</id><published>2008-11-27T10:28:00.000-08:00</published><updated>2008-11-27T10:30:55.039-08:00</updated><title type='text'>Search Architecture Terminology</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;Index Engine&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt; - processes the chunks of text and properties filtered from content sources, storing them in the content index and property store.&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;Query Engine&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt; - executes keyword and SQL syntax queries against the content index and search configuration data. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;Content Index&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt; - stores information about words and their location in a content item.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;Property Store&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt; - stores a table of properties and associated values. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;Search Configuration Database&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt; - stores information used by the Search service, including crawl configuration, property schema, scopes, and so on. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;Wordbreakers&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt; - used by the query and index engines to break compound words and phrases into individual words or tokens.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-6403078131879510619?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/6403078131879510619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=6403078131879510619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/6403078131879510619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/6403078131879510619'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/search-architecture-terminology.html' title='Search Architecture Terminology'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-1944572052070306494</id><published>2008-11-22T07:13:00.000-08:00</published><updated>2008-11-22T07:37:33.388-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Glossary'/><title type='text'>Sharepoint - SQL Server</title><content type='html'>SQL Server provides unified storage by storing all user and config data with exception of search indices and site definitions (XML files) &lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Configuration Database&lt;/span&gt; – info about web farm configuration&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Content Database&lt;/span&gt; (Site) –sites, lists, list items, and documents&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Profile Database&lt;/span&gt; – user profiles and audience targeting&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Services database&lt;/span&gt; – search configuration info&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Single Sign On&lt;/span&gt; (SSO) – credentials to access other line of business apps &lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Some tables from one application in your database:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;dbo.Sites - Stored Site Collection&lt;/div&gt;&lt;div&gt;dbo.Webs - Stored Each Individual Site in the Site Collection&lt;/div&gt;&lt;div&gt;dbo.Lists - All the lists within all sites collection&lt;/div&gt;&lt;div&gt;dbo.AllUserData - Stored list's items&lt;/div&gt;&lt;div&gt;dbo.AllDocs - Stored documents and information about&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-1944572052070306494?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/1944572052070306494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=1944572052070306494' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/1944572052070306494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/1944572052070306494'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/sharepoint-sql-server.html' title='Sharepoint - SQL Server'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-2899527214055989689</id><published>2008-11-22T06:29:00.000-08:00</published><updated>2008-11-22T07:16:04.090-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint Glossary'/><title type='text'>Sharepoint Server Glossary</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;1. &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Application page&lt;/span&gt; is an a template page from _layouts virtual directory with following characteristics:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; it is available within every site&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; only one copy of this page on the server&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; It is not accessible through Designer when editing a site&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; It is accessible through IIS&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;2. &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Safe page&lt;/span&gt; is a template page that comes from site definitions (For example: default.aspx in “Team Site” template).&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; it exists only on sites where it’s been specified by a template or created by a user&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; many copies can exist on the server&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; It is accessible through Designer when editing a site&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; It is not accessible through IIS&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;SharePoint Web Application&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; is an IIS website that has a SharePoint Web Application Service running&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Basic Web Application&lt;/span&gt; – such as default web site or external site (extranet.company.com), stores site collections where end-users and site administrators work&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Central Administration&lt;/span&gt; – used by system administrators to manage the server farm&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Shared Services&lt;/span&gt; –  manages features that are common to all web applications such as search, user profiles, business data catalog&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Personal Sites&lt;/span&gt; – contains personal user site collection (one per user)&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-2899527214055989689?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/2899527214055989689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=2899527214055989689' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/2899527214055989689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/2899527214055989689'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/sharepoint-server-definitions.html' title='Sharepoint Server Glossary'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-8267070887245257474</id><published>2008-11-19T16:39:00.001-08:00</published><updated>2008-11-19T16:39:54.316-08:00</updated><title type='text'>Sharepoint Designer - Contributor Settings</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Let’s take a look at the next scenario. You need to create new group for users which will have the full control in the browser. But will limited for using specific folders, creating files with specific extensions etc. in SharePoint Designer. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;In this case we need to use Contributor Settings (Contributor Mode)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;First Step.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Create New Permissions Level (Site Settings &gt; Permissions &gt; Permission Levels)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Click "Add a Permission Level"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Second Step.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Create Group using Permission Level that you created in previous step (Site Settings &gt; Permissions)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Click "New Group"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Third Step.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Open SharePoint Designer.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Go to "Site" menu &gt; "Contributor Settings"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Setup "Site Manager" as default and delete others Groups.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Then Click "Add" new group&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Give the name and choose site permissions level that you created in the first step. After that switching menu on the right chooses the settings that you need. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Click Ok&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-8267070887245257474?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/8267070887245257474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=8267070887245257474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8267070887245257474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8267070887245257474'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/sharepoint-designer-contributor.html' title='Sharepoint Designer - Contributor Settings'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-6850767566765118454</id><published>2008-11-17T08:54:00.000-08:00</published><updated>2008-11-17T08:59:36.591-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS CONFIGURATION'/><title type='text'>How to Back Up and Restore IIS</title><content type='html'>&lt;p&gt;&lt;strong&gt;Back Up the IIS Configuration&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;To back up your IIS configuration, follow these steps:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;In the IIS snap-in on the local computer, click the Computer icon under Internet Information Services.&lt;/li&gt;&lt;li&gt;Click Action and select Backup/Restore Configuration.&lt;/li&gt;&lt;li&gt;Click Create backup, choose a name for your backup file, and then click OK. &lt;strong&gt;NOTE:&lt;/strong&gt; The default location of the backup is the &lt;strong&gt;%SystemRoot%\system32\inetsrv\MetaBack&lt;/strong&gt; folder. If you want to save your backup file to another location, you can copy the file from this default location to another location. Keep a copy in the default location to allow for an easy restoration. &lt;/li&gt;&lt;li&gt;Click Close. &lt;strong&gt;NOTE:&lt;/strong&gt; This backup method provides a way to restore only your IIS settings, not your content files. This backup method does not work if you reinstall your operating system. Backup files cannot be used to restore an IIS configuration on other computers that are running Windows 2000. &lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Restoring the IIS Configuration Without an IIS Reinstallation&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;To restore your IIS configuration if you have not removed and reinstalled IIS, follow these steps:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;In the IIS snap-in on the local computer, click the Computer icon under Internet Information Services.&lt;/li&gt;&lt;li&gt;Click Action and select Backup/Restore Configuration.&lt;/li&gt;&lt;li&gt;In the Configuration Backup Name dialog box, select a backup file and click Restore. When you are asked if you want to restore your configuration settings, click Yes.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Restoring the IIS Configuration After an IIS Reinstallation&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;To restore your IIS configuration after you have removed and reinstalled IIS, follow these steps:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;In the IIS snap-in on the local computer, click the Computer icon under Internet Information Services.&lt;/li&gt;&lt;li&gt;Click Action and select Backup/Restore Configuration.&lt;/li&gt;&lt;li&gt;In the Configuration Backup Name dialog box, select the backup file that you created and click Restore. Although an error message states that the restoration has failed, a portion of your backed-up configuration is restored.&lt;/li&gt;&lt;li&gt;At a command prompt, type the following: cscript.exe &lt;strong&gt;X:\InetPub\AdminScripts\Adsutil.vbs&lt;/strong&gt; enum w3svcwhere X is the letter of the drive on which IIS is installed. From the listed settings, locate the WamUserName and the associated WAMUserPass value.NOTE: To use the Adsutil.vbs utility, you must have Windows Script Host installed.&lt;/li&gt;&lt;li&gt;Click Start, point to Settings, click Control Panel, double-click Administrative Tools, and then double-click Computer Management. Click Local User Managers and click Users.&lt;/li&gt;&lt;li&gt;Double-click the IWAM_computername user account. Type the WAMUserPass value that you retrieved from the previous step and click OK.&lt;/li&gt;&lt;li&gt;In the Configuration Backup Name dialog box, select the backup file that you created and click Restore. This fully restores your configuration.NOTE: If you change the identity of your out-of-process applications, those applications revert back to the previous IWAM user name.&lt;br /&gt; &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-6850767566765118454?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/6850767566765118454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=6850767566765118454' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/6850767566765118454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/6850767566765118454'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/how-to-back-up-and-restore-iis_17.html' title='How to Back Up and Restore IIS'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-8646332436022353595</id><published>2008-11-14T07:55:00.000-08:00</published><updated>2008-11-17T08:54:13.640-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='USEFULL SHORT CUTS AND COMMANDS'/><title type='text'>Mostly used short cuts and file locations working with Sharepoint</title><content type='html'>&lt;strong&gt;&lt;span style="color:#000000;"&gt;Run commands&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;mstsc&lt;/span&gt;&lt;/strong&gt; - Remote Desctop Connection&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;inetmgr&lt;/strong&gt; &lt;/span&gt;- IIS Manager (Internet Information Services Manager);&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;run &lt;/span&gt;&lt;/strong&gt;- windows key + R&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;cmd&lt;/span&gt;&lt;/strong&gt; - command prompt&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;iisreset&lt;/span&gt;&lt;/strong&gt; - Reseting Internet Information Services&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;Host File&lt;/span&gt;&lt;/strong&gt; - C:\WINDOWS\system32\drivers\etc&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;GAC (Global Assembly Cache)&lt;/span&gt;&lt;/strong&gt; - C:\Windows\assembly&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;Applications Locations (by Default)&lt;/span&gt;&lt;/strong&gt; - C:\Inetpub\wwwroot\wss\VirtualDirectories&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;Copy dll files from the GAC - &lt;/span&gt;&lt;/strong&gt;Open Run Window, and type C:\Windows\assembly\gac\&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;How to get PublicKeyToken?&lt;/span&gt; &lt;/strong&gt;right-click on the assembly name and open the properties dialog box to view the assembly name and public key.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Direct links to some of pages in sharepoint site&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;Web Part Gallery Page&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;a href="http://yourserver/sitecol/_catalogs/wp/Forms/AllItems.aspx"&gt;http://yourserver/sitecol/_catalogs/wp/Forms/AllItems.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;Visual Studio 2005 (useful short cuts)&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Code Reformating&lt;/span&gt; - Select the code, and click Ctrl+K &amp;amp; Ctrl+F;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-8646332436022353595?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/8646332436022353595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=8646332436022353595' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8646332436022353595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8646332436022353595'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/mostly-used-short-cuts-and-file.html' title='Mostly used short cuts and file locations working with Sharepoint'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-3183593088618354525</id><published>2008-11-14T05:58:00.000-08:00</published><updated>2008-11-14T06:30:06.242-08:00</updated><title type='text'>How to Deploy Web Parts?</title><content type='html'>&lt;p&gt;&lt;strong&gt;Deployment for Development Purposes&lt;span style="color:#cc0000;"&gt;*&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;manually copy the web part’s signed assembly (.dll) to the&lt;br /&gt;Global Assembly Cache (GAC);&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;manually add the corresponding &lt;safecontrol&gt;element to&lt;br /&gt;SharePoint’s Web.config file;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;use a site collection’s web-part gallery pages to add the&lt;br /&gt;web part.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;Moving to Production (You need to create a solution package to deploy it to your SharePoint farm). For creating solution, we have to use Microsoft add-in called Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions, Version 1.1. &lt;/span&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3E1DCCCD-1CCA-433A-BB4D-97B96BF7AB63&amp;amp;displaylang=en"&gt;&lt;span style="color:#ff0000;"&gt;Click Here&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt; to Download it.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc0000;"&gt;*&lt;/span&gt;The preferred method for deploying a web part for an entire SharePoint web application or web farm is through a SharePoint solution.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-3183593088618354525?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/3183593088618354525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=3183593088618354525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3183593088618354525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3183593088618354525'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/how-to-deploy-web-parts.html' title='How to Deploy Web Parts?'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-5489396136451901547</id><published>2008-11-12T16:14:00.000-08:00</published><updated>2008-11-23T09:05:55.718-08:00</updated><title type='text'>Adventure Works SQL Server 2005 SP2a sample databases</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Here you can find all sample databases:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Visit the SQL Server Samples and Community Projects page on CodePlex at:&lt;/div&gt;&lt;div&gt;http://codeplex.com/SqlServerSamples &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For those people who looking something specific as follow the same link above, you can see the original names of databases below. And also you can see step by step manual how to install and attach database to your SQL server.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;AdventureWorks&lt;/span&gt; - AdventureWorksDB.msi &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;AdventureWorksDW&lt;/span&gt; - AdventureWorksBI.msi &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Northwind and pubs Sample Databases&lt;/span&gt; for SQL Server 2000 &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=06616212-0356-46A0-8DA2-EEBC53A68034&amp;amp;displaylang=en"&gt;Download&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(by default after installation completed you can find northwind database, under this location&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; line-height: 15px; white-space: pre-wrap; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;C:\SQL Server 2000 Sample Databases\. For installation in more detail &lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms227484.aspx"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;click here&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;First Step.&lt;/span&gt; Download the file you need. Install (by default it will install it C:\Program Files\Microsoft SQL server\MSSQL.1\MSSQL\Data\nameofdatabase.mdf)&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Next Step. &lt;/span&gt;Open SQL server, right click on Databases (on your left). Select Attach then press add button. Select database that you need and press OK.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-5489396136451901547?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/5489396136451901547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=5489396136451901547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5489396136451901547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5489396136451901547'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/adventure-works-sql-server-2005-sp2a.html' title='Adventure Works SQL Server 2005 SP2a sample databases'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-4349223130824376205</id><published>2008-11-11T19:05:00.000-08:00</published><updated>2008-11-11T19:12:54.427-08:00</updated><title type='text'>Feature '75a0fea7-cd50-401e-af0e-782f3662a299' is not installed in this farm, and can not be added to this scope.</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;When I was trying to create Top-Level site using "Help Desk" template I got next error &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="white-space: pre; "&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Feature '75a0fea7-cd50-401e-af0e-782f3662a299' is not installed in this farm, and can not be added to this scope"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="white-space: pre; "&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;One of the ways to resolve this issue to install &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="white-space: normal; "&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C1039E13-94DA-4D7D-8CAE-3B96FA5A4045&amp;amp;displaylang=en"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Windows SharePoint Services 3.0 Application Template: Application Template Core&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-weight: bold;"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Install:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;stsadm -o addsolution -filename path\mySolution.wsp&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;stsadm -o execadmsvcjobs&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;stsadm -o deploysolution -name mySolution.wsp -immediate -allowGacDeployment -force&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Uninstall:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;stsadm -o retractsolution -name mySolution.wsp -immediate&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;stsadm -o execadmsvcjobs&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;stsadm -o deletesolution -name mySolution.wsp -override&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;stsadm -o execadmsvcjobs&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-4349223130824376205?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/4349223130824376205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=4349223130824376205' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/4349223130824376205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/4349223130824376205'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/feature-75a0fea7-cd50-401e-af0e.html' title='Feature &apos;75a0fea7-cd50-401e-af0e-782f3662a299&apos; is not installed in this farm, and can not be added to this scope.'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-3027144548331700190</id><published>2008-11-11T10:59:00.000-08:00</published><updated>2008-11-25T20:23:06.537-08:00</updated><title type='text'>Web Template IDs in Sharepoint</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;strong&gt;STS#0&lt;/strong&gt; Team site&lt;br /&gt;&lt;strong&gt;STS#1&lt;/strong&gt; Blank site&lt;br /&gt;&lt;strong&gt;STS#2&lt;/strong&gt; Document workspace&lt;br /&gt;&lt;strong&gt;MPS#0&lt;/strong&gt; Basic meeting workspace&lt;br /&gt;&lt;strong&gt;MPS#1&lt;/strong&gt; Blank meeting workspace&lt;br /&gt;&lt;strong&gt;MPS#2&lt;/strong&gt; Decision meeting workspace&lt;br /&gt;&lt;strong&gt;MPS#3&lt;/strong&gt; Social meeting workspace&lt;br /&gt;&lt;strong&gt;MPS#4&lt;/strong&gt; Multipage meeting workspace&lt;br /&gt;&lt;strong&gt;WIKI#0&lt;/strong&gt; Wiki&lt;br /&gt;&lt;strong&gt;BLOG#0&lt;/strong&gt; Blog&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;BDR#0&lt;/strong&gt; Document center—A central document management location for an enterprise&lt;br /&gt;&lt;strong&gt;OFFILE#0&lt;/strong&gt; Records center—A central location in which records&lt;br /&gt;&lt;strong&gt;OFFILE#1&lt;/strong&gt; managers can define routes for incoming files&lt;br /&gt;&lt;strong&gt;CMSPUBLISHING#0&lt;/strong&gt; Publishing site&lt;br /&gt;&lt;strong&gt;BLANKINTERNET#0&lt;/strong&gt; Publishing site—A site for publishing web pages on a schedule with workflow features enabled&lt;br /&gt;&lt;strong&gt;BLANKINTERNET#1&lt;/strong&gt; Press releases site&lt;br /&gt;&lt;strong&gt;BLANKINTERNET#2&lt;/strong&gt; Publishing site with workflow—A publishing site for web pages using approval workflows&lt;br /&gt;&lt;strong&gt;SPSNHOME#0&lt;/strong&gt; A site for publishing news and articles&lt;br /&gt;&lt;strong&gt;SPSREPORTCENTER#0&lt;/strong&gt; Report center—A site for creating, managing, and delivering web pages, dashboards, and Key Performance Indicators (KPIs)&lt;br /&gt;&lt;strong&gt;SPSPORTAL#0&lt;/strong&gt; A starter hierarchy for an intranet divisional portal&lt;br /&gt;&lt;strong&gt;PROFILES#0&lt;/strong&gt; A profile site that includes page layouts with zones&lt;br /&gt;&lt;strong&gt;BLANKINTERNETCONTAINER#0&lt;/strong&gt; Publishing portal—a site collection preconfigured for revision-controlled, secure content creation and publication&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;BDR#0&lt;/strong&gt; Document center—A central document management location for an enterprise&lt;br /&gt;&lt;strong&gt;OFFILE#0&lt;/strong&gt; Records center—A central location in which records&lt;br /&gt;&lt;strong&gt;OFFILE#1&lt;/strong&gt; managers can define routes for incoming files&lt;br /&gt;&lt;strong&gt;CMSPUBLISHING#0&lt;/strong&gt; Publishing site&lt;br /&gt;&lt;strong&gt;BLANKINTERNET#0&lt;/strong&gt; Publishing site—A site for publishing web pages on a schedule with workflow features enabled&lt;br /&gt;&lt;strong&gt;BLANKINTERNET#1&lt;/strong&gt; Press releases site&lt;br /&gt;&lt;strong&gt;BLANKINTERNET#2&lt;/strong&gt; Publishing site with workflow—A publishing site for web pages using approval workflows&lt;br /&gt;&lt;strong&gt;SPSNHOME#0&lt;/strong&gt; A site for publishing news and articles&lt;br /&gt;&lt;strong&gt;SPSREPORTCENTER#0&lt;/strong&gt; Report center—A site for creating, managing, and delivering web pages, dashboards, and Key Performance Indicators (KPIs)&lt;br /&gt;&lt;strong&gt;SPSPORTAL#0&lt;/strong&gt; A starter hierarchy for an intranet divisional portal&lt;br /&gt;&lt;strong&gt;PROFILES#0&lt;/strong&gt; A profile site that includes page layouts with zones&lt;br /&gt;&lt;strong&gt;BLANKINTERNETCONTAINER#0&lt;/strong&gt; Publishing portal—a site collection preconfigured for revision-controlled, secure content creation and publication&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-3027144548331700190?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/3027144548331700190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=3027144548331700190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3027144548331700190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/3027144548331700190'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/web-template-ids-in-sharepoint.html' title='Web Template IDs in Sharepoint'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-5881850290407423255</id><published>2008-11-10T13:28:00.000-08:00</published><updated>2008-11-10T13:43:08.874-08:00</updated><title type='text'>How to see the actual error in SharePoint</title><content type='html'>&lt;span style="color:#000000;"&gt;In order to see the actual error you need to make a few modifications of web.config file. Take the web.config file from application\site that gives the error. &lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;Open in Notepad:&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;First&lt;/strong&gt;, change customErrors mode in "Off"&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;customerrors mode="On"&gt;&lt;a href="http://4.bp.blogspot.com/_msnJ40_YMUs/SRiqNaKs_HI/AAAAAAAAAAo/8D6zFXSHoAs/s1600-h/customError.gif"&gt;&lt;span style="color:#000000;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5267146911549029490" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 229px; CURSOR: hand; HEIGHT: 56px" alt="" src="http://4.bp.blogspot.com/_msnJ40_YMUs/SRiqNaKs_HI/AAAAAAAAAAo/8D6zFXSHoAs/s320/customError.gif" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#000000;"&gt;&lt;br /&gt;&lt;/SYSTEM.WEB&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;Second&lt;/strong&gt;, change CallStack="true" &lt;/span&gt;&lt;/p&gt;&lt;a href="http://4.bp.blogspot.com/_msnJ40_YMUs/SRiqW0u64dI/AAAAAAAAAAw/gBGhhzDlXeM/s1600-h/callstack.gif"&gt;&lt;span style="color:#000000;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5267147073299079634" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 46px" alt="" src="http://4.bp.blogspot.com/_msnJ40_YMUs/SRiqW0u64dI/AAAAAAAAAAw/gBGhhzDlXeM/s320/callstack.gif" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;Refresh the page with error&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-5881850290407423255?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/5881850290407423255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=5881850290407423255' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5881850290407423255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5881850290407423255'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/how-to-see-actual-error-in-sharepoint.html' title='How to see the actual error in SharePoint'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_msnJ40_YMUs/SRiqNaKs_HI/AAAAAAAAAAo/8D6zFXSHoAs/s72-c/customError.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-8445130865971479682</id><published>2008-11-10T11:56:00.000-08:00</published><updated>2008-11-10T12:04:59.505-08:00</updated><title type='text'>FatalError: Could not find Feature S2SiteAdmin.</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: arial;"&gt;I was importing one of my site and I got the next message:&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: 13px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;Problem:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;Progress:&lt;/span&gt; Initializing Import.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;FatalError: &lt;/span&gt;Could not find Feature S2SiteAdmin.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;Solution:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; "&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;You need to install "&lt;span class="Apple-style-span" style="font-family: Georgia; "&gt;Infrastructure Update for Microsoft Office Servers (KB951297)"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: 13px; font-weight: bold; "&gt;Brief Description&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt; &lt;div id="quickDescription"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;The Infrastructure Update for Microsoft Office Servers  (KB951297) includes the latest performance updates and fixes for the Microsoft  Office Servers.&lt;/span&gt;&lt;/div&gt;&lt;div id="quickDescription"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div id="quickDescription"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3811c371-0e83-47c8-976b-0b7f26a3b3c4&amp;amp;displaylang=en"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;Download&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-8445130865971479682?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/8445130865971479682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=8445130865971479682' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8445130865971479682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8445130865971479682'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/fatalerror-could-not-find-feature.html' title='FatalError: Could not find Feature S2SiteAdmin.'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-4347623011716348418</id><published>2008-11-10T06:49:00.000-08:00</published><updated>2009-01-07T11:33:36.129-08:00</updated><title type='text'>How to create host name top level site with stsadm</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;For example, if you have a Web application named &lt;span class="Apple-style-span" style="FONT-WEIGHT: bold"&gt;http://&lt;/span&gt;&lt;span class="Apple-style-span" style="FONT-WEIGHT: bold"&gt;sharepoint.com&lt;/span&gt; and you want to add a host-named site collection with the URL &lt;span class="Apple-style-span" style="FONT-WEIGHT: bold"&gt;http://about.sharepoint.com&lt;/span&gt;, use the following command:&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(255,0,0)"&gt;stsadm.exe -o createsite -url&lt;/span&gt; &lt;span class="Apple-style-span" style="FONT-WEIGHT: bold"&gt;http://about.sharepoint.com&lt;/span&gt; &lt;span class="Apple-style-span" style="COLOR: rgb(255,0,0)"&gt;-ownerlogin domain\siteowner -owneremail&lt;/span&gt;&lt;span class="Apple-style-span" style="COLOR: rgb(255,0,0)"&gt; siteowner@sharepoint.com -hhurl &lt;/span&gt;&lt;span class="Apple-style-span" style="FONT-WEIGHT: bold"&gt;&lt;a href="http://sharepoint.com/"&gt;http://&lt;/span&gt;&lt;span class="Apple-style-span" style="FONT-WEIGHT: bold"&gt;sharepoint.com&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;strong&gt;Renaming Site&lt;/strong&gt;&lt;br /&gt;stsadm -o renamesite -oldUrl &lt;a href="http://www.name.com/"&gt;http://www.name.com&lt;/a&gt; -newUrl &lt;a href="http://www.newname.com/"&gt;http://www.newname.com&lt;/a&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-4347623011716348418?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/4347623011716348418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=4347623011716348418' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/4347623011716348418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/4347623011716348418'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/how-to-create-host-name-top-level-site.html' title='How to create host name top level site with stsadm'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-8966746454950652070</id><published>2008-11-09T07:42:00.002-08:00</published><updated>2008-11-09T07:43:31.801-08:00</updated><title type='text'>How to install and unistall WSP solution template using stsadm</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(41, 48, 59); font-size: 13px; "&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Install:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;stsadm -o addsolution -filename path\mySolution.wsp&lt;/div&gt;&lt;div&gt;stsadm -o execadmsvcjobs&lt;/div&gt;&lt;div&gt;stsadm -o deploysolution -name mySolution.wsp -immediate -allowGacDeployment -force&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Uninstall:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;stsadm -o retractsolution -name mySolution.wsp -immediate&lt;/div&gt;&lt;div&gt;stsadm -o execadmsvcjobs&lt;/div&gt;&lt;div&gt;stsadm -o deletesolution -name mySolution.wsp -override&lt;/div&gt;&lt;div&gt;stsadm -o execadmsvcjobs&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-8966746454950652070?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/8966746454950652070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=8966746454950652070' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8966746454950652070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/8966746454950652070'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/how-to-install-and-unistall-wsp_09.html' title='How to install and unistall WSP solution template using stsadm'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-17891784523801690.post-5144775583520866054</id><published>2008-11-09T07:42:00.001-08:00</published><updated>2008-11-09T07:42:40.433-08:00</updated><title type='text'>Key classes in the SharePoint object model</title><content type='html'>&lt;span class="Apple-style-span" style="color: rgb(41, 48, 59); font-size: 13px; "&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Document Libraries&lt;/span&gt; (Microsoft.Sharepoint)&lt;div&gt;SPDocumentLibrary&lt;/div&gt;&lt;div&gt;SPPictureLibrary&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Features&lt;/span&gt;&lt;/span&gt; &lt;span class="Apple-style-span" style="font-size: 16px; "&gt;(Microsoft.Sharepoint)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;SPFeatureDefinition&lt;/div&gt;&lt;div&gt;SPElementDefinition&lt;/div&gt;&lt;div&gt;SPFeatureProperty&lt;/div&gt;&lt;div&gt;SPFeatureScope&lt;/div&gt;&lt;div&gt;SPFeature&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Sites&lt;/span&gt; (Microsoft.SharePoint)&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SPSite&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SPSiteCollection&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SPSiteAdministration&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SPWeb&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Business Data Catalog&lt;/span&gt; (Microsoft.Office.Server.ApplicationRegistry.Administration)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;EntityCollection&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="font-size: 13px; "&gt;ApplicationRegistry&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Meetings&lt;/span&gt; (Microsoft.SharePoint.Meetings)&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;SPMeeting&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="font-size: 13px; "&gt;MtgUtility&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Solutions&lt;/span&gt; (Microsoft.SharePoint.Administration)&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;SPSolution&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SPFeatureReceiver&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="font-size: 13px; "&gt;SPSolutionCollection&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Lists&lt;/span&gt; (Microsoft.SharePoint)&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;SPList&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SPListItem&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;span class="Apple-style-span" style="font-size: 13px; "&gt;SPListItemCollection&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 16px; "&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;User Profiles &lt;/span&gt;(Microsoft.Office.Server.UserProfiles)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 13px; "&gt;UserProfile&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 13px; "&gt;UserProfileManager&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17891784523801690-5144775583520866054?l=sharepointcheatsheet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepointcheatsheet.blogspot.com/feeds/5144775583520866054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=17891784523801690&amp;postID=5144775583520866054' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5144775583520866054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/17891784523801690/posts/default/5144775583520866054'/><link rel='alternate' type='text/html' href='http://sharepointcheatsheet.blogspot.com/2008/11/key-classes-in-sharepoint-object-model_09.html' title='Key classes in the SharePoint object model'/><author><name>Eugene Kochkin</name><uri>http://www.blogger.com/profile/15432423213538757129</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_msnJ40_YMUs/SRcHEYLlhBI/AAAAAAAAAAM/RB6V3yp13rg/S220/evgelen.JPG'/></author><thr:total>0</thr:total></entry></feed>
