<?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:blogger='http://schemas.google.com/blogger/2008' 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-6041966434808589687</id><updated>2026-07-25T01:05:30.553-07:00</updated><category term="SharePoint 2010"/><category term="sharepoint"/><category term="troubleshooting"/><category term="powershell"/><category term="User Profile"/><category term="User Profile Synchronization"/><category term="end-user"/><category term=". term store"/><category term=".NET"/><category term="Document Library"/><category term="Protocol"/><category term="Query"/><category term="TCP IP"/><category term="Visio"/><category term="Visio Graphic Service"/><category term="administration"/><category term="export"/><category term="import"/><category term="managed metadata"/><category term="workflow"/><category term="Authentication"/><category term="Authorization"/><category term="BLOB  Cache"/><category term="Batch"/><category term="CLR"/><category term="Command Prompt"/><category term="Configuration Wizard"/><category term="Crawling"/><category term="Exception"/><category term="Exclusion"/><category term="Explorer View"/><category term="FIM"/><category term="Forefront Identity Manager"/><category term="Garbage Collection"/><category term="Group Policy"/><category term="Health Analyzer"/><category term="ISA"/><category term="IdentityModel"/><category term="Inclusion"/><category term="Installation"/><category term="Keywords"/><category term="Lifecyle"/><category term="Monitoring"/><category term="Network"/><category term="News"/><category term="Office"/><category term="Performance"/><category term="Prefix Matching"/><category term="Property Filter"/><category term="Rich Text Editor"/><category term="SCOM"/><category term="SCOM 2007"/><category term="SCOM Manager"/><category term="SDK"/><category term="SDK Service"/><category term="SPN"/><category term="Scheduled Tasks"/><category term="Search"/><category term="Search Alerts"/><category term="Security Policy"/><category term="Share"/><category term="SharePoint Designer"/><category term="SharePoint Designer 2010"/><category term="SharePoint Health"/><category term="SharePoint Search"/><category term="Shell Admin"/><category term="Site Design"/><category term="Support"/><category term="Synchronization"/><category term="Systems Center Operation Manager"/><category term="Tasks"/><category term="Topology"/><category term="Visio 2010"/><category term="WCF"/><category term="WCF Endpoint"/><category term="WebDAV"/><category term="Windows"/><category term="Windows 2008"/><category term="Windows 7"/><category term="Windows Vista"/><category term="Windows XP"/><category term="access request"/><category term="active directory"/><category term="asp.net"/><category term="communication"/><category term="database"/><category term="developer dashboard"/><category term="firewall"/><category term="introduction"/><category term="people picker"/><category term="permissions"/><category term="port"/><category term="script"/><category term="site collection administrator"/><category term="site column"/><category term="site permissions"/><category term="skills"/><category term="stsadm"/><category term="term set"/><category term="web services"/><category term="webinar"/><title type='text'>SharePoint Talk</title><subtitle type='html'>A blog on SharePoint and related technologies</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>32</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-2106696917514854898</id><published>2025-01-12T10:07:00.000-08:00</published><updated>2025-01-12T10:07:36.098-08:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Microsoft is&amp;nbsp;aggressively&amp;nbsp;working on making SharePoint better and with release of &lt;a href=&quot;https://blogs.office.com/2016/03/14/sharepoint-2016-rtm-and-the-future-of-sharepoint-event/&quot; target=&quot;_blank&quot;&gt;SharePoint 2016 RTM&lt;/a&gt;, many organizations are planning to migrate to cloud or upgrade their On-Premises installation. Recently I have been working on lots of migration related projects (some of them from SharePoint 2003 to 2013 - yes, there are customers out there who are still using SPS 2003 :) One of the client had a single site collection and content database for their Portal and team sites. The content database was about to reach 200 GB and they wanted to split the major sub sites and site collections into individual site collections with its own database. Client hired a third party vendor and they did the job for them. We are not sure what approach was followed to achieve this. However, after the split we saw the following issue.&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Issue:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Most or all of the following should be true to make sure that you are facing exactly the same issue.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;sub sites were exported / imported or moved using some third party tool as site collections into their individual database.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Root site collection (before the split) which hosted the sub sites had publishing feature and infrastructure enabled (site collection scope)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;sub sites (before the split) had publishing feature enabled (web scope)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;After the split, when you create a sub site under the site collection and try to active Publishing feature (web scope), you get the following error:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red; font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;Server Error in &#39;/&#39; Application&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #783f04; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;Runtime Error&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;Description&lt;/b&gt;: An application error occurred on the server. The current custom settings for this application prevent&amp;nbsp;the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;Details&lt;/b&gt;: To enable the details of this specific error message to be viewable on remote machines, please create a &amp;lt;customErrors&amp;gt; tag within a &quot;web.config&quot; configuration file located in the root directory of the current web application. This &amp;lt;customErrors&amp;gt; tag should then have its &quot;mode&quot; attribute set to &quot;Off&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When we check the ULS logs, we get the following errors:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/2106696917514854898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2016/03/microsoft-is-on-making-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/2106696917514854898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/2106696917514854898'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2016/03/microsoft-is-on-making-sharepoint.html' title=''/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-1909934422722738191</id><published>2015-08-28T11:26:00.002-07:00</published><updated>2015-08-28T11:27:40.796-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="powershell"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Shell Admin"/><category scheme="http://www.blogger.com/atom/ns#" term="stsadm"/><title type='text'>Add users as SharePoint Shell Admin for specific site collection or content database</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
Recently we received
a concern from one of our team members that they are not able to run PowerShell
scripts against a specific web application or site collection. They were trying
to Backup the site collection and using Backup-SPSite cmdlet.&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
However they were
not able to do so and got the following error:&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: red; font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
Backup-SPSite
: Cannot open database &quot;&amp;lt;database_name&amp;gt;&quot; requested by the
login.&lt;/div&gt;
&lt;div style=&quot;color: red; font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
The login
failed.&lt;/div&gt;
&lt;div style=&quot;color: red; font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
Login
failed for the user &#39;&amp;lt;domain\username&amp;gt;&#39;.&lt;/div&gt;
&lt;div style=&quot;color: red; font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
At line:1
char:14&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
We ran the following
command to add the user as PS Shell Admin&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;Add-SPShellAdmin -UserName domain\username&lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
However,
even after doing so they were getting login failed error when trying to run
PowerShell commands. The problem was occurring because as the error stated, the
user&#39;s login did not have &lt;span style=&quot;font-weight: bold;&quot;&gt;SharePoint_Shell_Access&lt;/span&gt;
rights on the database. You can easily check this by checking the database
security properties (from SQL management studio) and check the permissions of
the account. If the account is not listed under Database -&amp;gt; Security -&amp;gt;
Users, then it is obvious that the account does not have any permission on that
content database.&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
When we
run &quot;Add-SPShellAdmin -UserName domain\username&quot;, it only added the
user account under SharePoint Config database with SharePoint_Shell_Access
rights. User&#39;s account was not added on any of the content databases with the
Shell rights. That’s why when the user tried to backup a site collection, they
were getting login failed error. For more details on what the Add-SPShellAdmin
cmdlet, please refer to this article - &lt;a href=&quot;https://technet.microsoft.com/en-us/library/ff607596.aspx&quot;&gt;https://technet.microsoft.com/en-us/library/ff607596.aspx&lt;/a&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
So what
we had to do was to specifically grant SharePoint_Shell_Access rights by
passing on the content database name like in the example below:&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;&amp;nbsp;Get-SPDatabase
| ?{$_.Name -eq &quot;&lt;/span&gt;&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;WSS_Content&lt;/span&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;&quot;} | Add-SPShellAdmin -Username DOMAIN\Username&lt;/span&gt;&lt;/div&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;
This
solved the problem. Also, in case the user again complains for login failed
error, you need to take a look at the site where he is trying to run the
command and make sure that the account does have SharePoint_Shell_Access
permissions on that database that is holding that site collection. If not, run
Add-SPShellAdmin cmdlet by specifying the database. As always, its best
practice to have the least permissions and review the SharePoint Shell Access
rights using the command - &lt;span style=&quot;font-weight: bold;&quot;&gt;Get-SPShellAdmin&lt;/span&gt;
and remove any user accounts that are not supposed to be there.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/1909934422722738191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2015/08/add-users-as-sharepoint-shell-admin-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/1909934422722738191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/1909934422722738191'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2015/08/add-users-as-sharepoint-shell-admin-for.html' title='Add users as SharePoint Shell Admin for specific site collection or content database'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-7537850936682420246</id><published>2011-11-29T00:47:00.001-08:00</published><updated>2015-06-02T09:31:17.403-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Group Policy"/><category scheme="http://www.blogger.com/atom/ns#" term="Scheduled Tasks"/><category scheme="http://www.blogger.com/atom/ns#" term="Security Policy"/><category scheme="http://www.blogger.com/atom/ns#" term="Tasks"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 2008"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows 7"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Vista"/><title type='text'>A specified logon session does not exist. It may already have been terminated.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;Issue:&lt;/strong&gt;&lt;br /&gt;
On a Windows 2008 R2 or Windows 7 machine, you open Task Scheduler. You create a new task and the following conditions are used in the task.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;The account used to run the task is another service account (i.e. author or the user who is trying to save the task) is &lt;strong&gt;different&lt;/strong&gt; from the user who will be running the task&lt;/li&gt;
&lt;li&gt;Option of “Run whether user is logged on or not” is &lt;strong&gt;selected&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Option of “Do not store password. The task will only have access to local computer resources.” is &lt;strong&gt;not selected&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
When you try to save the task with the above general settings, we receive error.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Error Message:&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;An error has occurred for task &lt;em&gt;&amp;lt;TaskName&amp;gt;&lt;/em&gt;. Error message: The following error was reported: A specified logon session does not exist. It may already have been terminated.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;strong&gt;Cause:&lt;/strong&gt;&lt;br /&gt;
This occurs because the local security policy has the following setting:&lt;br /&gt;
Network access: Do not allow storage of passwords and credentials for network authentication - Enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Resolution:&lt;/strong&gt;&lt;br /&gt;
To verify whether the security policy is causing the issue. Log on to the machine where you are facing the problem.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Start -&amp;gt; Administrative Tools -&amp;gt; Local Security Policy&lt;/li&gt;
&lt;li&gt;Security Settings -&amp;gt; Local Policies -&amp;gt; Security Options&lt;/li&gt;
&lt;li&gt;Network access: Do not allow storage of passwords and credentials for network authentication setting should be Enabled.&lt;/li&gt;
&lt;/ul&gt;
Just FYI, the corresponding registry key for this setting can be found here:&lt;br /&gt;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa&lt;br /&gt;
Key Name: &lt;b&gt;disabledomaincreds&lt;/b&gt;&lt;br /&gt;
Current Key Value: &lt;b&gt;1&lt;/b&gt;&lt;br /&gt;
The value of “1” means that the policy is enabled. It must be “0”.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;strong&gt;NOTE:&lt;/strong&gt; If you change the registry value to “0”, you should be able to save the task. Do not make registry changes unless you are absolutely sure. Only use it for checking it this resolves the issue or not on a test machine. Actual resolution is to update the group policy and disable the security policy mentioned above. It will take care of this registry.&lt;br /&gt;
&lt;strong&gt;Disable the policy from domain controller and run a group policy update.&lt;/strong&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/7537850936682420246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/11/specified-logon-session-does-not-exist.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/7537850936682420246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/7537850936682420246'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/11/specified-logon-session-does-not-exist.html' title='A specified logon session does not exist. It may already have been terminated.'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-2777637870300314095</id><published>2011-11-07T02:43:00.000-08:00</published><updated>2015-06-02T06:57:35.291-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Crawling"/><category scheme="http://www.blogger.com/atom/ns#" term="Query"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Search"/><title type='text'>SharePoint 2010 - Crawling stuck, crawl component in &quot;Recovering&quot; state</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
From past few days we started this issue out of now where. The crawler is stuck. When we browse to the Search Administration page, we see that the Crawler component is stuck in &quot;&lt;b&gt;Recovering&lt;/b&gt;&quot; state and due to that Query component also reported a status as &quot;Not Responding&quot;. Propogation status was shown as &quot;&lt;b&gt;Query server not responding&lt;/b&gt;&quot;&lt;br /&gt;
&lt;br /&gt;
We checked the SharePoint logs and found errors as below&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;file copy failed (error 0x80070005: Access is denied. &amp;nbsp; 0x80070005, source c:\program files\microsoft office servers\14.0\data\office server\applications\GUID-crawl-0\projects\portal_content\indexer\cifiles\0001001A.ci, destination \\machinename\GUID-query-0\GUID-query-0\Projects\Portal_Content\Indexer\CiFiles\0000.0001001A.ci.cp) &amp;nbsp;[indexpropagator.cxx:403] &amp;nbsp;d:\office\source\search\native\ytrip\tripoli\propagation\indexpropagator.cxx

