MikeV1

Hi

We are getting a recurring sequence of 4 exception errors in the application event log of our MOSS server. (1 MOSS server and 1 SQL server). The event ID's are:

6482 Office Server Shared Services, 6482 Office Server Shared Services, 7076 Office Server Shared Services and 6398 Timer in that order.

The events occur every few minutes (varies between every 5mins to every 20ish).

Event details: (sorry it's so long but the errors are just very verbose!)

Event 6482:

Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchAdminSharedWebServiceInstance (3176e02c-f6c1-4c54-a71c-b1576a75ee16).

Reason: Exception from HRESULT: 0x80005006

Techinal Support Details:

System.Runtime.InteropServices.COMException (0x80005006): Exception from HRESULT: 0x80005006

at System.DirectoryServices.Interop.UnsafeNativeMethods.IAds.PutEx(Int32 lnControlCode, String bstrName, Object vProp)

at System.DirectoryServices.PropertyValueCollection.OnClearComplete()

at System.DirectoryServices.PropertyValueCollection.set_Value(Object value)

at Microsoft.SharePoint.Metabase.ApplicationPool.set_IdentityType(ApplicationPoolIdentityType value)

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)

Event 6482:

Application Server Administration job failed for service instance Microsoft.Office.Excel.Server.ExcelServerSharedWebServiceInstance (494a5ead-fe04-4d64-821c-4f6306d31afa).

Reason: Exception from HRESULT: 0x80005006

Techinal Support Details:

System.Runtime.InteropServices.COMException (0x80005006): Exception from HRESULT: 0x80005006

at System.DirectoryServices.Interop.UnsafeNativeMethods.IAds.PutEx(Int32 lnControlCode, String bstrName, Object vProp)

at System.DirectoryServices.PropertyValueCollection.OnClearComplete()

at System.DirectoryServices.PropertyValueCollection.set_Value(Object value)

at Microsoft.SharePoint.Metabase.ApplicationPool.set_IdentityType(ApplicationPoolIdentityType value)

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)

Event 7076:

An exception occurred while executing the Application Server Administration job.

Message: Exception from HRESULT: 0x80005006

Techinal Support Details:

System.Runtime.InteropServices.COMException (0x80005006): Exception from HRESULT: 0x80005006

at System.DirectoryServices.Interop.UnsafeNativeMethods.IAds.PutEx(Int32 lnControlCode, String bstrName, Object vProp)

at System.DirectoryServices.PropertyValueCollection.OnClearComplete()

at System.DirectoryServices.PropertyValueCollection.set_Value(Object value)

at Microsoft.SharePoint.Metabase.ApplicationPool.set_UserName(String value)

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.CreateSharedWebServiceApplicationPool(SharedResourceProvider srp)

at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)

Event 6398:

The Execute method of job definition Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob (ID 689dfa2e-568b-4cd2-b0a8-e74450909ee2) threw an exception. More information is included below.

Exception from HRESULT: 0x80005006

After these events we get a second set that appear very similar but the detail is different:

Event 6482:

Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchAdminSharedWebServiceInstance (3176e02c-f6c1-4c54-a71c-b1576a75ee16).

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)

Event 6482:

Application Server Administration job failed for service instance Microsoft.Office.Excel.Server.ExcelServerSharedWebServiceInstance (494a5ead-fe04-4d64-821c-4f6306d31afa).

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)

Event 7076:

An exception occurred while executing the Application Server Administration job.

Message: 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.CreateSharedWebServiceApplicationPool(SharedResourceProvider srp)

at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)

Event 6398:

The Execute method of job definition Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob (ID 689dfa2e-568b-4cd2-b0a8-e74450909ee2) 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.

I have tried applying the hotfix detailed here:

http://support.microsoft.com/default.aspx/kb/923028/en-us

but this has not fixed the problem. Does anyone have any idea what could be wrong

Thanks for your help.

Cheers

Mike



Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

Raman B

Hi Mike,

We are getting the identical error messages. The difference on our network is that we are running MS Load Balancing on 2 Front End servers and a SQL 2005 Cluster with 2 servers on the backend.

If you find a fix, can you please post it here I will do the same if we find a solution.

