wingleungchan.blogspot.com
Just in time learning: Hacking SPRoleDefinition SPRoleType in the database
http://wingleungchan.blogspot.com/2015/05/hacking-sproledefinition-sproletype-in.html
Just in time learning. Learning how to do things and fix stuff as I go because who really has time to sit in a classroom. Posting it all here because I can not remember it all. Tuesday, May 5, 2015. Hacking SPRoleDefinition SPRoleType in the database. If you are a Site Collection Administrator, SharePoint allows you to go to a Site Collection, Site Actions- Site Permissions- Permission Levels, then edit a permission level and delete it. Web = Get-SPWeb your-web-url. This gives output like the following:.
wingleungchan.blogspot.com
Just in time learning: April 2014
http://wingleungchan.blogspot.com/2014_04_01_archive.html
Just in time learning. Learning how to do things and fix stuff as I go because who really has time to sit in a classroom. Posting it all here because I can not remember it all. Tuesday, April 1, 2014. I recently had to troubleshoot some SharePoint Timezone issues. There are a bewildering number of places where this may be a factor:. These are nicely summarized at http:/ www.techgrowingpains.com/2012/05/sharepoint-time-zone-confusion-2/. Central Administration- Manage Web Applications. Links to this post.
wingleungchan.blogspot.com
Just in time learning: October 2013
http://wingleungchan.blogspot.com/2013_10_01_archive.html
Just in time learning. Learning how to do things and fix stuff as I go because who really has time to sit in a classroom. Posting it all here because I can not remember it all. Wednesday, October 2, 2013. The server is unavailable and could not be accessed. The server is probably disconnected from the network. All of a sudden my FAST search crawler is returning the following error on every item:. The server is unavailable and could not be accessed. The server is probably disconnected from the network.
wingleungchan.blogspot.com
Just in time learning: November 2014
http://wingleungchan.blogspot.com/2014_11_01_archive.html
Just in time learning. Learning how to do things and fix stuff as I go because who really has time to sit in a classroom. Posting it all here because I can not remember it all. Wednesday, November 5, 2014. The query cannot be completed because the number of lists in the query exceeded the allowable limit. I have recently come across an error where our code is calling GetSiteData with a query and was returning this error:. I then built the following powershell to mimic our code in order test it:. QueryVie...
wingleungchan.blogspot.com
Just in time learning: A potentially dangerous Request.Path value was detected from the client (%)
http://wingleungchan.blogspot.com/2015/07/a-potentially-dangerous-requestpath.html
Just in time learning. Learning how to do things and fix stuff as I go because who really has time to sit in a classroom. Posting it all here because I can not remember it all. Saturday, July 4, 2015. A potentially dangerous Request.Path value was detected from the client (%). Recently came across an issue with an error like the following:. Application error when access {some-url}, Error=A potentially dangerous Request.Path value was detected from the client (%). Subscribe to: Post Comments (Atom). Pictu...
wingleungchan.blogspot.com
Just in time learning: June 2013
http://wingleungchan.blogspot.com/2013_06_01_archive.html
Just in time learning. Learning how to do things and fix stuff as I go because who really has time to sit in a classroom. Posting it all here because I can not remember it all. Tuesday, June 18, 2013. I was just trying to write a script to manage IIS logs. I was able to get the log directory, but it comes back as %SystemDrive% inetpub logs LogFiles. Reading between the lines from a couple of posts, I found that I can use $env:SystemDrive in place of %SystemDrive%. So I can do something like this:. I have...
wingleungchan.blogspot.com
Just in time learning: October 2014
http://wingleungchan.blogspot.com/2014_10_01_archive.html
Just in time learning. Learning how to do things and fix stuff as I go because who really has time to sit in a classroom. Posting it all here because I can not remember it all. Thursday, October 2, 2014. Listsasmx GetListCollections and GetListItems example. I recently had to get all items of a list as well as all lists in a SPWeb. This involved calling Lists.asmx. For the service description of Lists.asmx just go to / vti bin/lists.asmx. Get all lists for some SPWeb. Xml = [xml]$result.Content. GetListI...
wingleungchan.blogspot.com
Just in time learning: March 2015
http://wingleungchan.blogspot.com/2015_03_01_archive.html
Just in time learning. Learning how to do things and fix stuff as I go because who really has time to sit in a classroom. Posting it all here because I can not remember it all. Friday, March 13, 2015. Amazon AWS value cannot be null, parameter name awsAccessKeyId. Today, none of my AWS Powershell scripts would work any more. They were all returning. Value cannot be null. Initially I thought it had to do with expired credentials or even the Windows Patch Tuesday. Links to this post.
wingleungchan.blogspot.com
Just in time learning: April 2015
http://wingleungchan.blogspot.com/2015_04_01_archive.html
Just in time learning. Learning how to do things and fix stuff as I go because who really has time to sit in a classroom. Posting it all here because I can not remember it all. Friday, April 10, 2015. Automatically capturing matching Failed Request Trace Logs. I was trying to troubleshoot a particularly challenging user identity issue with SharePoint and thought about using Failed Request Tracing which I will write about some other time. I adapted it to my purpose:. Filter = 'fr*.xml'. Url = $xml.fai...