TwitterLinkedInBlog

Monday, June 10, 2013

Access Denied for Site Collection Administrator

Make sure the Cache Super User has Full Control in the Web Application User Policy.
Make sure the Cache Super Reader has Full Read in the Web Application User Policy.

Delete Line Numbers

Maybe there's a better way to do this, but if you copy and paste code that includes line numbers, you can easily remove them by selecting columns of text in Visual Studio:

To select columns of text:
Hold down SHIFT + ALT while dragging the mouse pointer over a block of text.

Reference:
http://joelabrahamsson.com/select-columns-of-text-in-visual-studio/