Shawn Cicoria - CedarLogic

Perspectives and Observations on Technology

Recent Posts

Sponsors

Tags

General





Community

Email Notifications

Blogs I Read

Archives

Other

Use OpenDNS

Browse by Tags

All Tags » SharePoint (RSS)
Faking SPContext–for testing only…
Keith Dahlby has a good post on creating a fake SPContext.  Here’s the link and the code NOTE: This is not production safe code – use at own risk… http://solutionizing.net/2009/02/16/faking-spcontext/ public static SPContext FakeSPContext(SPWeb contextWeb...
Posted: 09-21-2011 2:54 PM by cicorias | with no comments
Filed under:
Identity Claims Encoding for SharePoint
Just to remind myself, the list of claim types and their encodings are listed here at the bottom. http://msdn.microsoft.com/en-us/library/gg481769.aspx Where for example: i:0#.w|contoso\scicoria ‘i’ = identity, could be ‘c’ for others # == SPClaimTypes...
HACK: Forcing FBA Token Refresh against SPClaimProvider with No Credential Challenge
The approach takes advantage of the SP 2010 OOB Session Token handler and FBA claims provider implementation that during a period of token lifetime, if there is activity during the period of time that can be defined as "EW" in the image in the...
SharePoint 2010 FBA and Sliding Sessions
This is to provide a little bit of explanation on the implementation of FBA authentication with SP 2010. There have been blog posts that indicate there are no sliding sessions, but with a little manipulation and understanding of some of the settings,...
Posted: 06-10-2011 1:41 PM by cicorias | with no comments
Filed under:
Adding and Removing SPClaimProvider via PowerShell
There are really 2 ways to get a SPClaimProvider registered – 1 via a Farm Feature activation.  The other is via PowerShell.  However, the documentation on how to remove is not that clear. The following code will remove it based upon a TypeName...
Posted: 06-09-2011 12:51 PM by cicorias | with no comments
Filed under:
Know what Process is calling your SPClaimProvider
If you’re writing a custom SharePoint Claims Provider ( SPClaimProvider ) in order to augment claims, it’s important to also understand what process is executing your specific code path.  In the situation where you are making calls to a DB or service...
Posted: 06-06-2011 6:55 AM by cicorias | with no comments
Filed under: ,
Forcing use of the same Master Page in sub-sites without Publishing
This seems to come up a few times.  The following sample script in PS applies a common master page across all SPWebs in a site collection. $site = Get-SPSite http://fba.contosotest.com/dv1 $site | Get-SPWeb -limit all | ForEach-Object { $_.MasterUrl...
Posted: 06-02-2011 9:19 AM by cicorias | with no comments
Filed under:
Getting Office Web Apps to run on a Domain controller - AppServerHost.exe
I recall we had a similar issue when running document conversion services. If you’re attempting Word or PowerPoint viewing and you see errors in the event log regarding AppServerHost.exe – you need to enable non-sandboxing.   http://blogs.msdn.com...
App_offline.htm and SharePoint and wholly contained images…
The question came up today if we could use an “app_offline.htm” file along with HTML in that file that would reference images. First, I wasn’t 100% sure if the app_offline.htm would work, but it sure did.  Since it’s just the Asp.net hosting process...
Posted: 06-08-2010 5:26 PM by cicorias | with no comments
Filed under: , ,
Deployment of Resource files (*.resx) to App_GlobalResources under SharePoint
This is a continuation from Deployment of Theme and Resource files Resource File Deployment (Resx) The second item was deploying Resource files to the App_GlobalResource directory present as a subdirectory under each IIS site for each SharePoint Web Application...
Posted: 01-31-2010 10:44 AM by cicorias | with no comments
Filed under: ,
Deployment of Theme and Resource files via Feature / Timer Jobs
Recently, we had a deployment scenario where we needed to deploy a custom theme and some resource files (resx) to the Farm and the Web Application zones respectively. Theme Deployment via Feature / Timer Job For the first feature, deployment of a theme...
Posted: 01-31-2010 10:32 AM by cicorias | with 1 comment(s)
Filed under: ,
Don’t get caught with long Account Names!!
This has bitten me a couple of times.  This error surfaced yesterday when running a scripted install with psconfig.exe – the error that appears in the log is: LookupAccountName failed to get the SID for account <domain>\LONG AC NAME > 20...
Make sure you copy the correct web.config…
During an installation issue, a client followed the TechNet article ( http://technet.microsoft.com/en-us/library/cc298447.aspx ) and those instructions are misleading. It indicates to copy the “web.config” to the Layouts directory – what if fails to specify...
SharePoint 2010 and Claims Based Awareness
The industry it moving towards identity standards, and with the recent release of Windows Identity Foundation (fka Geneva), and the beta of SharePoint 2010, it’s important to take a look at the direction of how identity is being normalized into...
Posted: 11-23-2009 8:47 AM by cicorias | with no comments
Filed under: ,
SharePoint 2007 and InfoPath 2010 Client – current install issues…
Ok, I’ve been bitten twice in the past week on this.  If you have InfoPath 2010 Beta installed and you’ve also got SharePoint 2007 running, at least with the latest SP2 and October CU, you run into an issue that surfaces in the logs as follows One...
Posted: 11-17-2009 10:24 AM by cicorias | with no comments
Filed under:
More Posts Next page »