- A fix for a very slow SharePoint library Explorer view: http://www.stacydubois.com/2011/02/sharepoint-fix-slow-browsing-in-windows.html
- What ASP.NET developers should know about web.config inheritance: http://weblogs.asp.net/jgalloway/archive/2012/01/17/10-things-asp-net-developers-should-know-about-web-config-inheritance-and-overrides.aspx
Posted in Good Links | Tagged ASP.NET, SharePoint 2010 | Leave a Comment »
A very nice presentation by Shai Petel about SharePoint caching: http://kwizcom.blogspot.com/2011/10/developers-guide-how-to-enhance-your.html
Posted in Good Links, SharePoint | Tagged Caching, Performance, SharePoint 2010, Sharepoint Optimization | Leave a Comment »
When building a custom role provider for SharePoint 2010, make sure of the following:
- The Role Provider section must be added to the following web.configs
- Central Admin
- The Security Token Service
- The Web application
- The <RoleProvider tag in the web.config must have:
- enabled=true
- a default provider like (<roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider" )
Posted in SharePoint, Tips | Tagged Custom role provider, SharePoint 2010 | Leave a Comment »
Symptoms:
- You keep getting the exception HRESULT: 0x800708C5 with the Active directory membership provider change password indicating that the password used does not conform to the domain password policy.
- As an admin, you are able to update the user password using that same password.
Probable cause:
- The active directory policy can be set to allow a “minimum password age”, i.e. users cannot change their own password before it is at least X days (default 1). The Administrator though does not have such restrictions when trying to update a user’s password.
- This can be checked at Start->Administrative tools->Group policy Management->Navigate the tree to the domain-> default domain policy –>right click edit->computer configuration –>policies –>windows settings->security settings-> account policies->password policy->check the entry for “minimum password age”
- If you want to reset it (mainly for development/testing purposes), just change it to zero. then go to command line gpupdate /force to apply the new policy
Posted in Tips, Uncategorized | Tagged ActiveDirectoryMembershipProvider, ChangePassword, HRESULT: 0x800708C5 | Leave a Comment »
A FxCop for CSS style sheets: http://madskristensen.net/post/Introducing-CSSCop-FxCop-for-stylesheets.aspx
Posted in Uncategorized | Leave a Comment »
In order to grant authenticated FBA users access to a custom application page (/_layouts page), please follow these steps:
- The Page should inherit from LayoutsPageBase (Making it inherit from UnsecuredLayoutsPageBase will grant anonymous access to this page).
- Override the Properties RightsRequired and RequireDefaultLayoutsRights
protected override SPBasePermissions RightsRequired
{
get
{
SPBasePermissions permissionRequired = SPBasePermissions.ViewPages;
return permissionRequired;
}
}
protected override bool RequireDefaultLayoutsRights
{
get
{
return false;
}
}
This will grant authenticated FBA users access to this _Layouts page.
Posted in Code, SharePoint | Tagged FBA, SharePoint 2010 | Leave a Comment »
Posted in Good Links, Tools, Utilities | Tagged Security, Tools | Leave a Comment »
The new (just released) release of DotNetNuke (enterprise edition) can now integrate with SharePoint to expose a document library on the internet. More at: http://www.dotnetnuke.com/Resources/Blogs/EntryId/3133/SharePoint-integration-in-DotNetNuke-6.aspx
Posted in Good Links, SharePoint | Tagged DotNetNuke, SharePoint | Leave a Comment »
Posted in News | Tagged SQL | Leave a Comment »
Posted in Good Links, SharePoint | Tagged SharePoint 2010 | Leave a Comment »