Quantcast
Channel: Emad Gabriel – Emad's Blog
Browsing all 29 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Getting Exception “HRESULT: 0x800708C5” with ADMembershipProvider change...

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...

View Article



Image may be NSFW.
Clik here to view.

Important notes about SharePoint 2010 custom role provider

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...

View Article

Image may be NSFW.
Clik here to view.

Caching in SharePoint

A very nice presentation by Shai Petel about SharePoint caching: http://kwizcom.blogspot.com/2011/10/developers-guide-how-to-enhance-your.html

View Article

Image may be NSFW.
Clik here to view.

Good Links, Jan 24, 2012

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...

View Article

Image may be NSFW.
Clik here to view.

Access Denied for code running inside RunWithElevatedPrivileges

I had a custom web part that is running code that required elevated privileges and was running within SPSecurity.runWithElevatedPrivileges  as below   SPSecurity.RunWithElevatedPrivileges(delegate() {...

View Article


Image may be NSFW.
Clik here to view.

Deploying custom ribbon action as a feature with Visual studio– never updated

For some reason when creating a custom ribbon action with Visual studio it seems that no matter what you do, the ribbon button or action are never updated. The Solution that worked for me is 1) retract...

View Article

Image may be NSFW.
Clik here to view.

SPD 2010 Custom workflow Activity Trick

when developing a custom SPD 2010 workflow activity using Visual Studio , sometimes you can get an error saying “"Cannot find property named PROPERTYNAME on activity type ACTIVITYNAME" when trying to...

View Article

Image may be NSFW.
Clik here to view.

Setting a Title value for file added via SPFileCollection.Add

For some reason if you set the Properties Hashtable of the File added as (“Title”, “TitleValue”), sharePoint just ignores it.   The Trick is to set the Title using (“vti_title”, “TitleValue”)

View Article


Image may be NSFW.
Clik here to view.

SharePoint PowerShell script to create SPWebApplication with Custom...

$webAppName = “Contoso Internet Site XYZ”$webAppUrl = “http://www.contoso.com”$webAppPort = 80$webAppHostHeader = “sharepoint.contoso.com”$membershipProviderName =...

View Article


Image may be NSFW.
Clik here to view.

Client Side OAuth solution

https://oauth.io/ offers a Client Side OAuth solution that can be used with JavaScript. It can be used for the new Twitter API with no server code.

View Article

Image may be NSFW.
Clik here to view.

Getting Exception “HRESULT: 0x800708C5” with ADMembershipProvider change...

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...

View Article

Image may be NSFW.
Clik here to view.

Important notes about SharePoint 2010 custom role provider

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...

View Article

Image may be NSFW.
Clik here to view.

Caching in SharePoint

A very nice presentation by Shai Petel about SharePoint caching: http://kwizcom.blogspot.com/2011/10/developers-guide-how-to-enhance-your.html

View Article


Image may be NSFW.
Clik here to view.

Good Links, Jan 24, 2012

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...

View Article

Image may be NSFW.
Clik here to view.

Access Denied for code running inside RunWithElevatedPrivileges

I had a custom web part that is running code that required elevated privileges and was running within SPSecurity.runWithElevatedPrivileges  as below   SPSecurity.RunWithElevatedPrivileges(delegate() {...

View Article


Image may be NSFW.
Clik here to view.

Deploying custom ribbon action as a feature with Visual studio– never updated

For some reason when creating a custom ribbon action with Visual studio it seems that no matter what you do, the ribbon button or action are never updated. The Solution that worked for me is 1) retract...

View Article

Image may be NSFW.
Clik here to view.

SPD 2010 Custom workflow Activity Trick

when developing a custom SPD 2010 workflow activity using Visual Studio , sometimes you can get an error saying “"Cannot find property named PROPERTYNAME on activity type ACTIVITYNAME" when trying to...

View Article


Image may be NSFW.
Clik here to view.

Setting a Title value for file added via SPFileCollection.Add

For some reason if you set the Properties Hashtable of the File added as (“Title”, “TitleValue”), sharePoint just ignores it.   The Trick is to set the Title using (“vti_title”, “TitleValue”)

View Article

Image may be NSFW.
Clik here to view.

Creating SharePoint online Site Structure from a CSV using PowerShell

Here is a simple script to create the site structure for SharePoint Online based on a csv file. The script is using the Client-side SharePoint PowerShell project from Codeplex...

View Article

Image may be NSFW.
Clik here to view.

SharePoint Online–Enabling Custom Script

When Creating an Office 365 SharePoint site, you might want to turn on custom Scripting. Steps here:...

View Article
Browsing all 29 articles
Browse latest View live




Latest Images