<?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-9217696457602781418</id><updated>2024-12-19T04:58:39.061-08:00</updated><category term="MOSS"/><category term="SharePoint 2010"/><category term="Azure"/><category term="Devops"/><category term="SharePoint Online"/><category term="SPFX"/><category term="SharePoint 2013"/><category term="SharePoint 2016"/><category term=".Net"/><category term="Angular"/><category term="SharePoint Hybrid"/><title type='text'>SharePoint Secrets</title><subtitle type='html'>Idea, Thought, Opinion, Feedback, Challenges, Experiences on Microsoft platform.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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>154</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9217696457602781418.post-5117336177088552324</id><published>2020-02-09T16:33:00.000-08:00</published><updated>2020-02-09T16:33:46.863-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><title type='text'>AZ-300:  Microsoft Azure Architecture Technologies Passed.</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://www.youracclaim.com/badges/bb246900-d494-4e40-a31b-054b4601b09f&quot;&gt;AZ-300: Microsoft Azure Architecture Technologies&lt;/a&gt; Passed. 
&lt;br /&gt;
&lt;div class=&quot;molina-container&quot;&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/AVvXsEgoiFHmuXKS_BNHTD2fVfawoQXVFKBq2dTVesJltcGA8bXViMKXRL1QPB-Ur-RyYOOApqClig-3wX1Yns_I22OWYTnCjHWm_BKV0VQXlERiCzEKvpAsvw9fynqbrksWKRiAtXLmG8X97n4/s1600/az-300-microsoft-azure-architect-technologies.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; alt=&quot;AZ-300 Microsoft Azure Architecture Technologies&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoiFHmuXKS_BNHTD2fVfawoQXVFKBq2dTVesJltcGA8bXViMKXRL1QPB-Ur-RyYOOApqClig-3wX1Yns_I22OWYTnCjHWm_BKV0VQXlERiCzEKvpAsvw9fynqbrksWKRiAtXLmG8X97n4/s320/az-300-microsoft-azure-architect-technologies.png&quot; width=&quot;320&quot; height=&quot;320&quot; data-original-width=&quot;600&quot; data-original-height=&quot;600&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;div data-iframe-width=&quot;150&quot; data-iframe-height=&quot;270&quot; data-share-badge-id=&quot;bb246900-d494-4e40-a31b-054b4601b09f&quot;&gt;&lt;/div&gt;&lt;script type=&quot;text/javascript&quot; async src=&quot;//cdn.youracclaim.com/assets/utilities/embed.js&quot;&gt;&lt;/script&gt;

&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/5117336177088552324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2020/02/az-300-microsoft-azure-architecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/5117336177088552324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/5117336177088552324'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2020/02/az-300-microsoft-azure-architecture.html' title='AZ-300:  Microsoft Azure Architecture Technologies Passed.'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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/AVvXsEgoiFHmuXKS_BNHTD2fVfawoQXVFKBq2dTVesJltcGA8bXViMKXRL1QPB-Ur-RyYOOApqClig-3wX1Yns_I22OWYTnCjHWm_BKV0VQXlERiCzEKvpAsvw9fynqbrksWKRiAtXLmG8X97n4/s72-c/az-300-microsoft-azure-architect-technologies.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9217696457602781418.post-132890138525538514</id><published>2020-01-19T11:20:00.000-08:00</published><updated>2020-01-19T11:20:00.496-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><title type='text'>AZ-203: Developing Solutions for Microsoft Azure Passed.</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://www.youracclaim.com/badges/868282c0-568e-4343-b3ed-cf57705f0d55&quot;&gt;AZ-203: Developing Solutions for Microsoft Azure&lt;/a&gt; Passed. &lt;br /&gt;

&lt;div class=&quot;molina-container&quot;&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/AVvXsEhxTMgOLZh5utMeCJeuGbN4a1-94Zh4VMz66jpM1MnxG9wE1Cd1c8yrDmm6WgYkNEm9H0k4O6yw77vdgK4D0IRuy9aF2A2vvpPclch9PxH1RrZhAfQftB_e3faS47HL1pkJLIdTMw5cVic/s1600/azure-developer-associate-600x600.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; alt=&quot;AZ-203 Developing Solutions for Microsoft Azure.&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxTMgOLZh5utMeCJeuGbN4a1-94Zh4VMz66jpM1MnxG9wE1Cd1c8yrDmm6WgYkNEm9H0k4O6yw77vdgK4D0IRuy9aF2A2vvpPclch9PxH1RrZhAfQftB_e3faS47HL1pkJLIdTMw5cVic/s320/azure-developer-associate-600x600.png&quot; width=&quot;320&quot; height=&quot;320&quot; data-original-width=&quot;600&quot; data-original-height=&quot;600&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;div data-iframe-width=&quot;150&quot; data-iframe-height=&quot;270&quot; data-share-badge-id=&quot;bad87283-3449-432b-b245-9dc68d65f967&quot;&gt;&lt;/div&gt;&lt;script type=&quot;text/javascript&quot; async src=&quot;//cdn.youracclaim.com/assets/utilities/embed.js&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/132890138525538514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2020/01/az-203-developing-solutions-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/132890138525538514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/132890138525538514'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2020/01/az-203-developing-solutions-for.html' title='AZ-203: Developing Solutions for Microsoft Azure Passed.'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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/AVvXsEhxTMgOLZh5utMeCJeuGbN4a1-94Zh4VMz66jpM1MnxG9wE1Cd1c8yrDmm6WgYkNEm9H0k4O6yw77vdgK4D0IRuy9aF2A2vvpPclch9PxH1RrZhAfQftB_e3faS47HL1pkJLIdTMw5cVic/s72-c/azure-developer-associate-600x600.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9217696457602781418.post-3376188557451340130</id><published>2020-01-12T16:52:00.000-08:00</published><updated>2020-01-19T11:04:07.777-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="Devops"/><title type='text'>AZ-400 Microsoft Azure DevOps Engineer Expert Passed.</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://www.youracclaim.com/badges/868282c0-568e-4343-b3ed-cf57705f0d55&quot;&gt;AZ-400 Microsoft Azure DevOps Engineer Expert&lt;/a&gt; Passed. &lt;br /&gt;
&lt;div class=&quot;molina-container&quot;&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/AVvXsEithYS5rM2iGgEwSaNWIp0CV7kZZxp7uqfWqGmW0A-dowBre1mt_UZf48t2xGloMcSbxcEb1yiFWvSqcv7x3MNY3uHy4O76CYJp7ZmGLy-YwKDKwllyCLV64pE3MFApS5Uh6YeHDTVLMVw/s1600/azure-devops-engineer-expert-600x600.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; alt=&quot;AZ-400 Microsoft Azure DevOps Engineer Expert.&quot;src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEithYS5rM2iGgEwSaNWIp0CV7kZZxp7uqfWqGmW0A-dowBre1mt_UZf48t2xGloMcSbxcEb1yiFWvSqcv7x3MNY3uHy4O76CYJp7ZmGLy-YwKDKwllyCLV64pE3MFApS5Uh6YeHDTVLMVw/s320/azure-devops-engineer-expert-600x600.png&quot; width=&quot;320&quot; height=&quot;320&quot; data-original-width=&quot;600&quot; data-original-height=&quot;600&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div data-iframe-width=&quot;150&quot; data-iframe-height=&quot;270&quot; data-share-badge-id=&quot;80f5558e-9fd2-4575-aadc-231699ce35e9&quot;&gt;&lt;/div&gt;&lt;script type=&quot;text/javascript&quot; async src=&quot;//cdn.youracclaim.com/assets/utilities/embed.js&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/3376188557451340130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2020/01/az-400-microsoft-azure-devops-solutions.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/3376188557451340130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/3376188557451340130'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2020/01/az-400-microsoft-azure-devops-solutions.html' title='AZ-400 Microsoft Azure DevOps Engineer Expert Passed.'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-4062347611607936728</id><published>2019-11-11T14:12:00.002-08:00</published><updated>2019-11-11T15:04:59.042-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="Devops"/><title type='text'>Security of agent pools - Azure Pipelines</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;molina-container&quot;&gt;
&lt;p&gt;An Agent that you set up and manage on you own to run jobs is a self-hosed &lt;b&gt;agent.&lt;/b&gt;&amp;nbsp;You can use self-hosted &lt;b&gt;agents&lt;/b&gt; in &lt;b&gt;Azure&lt;/b&gt; Pipelines.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;
In &lt;b&gt;Azure DevOps&lt;/b&gt; Sever, &lt;b&gt;agent pools&lt;/b&gt; are scoped to the entire server; so you can share the &lt;b&gt;agent&lt;/b&gt; machines across projects and collections. When you create a pipeline, you specify which &lt;b&gt;pool&lt;/b&gt; it uses. You create and manage &lt;b&gt;agent pools&lt;/b&gt; from the &lt;b&gt;agent pools&lt;/b&gt; tab in admin settings.&lt;br /&gt;&lt;/p&gt;

&lt;h2&gt;&lt;ins&gt;Security of agent pools.&lt;/ins&gt;&lt;/h2&gt;
&lt;p&gt;Understanding how security works for agent pools helps you control sharing and use of agents.&lt;br /&gt;
&lt;b&gt;Roles&lt;/b&gt; are defined on each agent pool, and &lt;b&gt;membership&lt;/b&gt; in these roles governs what operations you can perform on an agent pool.&lt;br /&gt;
&lt;/p&gt;
&lt;table class=&quot;table table-hover&quot;&gt;
    &lt;thead&gt;
&lt;tr&gt;
        &lt;th style=&#39;width:225px;&#39;&gt;Role on an agent pool in organization settings&lt;/th&gt;
        &lt;th&gt;Purpose&lt;/th&gt;
      &lt;/tr&gt;
&lt;/thead&gt;
    &lt;tbody&gt;
&lt;tr&gt;
         &lt;td&gt;Reader&lt;/td&gt;
         &lt;td&gt;Members of this role can view the agent pool as well as agents. You typically use this to add operators that are responsible for monitoring the agents and their health.&lt;/td&gt;
      &lt;/tr&gt;
&lt;tr&gt;
        &lt;td&gt;Service Account&lt;/td&gt;
        &lt;td&gt;Members of this role can use the organization agent pool to create a project agent pool in a project. If you follow the guidelines above for creating new project agent pools, you typically do not have to add any members here.&lt;/td&gt;
      &lt;/tr&gt;
&lt;tr&gt;
        &lt;td&gt;Administrator&lt;/td&gt;
        &lt;td&gt;In addition to all the above permissions, members of this role can register or unregister agents from the organization agent pool. They can also refer to the organization agent pool when creating a project agent pool in a project. Finally, they can also manage membership for all roles of the organization agent pool. The user that created the organization agent pool is automatically added to the Administrator role for that pool.&lt;/td&gt;
      &lt;/tr&gt;
&lt;/tbody&gt;
  &lt;/table&gt;
&lt;p&gt;The &lt;b&gt;All agent pools&lt;/b&gt; node in the Agent Pools tab is used to control the security of all organization agent pools. Role memberships for individual organization agent pools are automatically inherited from those of the &#39;All agent pools&#39; node. By default, TFS administrators are also administrators of the &#39;All agent pools&#39; node.&lt;br /&gt;
Roles are also defined on each project agent pool, and memberships in these roles govern what operations you can perform on an agent pool at the project level.&lt;br /&gt;&lt;/p&gt;
&lt;table class=&quot;table table-hover&quot;&gt;
    &lt;thead&gt;
