<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>SharePoint 2010</title>
        <link>http://www.darrinbishop.com/blog/category/23.aspx</link>
        <description>SharePoint 2010</description>
        <language>en-US</language>
        <copyright>Darrin Bishop</copyright>
        <managingEditor>dbishop@darrinbishop.com</managingEditor>
        <generator>Subtext Version 1.9.4.78</generator>
        <item>
            <title>SharePoint 2010 Hangs after Visual Studio 2010 F5 Debugging</title>
            <link>http://darrinbishop.com/blog/archive/2010/06/24/156.aspx</link>
            <description>&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;Lately I have been having some issues with debugging a fairly simple Visual  Studio 2010/SharePoint 2010 project.   Whenever I deploy the project to the farm,  Internet Explorer launches, tries to connect to the SharePoint site and more often than not  the web server times out before the debugger is attached and the site is up and running.  Occasionally it loads after a long wait period but will normally time out before I get a chance to do any real debugging.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;Watching VS 2010 I can see that the Visual Studio has packed and deployed the solution quickly. What I notice was the symbols loading slowly. This was noticeable because VS displays the symbols loading at the bottom of the screen. Normally these will load quick enough that they are hard to read.  Now I had time to write them by hand.  &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;Retraction of the solution by VS2010 performed quickly.  If I did a Ctr-F5 to Run with out Debugging the solution was deployed and the site was displayed very quickly which makes sense because the debugger was not trying to attach to the process.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;After doing some Binging on symbols slow to load there seems to be a set of potential reason why Visual Studio ( and not just VS 2010) will slow down when loading symbols. Most issues relate to someone changing the location to retrieve the symbols such as Microsoft ( internet latency) and having networked drives that were not attached ( time outs waiting on the drives). There was even an article about multiple version of the .Net framework potentially causing an issue. None of these issues appeared to be the cause of the problem. I even went as far as doing a repair on VS 2010.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;After more digging, I ran across a single forum thread that someone commented on the fact that the debugger was slow to attach because of a "bad" breakpoint.  Basically  the post suggested that a breakpoint that might have been valid at one time, was no longer valid for whatever reason and the debugger was stumbling over it slowing down the attachment process.  &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;The solution to my issue? Simply delete all the breakpoints in the project.  Right after I deleted all the breakpoints Visual Studio deployed the solution and the site launched in seconds, not minutes.  It appears that deleting all the breakpoints using the "Delete All Breakpoints" menu item under the Debug menu removed all valid and "invalid" breakpoints and let me get back to work which for today is a custom Web Part using Model View Presenter.&lt;br /&gt;
&lt;/font&gt;&lt;/p&gt;&lt;img src="http://darrinbishop.com/blog/aggbug/156.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Darrin Bishop</dc:creator>
            <guid>http://darrinbishop.com/blog/archive/2010/06/24/156.aspx</guid>
            <pubDate>Thu, 24 Jun 2010 12:58:44 GMT</pubDate>
            <comments>http://darrinbishop.com/blog/archive/2010/06/24/156.aspx#feedback</comments>
            <wfw:commentRss>http://darrinbishop.com/blog/comments/commentRss/156.aspx</wfw:commentRss>
            <trackback:ping>http://darrinbishop.com/blog/services/trackbacks/156.aspx</trackback:ping>
        </item>
        <item>
            <title>Visual Studio 2010 SharePoint Power Tools Available</title>
            <link>http://darrinbishop.com/blog/archive/2010/06/18/155.aspx</link>
            <description>&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;Mike Morton and the  Visual Studio team that created the SharePoint tools have released a VS 2010 SP Power Tools pack.  The Power Tools pack includes  a Visual Web Part that can be deployed as part of a Sandbox Solution and an extension to display build errors when a developer inadventantly uses types or members in a sandbox solution that are not allowed. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;For those who have not yet used a Visual Web Part it is a Web Part that encapsulates a user control which allows for a very nice design experience but up until now it was not allowed in a Sandbox solution.  The ability to  create a Visual Web Part and place it in the sandbox  will make it easier to deploy Web Parts.  Hats of to Mike and the VS team!&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;&lt;font face=""&gt;Download the VS 2010 SharePoint Power Tools at:&lt;br /&gt;
