509.949.2162 jeremy@bondbyte.com

Blog

TSQL: Search All Tables

/****** Object: StoredProcedure [dbo].[SearchAllTables] Script Date: 3/14/2013 8:01:42 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROC [dbo].[SearchAllTables] ( @SearchStr nvarchar(100) ) AS BEGIN -- Copyright © 2002 Narayana Vyas Kondreddi....

SharePoint 2013 unexpected database growth

So one day, suddenly I find my development environment out of drive space, never good, but its my dev box and not a production system. So that's the good news. Production Environment Fix(Contentdb): So I start poking around and find that the content database is...

SPWeb.Users.GetCollection does not work as expected

It appears that SPWeb.Users.GetCollection is not bound to its initialized web although SPWeb.Users[username] and SPWeb.Users.GetByEmail(email) are. The unfortunate thing, SPWeb.Users[username] and SPWeb.Users.GetByEmail(email) both throw exceptions if nothing is...

Session State in SharePoint

I tried using Session state today in a web part I was developing, it failed, the session was always null. I followed the best practices, verified it was enabled in web.config, it wasn't, so I turned it on. EnableSessionState="true".   I tried my webpart again,...

SharePoint 2013 Front End Server Prep

Here's a collection of tools that are handy to have installed on your front end servers. The first thing you'll want to do is install a Windows SDK. The SDK package comes with a lot tools, specifically GacUtil.exe Server 2012...

SharePoint 2013 Configure Search Services

//Provision Usage App $UP = Get-SPServiceApplicationProxy | where {$_.TypeName -like "Usage*"} $UP.Provision() //Starts the Services $hostA = Get-SPEnterpriseSearchServiceInstance -Identity "spapp" Start-SPEnterpriseSearchServiceInstance -Identity $hostA //Verify...