Every minutes, in ULS logs, you get this error:
- Process: Microsoft.Office.Project.Server
- Product: Project Server
- Category: Project Calculation Service
Timer Task thread crashed System.UnauthorizedAccessException: Access to the registry key 'Global' is denied. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.InternalGetValue(String name, Object defaultValue, Boolean doNotExpand, Boolean checkSecurity) at Microsoft.Win32.RegistryKey.GetValue(String name) at System.Diagnostics.PerformanceMonitor.GetData(String item) at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String item) at System.Diagnostics.PerformanceCounterLib.get_CategoryTable() at System.Diagnostics.PerformanceCounterLib.CounterExists(String category, String counter, Boolean& categoryExists) at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter) at System.Diagnostics.PerformanceCounter.InitializeImpl() at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly) at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName) at Microsoft.Office.Project.Server.BusinessLayer.PcsEngine.PcsPerfCounter.<.ctor>b__0() at System.Lazy`1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Lazy`1.get_Value() at Microsoft.Office.Project.Server.BusinessLayer.PcsEngine.PcsPerfCounter.EnsureSampleDataTask() at Microsoft.Office.Project.Server.BusinessLayer.PcsEngine.PcsTaskWorker.PerformTasksCallback(Object obj) StackTrace: at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch()
Project Server maintains performance counters for itself. So it must have rights to do so. You need to add the account that start Project Server to the following local Windows groups:
- Performance Log USers
- Performance Monitor Users
Then restart Project Server services when the job queue is empty
In ULS Logs, you get these errors in loop:
- Unable to get sql session to admin database
- NerioCluster: No lease returned when reading DB
Search Host controller Service is started but no search application exist in farm.
You need either to create a search application or stop this service from Central administration:
Everynight in event log, you find this warning:
Failed to connect to server. Error: 0×80070005
But you don’t find the generally associated COM errors.
- Make farm admin account temporary local admin (the one that start SharePoint Timer)
- Through SharePoint PowerShell: Get-SPProduct -local
- Through SharePoint PowerShell: (get-spserver $env:computername).NeedsUpgrade
- Start manually the timer job which generate this warning: Get-SPTimerJob job-admin-product-version | Start-SPTimerJob
- Ensure this warning is not happening anymore
- Remove from local admin group
- Restart SharePoint Timer
- Start again manually the timer job which generate this warning: Get-SPTimerJob job-admin-product-version | Start-SPTimerJob
- Ensure this warning is not happening anymore
One of my Windows 2012 server stopped reporting network performance counter.Soudainement. Even perfmon itself complains upon starting:
Starting lodctr /R doesn’t help. Counter is here but disabled. Checked starting lodctr.exe /Q:
[Tcpip] Performance Counters (Disabled) DLL Name: %SystemRoot%\System32\Perfctrs.dll Open Procedure: OpenTcpIpPerformanceData Collect Procedure: CollectTcpIpPerformanceData Close Procedure: CloseTcpIpPerformanceData
So we have to enable it again:
The story doesn’t say why it happened in first place…
From Microsoft Project 2010 and 2013, using the deliverable you get this error message:
This message look like coming from graveyard of Project 2003.
Useless to search your hard drive for these files, you don’t have them.
The real problem is security of the “Internet” zone in Internet Explorer, even if your server is in the “intranet” one.
Internet zone must not be in the highest position, or deliverables won’t work.
Even happening with Windows Server 2012 R2 + Project 2013 SP1 + IE 11 full updated…
After deploying Service pack 1 for SharePoint/Project 2013, you have to go through the configuration wizard. In this case, it was failing on all nodes with this error in log:
SyncUpgradeTimerJob: sleeping for 10 seconds SyncUpgradeTimerJob: sleeping for 10 seconds SyncUpgradeTimerJob: Upgrade timer job failed. Return -1. The exclusive inplace upgrader timer job failed.
Step 1 – other log
Another log is much more useful, in same location, named like upgrade-date-blahblah-error.log:
Exception: The operation cannot be performed on database "WSS_UsageApplication" because it is involved in a database mirroring session or an availability group. Some operations are not allowed on a database that is participating in a database mirroring session or in an availability group. ALTER DATABASE statement failed
Or by using upgrade-spfarm command:
Remove SQL Mirrpor or Always-on during upgrade on this database.
While creating a session collection on Windows 2012/2012R2, and specifying a share to host profile disks, you get error 800391163:
While applying, one of the RDP will create VHD template on the share using Local System:
Even if the computers objects have full control on NTFS, it still fails.
You have to give “full control” to “everyone” on the share, “change” is not enough:
Another closed case ^^
SharePoint – User profile – ResetSynchronizationDatabase : Operation is not valid due to the current state of the object0
Trying to reset the SharePoint UPS sync database, I had the following error message:
PS C:\> $upa.ResetSynchronizationDatabase() Exception calling "ResetSynchronizationDatabase" with "0" argument(s): "Operation is not valid due to the current state of the object." At line:1 char:1 + $upa.ResetSynchronizationDatabase() + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) , MethodInvocationException + FullyQualifiedErrorId : InvalidOperationException
Database was in mirror, and i had the following event on the SharePoint box:
You need to first remove mirroring session and try again.