&lt;a target="_blank" href="http://visualstudiogallery.msdn.microsoft.com/en-us/8e602a8c-6714-4549-9e95-f3700344b0d9"&gt;http://visualstudiogallery.msdn.microsoft.com/en-us/8e602a8c-6714-4549-9e95-f3700344b0d9&lt;/a&gt;&lt;/font&gt;&lt;br /&gt;
&lt;/font&gt;&lt;/p&gt;&lt;img src="http://darrinbishop.com/blog/aggbug/155.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Darrin Bishop</dc:creator>
            <guid>http://darrinbishop.com/blog/archive/2010/06/18/155.aspx</guid>
            <pubDate>Fri, 18 Jun 2010 12:27:56 GMT</pubDate>
            <comments>http://darrinbishop.com/blog/archive/2010/06/18/155.aspx#feedback</comments>
            <wfw:commentRss>http://darrinbishop.com/blog/comments/commentRss/155.aspx</wfw:commentRss>
            <trackback:ping>http://darrinbishop.com/blog/services/trackbacks/155.aspx</trackback:ping>
        </item>
        <item>
            <title>The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered</title>
            <link>http://darrinbishop.com/blog/archive/2010/05/26/154.aspx</link>
            <description>&lt;p&gt;&lt;font size="2" face="Tahoma"&gt;The SharePoint 2010 Management Shell shot me this message earlier this week. I was logged on as a local administrator and farm administrator to boot. I was able to manage the farm using the Central Administration site PowerShell simply refused to load the cmdlets.  &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;img border="1" hspace="5" alt="Local farm is not accessable." vspace="5" width="400" height="199" src="/images/PSNotAccessable.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="Tahoma"&gt;This warning is displayed when the logged in account does not have the correct permissions. When you get this warning as show above the simple solution is log in as someone with the appropriate permission - like the setup or farm account and run the Add-SPShellAdmin cmdlet supplying the user name as a parameter. For example to add Dbgdemo\dbishop as a Shell Admin I would run:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="Tahoma"&gt;&lt;br /&gt;
 Add-SPShellAdmin -UserName dbgdemo\dbishop &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="Tahoma"&gt;&lt;img border="1" hspace="5" alt="Adding SPShelAdmin" vspace="5" width="400" height="186" src="/images/addspshelladmin.png" /&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;To determine which accounts are Shell Admin accounts use Get-SPShellAdmin as shown below.&lt;/p&gt;
&lt;p&gt;&lt;img border="1" hspace="5" alt="Get-SPShellAdmin command" vspace="5" width="400" height="119" src="/images/Get-SPShellAdmin.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="Tahoma"&gt;The Add-SPShellAdmin cmdlet will add the account to the correct database and windows groups. This can all be done manually but it is genreally easier to run the Add-SPShellAdmin cmdlet under an account that can run the managment shell. Once the account has been added as Shell Admin you can switch back the user and PowerShell should load the cmdlets. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="Tahoma"&gt;What can be confusing is the fact that administrators can manage the farm using the Central Administration pages but not using the managment shell. Why is that? When administrators manage the farm using Central Administration pages they are accessing the farm using the Central Administration's app pool account - which has all the necessary privillages on the local macine and the databases. When working with SharePoint using the managmemnt shell there is no app pool to get between the administrator's account  and the farm. The account requires the permissions. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2" face="Tahoma"&gt;To get more deeper into the hows and why's check out Zac's blog post on the topic:&lt;br /&gt;
&lt;a target="_blank" href="http://sharepoint.microsoft.com/blogs/zach/Lists/Posts/Post.aspx?ID=56"&gt;http://sharepoint.microsoft.com/blogs/zach/Lists/Posts/Post.aspx?ID=56&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://darrinbishop.com/blog/aggbug/154.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Darrin Bishop</dc:creator>
            <guid>http://darrinbishop.com/blog/archive/2010/05/26/154.aspx</guid>
            <pubDate>Wed, 26 May 2010 12:30:06 GMT</pubDate>
            <comments>http://darrinbishop.com/blog/archive/2010/05/26/154.aspx#feedback</comments>
            <wfw:commentRss>http://darrinbishop.com/blog/comments/commentRss/154.aspx</wfw:commentRss>
            <trackback:ping>http://darrinbishop.com/blog/services/trackbacks/154.aspx</trackback:ping>
        </item>
        <item>
            <title>Live Chats to Learn more about SharePoint </title>
            <link>http://darrinbishop.com/blog/archive/2010/05/25/153.aspx</link>
            <description>&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;Live Chats to Learn more about SharePoint - with 28 MVP Experts Do you have questions about SharePoint? Want to learn more about the recently launched SharePoint 2010?  By popular request, 28 SharePoint MVPs from around the world are participating in two live chat events about SharePoint: &lt;a href="http://msdn.microsoft.com/en-us/chats/default.aspx"&gt;http://msdn.microsoft.com/en-us/chats/default.aspx&lt;/a&gt; . These events are a great opportunity to tap into the vast knowledge of these industry professionals who are regarded as the best in their field. Two opportunities are available to join the conversation. Times were chose to accommodate most of the world.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;On Tuesday May 25th, tune in between 4:00 PM - 5:00 PM Pacific time to chat with the following MVPs:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=0601372C-FAD3-4CA7-B384-24CDDAB86761"&gt;Agnes Molnar&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=E0119CD7-ADEC-4272-B2D9-9547547D375E"&gt;Bill English&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=ACD2CDD9-DBBA-4F41-849D-A87DC1726D2C"&gt;Brian Farnhill&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=9454FCD5-FB3D-4070-A51C-5289EA58F2B9"&gt;Bryan Phillips&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=4B344451-9F5A-4E55-9050-C4B2F8139B32"&gt;Clayton Cobb&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=AFC94A2F-8ED0-4810-BAE6-5943453A136E"&gt;David Mann&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=9D1EC624-38BA-4652-B746-F04ECE300D3C"&gt;Matt McDermott&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=6D05CC8D-32ED-4626-A29E-142DC7A680E0"&gt;Paul Stork&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=26FBFD36-7D4C-4475-8932-9011187E07FF"&gt;Rob Bogue&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=BD0AF5A6-C38F-423F-8BAE-064E0C4EBA57"&gt;Rob Foster&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=D5203CE2-A442-44B8-99E4-6E7AB6EBAA49"&gt;Sahil Malik&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=BCFEB833-EE98-4D16-85A9-AE990AD852A2"&gt;Saifullah Shafiq Ahmed&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=0372E769-C5D9-4E4B-BB32-9894B0FC21D2"&gt;Serge Tremblay&lt;/a&gt;&lt;br /&gt;