Exception thrown (0x80070005: [needs message] info 0) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [indexpropagator.cxx:409] &amp;nbsp;d:\office\source\search\native\ytrip\tripoli\propagation\indexpropagator.cxx
&lt;/pre&gt;
&lt;br /&gt;
In Event Viewer, we found Event ID: 2587 with the description that &quot;The following conditions are currently affecting index propogation to this server for search service application &quot;Service Application Name&quot;: 1. Query 0 has been disabled so that crawls can continue. It may be recovered via the Restart-SPEnterpriseSearchQueryComponent command in PowerShell&lt;br /&gt;
&lt;br /&gt;
The code - &lt;b&gt;0x80070005&lt;/b&gt; states that the access was denied and the account accessing the folder did not have permissions.&lt;br /&gt;
&lt;br /&gt;
I granted permissions for the service and crawler account on&lt;b&gt; c:\program files\microsoft office servers\14.0\data\office server\applications\&lt;/b&gt;&lt;br /&gt;
But this did not resolve the issue. This meant that apart from the location mentioned in the logs, the permission issue was somewhere else too. In such cases, process monitor does help. I took a &lt;a href=&quot;http://technet.microsoft.com/en-us/sysinternals/bb896645&quot;&gt;process monitor&lt;/a&gt; and found that there were errors related to permissions on &lt;b&gt;C:\ProgramData&lt;/b&gt; and few of its SharePoint subfolders. After granting the service and crawler account permission (Full Control) over the C:\ProgramData folder, the status of the components was not showing as &quot;Online&quot;.&lt;br /&gt;
&lt;br /&gt;
In case you face such errors, try giving permissions for the search service and crawler account (in case they are different) over the C:\ProgramData folder and check. If not, take help from &lt;a href=&quot;http://technet.microsoft.com/en-us/sysinternals/bb896645&quot;&gt;Process Monitor&lt;/a&gt; to find out where the permission issue is.&lt;br /&gt;
&lt;br /&gt;
Do not remove, add or restart any component unless you are absolutely sure that permissions or any of the below mentioned causes is not an issue.&lt;br /&gt;
&lt;br /&gt;
Few other things to verify:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Ensure that the search service is started. Open service manager (Start -&amp;gt; Run -&amp;gt; services.msc) and ensure that &quot;SharePoint Server Search 14&quot; is started.&lt;/li&gt;
&lt;li&gt;Re-enter the password for the service account for the service which you checked in the above step.&lt;/li&gt;
&lt;li&gt;Ensure that the search service instance is online by checking the same by using a powershell/stsadm command&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;stsadm -o osearch -action list&lt;/b&gt; &amp;nbsp;This will show if the search instance is online or not on the servers.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blogs.technet.com/b/patrick_heyde/archive/2009/12/07/sharepoint-2010-get-search-configuration-over-powershell.aspx&quot;&gt;http://blogs.technet.com/b/patrick_heyde/archive/2009/12/07/sharepoint-2010-get-search-configuration-over-powershell.aspx&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div&gt;
Update: Recently we noticed that restarting the server running the component would get the component back to &quot;Online&quot; state. Before restarting any services or running PowerShell cmdlet, try rebooting the server.&lt;/div&gt;
&lt;div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
     SyntaxHighlighter.all()
&lt;/script&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/2777637870300314095/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/11/sharepoint-2010-crawling-stuck-crawl.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/2777637870300314095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/2777637870300314095'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/11/sharepoint-2010-crawling-stuck-crawl.html' title='SharePoint 2010 - Crawling stuck, crawl component in &quot;Recovering&quot; state'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-1039460877891891412</id><published>2011-10-12T03:01:00.001-07:00</published><updated>2015-06-02T09:32:55.000-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="User Profile"/><category scheme="http://www.blogger.com/atom/ns#" term="User Profile Synchronization"/><title type='text'>SharePoint 2010: User Profile Service not starting, remains in Stopped state</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;Issue:&lt;/strong&gt;Not able to start User Profile Synchronization Service from “Services on Servers” page in Central Administration.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Symptoms:&lt;/strong&gt;You have created a User Profile Service Application and now would like the User profile synchronization service to start only on specific servers. So, you go to Central Administration –&amp;gt; Application Management –&amp;gt; Services on Server.&lt;br /&gt;
On this page, you try to start the “User Profile Synchronization Service”. It stalls on “Starting” state for a minute or two and then reverts back to “Stopped” state.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Error Messages(s):&lt;/strong&gt;When the status of the service returns to “Stopped” state following errors are logged in event viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;Log Name:      Application
Source:        Microsoft Resource Management Service
Date:          xx/xx/xxxx x:xx:xx xx
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer: xxxxxxxx
Description:
Service cannot be started. System.Data.SqlClient.SqlException: Could not find stored procedure &#39;RegisterService&#39;.
   at Microsoft.ResourceManagement.WindowsHostService.OnStart(String[] args)
   at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)


Log Name:      Application
Source:        Forefront Identity Manager
Date:          xx/xx/xxxx x:xx:xx xx
Event ID:      3
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xxxxxxxx
Description:
.Net SqlClient Data Provider: System.Data.SqlClient.SqlException: Could not find stored procedure &#39;RegisterService&#39;.
   at Microsoft.ResourceManagement.Utilities.ExceptionManager.ThrowException(Exception exception)
   at Microsoft.ResourceManagement.Data.Exception.DataAccessExceptionManager.ThrowException(SqlException innerException)
   at Microsoft.ResourceManagement.Data.DataAccess.RegisterService(String hostName)
   at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.RegisterService(String hostName)
   at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.Initialize()
   at Microsoft.ResourceManagement.WebServices.ResourceManagementServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
   at Microsoft.ResourceManagement.WindowsHostService.OnStart(String[] args)


Log Name:      Application
Source:        Microsoft.ResourceManagement.ServiceHealthSource
Date:          xx/xx/xxxx x:xx:xx xx
Event ID:      2
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xxxxxxxx
Description:
The Forefront Identity Manager Service could not bind to its endpoints.  This failure prevents clients from communicating with the Web services.

A most likely cause for the failure is another service, possibly another instance of Forefront Identity Manager Service, has already bound to the endpoint.  Another, less likely cause, is that the account under which the service runs does not have permission to bind to endpoints.

Ensure that no other processes have bound to that endpoint and that the service account has permission to bind endpoints.  Further, check the application configuration file to ensure the Forefront Identity Manager Service is binding to the correct endpoints.


Log Name:      Application
Source:        Microsoft.ResourceManagement.ServiceHealthSource
Date:          xx/xx/xxxx x:xx:xx xx
Event ID:      26
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xxxxxxxx
Description:
The Forefront Identity Manager Service was not able to initialize a timer necessary for supporting the execution of workflows.

Upon startup, the Forefront Identity Manager Service must initialize and set a timer to support workflow execution.  If this timer fails to get created, workflows will not run successfully and there is no recovery other than to stop and start the Forefront Identity Manager Service. Restart the Forefront Identity Manager Service.

&lt;/pre&gt;
&lt;br /&gt;
&lt;strong&gt;Cause:&lt;/strong&gt;Incorrect permissions and configuration of the account that is used to run the Profile Synchronization Service.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Resolution:&lt;/strong&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Add the account to local administrator’s group on the server where you are trying to start the service&lt;/li&gt;
&lt;li&gt;Restart the “SharePoint 2010 Timer Service” on the server.&lt;/li&gt;
&lt;li&gt;Ensure that you do not start the “Forefront Identity Manager” service manually. Although, if you want, you can change the service start up type to “Automatic (Delayed)”.&lt;/li&gt;
&lt;li&gt;Now, try to start the service from Central Administration –&amp;gt; Application Management –&amp;gt; Services on Server.&lt;/li&gt;
&lt;/ol&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
     SyntaxHighlighter.all()
&lt;/script&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/1039460877891891412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/10/user-profile-service-not-starting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/1039460877891891412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/1039460877891891412'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/10/user-profile-service-not-starting.html' title='SharePoint 2010: User Profile Service not starting, remains in Stopped state'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-8129489474568561219</id><published>2011-10-10T04:13:00.000-07:00</published><updated>2015-06-02T08:41:03.306-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Health Analyzer"/><category scheme="http://www.blogger.com/atom/ns#" term="Monitoring"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Health"/><title type='text'>SharePoint Health Analyzer - Common Issues</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;I have seen in many SharePoint Farm installations where these messages usually show up in Health Analyzer page. Following are some basic steps that can be taken to get rid of the error/warning messages.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;1- The server farm
account should not be used for other services.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;In the error
description, you will see the names of the web application or windows services
that is using the service account. Go to &lt;b&gt;Central Administration -&amp;gt; Security
-&amp;gt; Configure Service Accounts&lt;/b&gt;,&amp;nbsp;Select the proper web application nor windows
service and change the service account to an account which is not the system
account. If there is no other domain account other than system account, use the
Configure managed account page to register a new managed account.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;2- Web.config files are
not identical on all machines in the farm&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Use a file utility like
ExamDiff to check for differences in the web.config files. If the web.config
files do not match up, make sure that the web.config files are similar across
all the servers in the farm. Ensure you take a backup of the web.config files
before replacing any files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Then, you need to turn
“off” automatic repair in “Web.config files are not identical on all machines
in the farm” rule. This rule can be found in &lt;b&gt;Central Administration -&amp;gt;
Monitoring -&amp;gt; Health Analyzer Rule Definition -&amp;gt; under configuration
category&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc2O9ixkvUqVqad9_rsCyorjHPkHC33c3Ds-SxjJ8_mb2GgBuRv2b1eBQb-8Q4ib3GCw0H3jjiKgtG91kD0xz5xJhluLofiuVL9CzMmvvpXVAzZmmmeN6sXDxAOfUiK2Y-P011byZRW3g/s1600/WebconfigHealthAnalyzer.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc2O9ixkvUqVqad9_rsCyorjHPkHC33c3Ds-SxjJ8_mb2GgBuRv2b1eBQb-8Q4ib3GCw0H3jjiKgtG91kD0xz5xJhluLofiuVL9CzMmvvpXVAzZmmmeN6sXDxAOfUiK2Y-P011byZRW3g/s1600/WebconfigHealthAnalyzer.PNG&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: center;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;3- InfoPath Forms
Services forms cannot be filled out in a Web browser because no State Service
connection is configured&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;You will need to
configure the State Service by running the configuration wizard. Detailed
information can be found here -&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://technet.microsoft.com/en-us/library/ff805084.aspx&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://technet.microsoft.com/en-us/library/ff805084.aspx&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;4- Drives are running
out of free space.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Hard disk space is low
on SP servers mentioned in the warning message. The available disk space should
be at least or more than twice the amount of RAM installed on the machine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;Solution 1:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;Free disk space on the server computer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: .5in; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;1.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Verify that the user
account that is performing this procedure is a member of the Administrators
group on the local computer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: .5in; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;2.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Run the Disk Cleanup
tool to free disk space on the server computer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;Solution 2:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; Decrease the number of days to store log
files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: .5in; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;1.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Verify that the user
account that is performing this procedure is a member of the Farm
Administrators group.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: .5in; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;2.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;On the Central
Administration Home page, click Monitoring.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: .5in; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;3.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;On the Monitoring page,
in the Reporting section, click Configure diagnostic logging.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: .5in; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;4.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;On the Diagnostic
Logging page, in the Trace Log section, in the Number of days to store log
files box, type a smaller number.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: .5in; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;5.&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Click OK.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;Solution 3:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Add more disk space on the server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Reference:
&lt;a href=&quot;http://technet.microsoft.com/en-us/library/ff805057.aspx&quot;&gt;http://technet.microsoft.com/en-us/library/ff805057.aspx&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;5- Database has large
amounts of unused space.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Database files are
defragmented or have more storage allocated on disk than actually required.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Follow&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://support.microsoft.com/kb/307487/en-us&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://support.microsoft.com/kb/307487/en-us&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;to defragment the databases.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/8129489474568561219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/10/sharepoint-health-analyzer-common.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8129489474568561219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8129489474568561219'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/10/sharepoint-health-analyzer-common.html' title='SharePoint Health Analyzer - Common Issues'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc2O9ixkvUqVqad9_rsCyorjHPkHC33c3Ds-SxjJ8_mb2GgBuRv2b1eBQb-8Q4ib3GCw0H3jjiKgtG91kD0xz5xJhluLofiuVL9CzMmvvpXVAzZmmmeN6sXDxAOfUiK2Y-P011byZRW3g/s72-c/WebconfigHealthAnalyzer.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-8983303382690392925</id><published>2011-09-29T22:01:00.000-07:00</published><updated>2015-06-02T08:41:59.680-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="access request"/><category scheme="http://www.blogger.com/atom/ns#" term="permissions"/><category scheme="http://www.blogger.com/atom/ns#" term="powershell"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="site permissions"/><title type='text'>PowerShell script to update Access Request Email Address for multiple sites and webs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Yesterday I worked with one of my colleagues on a PowerShell script to update/change access request on all the sites/webs inside a web application. The requirement was to check if access request is enabled or not on a site. If yes, then update the access request email address to a specific email address. The script checks all the webs and sites inside the mentioned web application and then updates the access request email. My colleague has also blogged about this and the post can be found &lt;a href=&quot;http://intershell.blogspot.com/2011/09/sharepoint-access-request-email-address.html&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is access request email?&lt;/b&gt;&lt;br /&gt;
Consider a user tries to access a SharePoint site and gets &quot;Access Denied&quot; message. If access request are enabled on the site collection or web, then they will get similar screen like below.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7iyzh3e5WGwf8RGyh6XHIltFV0MYSwZHOl8oWefIL-xH9qSaUee-0Ll4jPEZvrd2TOUSs9c-YSsnfusRkpjNodpyKqa6OWnyKPE6CxyTxcxRTggM_LSfIjrPT5vp2aNIu-m-T82iYwlI/s1600/Access+Denied.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7iyzh3e5WGwf8RGyh6XHIltFV0MYSwZHOl8oWefIL-xH9qSaUee-0Ll4jPEZvrd2TOUSs9c-YSsnfusRkpjNodpyKqa6OWnyKPE6CxyTxcxRTggM_LSfIjrPT5vp2aNIu-m-T82iYwlI/s1600/Access+Denied.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
If the user clicks on the &quot;Request access&quot; link, an email is sent to the person (who is specified in the access request settings for the site). This person can then add the user and give appropriate permissions. This is useful, if the number of users is not known when setting up the SharePoint site.&lt;br /&gt;
&lt;br /&gt;
Access requests can be enabled on site (or web if the web have unique permissions) by navigating to Site Settings -&amp;gt; Site Permissions.&amp;nbsp;In the ribbon, an option to manage access request can be seen&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFXQzx3ozh_PRKhW5JloVEbyOT7Oau__2qTbYHkY51Mfj9UcXLRlmHqH1lwUCOtgNPwA2V9CKZB2VeRjPBksgnETtWL1r7R9Tn2mOiXrv4KvdeICAQvJhO_skjua-35xFj01AKSsKTEGw/s1600/manageAccessRequests.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFXQzx3ozh_PRKhW5JloVEbyOT7Oau__2qTbYHkY51Mfj9UcXLRlmHqH1lwUCOtgNPwA2V9CKZB2VeRjPBksgnETtWL1r7R9Tn2mOiXrv4KvdeICAQvJhO_skjua-35xFj01AKSsKTEGw/s1600/manageAccessRequests.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
In the next screen, you will see options to enable access requests and specify the email address.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE6j2dR42obkX8IxcVu3lEWLCjAlEfx12VtrkIOht6ysnE64rJRD24jb8U5k4paScZ7YUmlbXCQy9DFQiOLe173xrs98t7KL8sdtuivUdFq_ZucyxKukoxD-PZ1T7jDmzrH-Mrjv1Bk_A/s1600/manageAccessRequests2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE6j2dR42obkX8IxcVu3lEWLCjAlEfx12VtrkIOht6ysnE64rJRD24jb8U5k4paScZ7YUmlbXCQy9DFQiOLe173xrs98t7KL8sdtuivUdFq_ZucyxKukoxD-PZ1T7jDmzrH-Mrjv1Bk_A/s1600/manageAccessRequests2.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Now, consider that there are hundreds and thousands of site and webs (with unique permissions) and you need to update the email address for access requests. This would be a very tedious and time consuming task. Below is a script which will allow to update the access request email address for all the sites and webs in a single web application at once. The scripts iterates through all the sites (and webs inside the site) and checks if there are unique permissions or not. If not, then the web is skipped (because the access request settings are being inherited from the parent site). If yes, then the email address is updated.&lt;br /&gt;
&lt;br /&gt;
Replace the&lt;i&gt; &quot;URL of Web Application&quot; &lt;/i&gt;with your web application url. e.g. http://sharepointserver&lt;br /&gt;
and replace &lt;i&gt;&quot;Specify access request email here&quot;&lt;/i&gt; with the email address of the person who should manage the access requests.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;Add-PSSnapin Microsoft.SharePoint.Powershell
[System.Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.SharePoint&quot;)

