23 July, 2012

Unexpected Error when trying to view Audit Log Reports

Guys-from last few months I am trying my best to dig in SharePoint auditing and trying to explore so many things. While exploring, I am trying to create the error message so that it will be easy for me to know the root cause and resolution too. I would like to share my research and thorough findings so that it will be helpful for everybody to minimize the headache that we experienced while troubleshooting the issue.
If you receive an Unexpected Error trying to view the Audit Log Reports on their Site Collection:
·         Access the Site Collection. 
·         Go to Site Actions >Site Settings. 
·         Select Audit Log Reports. 

Error message:
Unexpected Error returned.
Resolution:
Please use the following steps to resolve this issue:
1.   Visit <SiteURL> /_layouts/ManageFeatures.aspx?Scope=Site

Example: https:// spsites.sharepoint.com/sites/amolsp2010 /_layouts/ManageFeatures.aspx?Scope=Site

2.   Deactivate the feature: Reporting. 
3.   Activate the feature Reporting. 
4.   Visit /_layouts/AuditSettings.aspx page and verify the Audit settings. 
5.   After some time, validate the reports are working as expected.

Please let me know in case of any queries/questions regarding the above mentioned information. Thank you.

Reference:

SharePoint 2010-Cannot view audit log reports on site collection

Auditing-Knowing who is taking what action on which content in your site collection can be critical in helping your organization fulfill its requirements, such as meeting regulatory compliance and records management. You save an audit log report as a Microsoft Excel 2010 workbook to a library in the site collection that you specify.
Few months before, I have already written an article on auditing configuration and I really wanted to thank you for your kind responses: http://sharepointknowledgebase.blogspot.in/2010/09/sharepoint2010-site-collection-auditing.html
But now in this article, I am trying to concentrate on one of the incident which has been faced by the local team members.
The issue was: After being enabled the Audit log reports, the link to "Audit log reports” remains unavailable (does not appear) on site collection settings
See, it was very easy to troubleshoot this issue so I request you to follow the below mentioned steps and I am pretty much confident that your issue will be resolved.
Resolution:
I am providing you two options here so you can use anyone as per your flexibility.
Note: in both the options, you must be site collection administrator for the site collection.
Option1:
1.   Open command prompt ( Start-> Run and type cmd ) 
2.   Change to the SharePoint 2010 path (\programfiles\Common files\Microsoft Shared\web server extensions\14\bin) 
3.   Run STSADM.EXE -o activatefeature -name Reporting -url http://sitecollectionurl -force (this may take a while on finishing) 

Option2:
1.   On the site that the Audit log reports are going t be activated
2.   Site Actions
3.   Site settings 
4.   On Site collection administration section
5.   click on Site Collection Features 
6.   Search for the Reporting feature 
7.   Click on Activate button 

Go back to Site Actions->Site Settings and on Site Collection administration section and verify that the link is available now

Please let me know in case of any queries/questions regarding the above mentioned information. I would be more than happy to help you as well as resolves your issues J J

20 July, 2012

How to organize files in SharePoint

The following are some of the ways that you can view and manage files in the same library:
• Add columns to help your group to identify the data that is most important and to view the data in different ways, you can add columns (column: X named selection of data in a list, library, or content type, such as Title or Due Date. Columns are displayed horizantally in most views and are displayed as fields in forms.) to your library. Columns appear at the top of the library page as headings, such as department name or due date. You can use the column headings to sort and filter the files in a library.
• Create views: (view: A set of columns on a Web page that displays items in a list or document library. The view can display sorted or filtered items, a selection of columns, or a custom layout.) if the people in your group frequently need to see the data in a certain way. In views, columns are used to sort, group, filter, and display the data.
• Create folders for many files that can be grouped in a particular way, folders are an option. Folders can help people to scan and manage files in a familiar way. Windows SharePoint Services 3.0 provides a tree view that people can use to navigate sites and folders, similar to the way that they work with folders on a hard disk.
• Set up multiple templates if multiple content types are set up in a library, you can create different types of default templates — such as sales contracts, marketing presentations, and budget worksheets — within the same library. Content types add flexibility and consistency across multiple libraries.
Please let me know in case of any queries/questions, Thank you.

How to assign a User-specific voice policy?

How to assign a User-specific voice policy?

Hello Guys,

Many times we have to create multiple voice policies for different purpose. After creating voice policies we have assign the same to specific user, as per requirements.

This article will help to assign the voice policies to specific user. You need to assign either a global voice policy or per-user voice policy to all user accounts that are enabled for Enterprise Voice. User accounts can use the global voice policy by default when you do not assign an existing voice policy that you created for specific users or groups of users.
Assign a user-specific voice policy:
1. from a user account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer in your internal deployment.
2. Start Lync Management Shell: Click Start, click All Programs, click MS Lync 2010, and then click Lync Management Shell.
3. To assign an existing voice policy you created for specific users or groups of users, run the following at the command prompt:

Grant-CsVoicePolicy-Identity <UserIdParameter>-PolicyName<String>

For example: Grant-CsDialPlan -Identity "Balu Ilag" -PolicyNameVoicePolicyIndia
In this example, the user with the display name Balu Ilag is assigned the voice policy with the name VoicePolicyIndia.
Thank you.

Failed to start the User Profile Synchronization service

The User Profile service application stores information about users in a central location. Social computing features use this information to facilitate productive interactions which enable users to collaborate efficiently. In order to provision My Sites, enable social computing features such as social tagging and newsfeeds, and create and distribute profiles across multiple sites and farms, you must enable the User Profile service application.
In the 'Central Administration--Services on the Server page, the User Profile Synchronization Service is in 'Stopped' state. 
Also when you check the ULS log after the entry ILM configuration: Configuring Registry keys, you can see several entries similar to the next:  
"Unable to load Assembly for LCID"
In the Synchronization DB on the SQL server, the User account assigned to the "User Profile Synchronization Service" was not mapped to the login account as 'dbo' in the 'User' and 'Default schema' columns.
Resolution:
1.   Open the Microsoft SQL Server Management Studio from Start - All Programs menu
2.   Under Security, expand logins and select the user account assigned to the user profile synchronization service.
3.   Right click Properties > User mapping > on the right panel, scroll down until you find the User Profile Service Application synchronization DB.
4.   Make sure that it is checked and change the value for the 'User' and 'Default schema' columns to 'dbo.
If you get an error while performing the previous operations, then you should make the changes in the Synchronization DB. Expand the Synchronization DB node > Security > Roles > Database roles and select the 'FIM_SynchronizationService', 'persistencesUsers' and 'state_persistence_users' values.
Delete the FIM certificates and restart the user profile synchronization Service.
Please let me know in case of any further queries/questions. I would be more than happy to help you as well as resolves your issues, Thank you.