<?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>Ben There, Done That &#187; SharePoint</title>
	<atom:link href="http://www.benstegink.com/tag/sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benstegink.com</link>
	<description>Another SharePoint Blog about where I've been and what I've done</description>
	<lastBuildDate>Thu, 19 May 2011 02:40:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Check User Permissions on a SharePoint Site using C#</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=406</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=406#comments</comments>
		<pubDate>Wed, 08 Dec 2010 15:20:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Web Parts]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2010/12/08/check-user-permissions-on-a-sharepoint-site-using-c/</guid>
		<description><![CDATA[Another SharePoint 2007 development post from the non developer, so feel free to offer any suggestions and comments around my code as I’m still learning.&#160; I know, I should be doing this on SharePoint 2010.&#160; Trust me, I’m trying to get us there. Anyways, a brief background on what I’m trying to accomplish. I’m working [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D406"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D406&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Another SharePoint 2007 development post from the non developer, so feel free to offer any suggestions and comments around my code as I’m still learning.&#160; I know, I should be doing this on SharePoint 2010.&#160; Trust me, I’m trying to get us there.</p>
<p>Anyways, a brief background on what I’m trying to accomplish. I’m working on a navigation solution for our current intranet that queries a list of SharePoint sites that have been requested, approved and created via our site request process.&#160; The query results are then filter based on if the current user has access to the site.&#160; This list contains variety of sites, site collections and sub-sites that are spread out across 3 different web applications.&#160; The solution then displays those sites in a web part for users to have “quick access” to their collaboration sites.&#160; It’s basically a way to provide navigation (contained in a web part) across site collections and web applications automatically off a list of sites.</p>
<p>In order to check for access I decided to use the DoesUserHavePermissions() function.&#160; However, after writing this function:</p>
<pre class="code"><span style="color: blue">private bool </span>UserAccessToSite(<span style="color: #2b91af">String </span>user, <span style="color: #2b91af">SPWeb </span>testWeb, <span style="color: #2b91af">SPSite </span>testSite){
    <span style="color: blue">bool </span>access = <span style="color: blue">false</span>;
    <span style="color: blue">try</span>{
        access = testWeb.DoesUserHavePermissions(user, <span style="color: #2b91af">SPBasePermissions</span>.EmptyMask);
        <span style="color: blue">return </span>access;
    }
    <span style="color: blue">catch</span>{
        access = <span style="color: blue">false</span>;
        <span style="color: blue">return </span>access;
    }
}</pre>
<p>I was getting the following error stating that the “List does not exist”</p>
<p><a href="http://www.benstegink.com/wp-content/uploads/2010/12/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.benstegink.com/wp-content/uploads/2010/12/image_thumb.png" width="600" height="103" /></a></p>
<p>I tried a variety of different approaches just to get it to return false if the user has Access Denied to the site.&#160; After a bunch of different tries and some searching online, I ran across <a href="http://blog.krichie.com/2007/10/25/when-spwebdoesuserhavepermissions-spwebdoesnotwork-true/" target="_blank">this post</a> by Krichie that solved the problem for me.</p>
<p>Right before checking DoesUserHavePermissions I had to add the line SPSite.CatchAccessDeneidExceptoin=false;</p>
<p>So, the final code that is now working is:</p>
<pre class="code"><span style="color: blue">private bool </span>UserAccessToSite(<span style="color: #2b91af">String </span>user, <span style="color: #2b91af">SPWeb </span>testWeb, <span style="color: #2b91af">SPSite </span>testSite){
    <span style="color: blue">bool </span>access = <span style="color: blue">false</span>;
    <span style="color: blue">try</span>{
        testSite.CatchAccessDeniedException = <span style="color: blue">false</span>;
        access = testWeb.DoesUserHavePermissions(user, <span style="color: #2b91af">SPBasePermissions</span>.EmptyMask);
        <span style="color: blue">return </span>access;
    }
    <span style="color: blue">catch</span>{
        access = <span style="color: blue">false</span>;
        <span style="color: blue">return </span>access;
    }
}</pre>
<p>My web part is now configured in order to query the list and only return a link to a SharePoint site if the user currently logged into SharePoint has access to that site.&#160; I still have some work to do on the web part and the rest of the solution, so as I continue this adventure I’ll try to post any other updates.&#160; Who knows, maybe once I finish it I’ll even post the whole solution up here.</p>
<p>Again, feel free to correct my code or offer other suggestions as I continue to delve into the SharePoint development space.</p>
<!-- AdSense Now! Redux V1.80 -->
<!-- Post[count: 2] -->
<div class="adsense adsense-leadout" style="text-align:center;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "pub-6672311120604391";
/* 234x60, created 6/24/10 */
google_ad_slot = "7863309956";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=406/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 October CUs reposted</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=407</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=407#comments</comments>
		<pubDate>Thu, 02 Dec 2010 13:52:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Patches]]></category>
		<category><![CDATA[Updates]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2010/12/02/sharepoint-2010-october-cus-reposted/</guid>
		<description><![CDATA[Just a quick update.&#160; Yesterday Microsoft reposted the October 2010 Cumulative Updates for SharePoint 2010.&#160; For all the information, head on over to the Microsoft SharePoint Team Blog post about the reposting.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D407"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D407&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Just a quick update.&#160; Yesterday Microsoft reposted the October 2010 Cumulative Updates for SharePoint 2010.&#160; For all the information, head on over to the <a href="http://blogs.msdn.com/b/sharepoint/archive/2010/12/01/october-2010-cumulative-updates-for-sharepoint-amp-project-server-2010-republished.aspx" target="_blank">Microsoft SharePoint Team Blog post about the reposting</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=407/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2007 Navigation, Documents, Lists and Anonymous Access</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=412</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=412#comments</comments>
		<pubDate>Fri, 01 Oct 2010 13:17:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Documents]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Lists]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2010/10/01/sharepoint-2007-navigation-and-anonymous-access/</guid>
		<description><![CDATA[I had this problem today on one of our sites that has anonymous access enabled.&#160; We wanted to link to some PDF files in our quick launch navigation, so, naturally, we logged into the site and manually added the links. However, when we tested the site with anonymous access the links weren’t there! So, next [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D412"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D412&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I had this problem today on one of our sites that has anonymous access enabled.&#160; We wanted to link to some PDF files in our quick launch navigation, so, naturally, we logged into the site and manually added the links.</p>
<p>However, when we tested the site with anonymous access the links weren’t there! So, next step, check the document library.&#160; It was inheriting permissions, and I could even manually type in the URL to the document library and the PDFs using anonymous access and view everything just fine.</p>
<p>So, time to start digging.&#160; Fortunately I found a thread on a discussion board that pointed me here &#8211; <a href="http://support.microsoft.com/kb/927082/en-us?spid=11373&amp;sid=200">http://support.microsoft.com/kb/927082/en-us?spid=11373&amp;sid=200</a>.&#160; Apparently when you turn on Anonymous access, Microsoft doesn’t think you could really want everything to be anonymous access.&#160; Anywho…I figured it was worth a shot, so I logged into the server, disabled the feature running the command in the KB article linked above, turned anonymous access off and back on and what do you know.&#160; It worked!!!</p>
<p>So, if you are having any trouble with certain lists, documents, navigation, etc.&#160; Give this solution a shot.&#160; As of yet I’m not aware of negative impacts to disabling this feature, but if I find any I’ll definitely update this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=412/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET Security Vulnerability Resources</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=415</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=415#comments</comments>
		<pubDate>Wed, 22 Sep 2010 12:40:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Foundation]]></category>
		<category><![CDATA[Vulnerability]]></category>
		<category><![CDATA[WSSv2]]></category>
		<category><![CDATA[WSSv3]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2010/09/22/asp-net-security-vulnerability/</guid>
		<description><![CDATA[***Update: Today Microsoft is releasing as out-of-band security update to address this issues. - SharePoint Team Blog Announcement &#8211; http://blogs.msdn.com/b/sharepoint/ &#160; I’m sure by now all of you have heard about the ASP.NET security vulnerability and there are plenty of references out there about it and how to fix it so I’m not going to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D415"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D415&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><font color="#ff0000">***Update: Today Microsoft is releasing as out-of-band security update to address this issues.</font></p>
<p><font color="#ff0000">- SharePoint Team Blog Announcement &#8211; </font><a title="http://blogs.msdn.com/b/sharepoint/" href="http://blogs.msdn.com/b/sharepoint/"><font color="#0000ff">http://blogs.msdn.com/b/sharepoint/</font></a></p>
<p>&#160;</p>
<p>I’m sure by now all of you have heard about the ASP.NET security vulnerability and there are plenty of references out there about it and how to fix it so I’m not going to go into much detail here.&#160; The key point is yes, it effects WSS 2.0, SharePoint 2007 (WSS 3.0 and MOSS) and SharePoint 2010 (Foundation and Server).</p>
<p>The best references I have found so far, and I will refer you to rather than writing it all up myself are&quot;:</p>
<p>1. <a href="http://blogs.msdn.com/b/sharepoint/archive/2010/09/21/security-advisory-2416728-vulnerability-in-asp-net-and-sharepoint.aspx" target="_blank">The Microsoft SharePoint Team Blog</a>, this is where the fixes are documented that you can put in place until a patch is released.</p>
<p>2. <a href="http://weblogs.asp.net/scottgu/archive/2010/09/20/frequently-asked-questions-about-the-asp-net-security-vulnerability.aspx" target="_blank">Scott Guthrie’s Blog</a>, this contains a very good list of FAQs about the vulnerability.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=415/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom SharePoint .ASPX form&#8211;&#8220;Could Not Load Type&#8221;</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=419</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=419#comments</comments>
		<pubDate>Thu, 08 Jul 2010 19:08:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[.aspx]]></category>
		<category><![CDATA[Forms]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2010/07/08/custom-sharepoint-aspx-formcould-not-load-type/</guid>
		<description><![CDATA[This is starting to get dangerous…I’m blogging about SharePoint development twice in a row.&#160; Again, this may be something very basic to most SharePoint developers, but as I learn, I enjoy blogging about issues I’ve discovered and things I’ve learned as I continue to develop more. My next venture into SharePoint development is to create [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D419"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D419&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is starting to get dangerous…I’m blogging about SharePoint development twice in a row.&#160; Again, this may be something very basic to most SharePoint developers, but as I learn, I enjoy blogging about issues I’ve discovered and things I’ve learned as I continue to develop more.</p>
<p>My next venture into SharePoint development is to create some custom .ASPX forms for use within our SharePoint environment.&#160; For our situation, InfoPath Forms Services would make much more sense, unfortunately, we only have SharePoint 2007 Standard with no plans to go to Enterprise.</p>
<p>So, I created a very basic .ASPX file with an equally as simple .cs (code behind file), packaged it all up as solution and deployed it.&#160; However, when I went to access the site, I encounter a “Could Not Load Type…” error.&#160; After a quick search on Google, I found &#8211; <a href="http://blogs.catapultsystems.com/matthew/archive/2007/12/07/could-not-load-type-error.aspx">http://blogs.catapultsystems.com/matthew/archive/2007/12/07/could-not-load-type-error.aspx</a> between that post and the post by Andrew Connell that was referenced there I was able to solve my problem.</p>
<p>When I had created my .aspx file I had failed to use the “5 part name” to reference the assembly file.&#160; I had put Inherits=”NewForm.NewForm” rather than Inherits=”NewForm.NewForm, NewForm, Version=1.0.0.0, Culture=neutral, PublicKeyToken=*********”</p>
<p>As soon as I changed my .aspx file to use the 5 part name and redeployed my solution everything worked perfectly!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=419/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset Search Index &#8211; SharePoint Timer Job</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=420</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=420#comments</comments>
		<pubDate>Thu, 08 Jul 2010 01:54:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Timer Job]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2010/07/07/reset-search-index-sharepoint-timer-job/</guid>
		<description><![CDATA[We have been having an issue with our search indexing and crawling in one of our SharePoint farms.&#160; The problem is that after an undetermined set of time, pretty much all search queries wind up returning several results that show nothing but an IE icon.&#160; The result isn’t attached or any page or give any [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D420"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D420&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>We have been having an issue with our search indexing and crawling in one of our SharePoint farms.&#160; The problem is that after an undetermined set of time, pretty much all search queries wind up returning several results that show nothing but an IE icon.&#160; The result isn’t attached or any page or give any textual information.&#160; Obviously best case would be to figure out what causes this error, but at this point in time we haven’t been able to find the problem.</p>
<p>However, what we have discovered is that simply resetting the search index and running a full crawl will solve the issue.</p>
<p>So…until we can solve the issues, I wrote a small SharePoint timer job that simply resets our search index right before a scheduled full crawl runs.&#160; I used Andrew Connell’s post (<a href="http://www.andrewconnell.com/blog/articles/CreatingCustomSharePointTimerJobs.aspx">http://www.andrewconnell.com/blog/articles/CreatingCustomSharePointTimerJobs.aspx</a>) to develop the Timer Job, Solution and Feature and modified it and was able to find the following code on <a href="http://www.sharepointdev.net/sharepoint--development-programming/programmatically-reset-all-crawled-content-41959.shtml">http://www.sharepointdev.net/sharepoint&#8211;development-programming/programmatically-reset-all-crawled-content-41959.shtml</a> that I inserted into the timer job frame work in order to automatically reset our index on a regular schedule to minimize the risk of our search issue effecting the end users.</p>
<pre class="code"><span style="color: blue">try
</span>{
    <span style="color: #2b91af">SearchContext </span>sc = <span style="color: #2b91af">SearchContext</span>.GetContext(ServerContext.Default);
    sc.Reset(<span style="color: blue">true</span>);
}
<span style="color: blue">catch </span>(<span style="color: #2b91af">Exception </span>ex)
{
    <span style="color: blue">throw new </span><span style="color: #2b91af">InvalidOperationException</span>(<span style="color: #a31515">&quot;Unable to reset content index.&quot;</span>, ex);
}</pre>
<p>For some of you, this may not seem like much, but coming from the SharePoint Administration/Configuration side of SharePoint and having very little real development experience I was rather proud of myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=420/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010, Internet Explorer and FireFox</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=423</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=423#comments</comments>
		<pubDate>Wed, 21 Apr 2010 01:59:11 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2010/04/20/sharepoint-2010-internet-explorer-and-firefox/</guid>
		<description><![CDATA[Microsoft has been talking about how much better the user experience with SharePoint 2010 is when using browsers other than Internet Explorer, mainly, Mozilla Firefox.&#160; They have been doing a lot of SharePoint demo’s with Firefox to demonstrate this ability and Firefox has been labels as being a level 1 browser for SharePoint 2010. However, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D423"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D423&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Microsoft has been talking about how much better the user experience with SharePoint 2010 is when using browsers other than Internet Explorer, mainly, Mozilla Firefox.&#160; They have been doing a lot of SharePoint demo’s with Firefox to demonstrate this ability and Firefox has been labels as being a level 1 browser for SharePoint 2010.</p>
<p>However, in my use of Firefox, I have found a couple of things so far that still work only when using Internet Explorer.</p>
<p>1. You can’t upload multiple files to a document library from within Firefox.&#160; This is due to the fact that for some of these actions.&#160; SharePoint 2010 does indeed still use ActiveX controls.&#160; In fact, some people don’t even have this option in Internet Explorer according to this post &#8211; <a title="http://sharepoint4u.wordpress.com/2009/05/07/no-multiple-upload-no-connect-to-outlook/" href="http://sharepoint4u.wordpress.com/2009/05/07/no-multiple-upload-no-connect-to-outlook/">http://sharepoint4u.wordpress.com/2009/05/07/no-multiple-upload-no-connect-to-outlook/</a></p>
<p>2. There isn’t the ability to drag and drop to re-arrange web parts on a SharePoint site or to move them between zones.&#160; You must move the web parts around by using the setting in the web part properties.</p>
<p>I am actually somewhat surprised by both of these limitations.&#160; The first one probably more so than the second, especially considering that when using Microsoft SkyDrive you have the ability to upload multiple files using Firefox.&#160; You would think this same type of functionality could exist in SharePoint 2010.</p>
<p>Based on the most recent posts by Microsoft, <a title="http://technet.microsoft.com/en-us/library/cc263526%28office.14%29.aspx" href="http://technet.microsoft.com/en-us/library/cc263526%28office.14%29.aspx">http://technet.microsoft.com/en-us/library/cc263526%28office.14%29.aspx</a>, it doesn’t look like they have plans on changing any of these limitations.&#160; This site contains additional details on these limitations as well as other limitations that exist for various browsers when accessing SharePoint 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=423/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Complete Install on Windows 7</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=427</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=427#comments</comments>
		<pubDate>Sat, 20 Feb 2010 20:01:35 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[UAC]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2010/02/20/sharepoint-2010-complete-install-on-windows-7/</guid>
		<description><![CDATA[So this weekend I decided to install SharePoint 2010 on my desktop at home.&#160; My desktop is running Windows 7, and due to requirements of other software I need, I’m unable to run Windows Server 2008 on it. Running a stand alone installation of SharePoint 2010 is great, however, I wanted to see if I [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D427"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D427&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>So this weekend I decided to install SharePoint 2010 on my desktop at home.&#160; My desktop is running Windows 7, and due to requirements of other software I need, I’m unable to run Windows Server 2008 on it.</p>
<p>Running a stand alone installation of SharePoint 2010 is great, however, I wanted to see if I could get a complete install on Windows 7 and user SQL Server 2008.&#160; Fortunately, I found <a href="http://sharepoint.microsoft.com/blogs/fromthefield/Lists/Posts/Post.aspx?ID=112">this blog post by Neil Hodgkinson</a> that explained how to do it.&#160; Everything appeared to be working great and the configuration wizard finished without any problems.&#160; Unfortunately, that appearance didn’t last too long.</p>
<p>My problem arose when I went into Central Administration and, despite being a farm administrator, the first thing I noticed was I couldn’t create new web applications.&#160; There were some other security issues as well, however, those are beside the point.&#160; The purpose of this post is how to go about fixing this issue if you encounter the same thing.</p>
<p>After mulling over the issues for a few minutes, I remember are beloved User Access Control (UAC) and other issues I’ve seen when it is enabled on Windows Server.&#160; So, I went into my UAC settings, disabled them complete, restarted my computer, logged into Central Administration and what do you know, it worked!&#160; I can now create new web applications and have full control over my SharePoint 2010 installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=427/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SharePoint Memory Leak</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=429</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=429#comments</comments>
		<pubDate>Mon, 15 Feb 2010 17:27:21 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Customizations]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[Memory Leak]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2010/02/15/sharepoint-memory-leak/</guid>
		<description><![CDATA[As discovered by Todd Carter there is a memory leak in SharePoint 2007.&#160; He has outlined the details as well as a work around to the fix the memory leak. I decided to do some testing with it, however, when I compiled the dll, placed it into the GAC, and changed my global.asax file, I [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D429"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D429&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>As discovered by <a href="http://todd-carter.com">Todd Carter</a> there is a memory leak in SharePoint 2007.&#160; He has outlined the details as well as a <a href="http://todd-carter.com/post/2010/02/08/SharePointe28099s-Sasquatch-Memory-Leak.aspx">work around to the fix the memory leak</a>.</p>
<p>I decided to do some testing with it, however, when I compiled the dll, placed it into the GAC, and changed my global.asax file, I started getting this error: “Could not load file or assembly ‘[Assembly Name]’ or one of its dependencies.&#160; The system cannot find the file specified.”</p>
<p>After digging into this error for a while I discovered my problem.&#160; This may be fairly obvious to developers out there <img src='http://www.benstegink.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , but coming at this from more of a SharePoint administrator type roll, I missed this one step that isn’t outlined in the steps provided by Todd.</p>
<p>After deploying your dll to the GAC, you need to open up your web.config and place </p>
<p>&lt;add assembly=&quot;[Assembly Name], Version=[Version Number], Culture=neutral, PublicKeyToken=[Public Key Token]&quot; /&gt;</p>
<p>in the web.config file of the web application you wish to apply your fix to.&#160; This line should be added between &lt;assemblies&gt; and &lt;/assemblies&gt; in the web.config file.</p>
<p>All of the information: Assembly Name, Version Number and the Public Key Token can be found by right clicking on your dll in the GAC and viewing the properties of the dll.</p>
<p>Once I added the assembly to my web.config for the web applications I was trying to apply the fix to, everything worked as expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=429/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hide Web Part Headers with SharePoint 2010</title>
		<link>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=430</link>
		<comments>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=430#comments</comments>
		<pubDate>Tue, 02 Feb 2010 00:20:47 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Customizations]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Content Editor]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.benstegink.com/2010/02/01/hide-web-part-headers-with-sharepoint-2010/</guid>
		<description><![CDATA[A while a go a write a short post on how to hide web part headers in SharePoint 2007.&#160; Recently I had some inquire how to do the same thing for SharePoint 2010.&#160; So, here is what to do in order to hide a web part header in SharePoint 2010. 1.&#160; Add a content editor [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D430"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointben.com%2Fblog%2FLists%2FPosts%2FPost.aspx%3FID%3D430&amp;source=bstegink&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A while a go a write a short post on how to hide web part headers in SharePoint 2007.&#160; Recently I had some inquire how to do the same thing for SharePoint 2010.&#160; So, here is what to do in order to hide a web part header in SharePoint 2010.</p>
<p>1.&#160; Add a content editor web part to your page.</p>
<p>2. Edit the Web Part</p>
<p>3. Click in the content area of the web part, click HTML and select “Edit HTML Source”</p>
<p>4. Put the following code in the web part:</p>
</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:0c9067be-b95f-4d6e-bc7f-96a7b22bedb9" class="wlWriterEditableSmartContent">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt">
<div style="background: #ddd; max-height: 300px; overflow: auto">
<ol style="background: #ffffff; margin: 0 0 0 2em; padding: 0 0 0 5px;">
<li><span style="color:#0000ff">&lt;</span><span style="color:#a31515">style</span><span style="color:#0000ff">&gt;</span></li>
<li style="background: #f3f3f3">&#160;&#160;TR.ms-viewheadertr &gt; TH.ms-vh2 {</li>
<li>&#160;&#160;DISPLAY: none</li>
<li style="background: #f3f3f3">&#160;&#160;}</li>
<li><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">style</span><span style="color:#0000ff">&gt;</span></li>
</ol></div>
</p></div>
</p></div>
<p>&#160;</p>
<p>5. Click “OK”</p>
<p>6. Expand “Appearance” (on the right side of the page)</p>
<p>7. Set the chrome type to “None”</p>
<p>8. Click “OK” and then save and check in your page.</p>
<p>The headers of your web part should now be hidden.&#160; This can be extremely helpful when your page contains a web part using “boxed” for your style when creating a list view.&#160; The only downside to this approach is if you have multiple web parts on a single page, it will hide the headers for all the web parts on your site.</p>
<p><a href="http://www.benstegink.com/2008/12/10/hide-column-header-in-a-list-web-parts/">How to do the same thing in SharePoint 2007</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointben.com/blog/Lists/Posts/Post.aspx?ID=430/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.476 seconds -->