&lt;tr&gt;
        &lt;th style=&#39;width:225px;&#39;&gt;Role on a agent pool in project settings&lt;/th&gt;
        &lt;th&gt;Purpose&lt;/th&gt;
      &lt;/tr&gt;
&lt;/thead&gt;
    &lt;tbody&gt;
&lt;tr&gt;
         &lt;td&gt;Reader&lt;/td&gt;
         &lt;td&gt;Members of this role can view the project agent pool. You typically use this to add operators that are responsible for monitoring the build and deployment jobs in that project agent pool.&lt;/td&gt;
      &lt;/tr&gt;
&lt;tr&gt;
        &lt;td&gt;User&lt;/td&gt;
        &lt;td&gt;Members of this role can use the project agent pool when authoring pipelines.&lt;/td&gt;
      &lt;/tr&gt;
&lt;tr&gt;
        &lt;td&gt;Administrator&lt;/td&gt;
        &lt;td&gt;In addition to all the above operations, members of this role can manage membership for all roles of the project agent pool. The user that created the pool is automatically added to the Administrator role for that pool.&lt;/td&gt;
      &lt;/tr&gt;
&lt;/tbody&gt;
  &lt;/table&gt;

&lt;p&gt;The &lt;b&gt;&lt;mark&gt;Security&lt;/mark&gt;&lt;/b&gt; action in the Agent pools tab is used to control the security of all project agent pools in a project. Role memberships for individual project agent pools are automatically inherited from what you define here. By default, the following groups are added to the Administrator role of &#39;All agent pools&#39;: Build Administrators, Release Administrators, Project Administrators.&lt;br /&gt;&lt;/p&gt;

&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/4062347611607936728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2019/11/security-of-agent-pools-azure-pipelines.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/4062347611607936728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/4062347611607936728'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2019/11/security-of-agent-pools-azure-pipelines.html' title='Security of agent pools - Azure Pipelines'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-2505128440708946282</id><published>2019-10-29T16:23:00.001-07:00</published><updated>2019-10-30T10:26:00.949-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Angular"/><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="Devops"/><title type='text'>Error: No package found with specified pattern: D:\a\r1\a\**\*.zip for Angular Azure DevOps pipeline release.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 class=&quot;as cu et eu ax&quot;&gt;
How to easily deploy the Angular app to Azure by configuring build and release pipelines in Azure DevOps&lt;/h2&gt;
&lt;div&gt;
&lt;h3&gt;
Create build pipeline definition&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
To create a build pipeline that will create the optimized version of the
 app. Start with creating a new build pipeline from Pipelines &amp;gt;&amp;gt; 
Build on your team project in the browser.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In this pipeline, you will add following tasks:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&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/AVvXsEi3YkP3sG_6GunPiRCF_MFf7Nc01Ner0QShombgOapMKdS9QUtBz1Y2MI-MdWs91opzTALfqtrKZTR9O3KcTk0MxvIR4NOqTbpEUsbeBHh9BZsiCqC4aOyPo2iqk2V6XzwPrdZpmA6ISMs/s1600/pipeline.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;396&quot; data-original-width=&quot;528&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3YkP3sG_6GunPiRCF_MFf7Nc01Ner0QShombgOapMKdS9QUtBz1Y2MI-MdWs91opzTALfqtrKZTR9O3KcTk0MxvIR4NOqTbpEUsbeBHh9BZsiCqC4aOyPo2iqk2V6XzwPrdZpmA6ISMs/s1600/pipeline.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Once this build pipeline is defined, you can queue the build. The 
created artifact should contain a file named dest.zip which will be used
 to do the deployment.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Release &amp;amp; Deploy&lt;/b&gt;&lt;br /&gt;
To do the deployment of the app, we will create a Release Pipeline.&lt;br /&gt;
&lt;br /&gt;
Under the &lt;em&gt;Pipeline&lt;/em&gt; tab, select the build pipeline that you have
 created earlier as the artifact source to be deployed. Let the default 
version be the “Latest”.&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/AVvXsEjcWFaydxj_Lf90kvs-6hst-t7Yc0qf8_1whdtfBkzStGF91akAB1jFFgiYw-0WvVLkFcrs3tsHSQo0pJfm23NvfZ7uDGPeT5Rz6Ri9uhYBfczilO5SUOOWQmXCPVGCEpmeHRbuns8s5Og/s1600/Release.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;605&quot; data-original-width=&quot;1054&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcWFaydxj_Lf90kvs-6hst-t7Yc0qf8_1whdtfBkzStGF91akAB1jFFgiYw-0WvVLkFcrs3tsHSQo0pJfm23NvfZ7uDGPeT5Rz6Ri9uhYBfczilO5SUOOWQmXCPVGCEpmeHRbuns8s5Og/s1600/Release.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Under the &lt;em&gt;Tasks&lt;/em&gt; tab, Select your Azure Account and authorize Azure DevOps to access resources from that Azure account when prompted.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
Now, select the task that is automatically added, named Deploy to Azure 
App Service. In the parameter Package or Folder, select the .ZIP file 
from the artifact. Ensure that File Transforms &amp;amp; Variable 
Substitution and App Settings section are empty.&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/AVvXsEiPP6qEhRCoL-eUwhcsXp-C2KPkcwBtgVVX7lfcRghm-ETG_0_aIwIrT2P9Kuf-bLjcps9ge2jbupIL52wecel-pUdw6KuB6xQgSThN0nGwYORDoig6VO3e5XqHTZTtpuf60n1DqAu4QrY/s1600/Release2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;594&quot; data-original-width=&quot;1066&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPP6qEhRCoL-eUwhcsXp-C2KPkcwBtgVVX7lfcRghm-ETG_0_aIwIrT2P9Kuf-bLjcps9ge2jbupIL52wecel-pUdw6KuB6xQgSThN0nGwYORDoig6VO3e5XqHTZTtpuf60n1DqAu4QrY/s1600/Release2.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&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;
Now we can create a release and proceed with the deployment.&lt;br /&gt;
&lt;br /&gt;
Since I forgot to publish my artifacts on my pipeline build, got an error during my release execution that zip file could not found.&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/AVvXsEgIbkMljvZCEFanOXKW8HZD_Isegh5kXzNBpCAnychzylNq3-JSjljbnAX145ydCNn78-UGu3VR2x6wJHKdPrjz_OYoqUzxolvTuXiMz10IOwrUgoCpyhCbFdXGXr9pEJHn4CvD6q1K6Tg/s1600/error.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;541&quot; data-original-width=&quot;1091&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIbkMljvZCEFanOXKW8HZD_Isegh5kXzNBpCAnychzylNq3-JSjljbnAX145ydCNn78-UGu3VR2x6wJHKdPrjz_OYoqUzxolvTuXiMz10IOwrUgoCpyhCbFdXGXr9pEJHn4CvD6q1K6Tg/s1600/error.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
No package found with specified pattern: D:\a\r1\a\**\*.zip&lt;br /&gt;
&lt;br /&gt;
After publish my artifacts, my release executed successfully.&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/AVvXsEiglloYd-qPttm9okkn4dyCgpWddEM6Ibz5gmZxbYAVghODcGo5eW5gI1YTRaP-XD1WvUkqFq9JwaOActz1IEy1T91E5JoHRXnu1JrZc5os1bn_YyRyMlF-kkGf3S8LbzEoMHAbVyYrC1c/s1600/publish.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;542&quot; data-original-width=&quot;1318&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiglloYd-qPttm9okkn4dyCgpWddEM6Ibz5gmZxbYAVghODcGo5eW5gI1YTRaP-XD1WvUkqFq9JwaOActz1IEy1T91E5JoHRXnu1JrZc5os1bn_YyRyMlF-kkGf3S8LbzEoMHAbVyYrC1c/s1600/publish.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;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmfbdfH0NaiWHK5LCpA6V5c_tTkZxYc93RjjzMavuuPk_MSNjI4RvoEXdwFpkPmbb9FzQ_BjG1pYkoDwcruIaJboPuRoRwyWLi0ZTwi-QVifG2B6JW8OuIUcrCON_uAWZrGwN4X7a0_3o/s1600/Publish1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;542&quot; data-original-width=&quot;1065&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmfbdfH0NaiWHK5LCpA6V5c_tTkZxYc93RjjzMavuuPk_MSNjI4RvoEXdwFpkPmbb9FzQ_BjG1pYkoDwcruIaJboPuRoRwyWLi0ZTwi-QVifG2B6JW8OuIUcrCON_uAWZrGwN4X7a0_3o/s1600/Publish1.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/2505128440708946282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2019/10/azure-devops-pipeline-release-error-no.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/2505128440708946282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/2505128440708946282'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2019/10/azure-devops-pipeline-release-error-no.html' title='Error: No package found with specified pattern: D:\a\r1\a\**\*.zip for Angular Azure DevOps pipeline release.'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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/AVvXsEi3YkP3sG_6GunPiRCF_MFf7Nc01Ner0QShombgOapMKdS9QUtBz1Y2MI-MdWs91opzTALfqtrKZTR9O3KcTk0MxvIR4NOqTbpEUsbeBHh9BZsiCqC4aOyPo2iqk2V6XzwPrdZpmA6ISMs/s72-c/pipeline.PNG" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9217696457602781418.post-6544635398702908454</id><published>2019-06-25T13:11:00.000-07:00</published><updated>2019-06-25T13:12:17.230-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Online"/><category scheme="http://www.blogger.com/atom/ns#" term="SPFX"/><title type='text'>Detecting SharePoint environment from an SPFX.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;molina-container&quot;&gt;
&lt;h2&gt;
Detecting SharePoint environment from an SPFX.&lt;/h2&gt;
SPFX web parts can be added to modern and classic SharePoint pages and we might need to load different resources depending of the environment type.&lt;br /&gt;
The environment type can be detected using the EnvironmentType enumeration, directly from your SPFX code.&lt;br /&gt;
&lt;table class=&quot;table table-hover&quot;&gt;
    &lt;thead&gt;
&lt;tr&gt;
        &lt;th&gt;Member&lt;/th&gt;
        &lt;th&gt;Description&lt;/th&gt;
      &lt;/tr&gt;
&lt;/thead&gt;
    &lt;tbody&gt;
&lt;tr&gt;
         &lt;td&gt;ClasicSharePoint&lt;/td&gt;
         &lt;td&gt;Indicates that the framework was loaded from a classic SharePoint page&lt;/td&gt;
      &lt;/tr&gt;
&lt;tr&gt;
        &lt;td&gt;Local&lt;/td&gt;
        &lt;td&gt;Indicates that the framework was loaded from the workbench&lt;/td&gt;
      &lt;/tr&gt;
&lt;tr&gt;
        &lt;td&gt;SharePoint&lt;/td&gt;
        &lt;td&gt;Indicates that the framework was loaded by a client-rendered SharePoint page&lt;/td&gt;
      &lt;/tr&gt;
&lt;tr&gt;
        &lt;td&gt;Test&lt;/td&gt;
        &lt;td&gt;Represents the scenario of the framework hosted in a unit/integration test&lt;/td&gt;
      &lt;/tr&gt;
&lt;/tbody&gt;
  &lt;/table&gt;
