Showing posts with label sharepoint. Show all posts
Showing posts with label sharepoint. Show all posts

Wednesday, August 27, 2014

Can I know my Sharepoint Site's size?

Of course you can, dear!

ONLY CLICKS AWAY - Without using Powershell and stsadm:
1) Through central admin:
Central Admin -> Application Managment -> 'Quotas and Locks' under SiteCollection > Scroll down to the 'Site Quota Information' , you will find the 'Current storage used'
2) Through the site 
Site Actions -> Site Settings -> 'Site Collection Web Analytics reports' under 'Site Actions'  

TYPE AWAY - Using Powershell or STSADM:
1) stsadm:
stsadm - o enumsites -url "http://SiteURL" > c:\sites.txt
The resulting file contains the total size.

2) Powershell
Refer 
http://blogs.technet.com/b/fromthefield/archive/2013/07/25/windows-powershell-script-to-output-site-collection-information.aspx
http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=270 ( its for Sharepoint 2010 but the solution can inspire you to tweak your solution for Sharepoint 2013)



Tuesday, August 26, 2014

Show me the full error!!!

"Yeah! Right... Show me the error! I want it now! Fed up of you sending me chasing after a stupid Co-relation ID!". Do you relate to this desperate call of frustration? Then you have come to the right place.

The error message isnt very helpful. Plus, this error message is ok if you had easy access to the server or atleast someone sends you the ULS log the moment the error occurs. But in the cases that both dont happen, its best you have the full error message displayed, at least till the issue is resolved. 

To enable the whole error message in Sharepoint 2013 just make these two changes to the web.config file:
1) Enable Custom Errors: 
Change to:

<system.web> ...
<customErrors mode="Off" />

2) Enable Call Stack Trace: 
Change To:

<SharePoint>

<SafeMode ... CallStack="true" ... >

</SharePoint>


Check if the error message is now showing as expected.

Doesn't it make you happier? Happy trouble-shooting!

Thursday, March 29, 2007

Sharing a point about SharePoint at Sharing-Point

Its been about a month since I have started working on Sharepoint 2007- the latest toy our company got for them selves. I have never worked on Sharepoint ever in my life. A month is long enough to tell you that the road to delivering our first mini-project in Sharepoint 2007 was more bumpier than I initially thought. My whole team, leaving one gentleman whom i call 'Koko', was new to the product. Koko had an opportunity in his previous work place to explore Sharepoint 2003. His previous exposure has helped this delivery that is due to happen tomorrow.
But apart from Koko's timely help, there were a lots of people who lent a hand without knowing me in person, people whos names I don't even remember - innumerable, generous people who took time out to put down what ever lil they knew of the product, out for free on the net- websites, blogs...
At the end of this whole exciting and messy rollercoaster ride, I am left feeling enriched. Feeling greatful. And feeling some strong emotions at the thought there is someone like me out there who is new to this expensive toy and is lost. So here, I will try to give back what little I have.
I have never written anything technical, out of my own interest. Let me know of any room for improvement and if there are any mistakes. So I am just sharing a point about SharePoint at Sharing-Point. Join me.