$webapp =Get-SPWebApplication &quot;URL of Web Application&quot;
foreach($site in $webapp.Sites)
{
   foreach($web in $site.AllWebs)
   {
     if (!$web.HasUniquePerm)
      {
             Write-Host &quot;Access Request Settings is inherted from parent.&quot;
      }
       elseif($web.RequestAccessEnabled)
       {
            $web.RequestAccessEmail =&quot;Specify the access request email here&quot;
            $web.Update()
       }
       else
      {
            Write-Host &quot;Access Request Settings not enabled.&quot;
      }
   }
}
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;
Let me know if this helps or if there are any queries.&lt;/div&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
     SyntaxHighlighter.all()
&lt;/script&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/8983303382690392925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/powershell-script-to-change-access.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8983303382690392925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8983303382690392925'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/powershell-script-to-change-access.html' title='PowerShell script to update Access Request Email Address for multiple sites and webs'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7iyzh3e5WGwf8RGyh6XHIltFV0MYSwZHOl8oWefIL-xH9qSaUee-0Ll4jPEZvrd2TOUSs9c-YSsnfusRkpjNodpyKqa6OWnyKPE6CxyTxcxRTggM_LSfIjrPT5vp2aNIu-m-T82iYwlI/s72-c/Access+Denied.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-3658394740346072754</id><published>2011-09-27T02:12:00.000-07:00</published><updated>2015-06-02T08:42:52.782-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BLOB  Cache"/><category scheme="http://www.blogger.com/atom/ns#" term="Performance"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Topology"/><title type='text'>SharePoint BLOB Cache (Disk Based Caching) fundamentals</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;What is blob cache?&lt;/b&gt;&lt;br /&gt;
Blob Cache is a disk based caching mechanism for Binary Large Objects (BLOBs) which can be used with SharePoint sites to decrease response times for pages within a SharePoint site. It also helps reduce database load on SQL servers and network traffic between SharePoint and SQL servers. Binary Large Objects (BLOBs) such as images, videos and audio files, large code files are retrieved from the database and can be cached and stored in a directory on the web front end server(s). Thus, when a user requests for a page/file, SharePoint server can respond faster by returning the file from the server cache rather than making a round trip and retrieving the data from SQL server every time. BLOB caching can be enabled on Web Front End (WFE) servers.&lt;br /&gt;
&lt;br /&gt;
In SharePoint 2010, new the concept of byte-range requests is introduced which allows a user to select a later point in the video and being playback from that point. SharePoint also provides the concept of progressive caching, which starts streaming the video from the beginning of the large video file and the rest of the file is cached. Video files are also divided and retrieved in smaller sections to reduce load between the WFE and SQL servers. Administrators have the option to configured the size of these file sections.&lt;br /&gt;
&lt;br /&gt;
BLOB caching is mostly used in Internet facing (anonymous access) or with sites which have read-only documents (which are not modified on regular basis) and static content. We can specify the files e.g. documents, images, etc to be cached on the server so that the response time decreases.&lt;br /&gt;
&lt;br /&gt;
BLOB cache is usually stored in a directory on the web front end servers on the drive where SharePoint is installed. We need to ensure that the drive has sufficient space where the files will be stored. The location of BLOB cache can be set as per our requirement.&lt;br /&gt;
To enable BLOB cache on WFE servers, we need to configure the web.config file for the web applications. By default, disk based BLOB caching is turned off and must be enabled on front end web servers. In the web.config file of the web application, we will see a code line as&lt;br /&gt;
&lt;br /&gt;
&amp;lt;BlobCache location=&quot;&quot; path=&quot;\.(gif|jpg|jpeg|jpe|jfif|bmp|dib|tif|tiff|ico|png|wdp|hdp|css|js|asf|avi|flv|m4v|mov|mp3|mp4|mpeg|mpg|rm|rmvb|wma|wmv)$&quot; maxSize=&quot;10&quot; enabled=&quot;false&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
In this line, change the enabled attribute from “false” to “true”. If needed specify the location where the files need to be stored and the type of files which need to be cached. To add or remove the file types from the list of file types to be cached, for the path attribute, modify the regular expressions to include or remove the appropriate file extension. Size of the cache can also be specified. The default is set to 10 GB under the “maxSize” attribute.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Additionally, if the product is SharePoint Server 2010, we can enable “SharePoint Server Publishing Infrastructure” at the site collection level where we need to use Object caching. &amp;nbsp;Once the Publishing feature is enabled on the site, we can then enable Object caching by navigating to site settings -&amp;gt; Site Collection Object Cache.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Advantages of BLOB Cache&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Disk based caching is extremely fast. Decrease in response time.&lt;/li&gt;
&lt;li&gt;Eliminates the need for round trips between database and SharePoint servers for every request.&lt;/li&gt;
&lt;li&gt;Security trimmed caching.&lt;/li&gt;
&lt;li&gt;Can specify which files to be cached and can also restrict the types of files which need not be cached.&lt;/li&gt;
&lt;li&gt;Setting BLOB cache for one web application does not affect performance of other web applications which do not have BLOB cache configured.&lt;/li&gt;
&lt;li&gt;The files are cached on the server only if it is requested for the first time on that WFE. Thus, only the required files are cached and each WFE maintains its local copy of cache.&lt;/li&gt;
&lt;li&gt;Each server uses less CPU time and energy to serve the same page after the initial rendering.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b&gt;Disadvantage of BLOB Cache&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;The site’s performance is temporarily affected while the files to be cached are first written on the disk.&lt;/li&gt;
&lt;li&gt;BLOB caching can only be configured at web application level. There is one BLOB cache per web application. Hence, if there are two different site collections – one of which contains static (needs BLOB caching) and other dynamic (does not need BLOB caching), then we need to separate the two site collections and store them in two different web application.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;In some scenarios where the files are large in size and number, BLOB caching may require lot of hard disk space and hence may need additional hard ware to accommodate the files.&amp;nbsp;We need to use a hard drive which has sufficient space and which will be used by few processes as possible to avoid conflicts during cache retrieval.&lt;/li&gt;
&lt;li&gt;As each WFE maintains it own copy of cache, the information (about which files need to be cached) is not synchronized. Thus, if WFE1 has “file1.jpg” cached but if WFE2 gets the request for that same file, WFE2 will make a round trip to SQL to fetch the file for the first time. It is not aware that the file is cached on WFE1.&lt;/li&gt;
&lt;li&gt;Also, as the data is not synchronized, there are chances that each server can have different copies of the file and upon request the end user might see two different files.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;In case few of the files are corrupted, we may need to reset the entire index file on WFE server and rebuild the cache.&lt;/li&gt;
&lt;li&gt;BLOB caching works only for items stored in document libraries on SharePoint site.&lt;/li&gt;
&lt;li&gt;BLOB caching cannot be used with Web Applications that use Web Gardening.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b&gt;Performance:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Let us test the performance with and without blob cache.&amp;nbsp;The performance of the page also depends on the amount of media and content (that is cached on the server) present on the page. If the content cached is more, then the performance improvement can be seen very easily. If there are lesser image or media files, then the performance improvement might go unnoticed.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
e.g. Following are the page load time for a test page on SharePoint site. The page contains a image file – “SharePointDeveloperToolbar.jpg”. The following data considers the time taken for the file to load before and after the blob cache settings.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Page load time with blob cache&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAEDi3SGBSx6tq53LEWr9obBbBFt_jNpCQwBtoXZ8EwV1Rd7Cp9cDpEe4zWbNNN9MmcHvn1eaoTr-oz2RVJ1s4m9aGB0j1-bJ41sQhGCHbi3pvuCY-Wm_t9MnE0l2JzvH4Ookrpbqeyao/s1600/LoadTimesWithblobcache.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAEDi3SGBSx6tq53LEWr9obBbBFt_jNpCQwBtoXZ8EwV1Rd7Cp9cDpEe4zWbNNN9MmcHvn1eaoTr-oz2RVJ1s4m9aGB0j1-bJ41sQhGCHbi3pvuCY-Wm_t9MnE0l2JzvH4Ookrpbqeyao/s1600/LoadTimesWithblobcache.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Approximately 0.015 seconds for that single image file.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Page load time without blob cache&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcnFVEEynn0fPImMNDiRgapbzNn1EY7ultlPVOmGxAy18pSAbjUqNT_9Axi78saQ59hPqYx62GEIOEqbfQ3IFoz7t-_mxhS6lGEDw5Bsx3RwhhGKVvAIItgdl4-nkeEWMuucEDW29VKrA/s1600/LoadTimesWithoutblobcache.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcnFVEEynn0fPImMNDiRgapbzNn1EY7ultlPVOmGxAy18pSAbjUqNT_9Axi78saQ59hPqYx62GEIOEqbfQ3IFoz7t-_mxhS6lGEDw5Bsx3RwhhGKVvAIItgdl4-nkeEWMuucEDW29VKrA/s1600/LoadTimesWithoutblobcache.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Approximately 0.031 seconds for the same image file.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
The above is only for one single image file on the page. If we consider all the media elements on the page, then the difference can be seen easily.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/3658394740346072754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/sharepoint-blob-cache-disk-based.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/3658394740346072754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/3658394740346072754'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/sharepoint-blob-cache-disk-based.html' title='SharePoint BLOB Cache (Disk Based Caching) fundamentals'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAEDi3SGBSx6tq53LEWr9obBbBFt_jNpCQwBtoXZ8EwV1Rd7Cp9cDpEe4zWbNNN9MmcHvn1eaoTr-oz2RVJ1s4m9aGB0j1-bJ41sQhGCHbi3pvuCY-Wm_t9MnE0l2JzvH4Ookrpbqeyao/s72-c/LoadTimesWithblobcache.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-8405433282867784388</id><published>2011-09-23T08:15:00.000-07:00</published><updated>2015-06-02T08:43:48.078-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="active directory"/><category scheme="http://www.blogger.com/atom/ns#" term="communication"/><category scheme="http://www.blogger.com/atom/ns#" term="firewall"/><category scheme="http://www.blogger.com/atom/ns#" term="ISA"/><category scheme="http://www.blogger.com/atom/ns#" term="people picker"/><category scheme="http://www.blogger.com/atom/ns#" term="port"/><category scheme="http://www.blogger.com/atom/ns#" term="Protocol"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>SharePoint People Picker and Active Directory</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Introduction:&lt;/b&gt;&lt;br /&gt;
SharePoint People Picker enables end users to enter either 
username or part of the username/display name and have the input resolved 
against a source that is holding user information (mostly active directory, but 
we can also use other directory sources).&lt;br /&gt;
Following is the screenshot of how a people picker page looks in SharePoint 
2010.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5_USSt6zbs60iPuy5ydNYjK9JZWCWq2Hp0TpAGBwqd51-h22QgMTRle70I8rpXcxemrocDSF9lJqjFhQSAh53EG85FteY1yFsUzv0mhI2x5qLJmlGKhyphenhyphenxI1BIGp3PHZpFiQy0_nIUmKw/s1600/PeoplePicker.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5_USSt6zbs60iPuy5ydNYjK9JZWCWq2Hp0TpAGBwqd51-h22QgMTRle70I8rpXcxemrocDSF9lJqjFhQSAh53EG85FteY1yFsUzv0mhI2x5qLJmlGKhyphenhyphenxI1BIGp3PHZpFiQy0_nIUmKw/s400/PeoplePicker.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Note: The following part of the article considers that SharePoint Picker People is using classic (Windows Integrated Authentication). When SharePoint People Picker uses classic authentication method, we can use stsadm setproperty commands. If the web application is using Claims based authentication, then stsadm setproperty commands would not cause any effect on the configuration.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;How people picker works:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Following is the sequence of activities that occur when you try to search for a user in people picker&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;User submits a query in people picker&lt;/li&gt;
&lt;li&gt;The query is sent to one of the Web Front End (WFE) servers. The server which is handling the request performs a lookup in DNS for the domain controller server holding the Global Catalog Service.&lt;/li&gt;
&lt;li&gt;DNS returns the I.P. address of the domain controller holding GC. SharePoint will use any random port on it’s server and connect to the Domain controller server on port 3268. Port 3268 is the LDAP over TCP port used by Global Catalog service.&lt;/li&gt;
&lt;li&gt;SharePoint will initially ask for some information from DC which will let SharePoint know the authentication mechanism that is supported, LDAP capabilities, end points, etc.&lt;/li&gt;
&lt;li&gt;If the Active Directory requests for authentication, SharePoint will use the web application’s application pool account to send a LDAP query.&lt;/li&gt;
&lt;li&gt;SharePoint will now send a LDAP query (for the username which the user requested) to the DC server. The query is created using “System.DirectoryServices” namespace. If the server is a standalone installation and the application pool is running under Local system or Network Service, then DOMAIN\MACHINE_NAME will be used for authentication. Once username is found in the directory, Windows APIs will return the SID of the user. Using the SID, further information about the user is retrieved from the Active Directory.&lt;/li&gt;
&lt;li&gt;DC sends the response back to the SharePoint server. &amp;nbsp;System.DirectoryServices uses “DirectorySearcher” object to formulate the search response. A “SearchResultContainer” object is sent containing “SearchResults” which were returned by the “FindAll” method.&lt;br /&gt;Refer: http://msdn.microsoft.com/en-us/library/ms180881(VS.90).aspx&lt;/li&gt;
&lt;li&gt;The information is parsed and displayed in People Picker.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
We know now that SharePoint initially queries DNS and then communicates with the Domain Controller holding GC to get the details of the user. For the communication to happen successfully, we need to ensure that the following ports are open between SharePoint and Domain controller (holding GC).&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;On SharePoint Server:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;TCP/UDP 135, 137, 138, 139 (RPC)&lt;/li&gt;
&lt;li&gt;TCP/UDP 389 (LDAP default port)&lt;/li&gt;
&lt;li&gt;TCP 636 (LDAP SSL default port)&lt;/li&gt;
&lt;li&gt;TCP/UDP 53 (DNS)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;TCP/UDP 88 (Kerberos)&lt;/li&gt;
&lt;li&gt;UDP 464 (Kerberos Change Password)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;On Domain Controller:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;TCP/UDP 135 (RPC)&lt;/li&gt;
&lt;li&gt;TCP/UDP 389 &amp;nbsp;(LDAP default port)&lt;/li&gt;
&lt;li&gt;TCP 636 (LDAP SSL default port)&lt;/li&gt;
&lt;li&gt;TCP 3268 (LDAP Global Catalog)&lt;/li&gt;
&lt;li&gt;TCP 3269 (LDAP SSL Global Catalog)&lt;/li&gt;
&lt;li&gt;TCP/UDP 88 (Kerberos)&lt;/li&gt;
&lt;li&gt;TCP/UDP 53 (DNS)&lt;/li&gt;
&lt;li&gt;TCP/UDP 445 (Directory Services)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Following ports are optional&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;TCP/UDP 749 (Kerberos-Adm)&lt;/li&gt;
&lt;li&gt;TCP port 750 (Kerberos-IV)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
If people picker is pulling up users from another domain, then to support the communication between domains inside the corporate network requires at least a one-way trust relationship in which the perimeter network trusts the corporate network.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
On the other domain controller (or if the communication occurs through ISA), the following ports are required to be kept open for inbound connections in the DC/ISA server.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;TCP/UDP 135 (RPC)&lt;/li&gt;
&lt;li&gt;TCP/UDP 389 (LDAP default port)&lt;/li&gt;
&lt;li&gt;TCP 636 (LDAP SSL default port)&lt;/li&gt;
&lt;li&gt;TCP 3268 (LDAP Global Catalog)&lt;/li&gt;
&lt;li&gt;TCP 3269 (LDAP SSL Global Catalog)&lt;/li&gt;
&lt;li&gt;TCP/UDP 53 (DNS)&lt;/li&gt;
&lt;li&gt;TCP/UDP 88 (Kerberos)&lt;/li&gt;
&lt;li&gt;TCP/UDP 445 (Directory Services)&lt;br /&gt;&lt;br /&gt;Optional Ports:&lt;/li&gt;
&lt;li&gt;TCP/UDP 749 (Kerberos-Adm)&lt;/li&gt;
&lt;li&gt;TCP port 750 (Kerberos-IV)&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
In case of any queries, please feel free to drop a comment and I will respond back.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/8405433282867784388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/sharepoint-people-picker-and-active.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8405433282867784388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8405433282867784388'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/sharepoint-people-picker-and-active.html' title='SharePoint People Picker and Active Directory'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5_USSt6zbs60iPuy5ydNYjK9JZWCWq2Hp0TpAGBwqd51-h22QgMTRle70I8rpXcxemrocDSF9lJqjFhQSAh53EG85FteY1yFsUzv0mhI2x5qLJmlGKhyphenhyphenxI1BIGp3PHZpFiQy0_nIUmKw/s72-c/PeoplePicker.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-2719117227836702274</id><published>2011-09-21T04:01:00.000-07:00</published><updated>2012-01-27T10:45:45.780-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="webinar"/><title type='text'>When was the last you felt like an expert on SharePoint?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Microsoft is presenting the ESP Live Webcast Series, conducted by Subject Matter Experts from Microsoft, to educate you about the advantages that you might be missing out on.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
1. SharePoint Architecture - Services Stack&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
The first webcast, on 19th September, will take you through SharePoint Architecture - Services Stack, introducing you to the various services SharePoint Server 2010 offers. Some of the key topics that we will talk about include:&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Access Services&lt;/li&gt;
&lt;li&gt;Dashboards&lt;/li&gt;
&lt;li&gt;Enterprise Content Management&lt;/li&gt;
&lt;li&gt;Enterprise Search&lt;/li&gt;
&lt;li&gt;Excel Service&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
2. SharePoint Architecture - Farm Deployment&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
The second webcast, on 21st September, will be on SharePoint Architecture - Farm Deployment, introducing you to the overall elements that comprise a SharePoint farm and how administrators can leverage interfaces to manage their farm. Topics we will cover in the webcast are:&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Farm Topology&lt;/li&gt;
&lt;li&gt;Load Balancing Servers&lt;/li&gt;
&lt;li&gt;Planning Availability&lt;/li&gt;
&lt;li&gt;Disaster Recovery&lt;/li&gt;
&lt;li&gt;Service Applications&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://click.email.microsoftemail.com/?qs=9131b2edc17ca38174fcf25a674badee59d7d3f5a570af3728ef31cf9b4682aaf61fb584a907ea39&quot;&gt;Click here to register for the webcast on 21st September&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/2719117227836702274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/when-was-last-you-felt-like-expert-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/2719117227836702274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/2719117227836702274'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/when-was-last-you-felt-like-expert-on.html' title='When was the last you felt like an expert on SharePoint?'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-2363830061894565117</id><published>2011-09-21T02:09:00.000-07:00</published><updated>2015-06-02T08:46:16.914-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="export"/><category scheme="http://www.blogger.com/atom/ns#" term="import"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Visio"/><category scheme="http://www.blogger.com/atom/ns#" term="Visio 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Visio Graphic Service"/><category scheme="http://www.blogger.com/atom/ns#" term="workflow"/><title type='text'>Designing and Creating Workflows with Visio 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
One of the biggest challenges in implementing a successful workflow is not becoming an expert in coding/creating a custom workflow but to design it as per the requirement of user or business needs. Typically, a consultant would talk to business users, understand business process and then design the workflow. This design is then handed over to SharePoint professionals to implement on SharePoint.&lt;br /&gt;
&lt;br /&gt;
Visio makes the task of analyzing the requirement and actually putting it down on paper. We can draw diagrams, create flowcharts for workflows and the best part is that now, we can export the workflow in .vwi format (Visio Workflow Interchange) and then import it in SharePoint Designer 2010. Thus, a consultant or a business power user can create Visio diagrams for the workflow and SharePoint professionals can easily import them in SharePoint Designer 2010 and implement it on lists/sites.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Creating a workflow using Visio 2010:&lt;/b&gt;&lt;br /&gt;
Visio 2010 provides us with specific workflow templates that can be directly imported in SharePoint Designer 2010.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXYRH0uSKGXVFdpy8Z34DbfrGppabH7mM7cc7gMflChIkafBuUoihyW2FtRnrFSoLwa9TLvwIMYtuizMBypSK64mOPTukmj-JQz76BJGpPGhfxglNj5aF__f7OzhjFk-MNcngRjxWcByA/s1600/ImportVisioDiagram.png&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXYRH0uSKGXVFdpy8Z34DbfrGppabH7mM7cc7gMflChIkafBuUoihyW2FtRnrFSoLwa9TLvwIMYtuizMBypSK64mOPTukmj-JQz76BJGpPGhfxglNj5aF__f7OzhjFk-MNcngRjxWcByA/s1600/ImportVisioDiagram.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
When we select “SharePoint Workflow” template in Visio, we can see that there is a set of shapes available. These shapes relate to the actions and conditions in SharePoint Designer 2010.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFWptpNYJqLUV9I3lyTSpZ8dlutfsctk0iMkSaynTh5Ah6vhjEKGHtIrzIfG8PyvuzLP7s2p4wkI1Ak7G7XCtkq3cx6C54dCTDmQ6WsRLpEC1EJhKCvlNHvhvB4gWb2YMT_8A75HafKz8/s1600/VisioSharePointActions.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFWptpNYJqLUV9I3lyTSpZ8dlutfsctk0iMkSaynTh5Ah6vhjEKGHtIrzIfG8PyvuzLP7s2p4wkI1Ak7G7XCtkq3cx6C54dCTDmQ6WsRLpEC1EJhKCvlNHvhvB4gWb2YMT_8A75HafKz8/s1600/VisioSharePointActions.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Use this template and create a workflow diagram as per your business requirement. Once the diagram is done, Click on “Export the diagram” from “Process” tab in Visio. This will check the file for any errors and export the file and save it as a .vwi format file.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgevMlfKc5z8Pc20SskMm5u8u2fIAFBNc-HnIvmIaUOrhSNO_zQNK2Qlhx4ZaR7Qf0wXZ4kljSdo0Fm7-6Y4ggCDRGLU1iqd3mcIoGuv2NftrXTfW7Ji1M_W7-5S7WhciiWb0aR3C0bc3E/s1600/ExportVisioDiagram.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgevMlfKc5z8Pc20SskMm5u8u2fIAFBNc-HnIvmIaUOrhSNO_zQNK2Qlhx4ZaR7Qf0wXZ4kljSdo0Fm7-6Y4ggCDRGLU1iqd3mcIoGuv2NftrXTfW7Ji1M_W7-5S7WhciiWb0aR3C0bc3E/s1600/ExportVisioDiagram.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Importing the workflow diagram in SharePoint Designer 2010:&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Open SharePoint Designer 2010 and open the site/list where you would like to associate the workflow. Under the workflow tab, you can see the button for Importing the workflow from a Visio document.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXYRH0uSKGXVFdpy8Z34DbfrGppabH7mM7cc7gMflChIkafBuUoihyW2FtRnrFSoLwa9TLvwIMYtuizMBypSK64mOPTukmj-JQz76BJGpPGhfxglNj5aF__f7OzhjFk-MNcngRjxWcByA/s1600/ImportVisioDiagram.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXYRH0uSKGXVFdpy8Z34DbfrGppabH7mM7cc7gMflChIkafBuUoihyW2FtRnrFSoLwa9TLvwIMYtuizMBypSK64mOPTukmj-JQz76BJGpPGhfxglNj5aF__f7OzhjFk-MNcngRjxWcByA/s1600/ImportVisioDiagram.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Once the workflow is imported, it can be further customized or details can be added. You can then publish the workflow on the required list/site.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/2363830061894565117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/designing-and-creating-workflows-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/2363830061894565117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/2363830061894565117'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/designing-and-creating-workflows-with.html' title='Designing and Creating Workflows with Visio 2010'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXYRH0uSKGXVFdpy8Z34DbfrGppabH7mM7cc7gMflChIkafBuUoihyW2FtRnrFSoLwa9TLvwIMYtuizMBypSK64mOPTukmj-JQz76BJGpPGhfxglNj5aF__f7OzhjFk-MNcngRjxWcByA/s72-c/ImportVisioDiagram.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-7635225206550870187</id><published>2011-09-20T02:21:00.000-07:00</published><updated>2015-08-13T12:56:54.272-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Exclusion"/><category scheme="http://www.blogger.com/atom/ns#" term="Inclusion"/><category scheme="http://www.blogger.com/atom/ns#" term="Keywords"/><category scheme="http://www.blogger.com/atom/ns#" term="Prefix Matching"/><category scheme="http://www.blogger.com/atom/ns#" term="Property Filter"/><category scheme="http://www.blogger.com/atom/ns#" term="Query"/><category scheme="http://www.blogger.com/atom/ns#" term="Search"/><category scheme="http://www.blogger.com/atom/ns#" term="Search Alerts"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>How to carry out effective and efficient SharePoint searches</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
I have to admit. When I think about search, the first thing that comes to my mind is “Google” (or some people may even think about Bing or other search engines). Google has made searching very easy and very “fast”. And it has also made other search sites and tools look equally dumb and useless. So, an end user will open Google in one tab of the browser and SharePoint search page on another and type a query and compare the results. I am sure the person will be amazed by Google’s response time. But that does not mean that SharePoint search is weak and does not perform.&lt;br /&gt;
&lt;br /&gt;
Users have to understand that there is a vast difference between Google’s infrastructure and the infrastructure of the organization they work in. Their own organization is hosting SharePoint for them (or sometimes may be it is hosted by another organization, but the point is that the infrastructure is still smaller than Google’s). So, the server capacity is limited, bandwidth is limited and storage is limited. Still, SharePoint manages to give results by just taking a little extra seconds than Google. So, I think that is commendable job from SharePoint’s point of view.&lt;br /&gt;
&lt;br /&gt;
For all those who still do not like to search on SharePoint site, here are few tips that can help you get the results your are looking for in the first instance of your try. Try any or combine these tips below to narrow down the result set and get the results easily and in your first try.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Using Keywords:&lt;/b&gt;&lt;br /&gt;
Keywords are the basis of searching something. Consider you want to search for a H.R. document whose title is “Company HR Policies”. So, you can search for &lt;b&gt;Policy&lt;/b&gt;. Searching with a single word may not give you the results.You can use phrase – &lt;b&gt;Company HR Policy&lt;/b&gt;. SharePoint will now search for either &lt;b&gt;Company&lt;/b&gt; or &lt;b&gt;HR&lt;/b&gt; or &lt;b&gt;Policy&lt;/b&gt; and return documents and items that contain any of these words. Exact phrases can &amp;nbsp;also be used like “&lt;b&gt;Company HR Policy&lt;/b&gt;” (by specifying the quotation mark). This will search for exactly the phrase you have typed and in this case, you might get the first result as the document you were looking for. So, if you know the filename and want to search for it, use exact full phrases rather than loosely typed pieces of words.&lt;br /&gt;
&lt;br /&gt;
But what if you do not know the filename but do know who wrote the document or what type of file it is. In such cases, Property Filters can be used&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Property Filters:&lt;/b&gt;&lt;br /&gt;
When property filters are used while searching for content, SharePoint will limit the result set based on the matches between the data provided by you and the metadata properties of the file/item indexed by SharePoint.&lt;br /&gt;
&lt;br /&gt;
e.g. You know that the document is written by a person named “Amol Ghanwat”, then following are few examples how you can use to search it.&lt;br /&gt;
&lt;br /&gt;
author:Amol&lt;br /&gt;
author:”Amol Ghanwat”&lt;br /&gt;
author:”domain\username”&lt;br /&gt;
&lt;br /&gt;
Note the use of quotation mark when multiple words are used.&lt;br /&gt;
&lt;br /&gt;
In case you know the file type, you can search for document and limit the result set for those file type(s). e.g. if you are searching for Excel 2007/2010 file types, following query will yield only Excel files&lt;br /&gt;
&lt;br /&gt;
filetype:xlsx&lt;br /&gt;
&lt;br /&gt;
So, I mentioned earlier that you may not know the name of the document. But what if you know only a certain part of the filename or some other attribute. Prefix matching can be used to search for content for which you have incomplete information.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Prefix Matching:&lt;/b&gt;&lt;br /&gt;
You know that the file name starts with something like “Share….” but do not know the rest of the name. You can simply search for “&lt;b&gt;Share*&lt;/b&gt;” (using the asterisk “&lt;b&gt;*&lt;/b&gt;” symbol) and the search would return documents/item starting with “Share” e.g. SharePoint, ShareBook, etc.&lt;br /&gt;
&lt;br /&gt;
Prefix matching can be used with property filters. e.g. You know that the content was written by a person whose name start with “Am” but do not know the last name, simply search for &lt;b&gt;author:Am*&lt;/b&gt; and it would return documents with authors whose name start with “Am”&lt;br /&gt;
&lt;br /&gt;
Note: As the name applies, “*” symbol can be used only as shown above. If you try to search something like “*Point” it will not return “SharePoint” in results. This is because wildcard characters are allowed only a&lt;br /&gt;
t the end when using SharePoint search.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Inclusions and Exclusions:&lt;/b&gt;&lt;br /&gt;
You are searching for a travel catalog and would like to find information about “Paris”, you can use inclusions as -&amp;nbsp;&lt;b&gt;Catalog + Paris&lt;/b&gt; or&amp;nbsp;&lt;b&gt;”Travel Catalog” + Paris&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This will ensure that the documents with “Catalog” or “Travel Catalog” with “Paris” are returned.&lt;br /&gt;
&lt;br /&gt;
Similarly, if you would like that documents with “XYZPlace” in its name should not be returned, then we can query as -&amp;nbsp;&lt;b&gt;Catalog – XYZPlace&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Boolean Expressions:&lt;/b&gt;&lt;br /&gt;
If there are multiple words or phrases in your query, you can use OR AND operations. e.g. If you want to search for a restaurant with the name ABC, you can search as&amp;nbsp;&lt;b&gt;restaurant AND ABC&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Numeric Expressions:&lt;/b&gt;&lt;br /&gt;
Lets consider that you are an account executive and would like to search for accounts whose balance is less than 1000. In such cases, you are use Numerical Operators to compare values from SharePoint list/library/site columns.&amp;nbsp;e.g. &lt;b&gt;Accounts &amp;lt; 1000&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Note that if Accounts is a custom column, your SharePoint site owner or administrator might have to request for this column to be mapped to metadata properties and crawled. If the metadata mapping is not done, then Numeric expressions will not yield correct results. Also, metadata mapping affects property filters.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Search Alerts&lt;/b&gt;&lt;br /&gt;
If you search for something very frequently and the main purpose of the search is to track which documents are added, removed, updated, etc, then you are use Search Alerts. When you search for something, the result page will contain links for &lt;b&gt;Alert Me&lt;/b&gt; and &lt;b&gt;RSS&lt;/b&gt;. Use any one of the links to keep yourself updated. e.g. If “ABC” was the first search result that used to come and after few days, “XYZ” relevance increases, it will show up first. Or a document named “PQR” was added and showed up in the search results. All these changes are summarized and sent across to you as RSS feed or as an email.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/7635225206550870187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/how-to-carry-out-effective-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/7635225206550870187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/7635225206550870187'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/how-to-carry-out-effective-and.html' title='How to carry out effective and efficient SharePoint searches'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-232504003773692095</id><published>2011-09-19T04:04:00.000-07:00</published><updated>2015-06-02T08:51:51.449-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SCOM"/><category scheme="http://www.blogger.com/atom/ns#" term="SCOM 2007"/><category scheme="http://www.blogger.com/atom/ns#" term="SCOM Manager"/><category scheme="http://www.blogger.com/atom/ns#" term="SDK"/><category scheme="http://www.blogger.com/atom/ns#" term="SDK Service"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SPN"/><category scheme="http://www.blogger.com/atom/ns#" term="Systems Center Operation Manager"/><category scheme="http://www.blogger.com/atom/ns#" term="TCP IP"/><title type='text'>The sdk service is either not running or not yet initialized</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I would like to bring out some points which can be used to troubleshoot issue related to System Center Operation Manager 2007 R2 SDK Service. You may get the below mentioned error while opening SCOM console, or on other services or applications (like SharePoint) where this data is being utilized. The problem lies with the SCOM server&#39;s sdk (System Center Data Access) service.&lt;br /&gt;
&lt;br /&gt;
To analyze the issue further, we will need to reproduce the issue and check “Operations Manager” logs from event viewer on SCOM server. &lt;br /&gt;
&lt;br /&gt;
Following are few possibilities/cause of the issue -&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;If any of the following service is stopped.&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;System Center Management (Health)&lt;/li&gt;
&lt;li&gt;System Center Data Access (SDK)&lt;/li&gt;
&lt;li&gt;System Center Configuration (Config service)&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;If any of the above service is stopped, please start the service.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Re-enter the password for the identity of above services and restart the service.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;In case we are getting an error while starting the service, the reason might one of the reasons mentioned below&lt;/li&gt;
&lt;/ol&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Incorrect SPN set for the account that is running the System Center Data Access (OpsMgr SDK) service. Need to find out what SPNs are set for the account and rule out any possibility of incorrect SPNs.&lt;/li&gt;
&lt;li&gt;If SCOM is running on Windows 2003 SP1 and uses SQL 2005, we can also check the “SynAttackProtect” TCP registry as mentioned in the blog article below: &lt;a href=&quot;http://blogs.msdn.com/b/sql_protocols/archive/2006/04/12/574608.aspx&quot;&gt;http://blogs.msdn.com/b/sql_protocols/archive/2006/04/12/574608.aspx&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Before making the above registry change, we need to ensure that we are getting System.Data.SQLClient.SQLException from Operations Manager event viewer logs. Event ID: 26380&lt;/li&gt;
&lt;li&gt;If System Center Operations Manger 2007 R2 Authoring console is installed on System Center Operations Manager 2007 SP1 RMS or if there are errors related to assembly in event viewer, please check this article: &lt;a href=&quot;http://support.microsoft.com/kb/2526827&quot;&gt;http://support.microsoft.com/kb/2526827&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Verify if the port numbers are same across the following registry key and SQL Server configuration manager settings for the SQL instance.&lt;/li&gt;
&lt;li&gt;Registry Key Location: HKLM\Software\Microsoft\Microsoft Operations Manager\3.0\Setup\&lt;br /&gt;Check the “DatabaseServerName” key information.&lt;br /&gt;Match it with the port number specified in SQL Configuration manager for SQL instance. Both should be same.&lt;br /&gt;Related: &lt;a href=&quot;http://support.microsoft.com/kb/2002620&quot;&gt;http://support.microsoft.com/kb/2002620&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Ensure that we are able to open SCOM Console on SCOM server.&lt;/li&gt;
&lt;li&gt;Check for any handler or access denied errors in event viewer. If yes, then the SDK account might not have permissions on “Services Configuration” or SCOM installation directory.If starting a sdk service gives time out error, we can consider increasing the timeout for the sdk service – &lt;a href=&quot;http://support.microsoft.com/kb/922918&quot;&gt;http://support.microsoft.com/kb/922918&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/232504003773692095/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/sdk-service-is-either-not-running-or.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/232504003773692095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/232504003773692095'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/sdk-service-is-either-not-running-or.html' title='The sdk service is either not running or not yet initialized'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-1369894811148434141</id><published>2011-09-19T02:54:00.000-07:00</published><updated>2011-09-29T22:30:19.504-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lifecyle"/><category scheme="http://www.blogger.com/atom/ns#" term="News"/><category scheme="http://www.blogger.com/atom/ns#" term="Support"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows XP"/><title type='text'>Windows XP lifecycle to end in April 2014</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The most successful Microsoft OS - Windows XP life-cycle should get over in April 2014 as per the statement from Kevin Turner.&lt;br /&gt;
&lt;br /&gt;
&quot;We are end-of-lifing XP and Office 2003 and everything prior, in April 2014,&quot; said Kevin Turner, Microsoft&#39;s chief operating officer, during a meeting with financial analysts Wednesday. &quot;So for all those companies that have the old products that haven&#39;t quite started the refresh, guess what? This has been a great product, XP has been a wonderful product; great TCO has been given. It&#39;s now time for it to go.&quot;&lt;br /&gt;
&lt;br /&gt;
Read more - &lt;a href=&quot;http://www.informationweek.com/news/windows/microsoft_news/231601604&quot;&gt;http://www.informationweek.com/news/windows/microsoft_news/231601604&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/1369894811148434141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/windows-xp-lifecycle-to-end-in-april.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/1369894811148434141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/1369894811148434141'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/windows-xp-lifecycle-to-end-in-april.html' title='Windows XP lifecycle to end in April 2014'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-6896951535562606666</id><published>2011-09-16T02:30:00.001-07:00</published><updated>2015-06-02T08:57:50.098-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Batch"/><category scheme="http://www.blogger.com/atom/ns#" term="Command Prompt"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Batch file to delete files older than 2 minutes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Specify the directory where the files are located, save the file as .bat (batch) file and run it. When you run it, it will delete all the files which are older than 2 minutes &lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;
@echo off
cd &quot;Directory where files need to be deleted&quot;
setlocal
call :DateToMinutes %date:~-4% %date:~-10,2% %date:~-7,2% %time:~0,2% %time:~3,2% NowMins
for /f &quot;delims=&quot; %%a in (&#39;dir * /a-d /b&#39;) do call :CheckMins &quot;%%a&quot; &quot;%%~ta&quot;
goto :EOF
:CheckMins
set File=%1
set TimeStamp=%2
call :DateToMinutes %timestamp:~7,4% %timestamp:~1,2% %timestamp:~4,2% %timestamp:~12,2% %timestamp:~15,2%%timestamp:~18,1% FileMins
set /a MinsOld=%NowMins%-%FileMins%
if %MinsOld% gtr 2 del %file%
goto :EOF
:DateToMinutes
setlocal
set yy=%1&amp;amp;set mm=%2&amp;amp;set dd=%3&amp;amp;set hh=%4&amp;amp;set nn=%5
if 1%yy% LSS 200 if 1%yy% LSS 170 (set yy=20%yy%) else (set yy=19%yy%)
set /a dd=100%dd%%%100,mm=100%mm%%%100
set /a z=14-mm,z/=12,y=yy+4800-z,m=mm+12*z-3,j=153*m+2
set /a j=j/5+dd+y*365+y/4-y/100+y/400-2472633
if 1%hh% LSS 20 set hh=0%hh%
if /i {%nn:~2,1%} EQU {p} if &quot;%hh%&quot; NEQ &quot;12&quot; set hh=1%hh%&amp;amp;set/a hh-=88
if /i {%nn:~2,1%} EQU {a} if &quot;%hh%&quot; EQU &quot;12&quot; set hh=00
if /i {%nn:~2,1%} GEQ {a} set nn=%nn:~0,2%
set /a hh=100%hh%%%100,nn=100%nn%%%100,j=j*1440+hh*60+nn
endlocal&amp;amp;set %6=%j%&amp;amp;goto :EOF
&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;
At the start of the file, specify the directory where the files are located. If you need to change the number of minutes, locate &quot;if %MinsOld% gtr 2 del %file%. Change the number of minutes. You can use this to schedule jobs and delete&amp;nbsp;log files older than specified amount of minutes.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
     SyntaxHighlighter.all()
&lt;/script&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/6896951535562606666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/batch-file-to-delete-files-older-than-2.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/6896951535562606666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/6896951535562606666'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/batch-file-to-delete-files-older-than-2.html' title='Batch file to delete files older than 2 minutes'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-5468468667647558997</id><published>2011-09-16T00:16:00.000-07:00</published><updated>2015-06-02T08:53:55.836-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Network"/><category scheme="http://www.blogger.com/atom/ns#" term="Protocol"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="TCP IP"/><category scheme="http://www.blogger.com/atom/ns#" term="Visio"/><category scheme="http://www.blogger.com/atom/ns#" term="Visio Graphic Service"/><title type='text'>Visio Graphic Service Protocol</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
Visio Graphic Service Protocol is used to retrieve information about a Web Drawing (which is usually stored in a .vdw format) in a SharePoint document library. SharePoint as an application uses this protocol to retrieve data and display the graphic on the site. When we open a Visio diagram in SharePoint site, the Visio protocol client calls the server for information. The information is either returned in raster or vector format. Raster file data is returned as .png (portal network graphic) format while a vector data is returned as XAML.&lt;br /&gt;
&lt;br /&gt;
Visio Graphic Services uses SOAP (Simple Object Access Protocol) for formatting request and response received from the server. The information is transmitted using TCP IP protocol (either through HTTP or HTTPS, depending on the way you have configured Visio Service Application). Following Diagram shows the messaging and transport stack used by the service.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig6rgTyZBmNjP2lbfYva5l7BQ1PloYm3WT10rosrEFywlZyxoUC7Zp8hHUK__C-9y2DqOZR6NwpTtLt_MEm-QeoHpyyYESaNyVw4kPOiXHzAUVV2lzSIn85Y1wvNwDNYwu6ZQOgE-TPNA/s1600/VisioTransportStack.png&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig6rgTyZBmNjP2lbfYva5l7BQ1PloYm3WT10rosrEFywlZyxoUC7Zp8hHUK__C-9y2DqOZR6NwpTtLt_MEm-QeoHpyyYESaNyVw4kPOiXHzAUVV2lzSIn85Y1wvNwDNYwu6ZQOgE-TPNA/s1600/VisioTransportStack.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Following are the pre-requisites for the service protocol to work properly:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Service endpoint.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Appropriate permissions to call the method from VisioGraphicService.svc&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Token based security mechanism&lt;/li&gt;
&lt;/ul&gt;
SharePoint acts as the client requesting the information. Visio Service is hosted in a website known as “SharePoint Web Services”. The sub directory name is usually a GUID. Search through the contents of the site and you will find that VisioGraphicService.svc is hosted in one of the directories of the web application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open IIS Manager and check the Content view of the “SharePoint Web Services” web application. You should see a similar picture as above. The GUID might differ though.&lt;br /&gt;
&lt;br /&gt;
VisioGraphicService.svc acts a a service endpoint and is needed to communicate and transfer data across. SharePoint Web Services web application uses TCP port 32843 (HTTP) and TCP port 32844 (HTTPS) for communication. Usually a default configuration of SharePoint uses HTTP port for communication unless you specific any other setting from Central Administration site.&lt;br /&gt;
&lt;br /&gt;
Ensure we have these port(s) open. In case firewall is blocking the ports or you are facing any network issue, Visio diagrams may fail to refresh or may not render at all. Just in case, I am documenting some sample error messages I received because TCP 32843 port was blocked.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;w3wp.exe Visio Graphics Service Web Access 8046 Critical Failed to get Vector Diagram for visio file (null) page (null) Exception : Could not connect to http://servername:32843/virtualDirectoryID/VisioGraphicsService.svc. TCP error code 10061: No connection could be made because the target machine actively refused it &lt;ipaddressofserver&gt;:32843.
w3wp.exe Visio Graphics Service Web Access High BeginGetVectorDiagram failed: System.OperationCanceledException: The server failed to process the request. ---&amp;gt; System.ServiceModel.EndpointNotFoundException: Could not connect to http://servername:32843/virtualDirectoryID/VisioGraphicsService.svc. TCP error code 10061: No connection could be made because the target machine actively refused it &lt;ipaddressofserver&gt;:32843. ---&amp;gt; System.Net.WebException: Unable to connect to the remote server ---&amp;gt; System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it &lt;ipaddressofserver&gt;:32843
&lt;/ipaddressofserver&gt;&lt;/ipaddressofserver&gt;&lt;/ipaddressofserver&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
See Microsoft Technet Article for details about ports that need to be open for communication: &lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc262849.aspx#ServiceApp&quot;&gt;http://technet.microsoft.com/en-us/library/cc262849.aspx#ServiceApp&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
     SyntaxHighlighter.all()
&lt;/script&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/5468468667647558997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/visio-graphic-service-protocol.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/5468468667647558997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/5468468667647558997'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/09/visio-graphic-service-protocol.html' title='Visio Graphic Service Protocol'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig6rgTyZBmNjP2lbfYva5l7BQ1PloYm3WT10rosrEFywlZyxoUC7Zp8hHUK__C-9y2DqOZR6NwpTtLt_MEm-QeoHpyyYESaNyVw4kPOiXHzAUVV2lzSIn85Y1wvNwDNYwu6ZQOgE-TPNA/s72-c/VisioTransportStack.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-8786554349845011361</id><published>2011-08-05T03:30:00.000-07:00</published><updated>2015-06-02T08:56:47.961-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Exception"/><category scheme="http://www.blogger.com/atom/ns#" term="FIM"/><category scheme="http://www.blogger.com/atom/ns#" term="Forefront Identity Manager"/><category scheme="http://www.blogger.com/atom/ns#" term="IdentityModel"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="troubleshooting"/><category scheme="http://www.blogger.com/atom/ns#" term="User Profile"/><category scheme="http://www.blogger.com/atom/ns#" term="User Profile Synchronization"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF Endpoint"/><title type='text'>&quot;An unexpected error has occurred&quot; on all the SharePoint Server 2010 sites.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Issue:&lt;/b&gt;&lt;br /&gt;
All SharePoint sites throw the following error:&lt;br /&gt;
&quot;An unexpected error has occurred.&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Errors:&lt;/b&gt;&lt;br /&gt;In ULS logs, something similar can be found

&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;

An exception occurred when trying to issue security token: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.. 

Exception occured while connecting to WCF endpoint: System.ServiceModel.FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs. 
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.ReadResponse(Message response) 
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse&amp; rstr) 
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst) 
at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo) 
at Microsoft.SharePoint.SPSecurityContext.&lt;&gt;c__DisplayClass7.b__6() 
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) 
at Microsoft.SharePoint.SPSecurityContext.GetProcessSecurityTokenForServiceContext() 
at Microsoft.SharePoint.SPChannelFactoryOperations.CreateChannelAsProcess[TChannel](ChannelFactory`1 factory, EndpointAddress address, Uri via) 
at Microsoft.SharePoint.SPChannelFactoryOperations.CreateChannelAsProcess[TChannel](ChannelFactory`1 factory, EndpointAddress address) 
at Microsoft.Office.Server.UserProfiles.MossClientBase`1.get_Channel() 
at Microsoft.Office.Server.UserProfiles.MossClientBase`1.ExecuteOnChannel(String operationName, CodeBlock codeBlock) 
at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock)

