by jeremy@bondbyte.com | Apr 23, 2014 | Uncategorized
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...
by jeremy@bondbyte.com | Apr 23, 2014 | Uncategorized
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...
by jeremy@bondbyte.com | Apr 23, 2014 | Uncategorized
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...
by jeremy@bondbyte.com | Apr 23, 2014 | Uncategorized
was setting up a HyperV instance for development. Grabbed a Server 2012 Eval, threw SQL on it and installed SharePoint Foundation 2013. I was running through the configuration wizard and it was at step 8 or 9, creating Sample Data… and it threw the error below....
by jeremy@bondbyte.com | Apr 23, 2014 | Uncategorized
//Provision Usage App $UP = Get-SPServiceApplicationProxy | where {$_.TypeName -like “Usage*”} $UP.Provision() //Starts the Services $hostA = Get-SPEnterpriseSearchServiceInstance -Identity “spapp” Start-SPEnterpriseSearchServiceInstance...