Get-SPDatabase | Sort-Object disksizerequired -desc | Format-Table Name, @{Label ="Size in MB"; Expression = {$_.disksizerequired/1024/1024}}
Wednesday, December 5, 2012
Get-SPDatabase – How to see the SharePoint content DB size
Get-SPDatabase | Sort-Object disksizerequired -desc | Format-Table Name, @{Label ="Size in MB"; Expression = {$_.disksizerequired/1024/1024}}
Friday, November 2, 2012
User Information List– the hidden list in SharePoint
User info list can be accessed using following URLs. This is a hidden list there is no out of the box option to edit or delete the users from here. Initially I thought it requires custom solution to delete the users from here.
Simple view : ../_catalogs/users/simple.aspx
Detail view: ../_catalogs/users/detail.aspx
However if you delete the user from ‘People and Groups’ (All people view) using the following URL user info list also reflects it :-)
_layouts/people.aspx?MembershipGroupId=0&FilterField1=ContentType&FilterValue1=Person
Thursday, August 9, 2012
SharePoint 2013 Free Training videos from Microsoft !!
Developer-focused training, walkthrough videos, if anyone is interested.
http://msdn.microsoft.com/en-us/office/apps/fp123626.aspx
You may also set up Development environment using Office 365 Developer Site on Cloud and start developing ‘SharePoint 2013 Apps’.
Also http://msdn.microsoft.com/en-us/library/jj163980(v=office.15).aspx
Happy learning SharePoint :-)
Wednesday, July 11, 2012
Cannot start service SPUserCodeV4 on computer – Sandboxed solution
Error 1 Error occurred in deployment step 'Activate Features': Cannot start service SPUserCodeV4 on computer 'XXXXXXXX'.
The above error can be resolved by starting the service below in Central Admin >> System Setting >>Manage services on server
Microsoft SharePoint Foundation Sandboxed Code Service
Friday, July 6, 2012
PowerGUI Error : Microsoft SharePoint is not supported with version 4.0.30319.1 of the Microsoft .Net Runtime
When you are working with Power GUI script editor version 3.2.0.2237 and installed Visual Studio 2010 on the same machine, you will the following error-
“Microsoft SharePoint is not supported with version 4.0.30319.261 of the Microsoft .Net Runtime.”
To fix this, open “ScriptEditor.exe.config” file which is located in C:\Program Files (x86)\PowerGUI\ and comment the line #4 as shown below.
<?xml version="1.0" encoding="utf-8" ?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <!-- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />--> <supportedRuntime version="v2.0.50727" /> </startup>
Restart the Power GUI editor after making the above change.
Tuesday, June 26, 2012
The security validation for this page is invalid. - SharePoint 2010
Friday, June 8, 2012
An unexpected error occurred. Error 19106. - Performancepoint Dashboard Designer not working
When you try to access PP dashboard designer from BI Tools in SharePoint 2010 you get-
"The URL is not available, does not reference a SharePoint site, or you do not have permission to connect"
I fixed the above issue by trying following things in order
1. Recycle the app pool running the Performance Point service.
2. Restart the PerformancePoint service from central admin
3. Perform an IISRESET.
Please note in my case Designer Dashboard was working earlier and had stopped suddenly. If you are setting it up for the first time then you need to configure the performance point services to use this as Unattended Service Account to access data sources in service application settings in central admin.