To detect the environment type start by importing the enumeration from the sp-core-library: &lt;br /&gt;
&lt;div class=&quot;well well-sm&quot;&gt;
import { Environment, EnvironmentType} from &#39;@microsoft/sp-core-library&#39;;&lt;/div&gt;
Use the code below to target a specific environment.&lt;br /&gt;
&lt;div class=&quot;well well-sm&quot;&gt;
if(Environment.type == EnvironmentType.ClassicSharePoint){
      //Classic SharePoint page 
    }else if(Environment.type === EnvironmentType.Local){ 
      //Workbenck page 
    }else if(Environment.type === EnvironmentType.SharePoint){
      //Modern SharePoint page 
    }else if(Environment.type === EnvironmentType.Test){
      //Running on Unit test enveironment 
    } 
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/6544635398702908454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2019/06/detecting-sharepoint-environment-from.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/6544635398702908454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/6544635398702908454'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2019/06/detecting-sharepoint-environment-from.html' title='Detecting SharePoint environment from an SPFX.'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-6517816937267292606</id><published>2019-06-25T10:51:00.003-07:00</published><updated>2019-06-25T13:27:45.404-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Online"/><category scheme="http://www.blogger.com/atom/ns#" term="SPFX"/><title type='text'>Modern SharePoint site creation with REST API.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;molina-container&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;
&lt;div class=&quot;&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 16px; margin-top: 1rem; overflow-wrap: break-word;&quot;&gt;
The following REST commands are available for creating a modern SharePoint Communication site:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 16px; margin: 16px 0px 16px 38px; padding: 0px;&quot;&gt;
&lt;li class=&quot;&quot; style=&quot;box-sizing: inherit; list-style: disc outside none; outline: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: 600;&quot;&gt;Create&lt;/span&gt;. Create a new SharePoint site.&lt;/li&gt;
&lt;li class=&quot;&quot; style=&quot;box-sizing: inherit; list-style: disc outside none; outline: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: 600;&quot;&gt;Delete&lt;/span&gt;. Deletes a SharePoint site.&lt;/li&gt;
&lt;li class=&quot;&quot; style=&quot;box-sizing: inherit; list-style: disc outside none; outline: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: 600;&quot;&gt;Status&lt;/span&gt;. Get the status of a SharePoint site.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 16px; margin-top: 1rem; overflow-wrap: break-word;&quot;&gt;
The base URL for the REST commands is&amp;nbsp;&lt;code style=&quot;background-color: var(--body-background-dark); border-radius: 3px; box-sizing: inherit; direction: ltr; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.6px; overflow-wrap: break-word; padding: 0.1em 0.2em;&quot;&gt;_api/SPSiteManager&lt;/code&gt;.&lt;/div&gt;
&lt;h2 class=&quot;&quot; id=&quot;create-a-modern-site&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 1.75rem; line-height: 1.3; margin-bottom: 12px; margin-top: 32px;&quot;&gt;
Create a modern site&lt;a aria-labelledby=&quot;create-a-modern-site&quot; class=&quot;docon docon-link heading-anchor&quot; href=&quot;https://docs.microsoft.com/en-us/sharepoint/dev/apis/site-creation-rest#create-a-modern-site&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 0.8em; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; line-height: 16px; margin: -1px; opacity: 0; outline: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; transition: opacity 0.1s linear 0s; vertical-align: middle; width: 1px;&quot;&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 16px; margin-top: 1rem; overflow-wrap: break-word;&quot;&gt;
Using the following REST api you can create both Communication sites and non-group associated Team Sites.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 16px; margin-top: 1rem; overflow-wrap: break-word;&quot;&gt;
To specify which type of site to create you use the WebTemplate attribute. Use one of the following templates to select which type of site to create:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 16px; margin: 16px 0px 16px 38px; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit; list-style: disc outside none; outline: 0px;&quot;&gt;Communication Site:&amp;nbsp;&lt;code class=&quot;&quot; style=&quot;background-color: var(--body-background-dark); border-radius: 3px; box-sizing: inherit; direction: ltr; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.6px; overflow-wrap: break-word; padding: 0.1em 0.2em;&quot;&gt;SITEPAGEPUBLISHING#0&lt;/code&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit; list-style: disc outside none; outline: 0px;&quot;&gt;non-group associated Team Site:&amp;nbsp;&lt;code style=&quot;background-color: var(--body-background-dark); border-radius: 3px; box-sizing: inherit; direction: ltr; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.6px; overflow-wrap: break-word; padding: 0.1em 0.2em;&quot;&gt;STS#3&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;
JSON&lt;/h4&gt;
&lt;br /&gt;
&lt;div class=&quot;well well-sm&quot;&gt;
&lt;pre class=&quot;has-inner-focus&quot; style=&quot;-webkit-font-smoothing: auto; background-color: var(--body-background-medium); border: 1px solid var(--border); box-sizing: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace !important; font-size: 0.875rem; hyphens: none; line-height: 19px; overflow-wrap: normal; overflow: auto; padding: 1rem; tab-size: 4; word-break: normal;&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;lang-json&quot; data-author-content=&quot;url: /_api/SPSiteManager/create
accept: application/json;odata.metadata=none
odata-version: 4.0
method: POST
body:
{
  &amp;quot;Title&amp;quot;: &amp;quot;Communication Site 1&amp;quot;,
  &amp;quot;Url&amp;quot;:&amp;quot;https://contoso.sharepoint.com/sites/commsite1&amp;quot;,
  &amp;quot;Lcid&amp;quot;: 1033,
  &amp;quot;ShareByEmailEnabled&amp;quot;:false,
  &amp;quot;Classification&amp;quot;:&amp;quot;Low Business Impact&amp;quot;,
  &amp;quot;Description&amp;quot;:&amp;quot;Description&amp;quot;,
  &amp;quot;WebTemplate&amp;quot;:&amp;quot;SITEPAGEPUBLISHING#0&amp;quot;,
  &amp;quot;SiteDesignId&amp;quot;:&amp;quot;6142d2a0-63a5-4ba0-aede-d9fefca2c767&amp;quot;,
  &amp;quot;Owner&amp;quot;:&amp;quot;owner@yourtenant.onmicrosoft.com&amp;quot;
}
&quot; style=&quot;border: 0px; box-sizing: inherit; direction: ltr; display: block; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 1em; line-height: 19px; padding: 0px;&quot;&gt;url: /_api/SPSiteManager/create
accept: application/json;odata.metadata=none
odata-version: &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: inherit;&quot;&gt;4.0&lt;/span&gt;
method: POST
body:
{
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;Title&quot;&lt;/span&gt;: &lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #a31515;&quot;&gt;&quot;Communication Site 1&quot;&lt;/span&gt;,
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;Url&quot;&lt;/span&gt;:&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #a31515;&quot;&gt;&quot;https://contoso.sharepoint.com/sites/commsite1&quot;&lt;/span&gt;,
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;Lcid&quot;&lt;/span&gt;: &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: inherit;&quot;&gt;1033&lt;/span&gt;,
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;ShareByEmailEnabled&quot;&lt;/span&gt;:&lt;span class=&quot;hljs-literal&quot; style=&quot;box-sizing: inherit; color: #07704a;&quot;&gt;false&lt;/span&gt;,
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;Classification&quot;&lt;/span&gt;:&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #a31515;&quot;&gt;&quot;Low Business Impact&quot;&lt;/span&gt;,
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;Description&quot;&lt;/span&gt;:&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #a31515;&quot;&gt;&quot;Description&quot;&lt;/span&gt;,
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;WebTemplate&quot;&lt;/span&gt;:&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #a31515;&quot;&gt;&quot;SITEPAGEPUBLISHING#0&quot;&lt;/span&gt;,
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;SiteDesignId&quot;&lt;/span&gt;:&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #a31515;&quot;&gt;&quot;6142d2a0-63a5-4ba0-aede-d9fefca2c767&quot;&lt;/span&gt;,
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;Owner&quot;&lt;/span&gt;:&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #a31515;&quot;&gt;&quot;owner@yourtenant.onmicrosoft.com&quot;&lt;/span&gt;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;segoe ui&amp;quot; , &amp;quot;segoeui&amp;quot; , &amp;quot;segoe wp&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 1.1875rem;&quot;&gt;Response&lt;/span&gt;&lt;br /&gt;
&lt;h3 id=&quot;response&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 1.1875rem; line-height: 1.3; margin-bottom: 18px; margin-top: 30px;&quot;&gt;
&lt;a aria-labelledby=&quot;response&quot; class=&quot;docon docon-link heading-anchor&quot; href=&quot;https://docs.microsoft.com/en-us/sharepoint/dev/apis/site-creation-rest#response&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1em; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; line-height: 16px; margin: -1px; opacity: 0; outline: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; transition: opacity 0.1s linear 0s; vertical-align: middle; width: 1px;&quot;&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;x-hidden-focus&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 16px; margin-top: 1rem; overflow-wrap: break-word;&quot;&gt;
If successful, this method returns a&amp;nbsp;&lt;code style=&quot;background-color: var(--body-background-dark); border-radius: 3px; box-sizing: inherit; direction: ltr; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.6px; overflow-wrap: break-word; padding: 0.1em 0.2em;&quot;&gt;200, OK&lt;/code&gt;&amp;nbsp;response code and simple JSON object in the response body with the following details.&lt;/div&gt;
&lt;div class=&quot;codeHeader&quot; data-bi-name=&quot;code-header&quot; id=&quot;code-try-1&quot; style=&quot;border-bottom: 0px; box-sizing: content-box; display: flex; flex-direction: row; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 0.8rem; margin-top: 16px; min-height: 30px;&quot;&gt;
&lt;span class=&quot;language&quot; style=&quot;box-sizing: inherit; flex-grow: 1; padding: 2px 16px;&quot;&gt;JSON&lt;/span&gt;&lt;span class=&quot;docon docon-edit-copy&quot; role=&quot;presentation&quot; style=&quot;box-sizing: inherit; direction: ltr; display: inline-block; font-family: &amp;quot;docons&amp;quot;; font-size: inherit; line-height: 16px; margin-right: 0.25em; speak: none;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;pre class=&quot;has-inner-focus focus-visible&quot; data-focus-visible-added=&quot;&quot; style=&quot;-webkit-font-smoothing: auto; border: 1px solid var(--border); box-sizing: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace !important; font-size: 0.875rem; hyphens: none; line-height: 19px; outline-offset: -0.125rem !important; outline: 0.125rem dashed var(--text); overflow-wrap: normal; overflow: auto; padding: 1rem; tab-size: 4; word-break: normal;&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;lang-json&quot; data-author-content=&quot;{
  &amp;quot;SiteId&amp;quot;:&amp;quot;d11e59ca-1465-424c-be90-c847ba849af5&amp;quot;,
  &amp;quot;SiteStatus&amp;quot;:2,
  &amp;quot;SiteUrl&amp;quot;:&amp;quot;https://contoso.sharepoint.com/sites/commsite1&amp;quot;
}
&quot; style=&quot;border: 0px; box-sizing: inherit; direction: ltr; display: block; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 1em; line-height: 19px; padding: 0px;&quot;&gt;{
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;SiteId&quot;&lt;/span&gt;:&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #a31515;&quot;&gt;&quot;d11e59ca-1465-424c-be90-c847ba849af5&quot;&lt;/span&gt;,
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;SiteStatus&quot;&lt;/span&gt;:&lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: inherit;&quot;&gt;2&lt;/span&gt;,
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;SiteUrl&quot;&lt;/span&gt;:&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #a31515;&quot;&gt;&quot;https://contoso.sharepoint.com/sites/commsite1&quot;&lt;/span&gt;
}&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;h2 id=&quot;delete-a-modern-site&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 1.75rem; line-height: 1.3; margin-bottom: 12px; margin-top: 32px;&quot;&gt;
Delete a modern site&lt;a aria-labelledby=&quot;delete-a-modern-site&quot; class=&quot;docon docon-link heading-anchor&quot; href=&quot;https://docs.microsoft.com/en-us/sharepoint/dev/apis/site-creation-rest#delete-a-modern-site&quot; style=&quot;-webkit-font-smoothing: antialiased; background-color: transparent; box-sizing: inherit; cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 0.8em; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; margin-bottom: 4px; margin-left: 10px; outline: 0px; overflow-wrap: break-word; speak: none; text-align: center; text-decoration-line: none; transition: opacity 0.1s linear 0s; vertical-align: middle;&quot;&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 16px; margin-top: 1rem; overflow-wrap: break-word;&quot;&gt;
The REST API to delete a modern site is:&lt;/div&gt;
&lt;div class=&quot;codeHeader&quot; data-bi-name=&quot;code-header&quot; id=&quot;code-try-2&quot; style=&quot;border-bottom: 0px; box-sizing: content-box; display: flex; flex-direction: row; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 0.8rem; margin-top: 16px; min-height: 30px;&quot;&gt;
&lt;span class=&quot;language&quot; style=&quot;box-sizing: inherit; flex-grow: 1; padding: 2px 16px;&quot;&gt;JSON&lt;/span&gt;&lt;span class=&quot;docon docon-edit-copy&quot; role=&quot;presentation&quot; style=&quot;box-sizing: inherit; direction: ltr; display: inline-block; font-family: &amp;quot;docons&amp;quot;; font-size: inherit; line-height: 16px; margin-right: 0.25em; speak: none;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;has-inner-focus&quot; style=&quot;-webkit-font-smoothing: auto; border: 1px solid var(--border); box-sizing: inherit; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace !important; font-size: 0.875rem; hyphens: none; line-height: 19px; overflow-wrap: normal; overflow: auto; padding: 1rem; tab-size: 4; word-break: normal;&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;lang-json&quot; data-author-content=&quot;url: /_api/SPSiteManager/delete
method: POST
accept: application/json;odata.metadata=none
odata-version: 4.0
body:
{
  &amp;quot;siteId&amp;quot;:&amp;quot;d11e59ca-1465-424c-be90-c847ba849af5&amp;quot;
}
&quot; style=&quot;border: 0px; box-sizing: inherit; direction: ltr; display: block; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 1em; line-height: 19px; padding: 0px;&quot;&gt;url: /_api/SPSiteManager/delete
method: POST
accept: application/json;odata.metadata=none
odata-version: &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: inherit;&quot;&gt;4.0&lt;/span&gt;
body:
{
  &lt;span class=&quot;hljs-attr&quot; style=&quot;box-sizing: inherit; color: #0451a5;&quot;&gt;&quot;siteId&quot;&lt;/span&gt;:&lt;span class=&quot;hljs-string&quot; style=&quot;box-sizing: inherit; color: #a31515;&quot;&gt;&quot;d11e59ca-1465-424c-be90-c847ba849af5&quot;&lt;/span&gt;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 id=&quot;response-1&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 1.1875rem; line-height: 1.3; margin-bottom: 18px; margin-top: 30px;&quot;&gt;
Response&lt;/h3&gt;
&lt;div class=&quot;&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: &amp;quot;Segoe UI&amp;quot;, SegoeUI, &amp;quot;Segoe WP&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Tahoma, Arial, sans-serif; font-size: 16px; margin-top: 1rem; overflow-wrap: break-word;&quot;&gt;
If successful this method returns a&amp;nbsp;&lt;code style=&quot;background-color: var(--body-background-dark); border-radius: 3px; box-sizing: inherit; direction: ltr; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 13.6px; overflow-wrap: break-word; padding: 0.1em 0.2em;&quot;&gt;200, OK&lt;/code&gt;&amp;nbsp;response code.&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/6517816937267292606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2019/06/modern-sharepoint-site-creation-with.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/6517816937267292606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/6517816937267292606'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2019/06/modern-sharepoint-site-creation-with.html' title='Modern SharePoint site creation with REST API.'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-4759618031828931583</id><published>2019-06-17T15:54:00.003-07:00</published><updated>2019-06-25T14:48:05.381-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Hybrid"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Online"/><title type='text'>Deploying SharePoint Server Hybrid MS-301  Completed.</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://www.youracclaim.com/badges/499b3aa0-e6f6-49c0-a8d6-fd1269d596d1&quot; target=&quot;_blank&quot;&gt;Deploying&amp;nbsp;SharePoint Server Hybrid MS-301&lt;/a&gt; &amp;nbsp;Completed.&lt;br /&gt;
&lt;div class=&quot;molina-container&quot;&gt;
&lt;img alt=&quot;Deploying SharePoint Server Hybrid MS-301&quot; class=&quot;img-circle&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNs42jaLhTpqSbWhW206QKuiMBmZM0llcM2MPmwyX4Jh-ZznKfcHBdmW5pTMmZEn6iiVTkn602f2IYHtNTm3P3dSNOSz2xNJJQNDBwSY0tbJnsLBjPtrR0-hzeEscKXqauG-exNGMlDY0/s320/exam-ms301-600x600%25281%2529.png&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/4759618031828931583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2019/06/blog-post.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/4759618031828931583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/4759618031828931583'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2019/06/blog-post.html' title='Deploying SharePoint Server Hybrid MS-301  Completed.'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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/AVvXsEhNs42jaLhTpqSbWhW206QKuiMBmZM0llcM2MPmwyX4Jh-ZznKfcHBdmW5pTMmZEn6iiVTkn602f2IYHtNTm3P3dSNOSz2xNJJQNDBwSY0tbJnsLBjPtrR0-hzeEscKXqauG-exNGMlDY0/s72-c/exam-ms301-600x600%25281%2529.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9217696457602781418.post-6030365554078190436</id><published>2017-04-11T16:29:00.001-07:00</published><updated>2017-04-11T16:31:21.469-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2016"/><title type='text'>List of ports used by SharePoint 2016</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-color: white; color: #3c4551; font-family: Roboto; font-size: 13.1999998092651px; line-height: 18.4799995422363px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;&lt;b&gt;Protocol&lt;/b&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;b&gt;Port&lt;/b&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;&lt;b&gt;Usage&lt;/b&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;&lt;b&gt;Comment&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;80&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;http&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;Client to SharePoint web server traffic&lt;br /&gt;(SharePoint – Office Web Apps communication)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;443&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;https/ssl&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;Encrypted client to SharePoint web server traffic&lt;br /&gt;(Encrypted SharePoint – Office Web Apps communication)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;1433&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;SQL Server default communication port.&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;May be configured to use custom port for increased security&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;UDP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;1434&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;SQL Server default port used to establish connection&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;May be configured to use custom port for increased security&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;445&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;SQL Server using named pipes&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;When SQL Server is configured to listen for incoming client connections by using named pipes over a NetBIOS session, SQL Server communicates over TCP port 445&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;25&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;SMTP for e-mail integration&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;Cannot be configured&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;16500-16519&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;Ports used by the search index component&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;Intra-farm only&lt;br /&gt;Inbound rule Added to Windows firewall by SharePoint&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;22233-22236&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;Ports required for the AppFabric Caching Service&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;Distributed Cache…&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;808&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;Windows Communication Foundation communication&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;WCF&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;32843&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;Communication between Web servers and service applications&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;http (default) To use custom port, see references section&lt;br /&gt;Inbound rule Added to Windows firewall by SharePoint&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;32844&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;Communication between Web servers and service applications&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;https&lt;br /&gt;Inbound rule Added to Windows firewall by SharePoint&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;32845&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;net.tcp binding: TCP 32845 (only if a third party has implemented this option for a service application)&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;&amp;nbsp;Custom Service Applications&lt;br /&gt;Inbound rule Added to Windows firewall by SharePoint&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;32846&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;Microsoft SharePoint Foundation User Code Service (for sandbox solutions)&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;&amp;nbsp;Inbound on all Web Servers&lt;br /&gt;Inbound rule Added to Windows firewall by SharePoint&lt;br /&gt;Outbound on all Web and App servers with service enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;5725&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;User Profile Synchronization Service(FIM)&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;Synchronizing profiles between SharePoint 2013 and Active Directory Domain Services (AD DS) on the server that runs the Forefront Identity Management agent&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP + UDP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;389&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;User Profile Synchronization Service(FIM)&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;LDAP Service&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP + UDP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;88&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;User Profile Synchronization Service(FIM)&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;Kerberos&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP + UDP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;53&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;User Profile Synchronization Service(FIM)&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;DNS&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;UDP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;464&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;User Profile Service(FIM)&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;Kerberos change password&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;10%&quot;&gt;TCP&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;15%&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;809&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;40%&quot;&gt;Office Web Apps&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;35%&quot;&gt;Intra-farm Office Web Apps communication.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/6030365554078190436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2017/04/list-of-ports-used-by-sharepoint-2016.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/6030365554078190436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/6030365554078190436'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2017/04/list-of-ports-used-by-sharepoint-2016.html' title='List of ports used by SharePoint 2016'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-3518565028429304282</id><published>2017-04-11T16:06:00.001-07:00</published><updated>2019-06-25T14:52:50.915-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2016"/><title type='text'>SharePoint 2016 70-339 completed.</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://www.youracclaim.com/badges/d355472a-8684-4044-8c1c-ce36c59b5a1c/public_url&quot; target=&quot;_blank&quot;&gt;SharePoint 2016 70-339&lt;/a&gt; Completed.&lt;br /&gt;
&lt;div class=&quot;molina-container&quot;&gt;
&lt;img alt=&quot;SharePoint 2016 70-339&quot; class=&quot;img-circle&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYv7YeTUaDuDM278R2AOKqDbPmr3jRx5Gj1sRtWj-jxESavMMqbLgLS7r5-hS9QVNwbQpgKt92QS2IWTpPc7mDFUKr5l1RcClTq5EVTlrzVTOR8rdi9AvRO7vIACPLME69gTwUpmPPBLg/s320/Managing-Microsoft-SharePoint-Server-2016.png&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/3518565028429304282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2017/04/sharepoint-2016-70-339-completed.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/3518565028429304282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/3518565028429304282'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2017/04/sharepoint-2016-70-339-completed.html' title='SharePoint 2016 70-339 completed.'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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/AVvXsEgYv7YeTUaDuDM278R2AOKqDbPmr3jRx5Gj1sRtWj-jxESavMMqbLgLS7r5-hS9QVNwbQpgKt92QS2IWTpPc7mDFUKr5l1RcClTq5EVTlrzVTOR8rdi9AvRO7vIACPLME69gTwUpmPPBLg/s72-c/Managing-Microsoft-SharePoint-Server-2016.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9217696457602781418.post-3093347797258430462</id><published>2014-10-14T15:31:00.000-07:00</published><updated>2014-10-14T15:32:00.191-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Protecting Your SharePoint 2010 Content with SQL Server 2008 Transparent Database Encryption</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;High Level Steps to enable TDE&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;Create the DMK&lt;br /&gt;Create the TDE Cert&lt;br /&gt;Backup the TDE Cert&lt;br /&gt;Create the DEK&lt;br /&gt;Encrypt the DB&lt;br /&gt;Monitor Progress&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. &lt;u&gt;Creating the Database Master Key (DMK)&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;Symmetric key used to protect private keys and asymmetric keys&lt;br /&gt;Protected itself by Service Master Key (SMK), which is created by SQL Server setup&lt;br /&gt;Use syntax as follows:&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;USE master;&lt;br /&gt;GO&lt;br /&gt;CREATE MASTER KEY ENCRYPTION BY PASSWORD = &#39;P@ssword1&#39;;&lt;br /&gt;GO&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;2. &lt;u&gt;Create Certificate Protected by DMK &lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Protected by the DMK&lt;br /&gt;
Used to protect the database encryption key&lt;br /&gt;
&lt;br /&gt;
Use syntax as follows:&lt;br /&gt;
USE master;&lt;br /&gt;
GO&lt;br /&gt;
CREATE CERTIFICATE CompanyABCtdeCert WITH SUBJECT = &#39;CompanyABCTDE Certificate&#39; ;&lt;br /&gt;
GO&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3. &lt;u&gt;Backup Master Key and Cert&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Without a backup, data can be lost&lt;br /&gt;
Backup creates two files, the Cert backup and the Private Key File&lt;br /&gt;
Use following syntax:&lt;br /&gt;
&lt;br /&gt;
USE master;&lt;br /&gt;
GO&lt;br /&gt;
BACKUP CERTIFICATE CompanyABCtdeCert TO FILE = &#39;c:\Backup\BackupCompanyABCtdeCERT.cer&#39; &lt;br /&gt;
WITH PRIVATE KEY ( &lt;br /&gt;
FILE = &#39;c:\Backup\BackupCompanyABCtdeDECert.pvk&#39;, &lt;br /&gt;
ENCRYPTION BY PASSWORD = &#39;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;P@ssword1&lt;/span&gt;&#39; );&lt;br /&gt;
GO&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4. &lt;u&gt;Create a Database Encryption Key (DEK)&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
DEK is used to encrypt specific database&lt;br /&gt;
One created for each database&lt;br /&gt;
Encryption method can be chosen for each DEK&lt;br /&gt;
Use following syntax:&lt;br /&gt;
&lt;br /&gt;
USE SharePointContentDB;&lt;br /&gt;
GO&lt;br /&gt;
CREATE DATABASE ENCRYPTION KEY &lt;br /&gt;
WITH ALGORITHM = AES_256 &lt;br /&gt;
ENCRYPTION BY SERVER CERTIFICATE CompanyABCtdeCert&lt;br /&gt;
GO&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5. &lt;u&gt;Enable TDE&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Data encryption will begin after running command&lt;br /&gt;
Size of DB will determine time it will take, can be lengthy and could cause user blocking&lt;br /&gt;
Use following syntax:&lt;br /&gt;
USE SharePointContentDB&lt;br /&gt;
GO&lt;br /&gt;
ALTER DATABASE SharePointContentDB&lt;br /&gt;
SET ENCRYPTION ON&lt;br /&gt;
GO&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;6. Monitor TDE Progress&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
State is Returned&lt;br /&gt;
State of 2 = Encryption Begun&lt;br /&gt;
State of 3 = Encryption Complete&lt;br /&gt;
Use following syntax:&lt;br /&gt;
USE SharePointContentDB&lt;br /&gt;
GO&lt;br /&gt;
SELECT *&lt;br /&gt;
FROM sys.dm_database_encryption_keys&lt;br /&gt;
WHERE encryption_state = 3;&lt;br /&gt;
GO&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;7. Restoring TDE Encrypted DB to Other Server&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
Step 1: Create new Master Key on Target Server (Does not need to match source master key)&lt;br /&gt;
Step 2: Backup Cert and Private Key from Source&lt;br /&gt;
Step 3: Restore Cert and Private Key onto Target (No need to export the DEK as it is part of the backup)&lt;br /&gt;
USE master;&lt;br /&gt;
GO&lt;br /&gt;
CREATE CERTIFICATE CompanyABCtdeCert&lt;br /&gt;
FROM FILE = &#39;C:RestoreCompanyABCtdeCert.cer&#39;&lt;br /&gt;
WITH PRIVATE KEY (&lt;br /&gt;
FILE = &#39;C:RestoreCompanyABCtdeCert.pvk&#39;&lt;br /&gt;
, DECRYPTION BY PASSWORD = &#39;CrypticTDEpw4CompanyABC!&#39;&lt;br /&gt;
)&lt;br /&gt;
Step 4: Restore DB&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/3093347797258430462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2014/10/protecting-your-sharepoint-2010-content.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/3093347797258430462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/3093347797258430462'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2014/10/protecting-your-sharepoint-2010-content.html' title='Protecting Your SharePoint 2010 Content with SQL Server 2008 Transparent Database Encryption'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-8945762994952481127</id><published>2013-07-19T15:38:00.003-07:00</published><updated>2013-07-19T15:38:33.743-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>The Security Token Service is not available.</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;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;WebHost failed to process a request.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp;Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/17653682&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp;Exception: System.ServiceModel.ServiceActivationException: The service &#39;/SecurityTokenServiceApplication/securitytoken.svc&#39; cannot be activated due to an exception during compilation. &amp;nbsp;The exception message is: Exception has been thrown by the target of an invocation.. ---&amp;gt; System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; System.InvalidOperationException: The farm is unavailable.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local()&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceConfiguration..ctor()&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;--- End of inner exception stack trace ---&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandle&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.Activator.CreateInstance(Type type, Boolean nonPublic)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateSecurityTokenServiceConfiguration(String constructorString)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at Microsoft.SharePoint.IdentityModel.SPSecurityTokenServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;--- End of inner exception stack trace ---&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp;at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp;Process Name: w3wp&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&amp;nbsp;Process ID: 5328&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started. Please Contact your Administrator.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;The Security Token Service is not available.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;The Security Token Service is not issuing tokens. The service could be malfunctioning or in a bad state.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;*******************************************************************************&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Lucida Grande, Verdana, Arial, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16.796875px;&quot;&gt;I resolved this issue by going into IIS, going to the security token application pool, advanced and saw that “enable 32-bit applications” was set to true, change this to false, re-run the&amp;nbsp;analyzer&amp;nbsp;and Problem solved.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/8945762994952481127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2013/07/the-security-token-service-is-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/8945762994952481127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/8945762994952481127'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2013/07/the-security-token-service-is-not.html' title='The Security Token Service is not available.'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-2106253893962042909</id><published>2013-05-03T14:10:00.000-07:00</published><updated>2013-05-03T14:10:22.041-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0×80030102(STG_E_REVERTED))</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; padding: 0px;&quot;&gt;
In my web part I used followig code&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;I used to write the code like this&lt;/div&gt;
&lt;pre style=&quot;background-color: #f4f5f7; background-image: url(http://s2.wp.com/wp-content/themes/pub/inove/img/blockquote.gif); background-position: 3px 3px; background-repeat: no-repeat no-repeat; border: 1px dashed rgb(204, 204, 204); color: #555555; font-size: 12px; line-height: 17px; margin-bottom: 5px; margin-top: 5px; padding: 8px 12px 8px 36px;&quot;&gt;using (SPSite _site = SPContext.Current.Site)
{
  using (SPWeb _web = site.RootWeb)
  {
   // your code
  }
}
&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f4f5f7; background-image: url(http://s2.wp.com/wp-content/themes/pub/inove/img/blockquote.gif); background-position: 3px 3px; background-repeat: no-repeat no-repeat; border: 1px dashed rgb(204, 204, 204); color: #555555; font-size: 12px; line-height: 17px; margin-bottom: 5px; margin-top: 5px; padding: 8px 12px 8px 36px;&quot;&gt;To correct this issue use code like following in my web part

SPSite currSite = SPContext.Current.Site;
SPWeb currWeb = currSite.RootWeb;
using (SPSite eSite = new SPSite(currSite.ID))
{
 using (SPWeb eWeb = eSite.OpenWeb(currWeb.ID))
 {
    //Your code
 }
}
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin-bottom: 10px; padding: 0px;&quot;&gt;
Happy coding…&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/2106253893962042909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2013/05/attempted-to-use-object-that-has-ceased.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/2106253893962042909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/2106253893962042909'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2013/05/attempted-to-use-object-that-has-ceased.html' title='Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0×80030102(STG_E_REVERTED))'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-4243160028945461079</id><published>2013-02-01T13:06:00.000-08:00</published><updated>2013-02-01T13:07:06.132-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2013"/><title type='text'>Upgrade the Managed Metadata service application to SP 2013</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Step 1&lt;/b&gt; : &amp;nbsp;Take backup of Managed Metadata server application DB.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2&lt;/b&gt; : &amp;nbsp;Restore the MMS DB in SP 2013 SQL environment.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 3&lt;/b&gt; : &amp;nbsp;To Store the application pool that you want to use as a variable for this service application, at the PowerShell command prompt, type the following command :&lt;br /&gt;
&lt;br /&gt;
$applicationPool = Get-SPServiceApplicationPool -Identity &#39;SharePoint Web Services default&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;em style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;* SharePoint Web Services default&lt;/em&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&amp;nbsp;is the name of the service application pool that will contain the new service applications.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;Step 4&lt;/b&gt;: &amp;nbsp;To upgrade the MMS, type the following command in PowerShell command prompt:&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-size: 12px; line-height: 16px; overflow: auto; padding: 5px;&quot;&gt;&lt;span style=&quot;color: orangered;&quot;&gt;$mms&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; New&lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;SPMetadataServiceApplication &lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;Name &lt;span style=&quot;color: #a31515;&quot;&gt;&#39;My Managed Metadata Service Application&#39;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;ApplicationPool &lt;span style=&quot;color: orangered;&quot;&gt;$applicationPool&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;DatabaseName &lt;span style=&quot;color: #a31515;&quot;&gt;&#39;Managed Metadata Service_DB&#39;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-size: 12px; line-height: 16px; overflow: auto; padding: 5px;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-size: 12px; line-height: 16px; overflow: auto; padding: 5px;&quot;&gt;&lt;b style=&quot;font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal; white-space: normal;&quot;&gt;Step 4&lt;/b&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small; line-height: normal; white-space: normal;&quot;&gt;: &amp;nbsp;Type the following command in PowerShell command prompt for creating proxy service:&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-size: 12px; line-height: 16px; overflow: auto; padding: 5px;&quot;&gt;&lt;pre style=&quot;font-family: Consolas, Courier, monospace; overflow: auto; padding: 5px;&quot;&gt;New&lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;SPMetadataServiceApplicationProxy &lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;Name &quot; My Managed Metadata Service Proxy&quot; &lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;ServiceApplication &lt;span style=&quot;color: orangered;&quot;&gt;$mms&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;DefaultProxyGroup&lt;/pre&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; overflow: auto; padding: 5px;&quot;&gt;For more information &lt;a href=&quot;http://technet.microsoft.com/en-us/library/jj839719.aspx&quot; target=&quot;_blank&quot;&gt;click here&lt;/a&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/4243160028945461079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2013/02/upgrade-managed-metadata-service.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/4243160028945461079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/4243160028945461079'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2013/02/upgrade-managed-metadata-service.html' title='Upgrade the Managed Metadata service application to SP 2013'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-3973398468886985970</id><published>2013-01-10T16:44:00.002-08:00</published><updated>2013-01-10T20:51:48.852-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2013"/><title type='text'>Upgrade SharePoint from 2010 to 2013</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h1 class=&quot;ms-rteElement-H1B&quot; style=&quot;background-color: rgba(255, 255, 255, 0.843137); color: #4ca634; font-family: &#39;Segoe UI Light&#39;, &#39;Segoe UI&#39;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 2.3em; font-weight: 200; line-height: 1.4; margin: auto;&quot;&gt;
&lt;span class=&quot;ms-rteFontSize-8&quot; style=&quot;font-size: 72pt;&quot;&gt;Welcome to SharePoint 2013&amp;nbsp;&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;strong style=&quot;color: #1c4269; font-family: &#39;Segoe UI&#39;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6;&quot;&gt;I just finished upgrading my SP 2010 website &amp;nbsp;to SP 2013 by attached content database More details about upgrade process from here:&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc262483(v=office.15)&quot;&gt;&lt;span class=&quot;ms-rteFontSize-8&quot;&gt;&lt;/span&gt;http://technet.microsoft.com/en-us/library/cc262483(v=office.15)&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.843137); color: #1c4269; font-family: &#39;Segoe UI&#39;, Segoe, Tahoma, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.6; margin-bottom: 10px;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;ms-rteFontSize-8&quot; style=&quot;font-size: 72pt;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/3973398468886985970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2013/01/upgrade-sharepoint-from-2010-to-2013.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/3973398468886985970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/3973398468886985970'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2013/01/upgrade-sharepoint-from-2010-to-2013.html' title='Upgrade SharePoint from 2010 to 2013'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-7740205827088343473</id><published>2012-12-05T13:44:00.001-08:00</published><updated>2012-12-05T13:50:31.818-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>SharePoint 2010: Unable to start UPA sync service ,stuck at “Starting”</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;background-color: white; color: #333333; font-family: Verdana; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;Unable to start User Profile sync service from Central administration site -system settings-Services on server. The service freezes at &quot;starting&quot; and never start. Below are the information from event viewer and verbose enabled ULS logs.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;I found the below solution at&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Verdana;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 18.133333206176758px;&quot;&gt;&lt;a href=&quot;http://blogs.technet.com/b/manjesh/archive/2011/03/06/sharepoint-2010-unable-to-start-upa-sync-service-stuck-at-starting.aspx&quot;&gt;Here&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;strong&gt;&lt;u&gt;&lt;em&gt;Resolution&lt;/em&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;- Stop User profile service and User profile sync service on ALL SharePoint servers in the farm&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;- Clear timer config cache by following the &quot;resolution&quot; documented at&lt;/em&gt;&lt;/span&gt;&lt;a href=&quot;http://support.microsoft.com/kb/939308&quot; style=&quot;color: #0066dd; cursor: pointer; outline: none; text-decoration: initial;&quot;&gt;&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;http://support.microsoft.com/kb/939308&lt;/em&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;- Deleted the Pending timer job related to the UPA sync service provisioning using Central administration-Monitoring-check job status&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;- Confirmed that the security token service has only windows and anonymous enabled ( from IIS manager-SharePoint web services-Security token service-Authentication (under IIS))&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;- On the SharePoint server access the registry editor and confirm that the information related to FIM ( database servername , sync DB name etc ) are properly populated, if found wrong , back&amp;nbsp; up the registry key and edit the values to reflect the right information.&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;HKLM\system\currentcontrolset001\services\FIMservice&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;HKLM\system\currentcontrolset002\services\FIMservice&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;HKLM\system\currentcontrolset\services\FIMservice&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;- Delete all FIM related certificates from certificate store ( for account and system) . Make sure that no FIM related certificate is listed in any folders when looked at certificate manager.&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;- From Central administration-Application management-Manage service application, Make sure the User profile service application and its proxy are started, If found stopped, its always recommended to recreate them taking necessary backups (mysites)&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;- Start User profile service on the machine where you would like to start the User profile sync service (use central administration console)&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;- Once the service is started, try starting the User profile sync service from the central administration site&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18.149999618530273px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana;&quot;&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/7740205827088343473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2012/12/sharepoint-2010-unable-to-start-upa.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/7740205827088343473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/7740205827088343473'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2012/12/sharepoint-2010-unable-to-start-upa.html' title='SharePoint 2010: Unable to start UPA sync service ,stuck at “Starting”'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-7199413512119836085</id><published>2012-10-22T17:26:00.000-07:00</published><updated>2012-10-22T17:26:03.833-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>User Cannot be Found When Opening List/Library Settings or Workflow Settings</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;background-color: white; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;I have encountered the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; border: 0px; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font: inherit; line-height: 21px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;User cannot be found&amp;nbsp;&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;error a few times when accessing the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; border: 0px; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font: inherit; line-height: 21px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;List Settings&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&amp;nbsp;or&lt;/span&gt;&lt;strong style=&quot;background-color: white; border: 0px; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font: inherit; line-height: 21px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;Library Settings&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; color: #313131; font-family: &#39;Yanone Kaffeesatz&#39;, sans-serif, Helvetica; font: inherit; line-height: 1.4em; margin: 0px; padding: 0px 0px 10px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; color: #313131; font-family: &#39;Yanone Kaffeesatz&#39;, sans-serif, Helvetica; font: inherit; line-height: 1.4em; margin: 0px; padding: 0px 0px 10px; vertical-align: baseline;&quot;&gt;
Solution:&lt;/h2&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font: inherit; line-height: 21px; padding: 0px 0px 10px; vertical-align: baseline;&quot;&gt;
To republish the workflows you can follow the next steps:&lt;/div&gt;
&lt;ol style=&quot;background-color: white; border: 0px; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font: inherit; line-height: 14px; margin: 0px 0px 20px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li class=&quot;tf-first-child&quot; style=&quot;border: 0px; font-size: 14px; font: inherit; margin: 0px; padding: 0px 0px 10px; vertical-align: baseline;&quot;&gt;Open your site in SharePoint Designer 2010&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-size: 14px; font: inherit; margin: 0px; padding: 0px 0px 10px; vertical-align: baseline;&quot;&gt;Click on the&amp;nbsp;&lt;strong style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Workflows&lt;/strong&gt;&amp;nbsp;link from the&amp;nbsp;&lt;strong style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Site Objects&lt;/strong&gt;&amp;nbsp;menu&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-size: 14px; font: inherit; margin: 0px; padding: 0px 0px 10px; vertical-align: baseline;&quot;&gt;Click on the workflow name, this will open your workflow&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-size: 14px; font: inherit; margin: 0px; padding: 0px 0px 10px; vertical-align: baseline;&quot;&gt;Click on the&amp;nbsp;&lt;strong style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Publish&lt;/strong&gt;&amp;nbsp;button&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-size: 14px; font: inherit; margin: 0px; padding: 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;Do step 3 and 4 for all the workflows.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;Go back to your&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; border: 0px; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font: inherit; line-height: 21px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;List&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; border: 0px; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font: inherit; line-height: 21px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Library Settings&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #707070; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;&amp;nbsp;and the error should be gone.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/7199413512119836085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2012/10/user-cannot-be-found-when-opening.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/7199413512119836085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/7199413512119836085'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2012/10/user-cannot-be-found-when-opening.html' title='User Cannot be Found When Opening List/Library Settings or Workflow Settings'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-2512080631314463120</id><published>2012-10-05T14:55:00.001-07:00</published><updated>2012-10-05T14:55:14.035-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Setting up a managed metadata service application to server one or more web applications</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Found article at&lt;br /&gt;
&lt;a href=&quot;http://www.lamber.info/post/2010/12/12/Setting-up-a-managed-metadata-service-application-to-server-one-or-more-web-applications.aspx&quot;&gt;http://www.lamber.info/post/2010/12/12/Setting-up-a-managed-metadata-service-application-to-server-one-or-more-web-applications.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;background-color: white; color: #35383d; font-family: &#39;Trebuchet MS&#39;; font-weight: normal; line-height: 17px;&quot;&gt;
Assigning two or more managed metadata service applications to a single web application&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #35383d; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;
You are also able to assign multiple service applications to a single web application. When doing so with a managed metadata service application, however, you have to consider some settings before proceeding.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #35383d; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;
Imagine that you have to maintain two separate managed metadata service applications for two different departmental projects. You can do this by creating two separate managed metadata service applications and assign them to the corresponding web applications. After a while, you need to combine both service applications for a single web application. You can do this by following the same steps as seen in the previous scenario. Choose the service applications that you want to consume in your web application by selecting a proxy group or defining your custom selections.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #35383d; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;
You can do this, however, you have to consider following when assigning multiple managed metadata service applications to a single web application:&lt;/div&gt;
&lt;ol style=&quot;background-color: white; color: #35383d; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;
&lt;li style=&quot;background-image: url(http://www.lamber.info/themes/illacrimo/images/bullet_list.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; color: #4c4c4c; list-style-type: none; padding: 0px 0px 5px 25px;&quot;&gt;both term stores (service applications) with managed terms are available for your web application&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.lamber.info/themes/illacrimo/images/bullet_list.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; color: #4c4c4c; list-style-type: none; padding: 0px 0px 5px 25px;&quot;&gt;both term stores can provide content-type hub syndication&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.lamber.info/themes/illacrimo/images/bullet_list.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; color: #4c4c4c; list-style-type: none; padding: 0px 0px 5px 25px;&quot;&gt;the already stored enterprise keywords of both term stores are served to your web application, however, only one term store of both can be your default storage location for your keywords&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.lamber.info/themes/illacrimo/images/bullet_list.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; color: #4c4c4c; list-style-type: none; padding: 0px 0px 5px 25px;&quot;&gt;the already stored column specific term sets of both term stores are served to your web application, however, only one term store of both can be your default storage location of your column specific term sets&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;background-color: white; color: #35383d; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;
Everything except the storage of enterprise keywords and column specific term sets function properly. This happens if both managed metadata service applications are configured to be the default term stores. You might encounter following error message when inserting a new enterprise keyword:&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/AVvXsEjcFFXNw4K2hsG-ATt30BitpO3XrzGzV1BqUKcUn2y8oN-CCfdLII-cP5mYjNT9a6sZYuuWk54iz7HoX9H-sV70JVSVl8GXrC4tJp5wLRelx7YYLvMSfCt-1Hz02DgTiv7c1G2dPrjWjRk/s1600/NoDefaultTermstore.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;37&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcFFXNw4K2hsG-ATt30BitpO3XrzGzV1BqUKcUn2y8oN-CCfdLII-cP5mYjNT9a6sZYuuWk54iz7HoX9H-sV70JVSVl8GXrC4tJp5wLRelx7YYLvMSfCt-1Hz02DgTiv7c1G2dPrjWjRk/s320/NoDefaultTermstore.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #35383d; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;
&lt;/div&gt;
Therefore, plan carefully before separating managed metadata service applications. You have to ensure that only one of both term stores is the default term store for the web application. You can make the changes in the managed metadata service connection settings:&lt;br /&gt;
&lt;ul style=&quot;margin: 0px; padding: 10px 0px;&quot;&gt;
&lt;li style=&quot;background-image: url(http://www.lamber.info/themes/illacrimo/images/bullet_list.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; color: #4c4c4c; list-style-type: none; padding: 0px 0px 5px 25px;&quot;&gt;open the central administration&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.lamber.info/themes/illacrimo/images/bullet_list.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; color: #4c4c4c; list-style-type: none; padding: 0px 0px 5px 25px;&quot;&gt;&lt;strong&gt;Application management&amp;nbsp;&lt;/strong&gt;–&amp;gt;&lt;strong&gt;&amp;nbsp;Manage service applications&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.lamber.info/themes/illacrimo/images/bullet_list.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; color: #4c4c4c; list-style-type: none; padding: 0px 0px 5px 25px;&quot;&gt;select the row of type&amp;nbsp;&lt;strong&gt;Managed Metadata service Connection&lt;/strong&gt;of your metadata service application&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.lamber.info/themes/illacrimo/images/bullet_list.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; color: #4c4c4c; list-style-type: none; padding: 0px 0px 5px 25px;&quot;&gt;press&amp;nbsp;&lt;strong&gt;Properties&amp;nbsp;&lt;/strong&gt;in the ribbon bar&lt;/li&gt;
&lt;li style=&quot;background-image: url(http://www.lamber.info/themes/illacrimo/images/bullet_list.png); background-position: 0% 0%; background-repeat: no-repeat no-repeat; color: #4c4c4c; list-style-type: none; padding: 0px 0px 5px 25px;&quot;&gt;choose&amp;nbsp;&lt;strong&gt;This service application is the default storage location for Keywords&amp;nbsp;&lt;/strong&gt;and&amp;nbsp;&lt;strong&gt;This service application is the default storage location for column specific term sets&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;strong style=&quot;color: #4c4c4c;&quot;&gt;&lt;span style=&quot;color: #35383d; font-weight: normal;&quot;&gt;If you already have a default term store in the farm you will get this error message:&lt;/span&gt;&lt;/strong&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/AVvXsEjSt29fZ8vBOcruHHMmwgGMUviP_8UQObK6p37MRECpnkkqmuWqzNQXqnSOCTqzGuTcd9jRKgPWgmB9-5qusgve-JMjgaOWwYu8yd13rXg61AEpaGKQUOgyg4zT61-7VAH4c9woDC315bU/s1600/error.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;57&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSt29fZ8vBOcruHHMmwgGMUviP_8UQObK6p37MRECpnkkqmuWqzNQXqnSOCTqzGuTcd9jRKgPWgmB9-5qusgve-JMjgaOWwYu8yd13rXg61AEpaGKQUOgyg4zT61-7VAH4c9woDC315bU/s320/error.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #35383d; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;
&lt;strong style=&quot;color: #4c4c4c;&quot;&gt;&lt;span style=&quot;color: #35383d; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #35383d; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;
Now, it is up to you to ensure that you do not use two default term stores on the same web application. Please note that disabling these settings is a farm wide setting.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/2512080631314463120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2012/10/setting-up-managed-metadata-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/2512080631314463120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/2512080631314463120'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2012/10/setting-up-managed-metadata-service.html' title='Setting up a managed metadata service application to server one or more web applications'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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/AVvXsEjcFFXNw4K2hsG-ATt30BitpO3XrzGzV1BqUKcUn2y8oN-CCfdLII-cP5mYjNT9a6sZYuuWk54iz7HoX9H-sV70JVSVl8GXrC4tJp5wLRelx7YYLvMSfCt-1Hz02DgTiv7c1G2dPrjWjRk/s72-c/NoDefaultTermstore.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9217696457602781418.post-2559217266843179944</id><published>2012-09-12T17:07:00.003-07:00</published><updated>2012-09-12T17:07:58.689-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>#160005: Bad response from SMTP. Client host rejected: Access denied</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;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;Here is message from the log file&amp;nbsp;C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\LOGS&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;High &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;border: 0px; color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;#160005: Bad response from SMTP host&#39;mail.mydomain.com&#39;: 554 5.7.1 &lt;unknown myipaddress=&quot;myipaddress&quot;&gt;: Client host rejected: Access denied.&lt;/unknown&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;I resolved this SMTP issues after adding all WFE server IP into SMTP relay address.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;One of our DMZ WFE IP was not added into SMTP relay address. That&#39;s the reason all the OOTB overdue mail notification failed and got the below message:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/2559217266843179944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2012/09/160005-bad-response-from-smtp-client.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/2559217266843179944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/2559217266843179944'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2012/09/160005-bad-response-from-smtp-client.html' title='#160005: Bad response from SMTP. Client host rejected: Access denied'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-9147748720993469840</id><published>2012-08-30T18:01:00.002-07:00</published><updated>2012-08-30T18:01:21.907-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Robots.txt prevents SharePoint 2010 search crawler from crawling sites</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;I added robots.txt on our preview server to prevent Google’s bot or Bing’s bot 
from indexing our business’s preview sites.&lt;br /&gt;&lt;br /&gt;Original 
robots.txt:&lt;br /&gt;User-agent: *&lt;br /&gt;Disallow: /&lt;br /&gt;
&lt;br /&gt;
Effectively it should stop all legitimate bots from indexing preview 
sites. However this also stopped SharePoint 2010’s search crawler from crawling 
the sites. Any full crawl gave me 0 results.&lt;br /&gt;
&lt;br /&gt;
Updated robots.txt:&lt;br /&gt;User-agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 
NT; MS Search 6.0 Robot)&lt;br /&gt;Allow: /&lt;br /&gt;User-agent: *&lt;br /&gt;Disallow: /&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/9147748720993469840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2012/08/robotstxt-prevents-sharepoint-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/9147748720993469840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/9147748720993469840'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2012/08/robotstxt-prevents-sharepoint-2010.html' title='Robots.txt prevents SharePoint 2010 search crawler from crawling sites'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-8176073623331462221</id><published>2012-08-15T14:29:00.000-07:00</published><updated>2012-08-15T14:29:41.667-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>&quot;Tags&quot; tab is missing when you open &quot;Tags and Notice board&quot; popup</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h4 style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 16px; margin: 0px; position: relative;&quot;&gt;
Why does the Managed Metadata Service have to be running?&lt;/h4&gt;
&lt;div style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;You might be wondering why it is necessary to have the Managed Metadata service application provisioned in order to use the social computing features? The reason is that the “tags” that users create when tagging pages, documents, list items, etc., get stored in the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Keywords&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;portion of the&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Term Store&amp;nbsp;&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;(which is the name of the central metadata repository that is maintained by the Managed Metadata service).&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;The Keywords portion of the Term Store is only half of the Managed Metadata repository. The other half is frequently referred to as the Taxonomy portion of the Term Store. The Taxonomy portion of the Term Store is hierarchical, while the Keywords portion is random. The master list of user tags gets stored randomly as they are created in the Keywords portion of the Term Store:&lt;/span&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/AVvXsEjZ1brYRaRcVeNULLZ6ZaGdxwCZ0W3C03eyQ5P5yJG7zmNoz5Q1jx66EoXYPK9i96Wh-EWFPxdYig2GYHZgnxv4NARjyEcGWm_f0VINJ4osHVU3QakiOgKwefUDvlsM2JqL5JoBMxUfy74/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;203&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ1brYRaRcVeNULLZ6ZaGdxwCZ0W3C03eyQ5P5yJG7zmNoz5Q1jx66EoXYPK9i96Wh-EWFPxdYig2GYHZgnxv4NARjyEcGWm_f0VINJ4osHVU3QakiOgKwefUDvlsM2JqL5JoBMxUfy74/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;If the Managed Metadata service is not provisioned and running, users can’t use the social tagging features, because SharePoint 2010 has nowhere to maintain a master list of tags. One way to recognize that the Managed Metadata service is not provisioned/running properly is when your SharePoint site looks like this:&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/AVvXsEhMeJHCjb6XDgO8ioj40nlN9oVitfbGCpy3CIR-6jB8d8WbY9141yIu23Ul4OdtrwhAEV0byxNPClyOza1dszavdw9M16UAz4b2H8CKm9_Aprhs5AUxoSmALMAnDHezQfoYP1VwVzdqDUU/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;181&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMeJHCjb6XDgO8ioj40nlN9oVitfbGCpy3CIR-6jB8d8WbY9141yIu23Ul4OdtrwhAEV0byxNPClyOza1dszavdw9M16UAz4b2H8CKm9_Aprhs5AUxoSmALMAnDHezQfoYP1VwVzdqDUU/s320/2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&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/AVvXsEhzCtiLsFPWEAYheuO9wlejzu1PbH5ZqfhHFfc-PHIn00NHBnetsGCjpQGZgA7t6DrUMhyJHAT2PkVpDR__JpL0JBlaP2UpVLjNfOmCddKcHbPe9zV00l_MoAz-q14-WwTfOYheVeI80UY/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;273&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzCtiLsFPWEAYheuO9wlejzu1PbH5ZqfhHFfc-PHIn00NHBnetsGCjpQGZgA7t6DrUMhyJHAT2PkVpDR__JpL0JBlaP2UpVLjNfOmCddKcHbPe9zV00l_MoAz-q14-WwTfOYheVeI80UY/s320/3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;If you see this behavior in your SharePoint 2010 site, the first place to look is in Central Administration to verify that the Managed Metadata service is running.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;One more point before moving on to the User Profile service application. I have been referring to the Keywords portion of the Managed Metadata Term Store as the place that SharePoint 2010 stores the “master list” of user tags. This is an important concept to understand, and here is a little more detail.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Each time a user starts to tag an item in SharePoint 2010, the Keywords portion of the Term Store is queried in real time to see if suggestions can be made to the user about previous keywords that other users have used. If a keyword appears in the list of suggestions and the user deems it suitable, the user can use it to tag the item. If not, the user can add their own unique keyword to the Keywords store and then it will be available for SharePoint 2010 to use as a suggestion in the future for other users.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;So, the Keywords portion of the Term Store only stores one instance of a given keyword. That instance may be used by many users and many times as they tag items throughout SharePoint. Therefore, the Keywords list in the Term Store is truly a master list of unique keywords.&lt;/span&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;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/8176073623331462221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2012/08/tags-tab-is-missing-when-you-open-tags.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/8176073623331462221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/8176073623331462221'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2012/08/tags-tab-is-missing-when-you-open-tags.html' title='&quot;Tags&quot; tab is missing when you open &quot;Tags and Notice board&quot; popup'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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/AVvXsEjZ1brYRaRcVeNULLZ6ZaGdxwCZ0W3C03eyQ5P5yJG7zmNoz5Q1jx66EoXYPK9i96Wh-EWFPxdYig2GYHZgnxv4NARjyEcGWm_f0VINJ4osHVU3QakiOgKwefUDvlsM2JqL5JoBMxUfy74/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9217696457602781418.post-2088225919759586122</id><published>2012-08-15T11:28:00.000-07:00</published><updated>2012-08-15T14:29:55.284-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Add Excel Content Types in SharePoint 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Step 1:&lt;/b&gt;&lt;br /&gt;
Navigate Site Actions --&amp;gt; Site Settings --&amp;gt; Under Galleries --&amp;gt; Click Site content Types and then click Create button.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2:&lt;/b&gt;&lt;br /&gt;
In the Select parent content type from list, select Document set content types and then click ok.&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/AVvXsEjrhIeec-1ZCvzgLrHPQ54_wnVT2hcb0kv_NXd7AFUGPLtSTxPdaG6jgqFn4Tl0_-NvJr7b5sCBcG4P_dCB8e09reenJvynlQALxr-_8KGHxdkOpDj6JJ0YWGpflcqiwsS60T-rBxwN830/s1600/create-new.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;222&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrhIeec-1ZCvzgLrHPQ54_wnVT2hcb0kv_NXd7AFUGPLtSTxPdaG6jgqFn4Tl0_-NvJr7b5sCBcG4P_dCB8e09reenJvynlQALxr-_8KGHxdkOpDj6JJ0YWGpflcqiwsS60T-rBxwN830/s400/create-new.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Step 3:&lt;/b&gt;&lt;br /&gt;
On the site content type Advanced settings page, select Upload a new document template, and then click browse to browse to and select the document template you want to assign to the site content type. A document template choose can be any file such as a Excel, Word document, PowerPoint slide presentation, etc., And then click OK.&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/AVvXsEh_zJxKDigETe1mVvRBnyTdzdTVH3eUhUQFmouWBwk01z82aU7jHPtiTIyj-xIzAsonmmYV1OVFu1dXE526ZDpz2erRHI1OrxS6pkYdPgoJngCnq5t168yh9xJHXdEhBQhd2PRhkc3Fzjk/s1600/addvaced-setting.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;307&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_zJxKDigETe1mVvRBnyTdzdTVH3eUhUQFmouWBwk01z82aU7jHPtiTIyj-xIzAsonmmYV1OVFu1dXE526ZDpz2erRHI1OrxS6pkYdPgoJngCnq5t168yh9xJHXdEhBQhd2PRhkc3Fzjk/s320/addvaced-setting.png&quot; width=&quot;320&quot; /&gt;&lt;/a&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/AVvXsEhsmEa_w-Xi3vOilumE-rQemUDeeFasgpymM6e9Tpq0ju-EZaFLffEVV30s_eIQ9PDLZwEw4ipq6ERc9Dawylvr_1yjGL9rLY_dNZdyA0VC13aSQECwBuYy6Vx5opQFY8sNxfAf5SvgLws/s1600/upload-template.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;173&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsmEa_w-Xi3vOilumE-rQemUDeeFasgpymM6e9Tpq0ju-EZaFLffEVV30s_eIQ9PDLZwEw4ipq6ERc9Dawylvr_1yjGL9rLY_dNZdyA0VC13aSQECwBuYy6Vx5opQFY8sNxfAf5SvgLws/s400/upload-template.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 4:&lt;/b&gt;&lt;br /&gt;
In the Document Library settings dialog under General settings, click advanced settings. In the content types section, click Yes for Allow management of content types and then click OK.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 5:&lt;/b&gt;&lt;br /&gt;
Back in the Document Library setting dialog under content types, click Add from existing site content types. In the Available Site Content Types list, select your content type and then click Add.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 6:&lt;/b&gt;&lt;br /&gt;
Now we can see the new content type on the New Document menu.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/2088225919759586122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2012/08/add-excel-content-types-in-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/2088225919759586122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/2088225919759586122'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2012/08/add-excel-content-types-in-sharepoint.html' title='Add Excel Content Types in SharePoint 2010'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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/AVvXsEjrhIeec-1ZCvzgLrHPQ54_wnVT2hcb0kv_NXd7AFUGPLtSTxPdaG6jgqFn4Tl0_-NvJr7b5sCBcG4P_dCB8e09reenJvynlQALxr-_8KGHxdkOpDj6JJ0YWGpflcqiwsS60T-rBxwN830/s72-c/create-new.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9217696457602781418.post-8879104289406322265</id><published>2012-07-15T13:37:00.002-07:00</published><updated>2012-07-15T13:37:43.609-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>How to get SPUser or SPGroup from Person or Group field</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;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;You have person or group field in SharePoint list and you want to programmatically get the user or person.&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;The below code to gets SPUser from User or Group field in the list when multiple choice and Groups are not allowed in the field:&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;//get SPUser&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;SPFieldUser userField = (SPFieldUser)item.Fields.GetField(&quot;Users&quot;);&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;SPFieldUserValue userFieldValue = (SPFieldUserValue)userField.GetFieldValue(item[&quot;Users&quot;].ToString());&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;SPUser user = userFieldValue.User;&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;This part of code would help you to get SPUser when multiple choice is allowed and groups are not allowed:&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;//Multiple choices are allowed&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;SPFieldUser userField = (SPFieldUser)item.Fields.GetField(&quot;Users&quot;);&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;SPFieldUserValueCollection userFieldValueCollection = (SPFieldUserValueCollection)userField.GetFieldValue(item[&quot;Users&quot;].ToString());&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;foreach (SPFieldUserValue userFieldValue in userFieldValueCollection)&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;{&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp; &amp;nbsp; Console.WriteLine(&quot; &amp;nbsp; &amp;nbsp; &quot; + userFieldValue.User.LoginName);&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;}&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;And when group is allowed. &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;The below code to gets group&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;//Group or User are allowed&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;SPFieldUser userField = (SPFieldUser)item.Fields.GetField(&quot;Users&quot;);&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;SPFieldUserValue userFieldValue = (SPFieldUserValue)userField.GetFieldValue(item[&quot;Users&quot;].ToString());&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;//Tries to get SPUser&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;if (&lt;/i&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;userFieldValue.User != null&lt;/i&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;)&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;{&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/i&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;SPUser user = userFieldValue.User;&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;}&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;//if the field contain group&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;else&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;{&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;SPGroup group = web.SiteGroups.GetByID(userFieldValue.LookupId);&lt;/i&gt;&lt;br style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot; /&gt;&lt;i style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;}&lt;/i&gt;&lt;/span&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/8879104289406322265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2012/07/how-to-get-spuser-or-spgroup-from.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/8879104289406322265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/8879104289406322265'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2012/07/how-to-get-spuser-or-spgroup-from.html' title='How to get SPUser or SPGroup from Person or Group field'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-6161777330616497562</id><published>2012-07-13T12:18:00.001-07:00</published><updated>2012-07-13T12:21:05.371-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Adding new font into Rich Text Editor font DropDown box in SP 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Verdana, Arial; font-size: 12px; line-height: 16px;&quot;&gt;It’s just as easy as that but the style sheet class must be defined specially and the same reference should called in your master page. The code for that looks like this, where I used a font from googles front directory.&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;FontCSSStyles.css&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
/*************** Changing SP2010 default font **************/&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
Add “Helvetica” font from googles directory http://www.google.com/webfonts/family?family=Helvetica&lt;br /&gt;
*/&lt;br /&gt;
@import url(&quot;http://fonts.googleapis.com/css?family=Helvetica&quot;);&lt;br /&gt;
&lt;br /&gt;
.ms-rteFontFace-12&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;-ms-name: &quot;Helvetica&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;font-family: &quot;Helvetica&quot;, arial, sans-serif;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-webkit-font-family: &quot;Helvetica&quot;, arial, sans-serif;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-moz-font-family: &quot;Helvetica&quot;, arial, sans-serif;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-o-font-family: &quot;Helvetica&quot;, arial, sans-serif;&lt;br /&gt;
}&lt;br /&gt;
.ms-rteFontSize-14 {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;font-size:14pt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-webkit-font-size:14pt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-moz-font-size:14pt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-o-font-size:14pt;&lt;br /&gt;
}&lt;br /&gt;
.ms-rteFontSize-16 {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;font-size:16pt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-webkit-font-size:16pt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-moz-font-size:16pt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-o-font-size:16pt;&lt;br /&gt;
}&lt;br /&gt;
.ms-rteFontSize-20 {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;font-size:20pt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-webkit-font-size:20pt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-moz-font-size:20pt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-o-font-size:20pt;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;/***************************************************************/&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/********************&lt;b style=&quot;background-color: white;&quot;&gt;Master Page reference&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;************************/&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;sharepoint:cssregistration after=&quot;corev4.css&quot; id=&quot;FontCSSRegistration01&quot; name=&quot;/_layouts/1033/Styles/Community/FontCSSStyles.css&quot; runat=&quot;server&quot;&gt;&lt;/sharepoint:cssregistration&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;SharePoint:CssRegistration ID=&quot;FontCSSRegistration01&quot; name=&quot;/_layouts/1033/Styles/Community/&lt;b&gt;FontCSSStyles.css&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&quot; After=&quot;corev4.css&quot; runat=&quot;server&quot;/&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
/*******************************************************/&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/6161777330616497562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2012/07/adding-new-font-into-rich-text-editor.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/6161777330616497562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/6161777330616497562'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2012/07/adding-new-font-into-rich-text-editor.html' title='Adding new font into Rich Text Editor font DropDown box in SP 2010'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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-9217696457602781418.post-3806436636765008349</id><published>2012-07-04T11:39:00.001-07:00</published><updated>2012-07-15T13:38:13.632-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Access denied within SPSecurity.RunWithElevatedPrivileges</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #1f497d; font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Normally we will use&amp;nbsp;&amp;nbsp;SPSecurity.RunWithElevatedPrivileges() to execute some code that has to be run under some higher privileges.&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;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt;&quot;&gt;Whenever we use SPSecurity.RunWithElevatedPrivileges(), it will execute the code under the context of Application Pool identity. Now we can see a scenario where we will get the “Access denied” exception from the code block even if you use SPSecurity.RunWithElevatedPrivileges.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt;&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;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #1f497d; font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;This was the code snippet that I have used initially inside a custom webpart to read XML content from of an InfoPath form which was uploaded in a document library. This code will throw an “Access denied” exception while calling the OpenBinaryStream() method whenever I execute it through an Anonymous user account.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #1f497d; font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;color: teal; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SPSecurity&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;.RunWithElevatedPrivileges(&lt;span style=&quot;color: blue;&quot;&gt;delegate&lt;/span&gt;()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: teal;&quot;&gt;SPWeb&lt;/span&gt;&amp;nbsp;oWeb =&amp;nbsp;&lt;span style=&quot;color: teal;&quot;&gt;SPContext&lt;/span&gt;.Current.Web;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: teal;&quot;&gt;SPList&lt;/span&gt;&amp;nbsp;oList = oWeb.Lists[&lt;span style=&quot;color: maroon;&quot;&gt;&quot;TestList&quot;&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;});&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #1f497d; font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Here the problem was, whenever we take the SPWeb instance using &amp;nbsp;&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;margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: teal; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SPWeb&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;oWeb =&amp;nbsp;&lt;span style=&quot;color: teal;&quot;&gt;SPContext&lt;/span&gt;.Current.Web;&lt;/span&gt;&lt;span style=&quot;color: #1f497d; font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;, then SPWeb instance still running under anonymous account only , because we are taking it through the current web context in which the current user is running under anonymous account (IUSR_MachineName). That was the reason that we got that “Access Denied” exception. We need to remember this point all time whenever we use RunWithElevatedPrivileges under the web context.&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;margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #1f497d; font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;So what we need to that, we have to take the current context outside the SPSecurity.RunWithElevatedPrivileges block and then create a new instance of SPSite and SPWeb inside the that block which will run under application pool identity.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SPWeb&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;oWeb1 =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;SPContext&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.Current.Web;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;// taking the current SPWeb context running under the anonymous account&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;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;SPSecurity&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.RunWithElevatedPrivileges(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;delegate&lt;/span&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;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&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;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;SPSite&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;oSite =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;SPSite&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(oWeb1.Site.Url))&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;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&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;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt;// creating a new SPSite running under Application pool idenity&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;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;SPWeb&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;oWeb = oSite.OpenWeb())&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;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&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;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2b91af;&quot;&gt;SPList&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;oList = oWeb.Lists[&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;TestList&quot;&lt;/span&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;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: black; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: black; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&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;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; line-height: 18px; margin: 0in 0in 10pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt; line-height: 14px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #1f497d; font-family: &#39;Times New Roman&#39;, serif; font-size: 16px; margin: 0in 0in 0pt; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;The above code will work fine. So, please do not forget to create a new instance of SPSite and SPWeb inside&amp;nbsp;&lt;span style=&quot;color: teal; font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SPSecurity&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;.RunWithElevatedPrivileges,&lt;/span&gt;&lt;/span&gt;while using it in a web context.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;span style=&quot;color: black; font-family: Calibri; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dsen-25.blogspot.com/feeds/3806436636765008349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dsen-25.blogspot.com/2012/07/access-denied-within.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/3806436636765008349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9217696457602781418/posts/default/3806436636765008349'/><link rel='alternate' type='text/html' href='http://dsen-25.blogspot.com/2012/07/access-denied-within.html' title='Access denied within SPSecurity.RunWithElevatedPrivileges'/><author><name>Senthil</name><uri>http://www.blogger.com/profile/04279076247674078018</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>