Apart from ULS, you can use powershell to search for a correlation and browse it in notepad, example:
Search This Blog
Tuesday, July 30, 2013
SharePoint User Code Host starts then stops
SharePoint User Code Host starts then stops with ULS errors:
Performance Counter OS (pdh) call failed with error code PDH_CSTATUS_NO_MACHINE.
- Process perf counters are disabled. Sandboxed code monitoring cannot continue
from SPUCHostService.exe
EventViewer reports:
Log Name: System
Source: Service Control Manager
Date: 7/30/2013 12:00:10 PM
Event ID: 7034
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: SP2013.contoso.com
Description:
The SharePoint User Code Host service terminated unexpectedly. It has done this 18 time(s).
The solution is described in http://support.microsoft.com/kb/983081:
add windows service account of SharePoint User Code Host to local server groups 'Performance Monitor Users' and 'Performance Log Users'
Performance Counter OS (pdh) call failed with error code PDH_CSTATUS_NO_MACHINE.
- Process perf counters are disabled. Sandboxed code monitoring cannot continue
from SPUCHostService.exe
EventViewer reports:
Log Name: System
Source: Service Control Manager
Date: 7/30/2013 12:00:10 PM
Event ID: 7034
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: SP2013.contoso.com
Description:
The SharePoint User Code Host service terminated unexpectedly. It has done this 18 time(s).
The solution is described in http://support.microsoft.com/kb/983081:
add windows service account of SharePoint User Code Host to local server groups 'Performance Monitor Users' and 'Performance Log Users'
Monday, July 29, 2013
SharePoint 2013 search access denied to People data sps3:// (Event 1314)
The error:
Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Server Search
Date: 7/29/2013 10:53:09 PM
Event ID: 1314
Task Category: Crawler:Gatherer Plugin
Level: Warning
Keywords:
User: CONTOSO\sp_crawl
Computer: SP2013.contoso.com
Description:
The start address sps3://sp2013:81 cannot be crawled.
Context: Application 'Search_Service_Application', Catalog 'Portal_Content'
Details:
Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled. (0x80041205)
The suggestion above is great, but does not help as it has been a case already.
The solution is to add crawler account to User Profile Service Admins with right to get data from People Data:
Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Server Search
Date: 7/29/2013 10:53:09 PM
Event ID: 1314
Task Category: Crawler:Gatherer Plugin
Level: Warning
Keywords:
User: CONTOSO\sp_crawl
Computer: SP2013.contoso.com
Description:
The start address sps3://sp2013:81 cannot be crawled.
Context: Application 'Search_Service_Application', Catalog 'Portal_Content'
Details:
Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled. (0x80041205)
The suggestion above is great, but does not help as it has been a case already.
The solution is to add crawler account to User Profile Service Admins with right to get data from People Data:
Sunday, July 28, 2013
SharePoint 2013 organisation browser empty in non-mysites
To fix the issues please refer to http://spreza.blogspot.ch/2013/03/using-sharepoint-2013-organization.html
You need to place the script under Organisational browser webpart on the same page.
However, the script is better to be placed in embeded HTML, rather than in Content Webpart.
You need to place the script under Organisational browser webpart on the same page.
However, the script is better to be placed in embeded HTML, rather than in Content Webpart.
Saturday, July 27, 2013
SharePoint 2013 Add-SPProfileLeader cmdlet gives "ProfilePropertyCache does not have" error
if you have an error trying to specify your CEO in the User profiles -
"Add-SPProfileLeader : UserProfileApplicationNotAvailableException_Logging ::
UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does
not have"
or if you use Update-SpProfilePhotoStore
Update-SPProfilePhotoStore -CreateThumbnailsForImportedPh
otos $true -MySiteHostLocation http://xxxxxxxxxx
Update-SPProfilePhotoStore :
UserProfileApplicationNotAvailableException_Logging ::
UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does
not have ...
try to repeat this powershell command under farm account.
Or provide permission to your account in Central Admin - highlight User Profile Service Application and then click Permissions and add account that you use for PowerShell with Full permission
Sometime if it still does not work, check rather administrator. Note also Service Account running Distributed Cache - AppFabric Caching service ....
"Add-SPProfileLeader : UserProfileApplicationNotAvailableException_Logging ::
UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does
not have
or if you use Update-SpProfilePhotoStore
Update-SPProfilePhotoStore -CreateThumbnailsForImportedPh
otos $true -MySiteHostLocation http://xxxxxxxxxx
Update-SPProfilePhotoStore :
UserProfileApplicationNotAvailableException_Logging ::
UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does
not have ...
try to repeat this powershell command under farm account.
Or provide permission to your account in Central Admin - highlight User Profile Service Application and then click Permissions and add account that you use for PowerShell with Full permission
Sometime if it still does not work, check rather administrator. Note also Service Account running Distributed Cache - AppFabric Caching service ....
Friday, July 26, 2013
SharePoint 2013 Event ID:7362 portalsuperuseraccount
If you get this eventlog message in SharePoint 2013:
Log Name: Application
Source: Microsoft-SharePoint Products-Web Content Management
Date: 7/26/2013 3:05:44 PM
Event ID: 7362
Task Category: Publishing Cache
Level: Information
Keywords:
User:
Computer:
Description:
Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unneccesary system resources.
To configure the account use the following command 'stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url webappurl'. The account should be any account that has Full Control access to the SharePoint databases but is not an application pool account.
Additional Data:
Current default super user account: SHAREPOINT\system
make sure you read this articles http://sharepointchick.com/archive/2010/10/06/resolving-the-super-user-account-utilized-by-the-cache-is.aspx and http://technet.microsoft.com/en-us/library/ff758656.aspx
before you actually run stsadm, as you may break SP for all users.
Log Name: Application
Source: Microsoft-SharePoint Products-Web Content Management
Date: 7/26/2013 3:05:44 PM
Event ID: 7362
Task Category: Publishing Cache
Level: Information
Keywords:
User:
Computer:
Description:
Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unneccesary system resources.
To configure the account use the following command 'stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url webappurl'. The account should be any account that has Full Control access to the SharePoint databases but is not an application pool account.
Additional Data:
Current default super user account: SHAREPOINT\system
make sure you read this articles http://sharepointchick.com/archive/2010/10/06/resolving-the-super-user-account-utilized-by-the-cache-is.aspx and http://technet.microsoft.com/en-us/library/ff758656.aspx
before you actually run stsadm, as you may break SP for all users.
Log viewer for SharePoint 2013
For troubleshooting and for correlation of errors, you might still need good old ULS viewer from Microsoft PSS. It helps to highlight correlated entires if you enable Smart Highlight.
Thursday, July 25, 2013
SAML claims authentication in Sharepoint over AD FS
Following a lab on configuring SAML authentication in Sharepoint over AD FS
http://www.microsoft.com/en-us/download/details.aspx?id=30385
based on http://technet.microsoft.com/library/hh305235(office.15).aspx
I released that there are few typos in the scripts, also not clear the mapping of LDAP attributes to outgoing Claims, I had to modify to make it work from SAM-account-name to Email address from LDAP side
http://www.microsoft.com/en-us/download/details.aspx?id=30385
based on http://technet.microsoft.com/library/hh305235(office.15).aspx
I released that there are few typos in the scripts, also not clear the mapping of LDAP attributes to outgoing Claims, I had to modify to make it work from SAM-account-name to Email address from LDAP side
Free MS e-book - a guide to claims-based identity and access control
Although based on earlier versions of SharePoint and Windows, this book provides very detailed explanation on all concepts of Microsoft implementation of claims-based authentication and access controls.
http://msdn.microsoft.com/en-us/library/ff423674.aspx
A paper version is available on Amazon:
http://www.amazon.com/Guide-Claims-Based-Identity-Access-Control/dp/1621140024/
http://msdn.microsoft.com/en-us/library/ff423674.aspx
A paper version is available on Amazon:
http://www.amazon.com/Guide-Claims-Based-Identity-Access-Control/dp/1621140024/
Wednesday, July 24, 2013
Bruce Schneier talks about power
Human society runs on trust. We all trust millions of people, organizations, and systems every day -- and we do it so easily that we barely notice. But in any system of trust, there is an alternative, parasitic, strategy that involves abusing that trust. Making sure those defectors don't destroy the cooperative systems they're abusing is an age-old problem, one that we've solved through morals and ethics, laws, and all sort of security technologies. Understanding how these all work -- and fail -- is essential to understanding the problems we face in today's increasingly technological and interconnected world.
http://youtu.be/m3NJ-Ow2Lvg
http://youtu.be/m3NJ-Ow2Lvg
Tuesday, July 23, 2013
How to change Sharepoint 2013 top left SuitBar to a custom text or image using masterpage
The first thing any branding is looking at is this famous "SharePoint" word in the top left corner of OOB Sharepoint 2013. There are many methods to change it - by creating Visual Studio project or App, by twicking in powershell, etc. Here is very simple method using masterpages and javascript. In Sharepoint Designer 2013 locate a source masterpage, make a copy to your custom name. Then locate the place where you can modify an object called "ms-core-brandingText" - quote from source fully rendered client HTML
Subscribe to:
Posts (Atom)