Difference between revisions of "SharePoint 2010"

From Richard's Wiki
Jump to: navigation, search
(New page: === SharePoint 2010 Resources === * [http://mssharepointdeveloper.com/ mssharepointdeveloper.com] * [http://msdn.microsoft.com/en-us/library/dd776256.aspx SharePoint 2010 MSDN Reference pa...)
 
(SharePoint 2010 & Silverlight)
 
(7 intermediate revisions by the same user not shown)
Line 22: Line 22:
  
 
=== SharePoint 2010 Exceptions ===
 
=== SharePoint 2010 Exceptions ===
 +
* If you get an IIS error "HTTP Error 503. The service is unavailable" and Application Log in event viewer contains "The Module DLL 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\owssvr.dll' could not be loaded due to a configuration problem", ensure that the enable32BitAppOnWin64 (Enable 32-Bit Applications) setting for the SharePoint webapp app pool is set to False, and the same for the "SharePoint Web Services Root" app pool
 +
 +
 
* [http://blogs.technet.com/b/stefan_gossner/archive/2010/05/10/common-problem-with-sharepoint-2010-system-security-cryptography-cryptographicexception-keyset-does-not-exist.aspx Common problem with SharePoint 2010: System.Security.Cryptography.CryptographicException - Keyset does not exist]
 
* [http://blogs.technet.com/b/stefan_gossner/archive/2010/05/10/common-problem-with-sharepoint-2010-system-security-cryptography-cryptographicexception-keyset-does-not-exist.aspx Common problem with SharePoint 2010: System.Security.Cryptography.CryptographicException - Keyset does not exist]
 
* [http://www.wictorwilen.se/Post/Fix-the-SharePoint-DCOM-10016-error-on-Windows-Server-2008-R2.aspx Fix the SharePoint DCOM 10016 error on Windows Server 2008 R2 (AppId 61738644-F196-11D0-9953-00C04FD919C1)] and [http://www.cleverworkarounds.com/2007/10/25/dcom-fun-with-sharepoint/ DCOM Fun with SharePoint] Event Log error:
 
* [http://www.wictorwilen.se/Post/Fix-the-SharePoint-DCOM-10016-error-on-Windows-Server-2008-R2.aspx Fix the SharePoint DCOM 10016 error on Windows Server 2008 R2 (AppId 61738644-F196-11D0-9953-00C04FD919C1)] and [http://www.cleverworkarounds.com/2007/10/25/dcom-fun-with-sharepoint/ DCOM Fun with SharePoint] Event Log error:
Line 33: Line 36:
  
 
=== SharePoint 2010 HowTos ===
 
=== SharePoint 2010 HowTos ===
 +
* [http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/03/12/deploying-files-using-mapped-folders.aspx Deploying files using Mapped Folders]
 
* [http://visualstudiomagazine.com/blogs/tool-tracker/2011/03/sharepoint-guid-collision-avoidance.aspx SharePoint GUID Collision Avoidance]
 
* [http://visualstudiomagazine.com/blogs/tool-tracker/2011/03/sharepoint-guid-collision-avoidance.aspx SharePoint GUID Collision Avoidance]
 
* [http://msdn.microsoft.com/en-us/library/ff597538.aspx Connect Web Parts in SharePoint 2010 (MSDN)]
 
* [http://msdn.microsoft.com/en-us/library/ff597538.aspx Connect Web Parts in SharePoint 2010 (MSDN)]
Line 58: Line 62:
  
 
=== SharePoint 2010 & Silverlight ===
 
=== SharePoint 2010 & Silverlight ===
 +
* [http://blogs.msdn.com/b/sharepointdev/archive/2011/02/15/creating-a-web-part-with-client-side-script.aspx Creating a Web Part with Client-side Scripts]
 +
* [http://chrisforbesblogs.net/2010/08/11/deploying-a-silverlight-application-to-sharepoint-2010/ Deploying a Silverlight application to SharePoint 2010]
 
* [http://bryantlikes.com/GettingStartedWithSilverlightAndSharePoint2010.aspx Getting Started With Silverlight and SharePoint 2010]
 
* [http://bryantlikes.com/GettingStartedWithSilverlightAndSharePoint2010.aspx Getting Started With Silverlight and SharePoint 2010]
 
* [http://www.sharepointkings.com/2009/07/understanding-and-working-with-web-part.html Modify WebPart menu (Understanding and working with Web Part Verbs)]
 
* [http://www.sharepointkings.com/2009/07/understanding-and-working-with-web-part.html Modify WebPart menu (Understanding and working with Web Part Verbs)]

Latest revision as of 00:37, 8 August 2011

SharePoint 2010 Resources

BCS

SharePoint 2010 Exceptions

  • If you get an IIS error "HTTP Error 503. The service is unavailable" and Application Log in event viewer contains "The Module DLL 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\owssvr.dll' could not be loaded due to a configuration problem", ensure that the enable32BitAppOnWin64 (Enable 32-Bit Applications) setting for the SharePoint webapp app pool is set to False, and the same for the "SharePoint Web Services Root" app pool


Description:
The application-specific permission settings do not grant Local
Activation permission for the COM Server application with CLSID
{61738644-F196-11D0-9953-00C04FD919C1} to the user l SID 
(S-1-5-21-573225893-205518295-00000000000-00000). This security
permission can be modified using the Component Services
administrative tool.

SharePoint 2010 HowTos

SharePoint 2010 Snippets

[System.Web.UI.WebControls.WebParts.WebBrowsable(true)]
[System.Web.UI.WebControls.WebParts.WebDisplayName("Custom Property")]
[System.Web.UI.WebControls.WebParts.WebDescription("A test Custom property.")]
[System.Web.UI.WebControls.WebParts.Personalizable(PersonalizationScope.User)]
[System.ComponentModel.Category("Settings")]
[System.ComponentModel.DefaultValue("Default String Value")]
public string CustomProp { get; set; }

SharePoint 2010 & Silverlight

 "<param name=\"initParams\" value=\"MS.SP.url=" + SPContext.Current.Site.Url + "\" />"

  • Turn on the Developer Dashboard by running the following stsadm command:

stsadm -o setproperty -pn developer-dashboard -pv OnDemand

  • In VS2010, can make the following changes to
    • Elements.xml: change the
      <Property Name="Group" Value="Custom" />
      to something other than Custom.
    • Webpart.webpart (webPartIcon is 16x16):
  <property name="ChromeType" type="chrometype">TitleAndBorder</property>
  <property name="CatalogIconImageUrl" type="string">_layouts/images/ContosoWebParts/WebPartIcon.gif</property>
  <property name="TitleIconImageUrl" type="string">_layouts/images/ContosoWebParts/WebPartIcon.gif</property>
    • Elements.xml, modify the URL attribute of File element to change the .webpart file name to ensure that it is unique. Do this by prepending the text value of "ContosoWebParts_" (ie Feature project name) to the beginning of the URL property value.