UserProfileApplicationProxy.InitializePropertyCache: Microsoft.Office.Server.UserProfiles.UserProfileException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs. ---&gt; System.ServiceModel.FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs. 
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.ReadResponse(Message response) 
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse&amp; rstr) 
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst) 
at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo) 
at Microsoft.SharePoint.SPSecurityContext.&lt;&gt;c__DisplayClass7.b__6() 
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) 
at Microsoft.SharePoint.SPSecurityContext.GetProcessSecurityTokenForServiceContext() 
at Microsoft.SharePoint.SPChannelFactoryOperations.CreateChannelAsProcess[TChannel](ChannelFactory`1 factory, EndpointAddress address, Uri via) 
at Microsoft.SharePoint.SPChannelFactoryOperations.CreateChannelAsProcess[TChannel](ChannelFactory`1 factory, EndpointAddress address) 
at Microsoft.Office.Server.UserProfiles.MossClientBase`1.get_Channel() 
at Microsoft.Office.Server.UserProfiles.MossClientBase`1.ExecuteOnChannel(String operationName, CodeBlock codeBlock) 
at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock) -
-- End of inner exception stack trace --- 
at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock) 
at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.GetProfileProperties() 
at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.RefreshProperties(Guid applicationID) 
at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValueNow(K key) 
at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValue(K key, Boolean asynchronous) 
at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.InitializePropertyCache()