&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;On Wednesday May 26, tune in between 9:00 AM - 10:00 AM Pacific time to chat with the following MVPs:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=66531E5C-6EE1-4A68-87B5-C3B2F93DB465"&gt;Andrew Connell&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=4A8DBB36-7E8A-404B-A4EC-26F9359F6CDB"&gt;Becky Bertram&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=0CEB733B-A635-43E2-8D69-1FB8F156CDB2"&gt;Bil Simser&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=8BD9D1FD-15C9-405F-8DBE-32015F65C962"&gt;Chandima Kulathilake&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=74DA3E43-10A9-401C-B8C5-0963A6F32520"&gt;Claudio Brotto&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=4F27A91A-DA52-442F-8BAD-AB2E18806709"&gt;Gary Lapointe&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=8A44483A-8996-4187-9D11-8FAC5C7ABADC"&gt;Darrin Bishop&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=AFADE0A3-A260-4C09-8636-398784E59C0B"&gt;John Ross&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=30F06F5E-6A63-412C-80C1-163BD23F8541"&gt;Michael Mukalian&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=06876F9E-9BD7-41FF-BBC1-F9F6A9743A58"&gt;Muhanad Omar&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=89F10A4D-1CF7-432C-9151-48D6B1947A95"&gt;Paul Galvin&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=CCCAAF20-5706-4130-A1A6-4712DB3EE799"&gt;Randy Drisgill&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=710D52A0-4A85-47D0-B629-C75376F7B286"&gt;Shane Young&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=CB3DF313-965D-4B84-AA11-990D1E59BD06"&gt;Todd Bleeker&lt;/a&gt;&lt;br /&gt;
&lt;a target="_blank" href="https://mvp.support.microsoft.com/profile=E2D69F4A-FA2D-44D0-AF60-9CAC6E2C6C3B"&gt;Zlatan Dzinic&lt;/a&gt;&lt;br /&gt;
&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Tahoma"&gt;Learn more and add these chats to your calendar by visiting the MSDN event page &lt;a href="http://msdn.microsoft.com/en-us/chats/default.aspx"&gt;http://msdn.microsoft.com/en-us/chats/default.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Tahoma"&gt; &lt;/font&gt;&lt;/p&gt;&lt;img src="http://darrinbishop.com/blog/aggbug/153.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Darrin Bishop</dc:creator>
            <guid>http://darrinbishop.com/blog/archive/2010/05/25/153.aspx</guid>
            <pubDate>Tue, 25 May 2010 18:55:19 GMT</pubDate>
            <comments>http://darrinbishop.com/blog/archive/2010/05/25/153.aspx#feedback</comments>
            <wfw:commentRss>http://darrinbishop.com/blog/comments/commentRss/153.aspx</wfw:commentRss>
            <trackback:ping>http://darrinbishop.com/blog/services/trackbacks/153.aspx</trackback:ping>
        </item>
    </channel>
</rss>