From: JonIK on
Hi,

I have MOSS with sp1 on a Win 2008 server and the db on a Sql 2005 server.

I regularly get the following errors in the event log:
Application Server Administration job failed for service instance
Microsoft.Office.Server.Search.Administration.SearchAdminSharedWebServiceInstance (5e0863fd-61de-4212-998b-994b728e5b05).

Reason: Attempted to read or write protected memory. This is often an
indication that other memory is corrupt.

Techinal Support Details:
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.
at
System.DirectoryServices.Interop.UnsafeNativeMethods.IntADsOpenObject(String
path, String userName, String password, Int32 flags, Guid& iid, Object&
ppObject)
at
System.DirectoryServices.Interop.UnsafeNativeMethods.ADsOpenObject(String
path, String userName, String password, Int32 flags, Guid& iid, Object&
ppObject)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.CheckIsContainer()
at System.DirectoryServices.DirectoryEntries.Find(String name, String
schemaClassName)
at Microsoft.SharePoint.Metabase.MetabaseObjectCollection`1.Find(String
name)
at
Microsoft.SharePoint.Metabase.MetabaseObjectCollection`1.get_Item(String name)
at
Microsoft.SharePoint.Administration.SPProvisioningAssistant.ProvisionIisApplicationPool(String
name, ApplicationPoolIdentityType identityType, String userName, SecureString
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.Synchronize()
at
Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)

*******************

Application Server Administration job failed for service instance
Microsoft.Office.Excel.Server.ExcelServerSharedWebServiceInstance
(831b7856-993b-4be6-83f4-ef20bdf5af39).

Reason: Attempted to read or write protected memory. This is often an
indication that other memory is corrupt.

Techinal Support Details:
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.
at
System.DirectoryServices.Interop.UnsafeNativeMethods.IntADsOpenObject(String
path, String userName, String password, Int32 flags, Guid& iid, Object&
ppObject)
at
System.DirectoryServices.Interop.UnsafeNativeMethods.ADsOpenObject(String
path, String userName, String password, Int32 flags, Guid& iid, Object&
ppObject)
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.CheckIsContainer()
at System.DirectoryServices.DirectoryEntries.Find(String name, String
schemaClassName)
at Microsoft.SharePoint.Metabase.MetabaseObjectCollection`1.Find(String
name)
at
Microsoft.SharePoint.Metabase.MetabaseObjectCollection`1.get_Item(String name)
at
Microsoft.SharePoint.Administration.SPProvisioningAssistant.ProvisionIisApplicationPool(String
name, ApplicationPoolIdentityType identityType, String userName, SecureString
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.Synchronize()
at
Microsoft.Office.Excel.Server.ExcelServerSharedWebServiceInstance.Synchronize()
at
Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)

*************************

The Execute method of job definition
Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob
(ID 9792cdaa-39b8-4afe-8799-4abf48a828cf) threw an exception. More
information is included below.

Attempted to read or write protected memory. This is often an indication
that other memory is corrupt.

******************

Anyone know whats wrong? How to fix?