System.NullReferenceException: Object reference not set to an instance of an object. 
at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties() 
at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs() 
at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext) 
at Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalAvailable() 
at Microsoft.Office.Server.WebControls.MyLinksRibbon.EnsureMySiteUrls() 
at Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalMySiteUrlAvailable() 
at Microsoft.Office.Server.WebControls.MyLinksRibbon.OnLoad(EventArgs e) 
at System.Web.UI.Control.LoadRecursive() 
at System.Web.UI.Control.LoadRecursive() 
at System.Web.UI.Control.LoadRecursive() 
at System.Web.UI.Control.LoadRecursive() 
at System.Web.UI.Control.LoadRecursive() 
at System.Web.UI.Control.LoadRecursive() 
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
&lt;/pre&gt;

&lt;b&gt;Cause:&lt;/b&gt;&lt;br /&gt;This will occur on single server deployments which uses build in SQL database. If you have done a farm&amp;nbsp;installation, the resolution/cause may not apply.&lt;br /&gt;
&lt;br /&gt;
Forefront Identity Manager Synchronization service corrupt not working. This in turn affects User profile sync service and security token service application.&lt;br /&gt;
&lt;br /&gt;
If your applications are associated with User profile service, you will get the error.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Resolution:&lt;/b&gt;&lt;br /&gt;
As per the Technet article, User profile synchronization service does not work with single server deployment with build in databases.&lt;br /&gt;
Check the article for further details:&lt;br /&gt;
&lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc263202.aspx&quot;&gt;http://technet.microsoft.com/en-us/library/cc263202.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
To resolve the issue, delete the User profile synchronization service instance from Central Admin.&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
     SyntaxHighlighter.all()
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/8786554349845011361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/08/an-unexpected-error-has-occurred-on-all.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8786554349845011361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8786554349845011361'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/08/an-unexpected-error-has-occurred-on-all.html' title='&quot;An unexpected error has occurred&quot; on all the SharePoint Server 2010 sites.'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-8284481824223382387</id><published>2011-08-02T02:25:00.000-07:00</published><updated>2015-06-02T09:00:19.711-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=". term store"/><category scheme="http://www.blogger.com/atom/ns#" term="export"/><category scheme="http://www.blogger.com/atom/ns#" term="import"/><category scheme="http://www.blogger.com/atom/ns#" term="managed metadata"/><category scheme="http://www.blogger.com/atom/ns#" term="powershell"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="term set"/><title type='text'>Exporting and Importing Term Set to .csv file using PowerShell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;SharePoint 2010 now provides us the ability to attach metadata to almost all the items that exists in SharePoint. We can now manage what terms are created and how we associate it. This new feature is achieved using &quot;Managed Metadata Service&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Usually organizations will create hierarchies and set up a term set so that users can associate the terms (just like categories or tags) to an item. This can be later used in search results to refine search items.  SharePoint does not provide the ability to automatically synchronize the metadata across different farms. If we need to copy term set, we need to export the term set (can use&lt;a href=&quot;http://termsetimporter.codeplex.com/&quot; target=&quot;_blank&quot;&gt; this utility&lt;/a&gt;) and then import it using the term store management tool. In case you need to know how to import the term set using Term Store Management tool, please check out these articles -&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;http://office.microsoft.com/en-us/sharepoint-server-help/import-a-term-set-HA101818255.aspx  http://www.wictorwilen.se/Post/Create-SharePoint-2010-Managed-Metadata-with-Excel-2010.aspx&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;This is a manual process and I have seen situations where automation is required. e.g. If the term set is open for users to allow addition of terms (Submission Policy is set to Open), then the term are mostly updated in the term sets. In case you need to have same term set data across multiple farms, then we need to do the export and import process manually all the time. Before I proceed, I have to let you know that exporting and importing the term sets will break the association with the existing term set. This is because whenever we are exporting the term set in a new farm, the GUIDs are not imported. If we have a list/site column (in source site) that is associated to specific term, it is done using the GUID of that term and not the name. So, if you have migrated the content and now are trying to export and import the metadata, the metadata items will be orphaned (but will still work i.e. functionality to add and remove metadata will work with a small setting change). In case you need to maintain the associate of the ID with the data in SharePoint sites across farms, I suggest you go with this method -&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;http://www.andrewconnell.com/blog/archive/2011/06/15/sharepoint-2010-managed-metadata-movingcopying-mms-instances-term.aspx&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Note: In the above method, you are actually moving the entire term store and not individual term sets from groups.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;With that said, lets move to a situation where term sets are updated weekly/daily and needs to be synchronized across different farms. To sync the data, we will need to carry out the process weekly/daily and causes redundancy and time wastage. We can do the export and import (considering in mind that the association with the ID will be lost), but again that is manual.  The next approach can be to use code or powershell scripts to export and import the term sets. Then using a batch files or through Team Foundation Server, we can automate this process.  Next you will find the powershell scripts which can export a term set (upto 7 levels) and then import it in the desired farm. At the start of each script you will see that some variables are set. e.g Term Set Name, Managed Metadata Service Instance Name, Owner Name, File Name, etc. Change it according to your farm settings and details and then run the script.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;****** Export Script ******&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;
Add-PSSnapin Microsoft.SharePoint.PowerShell
[Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.SharePoint.Taxonomy&quot;)

#This is the directory where you need to export the term set as a .csv file.
#Please ensure that this folder exists before trying to export the term set.
$outPutDir = &quot;Directory where the csv file should be saved&quot;

#This should be the url of the Central Administration Site of the farm from where we would like to export the term set.
$siteURL = &quot;Central Admin Site URL&quot;

#This is the name of the Metadata Service Instance. e.g. &quot;Managed Metadata Service&quot;
$mmsServiceName = &quot;Managed Metadata Service Instance Name&quot;

#This is the group name where the term set exists.
#In case the group does not exists, the script will create a new group with this name under the term store.
$grpName = &quot;Term Store Group Name&quot;

#This is the term set name which we are going to export.
$termSetName = &quot;Term Set Name&quot;

#This is the name of the csv file which will contain the exported term set data.
$fileName = &quot;FileName.csv&quot;

try
        {
            $taxonomySite = Get-SPSite $siteURL
            $taxSession = Get-SPTaxonomySession -site $taxonomySite
            
            try
            {
                $termStore = $taxSession.TermStores[$mmsServiceName];
 
                if ($termStore -ne $null)
                {
                    try
                    {
                        $termGroup = $termStore.Groups[$grpName];
 
                        if ($termGroup -ne $null)
                        {
                            try
                            {
                                $termSet = $termGroup.TermSets[$termSetName];
 
                                if ($termSet -ne $null)
                                {
                                    [string]$csvDir = &quot;&quot;; 
                                    $csvDir = $outPutDir;
                                    $outPutFile = $csvDir + &quot;\&quot; + &quot;$fileName&quot;;
 
                                    $sw = New-Object System.IO.StreamWriter($outPutFile);
 
                                    $sw.writeline(&#39;&quot;Term Set Name&quot;,&quot;Term Set Description&quot;,&quot;LCID&quot;,&quot;Available&quot;,&quot;Term Description&quot;,&quot;Level 1 Term&quot;,&quot;Level 2 Term&quot;,&quot;Level 3 Term&quot;,&quot;Level 4 Term&quot;,&quot;Level 5 Term&quot;,&quot;Level 6 Term&quot;,&quot;Level 7 Term&quot;&#39;);
                                    [Byte[]] $ampersand = 0xEF,0xBC,0x86;
                                    #$loop = $termGroup.TermSets.Count;
                                    #$count = 1;
 
                                            if($TermSet.TermsCount -ne 0)
                                            {
                                                $topTermOutput = &#39;&quot;&#39; + $TermSet.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; +  $TermSet.Description + &#39;&quot;,&quot;&#39; + $TermSet.Languages + &#39;&quot;,&quot;&#39; +  $TermSet.IsAvailableForTagging + &#39;&quot;,&quot;&#39;; 
                                                
                                            foreach($childTerm in $TermSet.Terms)
                                            {
                                                if($childTerm.TermsCount -ne 0)
                                                {
                                                    #$topTermOutput = &#39;&quot;&#39; + &#39;&quot;,&quot;&#39; +  $TermSet.Description + &#39;&quot;,&quot;&#39; + $TermSet.Languages + &#39;&quot;,&quot;&#39; +  $TermSet.IsAvailableForTagging + &#39;&quot;,&quot;&#39;; 
                                                    $heritage = $topTermOutput + &#39;&quot;,&quot;&#39; + $childTerm.Description + &#39;&quot;,&quot;&#39; + $childTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;&#39;;
                                                    foreach($secondLevelTerm in $childTerm.Terms)
                                                    {
                                                        if($secondLevelTerm.TermsCount -ne 0)
                                                        {
                                                            foreach($thirdLevelTerm in $secondLevelTerm.Terms)
                                                            {
                                                                if($thirdLevelTerm.TermsCount -ne 0)
                                                                {
                                                                    foreach($fourthLevelTerm in $thirdLevelTerm.Terms)
                                                                    {
                                                                        if($fourthLevelTerm.TermsCount -ne 0)
                                                                        {
                                                                            foreach($fifthLevelTerm in $fourthLEvelTerm.Terms)
                                                                            {
                                                                                if($fifthLevelTerm.TermsCount -ne 0)
                                                                                {
                                                                                    foreach($sixthLevelTerm in $fifthLevelTerm.Terms)
                                                                                    {
                                                                                        if($sixthLevelTerm.TermsCount -ne 0)
                                                                                        {
                                                                                            foreach($seventhLevelTerm in $sixthLevelTerm.Terms)
                                                                                            {
                                                                                                $heritage = $topTermOutput + &#39;&quot;,&quot;&#39; + $childTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $secondLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $thirdLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $fourthLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $fifthLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $sixthLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $seventhLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;&#39;;
                                                                                                $sw.writeline($heritage);                                                                                               
                                                                                            }
                                                                                        }
                                                                                        else
                                                                                        {
                                                                                            $heritage = $topTermOutput + &#39;&quot;,&quot;&#39; + $childTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $secondLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $thirdLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $fourthLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $fifthLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $sixthLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;&#39;;
                                                                                            $sw.writeline($heritage);
                                                                                        }
                                                                                    }
                                                                                }
                                                                                else
                                                                                {
                                                                                    $heritage = $topTermOutput + &#39;&quot;,&quot;&#39; + $childTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $secondLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $thirdLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $fourthLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $fifthLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;&#39;;
                                                                                    $sw.writeline($heritage);
                                                                                }
                                                                            }
                                                                        }
                                                                        else
                                                                        {
                                                                            $heritage = $topTermOutput + &#39;&quot;,&quot;&#39; + $childTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $secondLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $thirdLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $fourthLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;&#39;;
                                                                            $sw.writeline($heritage);
                                                                        }
                                                                    }
                                                                }
                                                                else
                                                                {
                                                                    $heritage = $topTermOutput + &#39;&quot;,&quot;&#39; + $childTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $secondLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $thirdLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;&#39;;
                                                                    $sw.writeline($heritage);
                                                                }
                                                            }
                                                        }
                                                        else
                                                        {
                                                            $heritage = $topTermOutput + &#39;&quot;,&quot;&#39; + $childTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,&quot;&#39; + $secondLevelTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;&#39;;
                                                            $sw.writeline($heritage);
                                                        }
                                                    }
                                                }
                                                else
                                                {
                                                     $heritage = $topTermOutput + &#39;&quot;,&quot;&#39; + $childTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;&#39;;
                                                     $sw.writeline($heritage);
                                                }
                                            }
                                        }
                                        else
                                        {
                                             $heritage = $topTermOutput + &#39;&quot;,&quot;&#39; + $childTerm.Name.Replace([System.Text.Encoding]::UTF8.GetString($ampersand), &quot;&amp;amp;&quot;) + &#39;&quot;,,,,,,,&#39; ;                                                
                                             $sw.writeline($heritage);
                                        }
                                    }
                                }
                                catch
                                {
                                    return &quot;Problem occurred while creating the export file.&quot;
                                }
                                $sw.close();
                                write-host &quot;Your CSV has been created at $outPutFile&quot;;
                                }
                            
                            else
                            {
                                return &quot;Termset $termSet does not exist in the term store group $term&quot;;
                            }
                        }
                        catch [System.Exception]
                        {
                            write-host($_.Exception)
                            &quot;Unable to acquire the termset $termSetName from the term group $grpName&quot;
                        }
                    }
                    else
                    {
                        return &quot;Term store group $grpName does not exist in the term store $mmsServiceName&quot;;
                    }
                }
                catch
                {
                    &quot;Unable to acquire term store group $grpName from $mmsServiceName&quot;
                }
            }
            
            catch
            {
                &quot;Unable to acquire session for the site $siteURL&quot;;
            }
        finally
        {
            $ErrorActionPreference = &quot;Continue&quot;;
        }

&lt;/pre&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;****** Import Script ******&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;
Add-PSSnapin Microsoft.SharePoint.Powershell
$inputFile = &quot;Complete path of the .csv file&quot;
[Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.SharePoint.Taxonomy&quot;)

#Change the below values as per your farm and term store settings.

#This should be the url of the Central Administration Site of the farm where we would like to import the term set
$siteURL = &quot;Central Admin site URL&quot;

#This is the name of the Metadata Service Instance. e.g. &quot;Managed Metadata Service&quot;
$mmsServiceName = &quot;Metadata Service Instance&quot;

#This is the group name where the term set exists. In case the group does not exists, the script will create a new group with this name under the term store.
$grpName = &quot;Group Name&quot;

#This is the login ID of the user who should be set as the owner of the Group
$grpManager = &quot;domain\username&quot;

#This is the term set name which we are going to import.
$termSetName = &quot;Term Set Name&quot;

#This is the login ID of the user who should be set as the owner of the term set.
$termSetOwner = &quot;domain\username&quot;

#This is the login ID of the user who should be set as the one of the StakeHolders for the term set.
$tsStakeHolder = &quot;domain\username&quot;
#In case you need to add more stake holders, create new variables and add them before the CommitAll() statement (before setting the owner) at the later part of the code.

$taxonomySite = Get-SPSite $siteURL
$taxSession = Get-SPTaxonomySession -Site $taxonomySite
$termStore = $taxSession.TermStores[$mmsServiceName];
if ($termStore -ne $null)
{
    $termGroups = $termStore.Groups;
    
    #This checks if a group with the given name exists or not. If it does not exists then it will create a new group with the given name.
    foreach($termGroup in $termGroups)
    {
        if($termGroup.Name -eq $grpName)
        {
            $termGroup = $termStore.Groups[$grpName];
        }
        else
        {
            $termGroup = $null;
        }
    }
    if($termGroup -eq $null)
    {
        try
        {
            $termStoreGroup = $termStore.CreateGroup($grpName);
            $termGroup.AddGroupManager($grpManager);
            write-host &quot;Term group $grpName created successfully&quot;;
            $termGroup = $termStore.Groups[$grpName];
        }
        catch
        {
            write-host &quot;Creation of Term Group Failed.&quot;;
        }
    }
    
    #If the group exists then deleting all the term sets under the given group.
    if ($termGroup -ne $null)
    {
        $termGroup.TermSets | foreach {
        $_.Delete();
        $termStore.CommitAll();
        }
 write-host &quot;All term sets under the group $grpName deleted successfully&quot;
    }
    
    #Importig the term set from the csv file.
    try
    {
        $fileReader = [System.IO.File]::OpenText($inputFile);
        $importMan = $termStore.GetImportManager();
        $varImported = &quot;&quot;;
        $varMessage = &quot;&quot;;
        $importMan.ImportTermSet($termGroup, $fileReader,([REF]$varImported),([REF]$varMessage));
        $termStore.CommitAll();
        $termSet = $termGroup.TermSets[$termSetName];
        $termSet.AddStakeHolder($tsStakeHolder);
        $termSet.IsOpenForTermCreation = &quot;true&quot;;
     $termSet.Owner = $termSetOwner;
        $termStore.CommitAll();
        write-host &quot;Term Set re-imported successfully.&quot;;
    }
    catch
    {
        write-host &quot;There was either a problem while creating or importing the term set&quot;;
    }
}
else
{
    return &quot;Term store $termStore does not exist&quot;;
}
&lt;/pre&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;You can copy the above code and save it as .ps1 file and run it against the farm(s) where you would like to import/export the term set.&lt;/span&gt;&lt;script type=&quot;text/javascript&quot;&gt;
     SyntaxHighlighter.all()
&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/8284481824223382387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/08/exporting-and-importing-term-set-to-csv.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8284481824223382387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8284481824223382387'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/08/exporting-and-importing-term-set-to-csv.html' title='Exporting and Importing Term Set to .csv file using PowerShell'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-955824064029999336</id><published>2011-07-10T22:30:00.000-07:00</published><updated>2015-06-02T09:29:51.544-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=". term store"/><category scheme="http://www.blogger.com/atom/ns#" term="managed metadata"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="site collection administrator"/><title type='text'>Metadata column not visible for users other than site collection administrators</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently I came across an issue, where data from a column of the type &quot;Managed Metadata&quot; did not show up for users. Only the site collection administrators were able to see the content.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;Cause:&lt;/b&gt;&lt;br /&gt;
Users did not have permissions on a hidden list. List is called Hidden Taxonomy List and the url is something like this: http://...SITEURL.../lists/taxonomyhiddenlist&lt;br /&gt;
&lt;br /&gt;
Granting permissions on this list makes the managed metadata accessible to users (who have permissions) on this list. This information comes from the manged metadata store (term store).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Resolution&lt;/b&gt;&lt;br /&gt;
Browse to the hidden taxonomy list.&lt;br /&gt;
Check the permissions of this list and check if users have at least read permissions. Usually, it is preferred to give &quot;NT AUTHORITY\AUTHENTICATED USERS&quot; read permissions on this list.&lt;br /&gt;
&lt;br /&gt;
Update: About a year later, Microsoft has now published a KB article for this issue&lt;br /&gt;
&lt;a href=&quot;https://support.microsoft.com/en-us/kb/2439274&quot;&gt;Managed Metadata column on a SharePoint 2010 list does not display values added from term store&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/955824064029999336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/07/metadata-column-not-visible-for-users.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/955824064029999336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/955824064029999336'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/07/metadata-column-not-visible-for-users.html' title='Metadata column not visible for users other than site collection administrators'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-5341893220096788945</id><published>2011-07-04T01:46:00.001-07:00</published><updated>2015-06-02T09:04:46.283-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Synchronization"/><category scheme="http://www.blogger.com/atom/ns#" term="User Profile"/><category scheme="http://www.blogger.com/atom/ns#" term="User Profile Synchronization"/><title type='text'>SharePoint User Profile Service stuck in &quot;Starting&quot; state</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The reason for this can be many. This issue can be avoided if the steps mentioned in the following articles are done properly. The article is very reference for setting up UPS. (I am feeling a bit lazy today, so pointing you guys to some very informative articles on the net. In case you have messed up User profile service application while setup, I would recommend to do it from scratch by following these articles)&lt;br /&gt;
&lt;br /&gt;
Rational Guide to implementing SharePoint Server 2010 User Profile Synchronization&lt;br /&gt;
http://www.harbar.net/articles/sp2010ups.aspx&lt;br /&gt;
&lt;br /&gt;
“Stuck on Starting”: Common Issues with SharePoint Server 2010 User Profile Synchronization&lt;br /&gt;
http://www.harbar.net/articles/sp2010ups2.aspx&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/5341893220096788945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/07/sharepoint-user-profile-service-stuck.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/5341893220096788945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/5341893220096788945'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/07/sharepoint-user-profile-service-stuck.html' title='SharePoint User Profile Service stuck in &quot;Starting&quot; state'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-2028687570411028113</id><published>2011-06-14T23:53:00.000-07:00</published><updated>2015-06-02T09:08:15.494-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="developer dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="powershell"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Enabling SharePoint Developer Dashboard</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
SharePoint 2010 introduces a new feature called &quot;Developer toolbar&quot;. This toolbar can be useful to administrators as well as developers to identify potential issues at user interface level and resolve them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The information provided by enabling developer dashboard is very useful for diagnosis of performance, web parts and other interface/web related issues. We can even get ASP.NET trace information from this page if required.&lt;br /&gt;
&lt;br /&gt;
To enable it, we can use stsadm or powershell.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;STSADM commands to enable developer dashboard&lt;/b&gt;&lt;br /&gt;
On Demand (Developer Dashboard only visible when requested)
&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;
stsadm -o setproperty -pn developer-dashboard -pv ondemand&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Always On (Dashboard will be displayed on all the pages)
&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;
stsadm -o setproperty -pn developer-dashboard -pv on&lt;/pre&gt;
&lt;br /&gt;
Off (Dashboard will not be displayed. This is the default setting)&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;
stsadm -o setproperty -pn developer-dashboard -pv off&lt;/pre&gt;
&lt;br /&gt;
Powershell way to enable Developer Dashboard&lt;br /&gt;
- Start SharePoint 2010 Management Shell from Microsoft SharePoint 2010 Products menu.&lt;br /&gt;
-&amp;nbsp;Run the following powershell script at the prompt&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;
$dashbrd = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$dashbrd.DisplayLevel = &#39;OnDemand&#39;;
$dashbrd.TraceEnabled = $true;
$dashbrd.Update();
&lt;/pre&gt;
&lt;br /&gt;
Using the above script we are setting the dashboard to be OnDemand. We can set it to &quot;Off&quot; or &quot;On&quot; like the stsadm commands.&lt;br /&gt;
&lt;br /&gt;
Navigate to the site and you will now see an icon near your login/display name near the top right corner. Clicking on this icon will show or hide the dashboard&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOk8Vdif69ygEXccn6hPSi9ArUAeccRX_m1_qVQyWvzg66zcuxLdX2gQNGNX08I8RjdhGQyMh64FMg7XGDwI6iY6T2BI5-XSCOiXFL4U1euHMnAe9ViVjzL-jOY2hEtwEaLLKuf4pTTOs/s1600/enabledisabletoolbar.JPG&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOk8Vdif69ygEXccn6hPSi9ArUAeccRX_m1_qVQyWvzg66zcuxLdX2gQNGNX08I8RjdhGQyMh64FMg7XGDwI6iY6T2BI5-XSCOiXFL4U1euHMnAe9ViVjzL-jOY2hEtwEaLLKuf4pTTOs/s1600/enabledisabletoolbar.JPG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Happy SharePointing!&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
     SyntaxHighlighter.all()
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/2028687570411028113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/06/enabling-sharepoint-developer-dashboard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/2028687570411028113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/2028687570411028113'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/06/enabling-sharepoint-developer-dashboard.html' title='Enabling SharePoint Developer Dashboard'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOk8Vdif69ygEXccn6hPSi9ArUAeccRX_m1_qVQyWvzg66zcuxLdX2gQNGNX08I8RjdhGQyMh64FMg7XGDwI6iY6T2BI5-XSCOiXFL4U1euHMnAe9ViVjzL-jOY2hEtwEaLLKuf4pTTOs/s72-c/enabledisabletoolbar.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-101434673215410629</id><published>2011-05-19T02:02:00.000-07:00</published><updated>2015-06-02T09:10:29.896-07:00</updated><title type='text'>Cascading lookup field in SharePoint 2007 / 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Check out this articles. They provide a nice and easy way to create cascading drop down lookup fields in your new or edit form.&lt;br /&gt; &lt;br /&gt;SharePoint 2010: How to create Cascading Lookup Field (InfoPath approach)&lt;br /&gt;&lt;a href=&quot;http://blog.libinuko.com/2010/07/21/sharepoint-2010-how-to-create-cascading-lookup-field/&quot;&gt;http://blog.libinuko.com/2010/07/21/sharepoint-2010-how-to-create-cascading-lookup-field/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; SharePoint 2010: How to create Cascading Lookup Field using Client Object Model&lt;br /&gt;&lt;a href=&quot;http://blog.libinuko.com/2011/01/29/sharepoint-2010-how-to-create-cascading-lookup-field-using-client-object-model/&quot;&gt;http://blog.libinuko.com/2011/01/29/sharepoint-2010-how-to-create-cascading-lookup-field-using-client-object-model/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; There is also a ready to use solution available on codeplex which uses a different approach of using custom field controls for achieving the cascading effect.&lt;br /&gt;&lt;a href=&quot;http://cascddlistwithfilter.codeplex.com/&quot;&gt;http://cascddlistwithfilter.codeplex.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;&lt;a href=&quot;http://datacogs.com/datablogs/archive/2007/08/26/641.aspx&quot;&gt;http://datacogs.com/datablogs/archive/2007/08/26/641.aspx&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/101434673215410629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/05/cascading-lookup-field-in-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/101434673215410629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/101434673215410629'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/05/cascading-lookup-field-in-sharepoint.html' title='Cascading lookup field in SharePoint 2007 / 2010'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-325528095152875674</id><published>2011-03-09T03:20:00.001-08:00</published><updated>2015-06-02T09:12:53.928-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Rich Text Editor"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Site Design"/><title type='text'>Increase Rich Text Editor’s Field Width in SharePoint site</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO7_heG-9BauO6dK1BKB5ORBtALt3SkjoxxCz9b0MCYH-ZOTBGPsAand_-F1lIxBzAR1jm5jWGNlYbWWBF9ACqaPbZeFmRmDzXklE7qnHDSCKcHhIW5UKqAwhPsGJQyQiTO4CjwEcA5_E/s1600/RichTextEditorWidth.jpg&quot;&gt;&lt;/a&gt;
&lt;br /&gt;
There are times when you would like that the rich text editor on your SharePoint site fits the entire page width so that you can edit the content easily. By default, the editor field is around 400 pixels in width and does not increase beyond it. It is due to the CSS style applied on that SharePoint field control.&lt;br /&gt;
&lt;br /&gt;
I wanted something like this on my site:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO7_heG-9BauO6dK1BKB5ORBtALt3SkjoxxCz9b0MCYH-ZOTBGPsAand_-F1lIxBzAR1jm5jWGNlYbWWBF9ACqaPbZeFmRmDzXklE7qnHDSCKcHhIW5UKqAwhPsGJQyQiTO4CjwEcA5_E/s1600/RichTextEditorWidth.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;249&quot; id=&quot;BLOGGER_PHOTO_ID_5582038620572779938&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO7_heG-9BauO6dK1BKB5ORBtALt3SkjoxxCz9b0MCYH-ZOTBGPsAand_-F1lIxBzAR1jm5jWGNlYbWWBF9ACqaPbZeFmRmDzXklE7qnHDSCKcHhIW5UKqAwhPsGJQyQiTO4CjwEcA5_E/s640/RichTextEditorWidth.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
This is how you achieve it:&lt;br /&gt;
&lt;a href=&quot;https://zsharepoint.wordpress.com/2013/05/15/sharepoint-101-full-width-rich-text-editor/&quot; target=&quot;_blank&quot;&gt;https://zsharepoint.wordpress.com/2013/05/15/sharepoint-101-full-width-rich-text-editor/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks to Zach. This was a very simple CSS hack to modify the width of the rich text editor.&lt;br /&gt;
&lt;br /&gt;
1. Create a new .css file and enter the following code over there: &lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;XML&quot; name=&quot;code&quot;&gt;#onetIDListForm, #onetIDListForm .ms-formbody, #onetIDListForm 
iframe[title=&quot;Rich Text Editor&quot;]{width:100% !important;} 
.ms-formbody span span div iframe, .ms-formbody span span 
table.ms-long{width:100%; text-align:left;} 
&lt;/pre&gt;
&lt;br /&gt;
2. Save the .css file in a document library on your site.
&lt;br /&gt;
3. Reference the .css file in the masterpage using the following code.
&lt;br /&gt;
&lt;pre class=&quot;XML&quot; name=&quot;code&quot;&gt;&lt;sharepoint:cssregistration name=&quot;&amp;lt;%$SPUrl:~SiteCollection/LIBRARY_NAME/YOUR_CSS_FILE_NAME.css%&amp;gt;&quot; runat=&quot;server&quot;&gt;
&lt;/sharepoint:cssregistration&gt;&lt;/pre&gt;
&lt;b&gt;NOTE: There is some problem with blogger, not allowing me to post the entire code. Please refer to the link mentioned above for the code to reference your CSS file in your masterpage. 

4. Save the changes to MasterPage and refresh the page.

&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Or you can check out my another blog -&amp;nbsp;&lt;a href=&quot;http://sharepointservices.wordpress.com/2011/03/09/increase-rich-text-editors-field-width-in-sharepoint-site&quot;&gt;http://sharepointservices.wordpress.com/2011/03/09/increase-rich-text-editors-field-width-in-sharepoint-site&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/325528095152875674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/03/increase-rich-text-editors-field-width.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/325528095152875674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/325528095152875674'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/03/increase-rich-text-editors-field-width.html' title='Increase Rich Text Editor’s Field Width in SharePoint site'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO7_heG-9BauO6dK1BKB5ORBtALt3SkjoxxCz9b0MCYH-ZOTBGPsAand_-F1lIxBzAR1jm5jWGNlYbWWBF9ACqaPbZeFmRmDzXklE7qnHDSCKcHhIW5UKqAwhPsGJQyQiTO4CjwEcA5_E/s72-c/RichTextEditorWidth.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-760770687103735058</id><published>2011-03-01T01:03:00.000-08:00</published><updated>2015-06-02T09:14:27.271-07:00</updated><title type='text'>An error occurred during the compilation of the requested file, or one of its dependencies.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Issue:&lt;/b&gt;&lt;br /&gt;
You have done a standalone installation of SharePoint 2010 on a Windows 7 machine. This machine will be mostly used as a development machine. No error messages are received during the set up or while running the configuration wizard. In Central Administration website, when you click on links like &quot;Services on server, Manage service applications, or when you try to navigate to the Web Application&#39;s general settings, etc, you get the following error.&lt;br /&gt;
&lt;br /&gt;
The error comes intermittently, but, mostly on the links mentioned above.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Error:&lt;/b&gt;&lt;br /&gt;
An error occurred during the compilation of the requested file, or one of its dependencies.&lt;br /&gt;
&lt;br /&gt;
Following error is logged in the ULS logs:&lt;br /&gt;
Error from ULS Logs of the server:&lt;br /&gt;
&lt;br /&gt;
System.Web.HttpCompileException: External component has thrown an exception. at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert...
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Cause:&lt;/b&gt;&lt;br /&gt;
Compatibility issue between SharePoint 2010 and Windows 7.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Resolution:&lt;/b&gt;&lt;br /&gt;
Restart the machine where you have installed SharePoint 2010.&lt;br /&gt;
Just a restart of the machine should usually resolve the issue for you. In case, the issue rises again after few days, you need to restart the machine. Also, we should not that SharePoint 2010 on Windows 7 is not supported, so we have to live with this work-around for now.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Update (20-September-2011)&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
If you have a standalone installation on Windows 7 machine, delete the &quot;User Profile Synchronization&quot; service applications from your farm and do an &quot;iisreset&quot;. This should take care of the problem and a reboot may not be required everytime.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/760770687103735058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/03/error-occurred-during-compilation-of.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/760770687103735058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/760770687103735058'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/03/error-occurred-during-compilation-of.html' title='An error occurred during the compilation of the requested file, or one of its dependencies.'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6041966434808589687.post-8464048090312007946</id><published>2011-02-23T06:06:00.000-08:00</published><updated>2015-06-02T09:21:39.843-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Configuration Wizard"/><category scheme="http://www.blogger.com/atom/ns#" term="Installation"/><category scheme="http://www.blogger.com/atom/ns#" term="Share"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Could not access the Search administration database. A generic error occurred while trying to access the database to obtain the schema version info.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;b&gt;Scenario:&lt;/b&gt;&lt;br /&gt;
You are trying to do a standalone installation of SharePoint 2010 Server or SharePoint Foundation and the Configuration Wizard fails at Step 5. This error occurs during provisioning of the SharePoint Foundation Search Service. All other services are installed properly.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Error:&lt;/b&gt;&lt;br /&gt;
A generic error occurred while trying to access the database to obtain the schema version info. &lt;br /&gt;
&lt;br /&gt;
If you check the PSDiagnostic logs under C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Logs&lt;br /&gt;
&lt;br /&gt;
You get the following error recorded in that file:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;ERR Failed to register SharePoint services.&lt;/i&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: js&quot; name=&quot;code&quot;&gt;
An exception of type System.Runtime.InteropServices.COMException was thrown. Additional exception information: Could not access the Search administration database. A generic error occurred while trying to access the database to obtain the schema version info. 
System.Runtime.InteropServices.COMException (0xC0041236): Could not access the Search administration database. A generic error occurred while trying to access the database to obtain the schema version info.
at Microsoft.SharePoint.Search.Administration.MSSITLB.IGatherApplications2.Mount(String bstrName)&amp;nbsp;
at &amp;nbsp;Microsoft.SharePoint.Search.Administration.GathererApplication.ProvisionGathererApplication()&amp;nbsp;
at Microsoft.SharePoint.Search.Administration.GathererApplication.Provision()&amp;nbsp;
at Microsoft.SharePoint.Search.Administration.SPSearchServiceInstance.Synchronize(Boolean installGathererApplication, Boolean startIncrementalCrawl, Boolean startFullCrawl)
at Microsoft.SharePoint.Search.Administration.SPSearchServiceInstance.Provision()
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstanceInConfigDB(Boolean provisionTheServiceInstanceToo, String serviceInstanceRegistryKeyName, Object sharepointServiceObject)
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstances(Boolean provisionTheServiceInstancesToo, String serviceRegistryKeyName, Object sharepointServiceObject)
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Possibilities why this issue might arise:&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Previous installation might have failed to complete successfully due to insufficient permissions or network error. Now you are again trying to run the Configuration Wizard after making some permissions changes.&lt;/li&gt;
&lt;li&gt;You successfully completed the Configuration Wizard during your previous attempt, but due to some password change or permission changes, the wizard fails this time.&lt;/li&gt;
&lt;li&gt;There was a network (firewall error) during the configuration tasks.&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;Cause:&lt;/b&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Corrupt registry key or incorrect reference to the registry key in the configuration database.&lt;/li&gt;
&lt;li&gt;Missing protocols for connectivity between SharePoint and SQL (port 1433 should be open or if you are using a custom port ensure that it is open for incoming connections in firewall).&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;Resolution:&lt;/b&gt;&lt;br /&gt;
It is a 4 set procedure. I did not want to repeat anything that was already online. So, please refer to the attached links for detailed information on how to carry out the steps.&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Ensure that TCP\IP and Named Protocols are enabled for the local SharePoint instance.&lt;br /&gt;Reference to carry out Step 1:&lt;br /&gt;&lt;a href=&quot;http://sureshsundar21.blogspot.com/2010/07/could-not-access-search-administration.html&quot;&gt;http://sureshsundar21.blogspot.com/2010/07/could-not-access-search-administration.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Delete the registry key at “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS\Services\Microsoft.SharePoint.Search.Administration.SPSearchService”&lt;br /&gt;Reference to carry out Step 2:&lt;br /&gt;&lt;a href=&quot;http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/916e3940-a46a-40d0-9d84-3382f80e987c&quot;&gt;http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/916e3940-a46a-40d0-9d84-3382f80e987c&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Clear the SharePoint Configuration Cache files and restart the timer.&lt;br /&gt;Reference to carry out Step 3:&lt;br /&gt;&lt;a href=&quot;http://blogs.msdn.com/b/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx&quot;&gt;http://blogs.msdn.com/b/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Ensure the port number 1433 is open (on the server where you are hosting the SQL databases). If you are using a custom port, please enable the port number for incoming connections in the firewall.&lt;br /&gt;Reference for Step 4:&lt;br /&gt;&lt;a href=&quot;http://technet.microsoft.com/en-us/library/ff607733.aspx&quot;&gt;http://technet.microsoft.com/en-us/library/ff607733.aspx&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
Hope this helps. In case the issue is still there, the problem might be related to permissions or firewall. Let me know. Thank you.&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
     SyntaxHighlighter.all()
&lt;/script&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sharepoint-talk.blogspot.com/feeds/8464048090312007946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/02/could-not-access-search-administration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8464048090312007946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6041966434808589687/posts/default/8464048090312007946'/><link rel='alternate' type='text/html' href='http://sharepoint-talk.blogspot.com/2011/02/could-not-access-search-administration.html' title='Could not access the Search administration database. A generic error occurred while trying to access the database to obtain the schema version info.'/><author><name>Amol G.</name><uri>http://www.blogger.com/profile/08755577107802762167</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>