Jarrad Koppen
asked on
Error when Updating DB via Products Configuration Wizard
Hi,
I've been trying to update our Databases for Sharepoint 2016 and I seem to get the same following error when Performing configuration task 2 of 6 during the process
An exception of type System.MemberAccessExcepti on was thrown. Additional exception information: Cannot create an instance of System.Collections.Generic .Dictionar y`2[Micros oft.ShareP oint.Admin istration. SPUrlZone, System.Col lections.G eneric.Lis t`1[T]] because Type.ContainsGenericParame ters is true.
I believe it to be a permissions error but I'm running the cmd as administrator and the account I'm using has admin privileges for both the SP and SQL server.
Any thoughs?
Also below is a dump of the PSCDiag log file generated
04/29/2019 17:29:43 1 INF Entering function TaskDriverStateChange.Ente r
04/29/2019 17:29:43 1 INF Acquiring the writer lock to change the state
04/29/2019 17:29:43 1 INF Current state of the task driver is neverrun. You want to change it to stoppingrun
04/29/2019 17:29:43 1 INF Changed state of the task driver to neverrun
04/29/2019 17:29:43 1 INF Released the writer lock to change the state
04/29/2019 17:29:43 1 INF Leaving function TaskDriverStateChange.Ente r
04/29/2019 17:29:43 1 INF Entering function TaskDriver.FireOnTaskDrive rEvent
04/29/2019 17:29:43 1 INF Entering function CommandLine.TaskDriverEven tHandler
04/29/2019 17:29:43 1 INF Received a TaskDriverEventHandler: TaskDriverEventArgs.EventC riticality Type info, TaskDriverEventArgs.EventT ype stopping, message Successfully stopped the configuration of SharePoint Products.
04/29/2019 17:29:43 1 INF Leaving function CommandLine.TaskDriverEven tHandler
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.FireOnTaskDrive rEvent
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.OnTaskDriverSto pping
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.ExecuteTasks
04/29/2019 17:29:43 1 ERR One or more configuration tasks has failed to execute
04/29/2019 17:29:43 1 INF Entering function TaskDriver.Stop
04/29/2019 17:29:43 1 INF Entering function StringResourceManager.GetR esourceStr ing
04/29/2019 17:29:43 1 INF Resource id to be retrieved is PostSetupConfigurationFail edEventLog for language English (United States)
04/29/2019 17:29:43 1 INF Resource retrieved id PostSetupConfigurationFail edEventLog is Configuration of SharePoint Products failed. Configuration must be performed in order for this product to operate properly. To diagnose the problem, review the extended error information located at {0}, fix the problem, and run this configuration wizard again.
04/29/2019 17:29:43 1 INF Leaving function StringResourceManager.GetR esourceStr ing
04/29/2019 17:29:43 1 ERR Configuration of SharePoint Products failed. Configuration must be performed in order for this product to operate properly. To diagnose the problem, review the extended error information located at D:\SPTraceLogs\PSCDiagnost ics_4_29_2 019_17_28_ 23_358_774 819500.log , fix the problem, and run this configuration wizard again.
04/29/2019 17:29:43 1 INF Entering function StringResourceManager.GetR esourceStr ing
04/29/2019 17:29:43 1 INF Resource id to be retrieved is PostSetupConfigurationFail edUserMess age for language English (United States)
04/29/2019 17:29:43 1 INF Resource retrieved id PostSetupConfigurationFail edUserMess age is Configuration of SharePoint Products failed. Configuration must be performed before you use SharePoint Products. For further details, see the diagnostic log located at {0} and the application event log.
04/29/2019 17:29:43 1 INF Leaving function StringResourceManager.GetR esourceStr ing
04/29/2019 17:29:43 1 INF Entering function TaskDriver.OnTaskDriverSto p
04/29/2019 17:29:43 1 INF Sending a task driver stop event: TaskDriverEventArgs.EventC riticality Type error, TaskDriverEventArgs.EventT ype.stop, Configuration of SharePoint Products failed. Configuration must be performed before you use SharePoint Products. For further details, see the diagnostic log located at D:\SPTraceLogs\PSCDiagnost ics_4_29_2 019_17_28_ 23_358_774 819500.log and the application event log.
04/29/2019 17:29:43 1 INF Entering function TaskDriverStateChange.Ente r
04/29/2019 17:29:43 1 INF Acquiring the writer lock to change the state
04/29/2019 17:29:43 1 INF Current state of the task driver is neverrun. You want to change it to stoppedrunning
04/29/2019 17:29:43 1 INF Changed state of the task driver to neverrun
04/29/2019 17:29:43 1 INF Released the writer lock to change the state
04/29/2019 17:29:43 1 INF Leaving function TaskDriverStateChange.Ente r
04/29/2019 17:29:43 1 INF Entering function TaskDriver.FireOnTaskDrive rEvent
04/29/2019 17:29:43 1 INF Entering function CommandLine.TaskDriverEven tHandler
04/29/2019 17:29:43 1 INF Received a TaskDriverEventHandler: TaskDriverEventArgs.EventC riticality Type error, TaskDriverEventArgs.EventT ype stop, message Configuration of SharePoint Products failed. Configuration must be performed before you use SharePoint Products. For further details, see the diagnostic log located at D:\SPTraceLogs\PSCDiagnost ics_4_29_2 019_17_28_ 23_358_774 819500.log and the application event log.
04/29/2019 17:29:43 1 INF Leaving function CommandLine.TaskDriverEven tHandler
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.FireOnTaskDrive rEvent
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.OnTaskDriverSto p
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.Stop
04/29/2019 17:29:43 1 INF UnLocking the task driver for exclusive use while we ran tasks
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.Run
04/29/2019 17:29:43 1 ERR Post setup configuration was not run successfully when using the command line task driver module
04/29/2019 17:29:43 1 INF Entering function Common.StartAllServices
04/29/2019 17:29:44 1 INF Starting Service SearchRuntimeServiceInstan ce
04/29/2019 17:29:44 1 INF Calling ServiceInstance.Start() start the SearchRuntimeServiceInstan ce service
04/29/2019 17:29:57 1 INF Starting Service ProjectCalcServiceInstance
04/29/2019 17:29:57 1 INF Calling ServiceInstance.Start() start the ProjectCalcServiceInstance service
04/29/2019 17:29:58 1 INF Starting Service SPWindowsTokenServiceInsta nce
04/29/2019 17:29:58 1 INF Calling ServiceInstance.Start() start the SPWindowsTokenServiceInsta nce service
04/29/2019 17:29:58 1 INF Starting Service SPTracingServiceInstance
04/29/2019 17:29:58 1 INF Calling ServiceInstance.Start() start the SPTracingServiceInstance service
04/29/2019 17:29:58 1 INF Starting Service SPWriterServiceInstance
04/29/2019 17:29:58 1 INF Calling ServiceInstance.Start() start the SPWriterServiceInstance service
04/29/2019 17:29:59 1 INF Starting Service SPUserCodeServiceInstance
04/29/2019 17:29:59 1 INF Calling ServiceInstance.Start() start the SPUserCodeServiceInstance service
04/29/2019 17:29:59 1 INF Starting Service SearchServiceInstance
04/29/2019 17:29:59 1 INF Calling ServiceInstance.Start() start the SearchServiceInstance service
04/29/2019 17:30:02 1 INF Starting Service ProjectEventServiceInstanc e
04/29/2019 17:30:02 1 INF Calling ServiceInstance.Start() start the ProjectEventServiceInstanc e service
04/29/2019 17:30:03 1 INF Starting Service SPAdministrationServiceIns tance
04/29/2019 17:30:03 1 INF Calling ServiceInstance.Start() start the SPAdministrationServiceIns tance service
04/29/2019 17:30:04 1 INF Starting Service SPTimerServiceInstance
04/29/2019 17:30:04 1 INF Calling ServiceInstance.Start() start the SPTimerServiceInstance service
04/29/2019 17:30:04 1 INF Starting Service OnlineQueueServiceInstance
04/29/2019 17:30:04 1 INF Calling ServiceInstance.Start() start the OnlineQueueServiceInstance service
04/29/2019 17:30:04 1 INF Starting Service ProjectQueueServiceInstanc e
04/29/2019 17:30:04 1 INF Calling ServiceInstance.Start() start the ProjectQueueServiceInstanc e service
04/29/2019 17:30:05 1 INF Starting Service SPDistributedCacheServiceI nstance
04/29/2019 17:30:05 1 INF Calling ServiceInstance.Start() start the SPDistributedCacheServiceI nstance service
04/29/2019 17:30:05 1 INF Leaving function Common.StartAllServices
04/29/2019 17:30:05 1 INF Leaving function PsconfigCommandLineMain.Ma in
I've been trying to update our Databases for Sharepoint 2016 and I seem to get the same following error when Performing configuration task 2 of 6 during the process
An exception of type System.MemberAccessExcepti
I believe it to be a permissions error but I'm running the cmd as administrator and the account I'm using has admin privileges for both the SP and SQL server.
Any thoughs?
Also below is a dump of the PSCDiag log file generated
04/29/2019 17:29:43 1 INF Entering function TaskDriverStateChange.Ente
04/29/2019 17:29:43 1 INF Acquiring the writer lock to change the state
04/29/2019 17:29:43 1 INF Current state of the task driver is neverrun. You want to change it to stoppingrun
04/29/2019 17:29:43 1 INF Changed state of the task driver to neverrun
04/29/2019 17:29:43 1 INF Released the writer lock to change the state
04/29/2019 17:29:43 1 INF Leaving function TaskDriverStateChange.Ente
04/29/2019 17:29:43 1 INF Entering function TaskDriver.FireOnTaskDrive
04/29/2019 17:29:43 1 INF Entering function CommandLine.TaskDriverEven
04/29/2019 17:29:43 1 INF Received a TaskDriverEventHandler: TaskDriverEventArgs.EventC
04/29/2019 17:29:43 1 INF Leaving function CommandLine.TaskDriverEven
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.FireOnTaskDrive
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.OnTaskDriverSto
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.ExecuteTasks
04/29/2019 17:29:43 1 ERR One or more configuration tasks has failed to execute
04/29/2019 17:29:43 1 INF Entering function TaskDriver.Stop
04/29/2019 17:29:43 1 INF Entering function StringResourceManager.GetR
04/29/2019 17:29:43 1 INF Resource id to be retrieved is PostSetupConfigurationFail
04/29/2019 17:29:43 1 INF Resource retrieved id PostSetupConfigurationFail
04/29/2019 17:29:43 1 INF Leaving function StringResourceManager.GetR
04/29/2019 17:29:43 1 ERR Configuration of SharePoint Products failed. Configuration must be performed in order for this product to operate properly. To diagnose the problem, review the extended error information located at D:\SPTraceLogs\PSCDiagnost
04/29/2019 17:29:43 1 INF Entering function StringResourceManager.GetR
04/29/2019 17:29:43 1 INF Resource id to be retrieved is PostSetupConfigurationFail
04/29/2019 17:29:43 1 INF Resource retrieved id PostSetupConfigurationFail
04/29/2019 17:29:43 1 INF Leaving function StringResourceManager.GetR
04/29/2019 17:29:43 1 INF Entering function TaskDriver.OnTaskDriverSto
04/29/2019 17:29:43 1 INF Sending a task driver stop event: TaskDriverEventArgs.EventC
04/29/2019 17:29:43 1 INF Entering function TaskDriverStateChange.Ente
04/29/2019 17:29:43 1 INF Acquiring the writer lock to change the state
04/29/2019 17:29:43 1 INF Current state of the task driver is neverrun. You want to change it to stoppedrunning
04/29/2019 17:29:43 1 INF Changed state of the task driver to neverrun
04/29/2019 17:29:43 1 INF Released the writer lock to change the state
04/29/2019 17:29:43 1 INF Leaving function TaskDriverStateChange.Ente
04/29/2019 17:29:43 1 INF Entering function TaskDriver.FireOnTaskDrive
04/29/2019 17:29:43 1 INF Entering function CommandLine.TaskDriverEven
04/29/2019 17:29:43 1 INF Received a TaskDriverEventHandler: TaskDriverEventArgs.EventC
04/29/2019 17:29:43 1 INF Leaving function CommandLine.TaskDriverEven
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.FireOnTaskDrive
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.OnTaskDriverSto
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.Stop
04/29/2019 17:29:43 1 INF UnLocking the task driver for exclusive use while we ran tasks
04/29/2019 17:29:43 1 INF Leaving function TaskDriver.Run
04/29/2019 17:29:43 1 ERR Post setup configuration was not run successfully when using the command line task driver module
04/29/2019 17:29:43 1 INF Entering function Common.StartAllServices
04/29/2019 17:29:44 1 INF Starting Service SearchRuntimeServiceInstan
04/29/2019 17:29:44 1 INF Calling ServiceInstance.Start() start the SearchRuntimeServiceInstan
04/29/2019 17:29:57 1 INF Starting Service ProjectCalcServiceInstance
04/29/2019 17:29:57 1 INF Calling ServiceInstance.Start() start the ProjectCalcServiceInstance
04/29/2019 17:29:58 1 INF Starting Service SPWindowsTokenServiceInsta
04/29/2019 17:29:58 1 INF Calling ServiceInstance.Start() start the SPWindowsTokenServiceInsta
04/29/2019 17:29:58 1 INF Starting Service SPTracingServiceInstance
04/29/2019 17:29:58 1 INF Calling ServiceInstance.Start() start the SPTracingServiceInstance service
04/29/2019 17:29:58 1 INF Starting Service SPWriterServiceInstance
04/29/2019 17:29:58 1 INF Calling ServiceInstance.Start() start the SPWriterServiceInstance service
04/29/2019 17:29:59 1 INF Starting Service SPUserCodeServiceInstance
04/29/2019 17:29:59 1 INF Calling ServiceInstance.Start() start the SPUserCodeServiceInstance service
04/29/2019 17:29:59 1 INF Starting Service SearchServiceInstance
04/29/2019 17:29:59 1 INF Calling ServiceInstance.Start() start the SearchServiceInstance service
04/29/2019 17:30:02 1 INF Starting Service ProjectEventServiceInstanc
04/29/2019 17:30:02 1 INF Calling ServiceInstance.Start() start the ProjectEventServiceInstanc
04/29/2019 17:30:03 1 INF Starting Service SPAdministrationServiceIns
04/29/2019 17:30:03 1 INF Calling ServiceInstance.Start() start the SPAdministrationServiceIns
04/29/2019 17:30:04 1 INF Starting Service SPTimerServiceInstance
04/29/2019 17:30:04 1 INF Calling ServiceInstance.Start() start the SPTimerServiceInstance service
04/29/2019 17:30:04 1 INF Starting Service OnlineQueueServiceInstance
04/29/2019 17:30:04 1 INF Calling ServiceInstance.Start() start the OnlineQueueServiceInstance
04/29/2019 17:30:04 1 INF Starting Service ProjectQueueServiceInstanc
04/29/2019 17:30:04 1 INF Calling ServiceInstance.Start() start the ProjectQueueServiceInstanc
04/29/2019 17:30:05 1 INF Starting Service SPDistributedCacheServiceI
04/29/2019 17:30:05 1 INF Calling ServiceInstance.Start() start the SPDistributedCacheServiceI
04/29/2019 17:30:05 1 INF Leaving function Common.StartAllServices
04/29/2019 17:30:05 1 INF Leaving function PsconfigCommandLineMain.Ma
Did you install SP as a service account ?
Also try restarting SP services on your farm and try the installation again
can you send details outlined in this log and also what is showing in the event log on failure.
Thanks
Thanks
ASKER
HI Zaheer,
Yes the SP update was installed as a service account the PSConfig.exe command was run under the same account.
Yes I've tried restarting all SP services then running the PSConfig.exe command again.
I've attached both the event log once the PSConfig.exe command was run as of today as well as the PSCDiag.log file that was generated at the time of the error.
I also looked at the the MS Article and tried both the solutions before running the PSConfig.exe command again. The event log txt file and the PSCDiag.log file are from that run of the PSConfig.exe command.
Unfortunately, non of the suggestions have worked so far.
EventLog.txt
PSCDiagnostics_4_30_2019_17_49_25_95.log
Yes the SP update was installed as a service account the PSConfig.exe command was run under the same account.
Yes I've tried restarting all SP services then running the PSConfig.exe command again.
I've attached both the event log once the PSConfig.exe command was run as of today as well as the PSCDiag.log file that was generated at the time of the error.
I also looked at the the MS Article and tried both the solutions before running the PSConfig.exe command again. The event log txt file and the PSCDiag.log file are from that run of the PSConfig.exe command.
Unfortunately, non of the suggestions have worked so far.
EventLog.txt
PSCDiagnostics_4_30_2019_17_49_25_95.log
Do you have web apps within sharepoint that might be causing an issue ?
Are you doing an upgrade because Central Admin is reporting that they are "not completely upgraded". If so, here are the cmdlets I run to correct that issue:
This is not a script, just one liners that should be run one after the other, the for each loop can be copied as a whole in to the PS console. Make sure to run powershell as an admin.
Hope that helps...
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$WebAppURL= "http://contosso.com"
#Get all content databases of the particular web application
$ContentDBColl = (Get-SPWebApplication -Identity $WebAppURL).ContentDatabases
foreach ($contentDB in $ContentDBColl)
{
#Updade each content database
Upgrade-SPContentDatabase -id $contentDB.Id -Confirm:$false
}
This is not a script, just one liners that should be run one after the other, the for each loop can be copied as a whole in to the PS console. Make sure to run powershell as an admin.
Hope that helps...
ASKER
Hi Zaheer, Walter
I can't see any errors that would stop an upgrade from the web apps we are using. But as a precaution I've run though and updated any web apps that needed to be updated.
I've also ran Walter's provided cmdlet but updating the content databases hasn't been the big issue the majority of databases that are in compatibility range are more config or service databases. please see attached image.
Thanks.
I can't see any errors that would stop an upgrade from the web apps we are using. But as a precaution I've run though and updated any web apps that needed to be updated.
I've also ran Walter's provided cmdlet but updating the content databases hasn't been the big issue the majority of databases that are in compatibility range are more config or service databases. please see attached image.
Thanks.
So have you re-ran the the upgrade after updating the apps ?
ASKER
HI Zaheer,
Yes, I updated our apps then ran both Walter's suggestion which completed successfully but would of only upgraded the content db's as far as I could see and the PSConfig.exe command which failed with the same error.
Yes, I updated our apps then ran both Walter's suggestion which completed successfully but would of only upgraded the content db's as far as I could see and the PSConfig.exe command which failed with the same error.
What is you status? Any luck correcting your issue?
ASKER
HI Walter,
Unfortunately, no. I've been trying to see if I can find any indication of any web apps causing issues. So right now I'm just trying to reinstall, update any web apps that might be causing the issue and re-running PSConfig.exe
Unfortunately, no. I've been trying to see if I can find any indication of any web apps causing issues. So right now I'm just trying to reinstall, update any web apps that might be causing the issue and re-running PSConfig.exe
Sorry to hear it is not yet corrected. Where do you stand. What issue or error(s) are you facing now?
...
...
ASKER
Hi Walter,
Unfortunately, I'm still experiencing the same issues that i was previously. I'm also now experiencing further issues of the web apps not operating properly (this is most likely due to errors in re-deployment but none came up when I did re-deploy). Also the main ribbon bar for Sharepoint has disappeared (see reference image).
So, I'd like to ask if there is any way in contracting a expert to help with this as I don't seem to have the necessary skills. Obviously payment would be offers so messaging me with rates would be fine.
image001.png
Unfortunately, I'm still experiencing the same issues that i was previously. I'm also now experiencing further issues of the web apps not operating properly (this is most likely due to errors in re-deployment but none came up when I did re-deploy). Also the main ribbon bar for Sharepoint has disappeared (see reference image).
So, I'd like to ask if there is any way in contracting a expert to help with this as I don't seem to have the necessary skills. Obviously payment would be offers so messaging me with rates would be fine.
image001.png
Hello Jarrad - Experts Exchange has some offering in regards to hiring people for assistance. Search this site for that information. Otherwise, Microsoft is always an option although not cheap. I don't do any contract work so I don't have anything to offer in that area. Best of luck to you and hope you get that going your way soon.
Have a good one...
Have a good one...
Hi,
PSConfig.exe -cmd upgrade -inplace b2b -wait -force
With this method start the timer and www at phase 2 upgrade sequence
make sure to have services.msc open and refresh so you can start www service at step 2
-Stacy
This post does not necessarily represent the views of my employer or other MVP types, use at your own risk
PSConfig.exe -cmd upgrade -inplace b2b -wait -force
With this method start the timer and www at phase 2 upgrade sequence
make sure to have services.msc open and refresh so you can start www service at step 2
-Stacy
This post does not necessarily represent the views of my employer or other MVP types, use at your own risk
ASKER
Hi Stacy,
No luck with that method. Any other suggestions?
No luck with that method. Any other suggestions?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Guys :)
Glad you found the solution.
Happy SharePointing!
Happy SharePointing!