Wednesday 27 March 2013

Specific User or Domain Group was not found.

Cause: "The specific user or domain group was not found"

Solution: In MOSS 2007, you will have access to change the service accounts and there is no concept like register managed account. Once you changed the service account which deleted from AD and still available in MOSS 2007.

When looking a solution for SharePoint 2010 as well as SharePoint 2013, First we need to find what the ID which is blocking the service application to do its work.

To find that account execute the following powershell command in SharePoint PowerShell.

 
Now i know the Service Application which making me the problem, then need to execute the following query in MSSQL server at SharePoint Config Database.

SELECT [Name], [Version], CAST([Properties] as xml)  from [SharePoint_Config].[dbo].[Objects] with (nolock)  Where [Name] LIKE '%PPS1%'

The result of the above query will give lot of XML files open the latest one and traverse it from last line. You will get the details which are the account have mapped with the service application using that you will come to know the User account which making the problem.

If you are working in Enterprise environment ask the AD team to recreate the account in domain with deny logon to the machine.

Restart the SharePoint server once, Now you will able to pick the user id from domain and you will have access service application page as well as configure service account page.

Change the account every where using UI itself, and then verify it through powershell. Like the below.

Get-SPServiceApplicationPool | FL Id,Name,*account*

now you output will updated with the account with configured for the service application. And remove the account from SharePoint farm.

1.  Change the service account.
2. Remove the permission if it have any delegate permission to any service application.
3. Remove from Managed Account.
4. Delete the account from AD as well.

Now your won't get the issue.

Note: Without recreating the account in AD there is no other way to solve the issue. If it is development environment and it doesn't have any data or any customization, Take web application content database break the farm and recreate a farm freshly.

Thanks in Advance!!!


Unable to Delete the Search Service Application from SP 2010

Cause: You try to delete search app through Central Admin and PowerShell but it hangs and will not delete the search application. 

If you run a Get-SPServiceApplication the ID is still listed.
 

Solution: Run: stsadm -o deleteconfigurationobject -id “GUID of search app from get-spserviceapplication” 

This will delete the search app and allow you to create a new one.

Converting a performance log file to CSV or BLG

This post will explain how to convert a performance log file from CSV to BLG and vice versa.

When a new user who configured performance counter and mistakely he didn't change the log file format. When we are ready to analyze the format manually on that time we will come to knew Ohh i configured in BLG format using this i can't customize my report and having lot of constraints.

To over come this yes you can convert a BLG file to CSV and vice versa CSV to BLG using the below command in Commad prompt.

For example, to convert a binary PerfMon log to a CSV file, use the command:

relog logfile.blg -f csv -o logfile.csv

Making a graph chart for Performance counter log file




Making a graph for Performance Counter which captured in CSV file Using PAL tool.

You can download the PAL in the following website http://pal.codeplex.com/

After downloaded the tool from codeplex just install the same in the machine.

Go to start and open the PAL icon look like the below one which highlighted with yellow border.

 

After opening a PAL tool you will get a Welcome like below. Give next.



 

Just provide an input of Performance Counter log file like below, You can specific time frame which you required.



 

By default the PAL development team itself providing template of Threshold for each every attribute like CPU, Memory, Disk, W3WP and etc..

If you have any defined Threshold file then using the same in the below tab window you can uploaded it.



 

If you are using default threshold file template then answer the below simple questions.



 

Just select Process all of the Counters in the counter log. (Else it will generate the graph for basic parameters like CPU, Memory).



 

Choose where do you required to place the output file (HTML or XML format).



 

Review your things which you provided before once again in Queue tab (Summary of Configuration which you did in earlier steps in PAL tool).


 

Click Finish button, It will open the Command prompt and generate the Reports it will take minimum 1 minutes for 1 day log to complete the reports. Once you got successful message then automatically HTML file will open in your default browser.

Note: You should install Chart controls in the machine where you installed the PAL tool.



 
 

Rescan Disk Option Greyed Out | New Disks Not visible on Disk management | Update-HostStorageCache

  Recently I have added several LUN from NetApp Storage to Hyper-V servers. But in the disk management I couldn't see those new LUN. Exi...