<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kernel Confusion &#187; Webpart</title>
	<atom:link href="http://fitzzz.de/index.php/tag/webpart/feed/" rel="self" type="application/rss+xml" />
	<link>http://fitzzz.de</link>
	<description>Blogging about my work as an IT consultant</description>
	<lastBuildDate>Wed, 14 Sep 2011 19:42:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Tracking down Sharepoint Access Denied errors</title>
		<link>http://fitzzz.de/index.php/2010/02/01/tracking-down-sharepoint-access-denied-errors/</link>
		<comments>http://fitzzz.de/index.php/2010/02/01/tracking-down-sharepoint-access-denied-errors/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:00:47 +0000</pubDate>
		<dc:creator>Christoph Schmidt</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Tool]]></category>
		<category><![CDATA[Webpart]]></category>

		<guid isPermaLink="false">http://fitzzz.de/?p=191</guid>
		<description><![CDATA[Every last business day of the month, freelancers working for our company access our SharePoint Portal to enter their project work times. This time, they got an &#8220;Access Denied&#8221; error instead of the usual homepage. Trying to access &#8220;www.someportal.com&#8221; would result in the error shown below. On the other hand, directly accessing the time sheet manager via &#8220;www.someportal.com/time/&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Every last business day of the month, freelancers working for our company access our SharePoint Portal to enter their project work times. This time, they got an &#8220;Access Denied&#8221; error instead of the usual homepage. Trying to access &#8220;www.someportal.com&#8221; would result in the error shown below. On the other hand, directly accessing the time sheet manager via &#8220;www.someportal.com/time/&#8221; was successful.</p>
<div id="attachment_194" class="wp-caption alignnone" style="width: 507px"><a href="http://fitzzz.de/wp-content/uploads/2010/02/sp_accessdenied.png"><img class="size-full wp-image-194" title="sp_accessdenied" src="http://fitzzz.de/wp-content/uploads/2010/02/sp_accessdenied.png" alt="SharePoint: Access Denied" width="497" height="260" /></a><p class="wp-caption-text">SharePoint: Access Denied</p></div>
<p> </p>
<p>The first suspect was of course the main user and group setting of the portal. But nothing had changed and the &#8220;freelancer&#8221; group still had it&#8217;s permission to view the homepage. As the access rights were inherited down to the time sheet manager, which was accessible, that couldn&#8217;t be the problem.</p>
<p>Then I noticed that one particular thing was different with the URL displayed in the IE address bar. Instead of the usual<br />
&#8221; https://www.someportal.com/_layouts/AccessDenied.aspx?Source=%2fsomepage &#8221;<br />
I got this:<br />
&#8221; http://www.someportal.com/_layouts/AccessDenied.aspx?Source=somepage&amp;Type=list&amp;name=%7B12151589%2D7C0B%2D40DE%2DBD92%2DADB851B3D78E%7D &#8221;</p>
<p>The additional GUID leads to some list, as you can see a little earlier in the URL. Now you can of course search you content database or, if you want to save time, use a little tool. For this case I stumbled upon this one: The <a title="Sharepoint Explorer Download" href="http://download.mondosoft.com/Ontolica/SharePointExplorer_V1_5_1_For_WSS3.zip" target="_blank">Sharepoint Explorer</a> by Ontolica. Run it on your portal server with an user that has full access to the site. This way, you can find the list in question quite quickly.</p>
<div id="attachment_193" class="wp-caption alignnone" style="width: 310px"><a href="http://fitzzz.de/wp-content/uploads/2010/02/sp_explorer.png"><img class="size-medium wp-image-193 " title="sp_explorer" src="http://fitzzz.de/wp-content/uploads/2010/02/sp_explorer-300x203.png" alt="Sharepoint Explorer" width="300" height="203" /></a><p class="wp-caption-text">SharePoint Explorer</p></div>
<p>In most cases, identifying the list is the solution, as you then know where you have to review the permissions. In my case, this was a dead end, as the permissions were correct.</p>
<p>Going on, I copied the Windows user account of a freelancer and gave it full permissions. Looking through &#8220;their eyes&#8221; I found a new report viewer web part on the homepage which was targeted at the freelancer group, so I couldn&#8217;t see it with my account. This web part was added a few days earlier and obviously not tested properly. The &#8220;read&#8221; permission was not enough to display it, so the homepage was denied. I granted the freelancer group participation-level access to the report-item, which finally solved the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://fitzzz.de/index.php/2010/02/01/tracking-down-sharepoint-access-denied-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

