Cannot connect to the configuration database
I am getting this error when trying to acess anything on may SharePointServer Site. I had a look in the event log information and the errors are...
Event Type:ErrorEvent Source:Office SharePoint ServerEvent Category:Office Server Shared Services Event ID:6482Date:4/24/2007Time:2:09:48 PMUser:N/AComputer:NBR-VM-RESDescription:Application Server Administration job failed for service instance Microsoft.Office.Project.Server.Administration.ProjectApplicationServiceInstance (ef83f388-c55e-4c42-a034-22738287cbcd).
Reason: The type initializer for 'Microsoft.SharePoint.AdministrationOperation.Resources.CoreResource' threw an exception.
Techinal Support Details:System.TypeInitializationException: The type initializer for 'Microsoft.SharePoint.AdministrationOperation.Resources.CoreResource' threw an exception. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) at Microsoft.SharePoint.AdministrationOperation.Resources.CoreResource..cctor() --- End of inner exception stack trace ---
Server stack trace: at Microsoft.SharePoint.AdministrationOperation.Resources.CoreResource.GetString(ResourceGroup rg, String name, Object[] values) at Microsoft.SharePoint.AdministrationOperation.Resources.SPResource.GetString(String name, Object[] values) at Microsoft.SharePoint.AdministrationOperation.Win32.SPNetApi32.NetLocalGroupAddMember(String groupName, String userName) at Microsoft.SharePoint.AdministrationOperation.SPProvisioningAssistant.AddGroupMember(String username, Int32 group) at Microsoft.SharePoint.AdministrationOperation.SPProvisioningAssistant.ProvisionIisApplicationPool(String name, ApplicationPoolIdentityType identityType, String userName, SecureString password, TimeSpan idleTimeout, TimeSpan periodicRestartTime) at Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String name, Int32 identityType, String userName, String password, TimeSpan idleTimeout, TimeSpan periodicRestartTime) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String name, Int32 identityType, String userName, String password, TimeSpan idleTimeout, TimeSpan periodicRestartTime) at Microsoft.SharePoint.Administration.SPMetabaseManager.ProvisionIisApplicationPool(String name, Int32 identityType, String userName, SecureString password, TimeSpan idleTimeout, TimeSpan periodicRestartTime) at Microsoft.Office.Server.Administration.SharedWebServiceInstance.CreateSharedWebServiceApplicationPool(SharedResourceProvider srp) at Microsoft.Office.Server.Administration.SharedWebServiceInstance.Synchronize() at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
##############################################################################################################
Event Type:ErrorEvent Source:Office SharePoint ServerEvent Category:Office Server Shared Services Event ID:7076Date:4/24/2007Time:2:17:47 PMUser:N/AComputer:NBR-VM-RESDescription:An exception occurred while executing the Application Server Administration job.
Message: The type initializer for 'Microsoft.SharePoint.AdministrationOperation.Resources.CoreResource' threw an exception.
Techinal Support Details:System.TypeInitializationException: The type initializer for 'Microsoft.SharePoint.AdministrationOperation.Resources.CoreResource' threw an exception. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) at Microsoft.SharePoint.AdministrationOperation.Resources.CoreResource..cctor() --- End of inner exception stack trace ---
Server stack trace: at Microsoft.SharePoint.AdministrationOperation.Resources.CoreResource.GetString(ResourceGroup rg, String name, Object[] values) at Microsoft.SharePoint.AdministrationOperation.Resources.SPResource.GetString(String name, Object[] values) at Microsoft.SharePoint.AdministrationOperation.Win32.SPNetApi32.NetLocalGroupAddMember(String groupName, String userName) at Microsoft.SharePoint.AdministrationOperation.SPProvisioningAssistant.AddGroupMember(String username, Int32 group) at Microsoft.SharePoint.AdministrationOperation.SPProvisioningAssistant.ProvisionIisApplicationPool(String name, ApplicationPoolIdentityType identityType, String userName, SecureString password, TimeSpan idleTimeout, TimeSpan periodicRestartTime) at Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String name, Int32 identityType, String userName, String password, TimeSpan idleTimeout, TimeSpan periodicRestartTime) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String name, Int32 identityType, String userName, String password, TimeSpan idleTimeout, TimeSpan periodicRestartTime) at Microsoft.SharePoint.Administration.SPMetabaseManager.ProvisionIisApplicationPool(String name, Int32 identityType, String userName, SecureString password, TimeSpan idleTimeout, TimeSpan periodicRestartTime) at Microsoft.Office.Server.Administration.SharedWebServiceInstance.CreateSharedWebServiceApplicationPool(SharedResourceProvider srp) at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
##############################################################################################################
Event Type:ErrorEvent Source:Windows SharePoint Services 3Event Category:Timer Event ID:6398Date:4/24/2007Time:2:17:47 PMUser:N/AComputer:NBR-VM-RESDescription:The Execute method of job definition Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob (ID ab1ffe0d-79c1-4096-a72c-b86f9191ec06) threw an exception. More information is included below.
The type initializer for 'Microsoft.SharePoint.AdministrationOperation.Resources.CoreResource' threw an exception.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
##############################################################################################################
Event Type:ErrorEvent Source:Office SharePoint ServerEvent Category:Project Server Provisioning Event ID:7021Date:4/24/2007Time:2:17:54 PMUser:N/AComputer:NBR-VM-RESDescription:ProjectPSISharedApplicationTimerJob failed.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Please Help Me.
April 24th, 2007 9:34am
Paul,
You are getting OutOfMemory errors.
How much RAM do you have in the server? Is it running all services (SQL, Web Front End etc)?
What is the memory set for the IIS Application Pool? Do you have multiple worker processes for that application pool?
Andrew
Free Windows Admin Tool Kit Click here and download it now
April 24th, 2007 12:47pm
Hi Andrew
I am not getting any out of exception errors. They site was working fine for a few months until these errors appeared.
Paul
April 24th, 2007 1:05pm
Paul,
Looking through your event log posting I spotted these:
System.TypeInitializationException: The type initializer for 'Microsoft.SharePoint.AdministrationOperation.Resources.CoreResource' threw an exception. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
Do the users see any errors?
Does restarting the server clear this for any amount of time? i.e. with only one user accessing it?
Andrew
Free Windows Admin Tool Kit Click here and download it now
April 24th, 2007 1:11pm
Was this resolved. I am having the same problems.
July 5th, 2007 4:37pm
Is there more than or close to 2000 records in the library (folder)?
Is there big file sizes in the library (folder)?
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2008 5:17pm
Hi,
Please check out this article for resolving the issues with Central Administration:
http://prasanjitmandal.blogspot.com/2010/05/how-to-fix-central-administration.htmlBR, PM
May 28th, 2010 9:12pm