2014-10-05_11-08-07

Project Server 2013 – Access to the registry key ‘Global’ is denied

0

Issue

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()

Solution

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

2014-10-05_10-58-11

SharePoint 2013 – NodeRunnerQuery and NodeRunnerAdmin – SQL access errors

0

Issue

In ULS Logs, you get these errors in loop:

  • Unable to get sql session to admin database
  • NerioCluster: No lease returned when reading DB

2014-10-05_10-58-11

 

Solution

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:

2014-10-05_11-01-38

2014-08-03_16-37-25

SharePoint 2013 – MsiInstaller – 1015 – Failed to connect to server. Error: 0×80070005

0

Issue

Everynight in event log, you find this warning:

Failed to connect to server. Error: 0×80070005

2014-08-03_16-37-25

But you don’t find the generally associated COM errors.

Solution

  1. Make farm admin account temporary local admin (the one that start SharePoint Timer)
  2. Through SharePoint PowerShell: Get-SPProduct -local
  3. Through SharePoint PowerShell: (get-spserver $env:computername).NeedsUpgrade
  4. Start manually the timer job which generate this warning: Get-SPTimerJob job-admin-product-version | Start-SPTimerJob
  5. Ensure this warning is not happening anymore
  6. Remove from local admin group
  7. Restart SharePoint Timer
  8. Start again manually the timer job which generate this warning: Get-SPTimerJob job-admin-product-version | Start-SPTimerJob
  9. Ensure this warning is not happening anymore
2014-08-20_21-49-38

Windows – performance counters – unable to add these counters

0

Issue

One of my Windows 2012 server stopped reporting network performance counter.Soudainement. Even perfmon itself complains upon starting:

2014-08-20_21-49-38

 

Solution

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:

lodctr.exe /E:Tcpip

 

The story doesn’t say why it happened in first place…

 

 

23-03-2014 12-09-39

Microsoft Project – deliverable – fichiers srchui.dll and jscript.dll

0

From Microsoft Project 2010 and 2013, using the deliverable you get this error message:

23-03-2014 11-49-30

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.

26-03-2014 07-43-13

Even happening with Windows Server 2012 R2 + Project 2013 SP1 + IE 11 full updated…

 

 

29-03-2014 12-55-19

SharePoint/Project 2013 SP1 – Configuration wizard

0

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:

29-03-2014 12-55-19

 

Answer

Remove SQL Mirrpor or Always-on during upgrade on this database.

 

 

rdp2012_session_profile_disk_800391163

RDP 2012(R2) – session collection – profile disk – 800391163

0

While creating a session collection on Windows 2012/2012R2, and specifying a share to host profile disks, you get error 800391163:

rdp2012_session_profile_disk_800391163

While applying, one of the RDP will create VHD template on the share using Local System:

rdp2012_session_profile_disk_procmon

In details:

rdp2012_session_profile_disk_procmon2

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:

rdp2012_session_profile_disk_share

Another closed case ^^

event_5586

SharePoint – User profile – ResetSynchronizationDatabase : Operation is not valid due to the current state of the object

0

Issue

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

Resolution

Database was in mirror, and i had the following event on the SharePoint box:

event_5586

You need to first remove mirroring session and try again.

 

 

sql_server_setup_failed_setup_account_privileges

SQL Server 2012 : Setup account privileges failed – HasSecurityBackupAndDebugPrivilegesCheck

0

Trying to deploy SQL Server 2012, I had the following error:

sql_server_setup_failed_setup_account_privileges

 

Clicking on Failed:

sql_server_setup_failed_HasSecurityBackupAndDebugPrivilegesCheck

 

Resolution

A GPO changed members of this privilege, and wasn’t incluing mine. I added the install account to this privilege to fix it.

gpo

Microsoft expert, bleak future ?

0

Sorry, this entry is only available in Français.

Go to Top