Thanks,
Raman





Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

SharePointTom

I am seeing these same errors as well.

Our environment is the same as Raman's. Although we are using a hardware solution to load balance (fail over) and we have a SQL 2005 Cluster with 2 db servers on the backend.

Sharepoint is running on Windows 2003 servers. I am curious if the reason is because our Active Directory Service is Windows 2000 SP4.

I am getting:

Techinal Support Details:

System.Runtime.InteropServices.COMException (0x80028019): Old format or invalid type library.

This error seems to occur at this point:

Server stack trace:

at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

at System.DirectoryServices.DirectoryEntry.Bind()

at System.DirectoryServices.DirectoryEntry.get_IsContainer()

What version of Active Directory are you running





Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

MikeV1

Hi Raman

The events on our server stopped as mysteriously as they started at about 10pm on a Saturday night. I'm afraid I didn't get a cause or anything to indicate why they suddenly stopped. As I don't have any administrative function over the SQL server or AD I'm wonderig if it was something to do with them..but it's a bit of a stab in the dark to be honest.

Sorry not to be more help!

Cheers

Mike





Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

Daren Coles

I also got these error messages, and found that an IISRESET or reboot would make the errors go away for a couple of days and then they were back. The 923028 hotfix that you mentioned above did the job although I only applied it a couple of days ago. Might be a delay between when the hotfix is run and when it filters through your server, was the server rebooted or iisreset at that 10pm time you mentioned Also what schedules like backup or indexing were running at that time

I'll let you know if the errors return.





Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

Christoph Schlumpf

Hi

I have exactly the same error messages in the event log. MOSS is installed in a small server farm.

  • Webserver: w2k3 x64
  • DBserver: w2k3 x64; SQL 2005 x64

One week ago, I made an update on w2k3 SP2. The whole last week, the server was running without errors. This weekend, all begun from new. The event log is full of error messages. As well the hotfix http://support.microsoft.com/default.aspx/kb/923028/en-us didn't solve the problem.

Thanks for your help.

Cheers

Chris





Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

Michael Bollhoefer

Have you seen the error return I am getting this on one server within my farm but not on others. I also have a couple of clients and friends who have seen this error. I am attempting a reboot of the server first and if that does not work I am going to try the hotfix and/or call microsoft.



Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

Andrew Ang

Hi,

I am also getting similar problem. Did anyone manage to find the cause and fix

The proposed fixes which I have come across are:

i) Apply Windows Server 2003 SP2.

ii) Apply the hotfix KB923028 FIX: Error message when you run a .NET Framework 2.0 Remoting application: "Unhandled Exception: System.AccessViolationException" http://support.microsoft.com/ id=923028.

iii) Re-provision the Central admin site.

iv) Check that the SharePoint Service account had the right privileges on the SharePoint Box. Retype all the passwords including that for the account of the SharePoint timer job service.

Thanks.





Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

Daniel We

Hi.

Also have the same problem, not surprised, i always run in to trouble..

Anyhow, after checking my moss installation inside and out i find a scheduled job running at exactly the same time as my errors get logged, i get them every minute btw.

The job running is something like: timer job for applicationserver administrativeservice (i have the swedish version so therefor the odd translation)

Anyhow "again", i want to know what this service does, anyone can help here i deactivated it on my lab server and nothing odd came out of it, not a solution to the problem but might point me out in where the thing is broken..

Any help at all appreciated.

Kind Regards

//D





Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

Daren Coles

the hotfix solved for a while and has reduced occurence of error but it is back.....



Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

Jan-Eric Olsson

I'm having the exact same error messages. Has anyone found a solution to get rid of them



Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

OD

Same here, after installing the hotfix (for x64 you can get it through support, not download) the error went away for some time. After a day it's back although not as frequent as before.





Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

ALKU

Is anybody with this problem using an agent from Trend Micro Security for SMB on that machine






Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

OD

No, I had mcafee installed but removed that, same problem....



Re: SharePoint - Setup, Upgrade, Administration and Operation Recurrent exception events for MOSS in application log

normose

I started getting these events after installing the 120 day trial version of MS Forefront for Sharepoint. Recently I removed Forefront, and for now the problem seems to have disappeared.