.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Application Event Log Errors (event id 8031 and 5553)

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :SharePoint

I'm not sure if it's related, but I recently removed an old Search Service Application from my server and I keep getting the following two event log errors. Everthing seems to be working fine, but I'd like to clear up the errors. Any ideas?

Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Portal Server
Date:          6/4/2010 10:00:08 AM
Event ID:      5553
Task Category: User Profiles
Level:         Error

Computer:      TST-M10RTM-APP.domain.com

failure trying to synch site c2e96f78-9bd7-404d-a376-0809b6a1eece for ContentDB f0d6d51f-ebd8-44f1-9445-2eec259141ed WebApp 2b25fc24-e146-4e50-990d-5107c3ceeaad.  Exception message was Procedure or function profilesynch_MS_DeleteWeb has too many arguments specified.
The 'profilesynch_MS_UpdateWeb' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead..
Event Xml:
<Event xmlns="http://sc

View Complete Post

More Related Resource Links

7888 and 5553 Errors in Event Log

Hi,   I keep getting   7888 A runtime exception was detected. Details follow. Message: Cannot insert duplicate key row in object 'dbo.UserMemberships' with unique index 'CX_UserMemberships_RecordId_MemberGroupId_SID'. The statement has been terminated. Techinal Details: System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.UserMemberships' with unique index 'CX_UserMemberships_RecordId_MemberGroupId_SID'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolea

Windows Application Log Event Errors writing back to SharePoint Library fields


Hi has anyone done anything like this?

My Library workflow is writing to an External List (MS SQL backended).  If an exception is thrown in MSSQL (Stored Procedure, Trigger, etc) I would like to create a mechanism for writing something back to my Library besides the workflow column saying "Error Occured".

I could create a text field to provide some error feedback, anybody ever did something like this?


How to set up microsoft application blocks 4.0 to talk to event viewer


I need to set up the microsoft application blocks 4.0 on the server and connect it to my web project.  I need to set it up so that all the errors are logged in the event viewer.  So far I have found out how to set up a flat file listener and send the error to a log file but, not to the event viewer.  Any suggestions would be helpful.

    Event 2436 - old application server cannote be crawled

    DISCLAIMER:  I'm not a sharepoint admin...I inherited this after the former admin left...so be gentle. BACKGROUND:  We replaced at some point the original "application server" with a new one.  The old was called "fwmspapp" and the new is "fwmspapl"   I'm getting the following errors in the event logs on the new application server: Event Type: Warning Event Source: Windows SharePoint Services 3 Search Event Category: Gatherer Event ID: 2436 Date: 8/30/2010 Time: 9:50:03 AM User: N/A Computer: FWMSPAPL Description: The start address <sts3://fwmspapp:8270/contentdbid={083c7ae0-bc68-405e-a5e8-12eae72f1718}> cannot be crawled. Context: Application 'Search index file on the search server', Catalog 'Search' Details: The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly. (0x80041200) For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Followed by:   Event Type: Error Event Source: Windows SharePoint Services 3 Search Event Category: Gatherer Event ID: 2424 Date: 8/30/2010 Time: 9:50:03 AM User: N/A Computer: FWMSPAPL Description: The update cannot be started because the content sources cannot be accessed. Fix the errors and try the update again. Context: Application 'Search'

    Event 5553 and Event 7888 with a twist

    Hi there: Event 5553 and Event 7888 started to occur on our SharePoint server yesterday on an hourly basis. However: - No web application or Content DB has been moved recently. - When performed : stsadm -o sync -listolddatabases 0 No particular database is out of sync: all synced within the hour. - Event 5553 and Event 7888 only shows up on one of our front-end web servers ( occurs only on 1 out of 3 front-end servers) - In addition to Event 5553 and Event 7888, the affected server also receives event 7079:  Job 'User Profile Full Import Job' failed after 5 tries and 900 second(s). Will not try again.   Questions: - Should I still perform stsadm -o sync -deleteolddatabases? (But no database was moved recently; and all databases seemed to be synced when performed -listolddatabases.) -  What adverse effect would performing stsadm -o sync -deleteolddatabases, have on the affected content database, web application, and site? - Is event 7079 related to event 5553 and 7888; and how do I resolve 7079?   Any thoughts? Thank you very much for your time!

    Event Handle & Declared Message Errors

    Hi Experts: There is a missing event Handle that requires a variable found in the button code . Secondly,  there is a Name declared error (i.e., Name 'First' is not declared, Name 'Last' is not declared, Name 'City' is not declared, Name 'State' is not declared) found in the page code. How do we revise the codes to remove the message errors? Go to the following URL link to view 'High Res' screen shots at http://cforedu.com/screen.pdf Here is the page code:<%@ Page Language="VB" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <script runat="server"> Protected Sub Save(sender As Object, e As EventArgs) Dim First As TextBox = TryCast(Me.fvApplication.FindControl("First"), TextBox) Dim Last As TextBox = TryCast(Me.fvApplication.FindControl("Last"), TextBox) Dim City As TextBox = TryCast(Me.fvApplication.FindControl("City"), TextBox) Dim State As TextBox = TryCast(Me.fvApplication.FindControl("State"), TextBox) End Sub </script> </head> <body> <form id="form1" runat="server"> <div> <asp:FormView runat="server" ID="fvApplicatio

    Background worker - errors in completed event

    Create a new windows forms project (in using vb.net 2010). Create a button and a background worker on the form. Under the Debug > Exceptions menu, make sure that for 'Common Language Runtime Exceptions' you have 'Thrown' unticked and 'User-unhandled' ticked. Now put the following code in the form's code-behind; Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click BackgroundWorker1.RunWorkerAsync() End Sub Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork Threading.Thread.Sleep(2000) End Sub Private Sub BackgroundWorker1_RunWorkerCompleted(ByVal sender As Object, ByVal e As System.ComponentModel.RunWorkerCompletedEventArgs) Handles BackgroundWorker1.RunWorkerCompleted Dim X As Integer X = 5 / X End Sub End Class Why does it not error nicely? It comes up with no helpful stack trace and just says 'Exception has been thrown by the target of an invocation.'. Place the code to cause the error into the Button_Click event and run it and you will see the difference. Why do we not get these 'nice' errors given that the runworkercompleted event is supposed to be running on the main thread?

    Application level event without global.asax

    I have a need to add an application level event (like Application_Start) but not in global.asax.  The reason that I can't use global.asax is because this is a web application for which I don't have source code but I want to add some functionality to it.  I need to insert an application start code and was wondering it there was anyway to do it.  I'm not sure that if I add a class or aspx page to the sie if it will dynamically compile since this is a web application.  I know this is a crazy request but let me know what you think.Also, this web site was written in .NET 2.0.Thanks.

    application_start event called multiple times in MVC application

    hi, In my MVC application ,I am updating my web.config at runtime through application_start event.So, ideally it should be done only when the application is started.BUT in MY mvc application the application_start event of global.asax is being called multiple times , even when i have not restarted the application. Its being repetadly called when i am calling different actions , so the webconfig is repetedly updating & making my application very very slow. Can you please let me know , what's the reason & how to handle this .   Thanks in advance gbhatnagar    

    ASP.NET Application Frequent Log Off issue - Event ID 1077 registered



    We have one ASP.NET application which was built with Oracle as backend. This is one of the real time online booking system which was working fine for the past 1 and half years. Recently we are encountering frequent logoff issues where the end users are logged out automatically from the application in 5 to 10 mins interval. The session time out in the application and in IIS is 60 mins.

    In server event viewer we have seen lot of W3SVC events with ID 1077 (recycling the application pool). W3SVC had other event 1013 that shutdown the application pool.  The machin.config has been changed as per the recommendation given by the following URL.


    But still we have the issue.

    Can any one faced this issue before? Please advise.







    Application Resource and Event Handlers


    I found a topic quite similar to my problem but ton the same I think. So I decided to post anyway

    The thing is I have a CellTemplate Application Resource that I want to use in DataGrid TemplateColumns used for refresh.

    The problem is that in the DataTemplate I have an image and I want to be able to set the MouseLeftButtonUp in the WPF Window or Control that I use the CellTemplate Resource. I made various attempts to some-how "overload" the resource in the Window but with no result. Can someone please enlighten me?

    There follows the code snipet from the <Application.Resources> section

    <DataTemplate x:Key="refreshColumnTemplate">
    <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
     <Image HorizontalAlignment="Stretch" Name="image3" Stretch="UniformToFill" VerticalAlignment="Stretch" Source="..."
      Width="22" Height="22" Cursor="Hand" MouseLeftButtonUp="Should I put something here?"/>
    in the WPF Window the usage of the data template looks like this:
    <DataGridTemplateColumn ... CellEditingTemplate="{StaticResource refreshColumnTemplate}"

    How to capture the Application Pool event in the code?.


    Hello All How can i capture Application pool recycle event in asp.net c# code so that when  recycle event occurs i can make a post back or refresh the page in the code ?.

    Our Application sessionstate mode is StateServer which helps me in not loosing the session data but still i need to refresh the page at server side only on this particluar event.The reason is at the  client side javascript webform_DoCallBack doesnot fire when there is application pool recycle and thus website stops getting updates.we have a timer set to 15 minutes when webform_DoCallBack fires and fecthes updates for the page and displays it.


    Any Suggestions?..




    AutoComplete LostFocus event for MVVM Application


    Any One can help me I have done most part of it except one place i struck



    public class AutoLostFocus :AutoCompleteBox , IDisposable 


            public static readonly DependencyProperty LostFocusBehaviourProperty =

                DependencyProperty.RegisterAttached("LostFocusBehaviour", typeof(LostFocusEventManager),

                typeof(AutoCompleteBox), new UIPropertyMetadata(""));


            public static readonly DependencyProperty CommandProperty =

                DependencyProperty.RegisterAttached("Command", typeof(ICommand), typeof(LostFocusEventManager), new UIPropertyMetadata(""));


            public static ICommand GetCommand(AutoCompleteBox control)


                return (ICommand)control.GetValue(CommandProperty);




    Can I some how get application absolute url in application start event


    Suppose my website address is like http://localhost/MyWebsite

    I wanted to access this url in Application_start event in global.asax, Can i some how get it?

    [I know i can get it via application_beginrequest or other event]

    Remote Event's handler in client application


    I am using C# with Singleton. on .NET framework 1.1
    I want to call an event using delegate on remote object and want to handle it into client application.

    After building remote object 's project(Class library) I have copied that .DLL in client and added reference to it in client project.
    In server config file I have set typeFilterLevel to full.

    But I am not able todo that. It is showing Security exception.

    Do I need to write cusomized sink to do that or without that also It can be done.

    I need the simplest way to do that. 

    If Source code of my apllication is required  let me know... I will post that too...



    WSS3.0 SP2 - getting Event ID 6398 errors in event logs


    Were were experienceing issues with searching on our WSS3.0 SP2 (TFS) sharepoint sites. Someone stopped the "Windows SharePoitn Services Help Search" and then restarted it.

    Since that point we have been seeing the following in the eventlogs every 10 minutes, when the Timer job runs.

    Log Name:   Application
    Source:    Windows SharePoint Services 3
    Date:     4/13/2011 11:10:00 AM
    Event ID:   6398
    Task Category: Timer
    Level:     Error
    Keywords:   Classic
    User:     N/A
    Computer:   {servername}
    The Execute method of job definition Microsoft.SharePoint.Search.Administration.SPSearchJobDefinition (ID 21fdedf7-fa3c-47b6-955d-a454d20cd361) threw an exception. More information is included below.
    Requested registry access is not allowed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <Provider Name="Windows SharePoint Services 3" />
      <EventID Qualifiers="0">6398</EventID>
      <TimeCreated SystemTime="2011-04-13T15:10:00.000Z" />
      <Security />

    SharePoint 2007 workflow problem Application Event Viewer shows Event 1314

    I created a state machine workflow that works well in a test environment with only one user. When attempting to run the workflow in the production environment, the user sees the message operation in progress. The workflow will not continue. The event log on the server shows Event ID 1314, Event Code 4011. It looks like this has something to do with permissions on the server but I'm not sure where to go from here. I've Googled this and not been able to find a resolution. Any help would be appreciated.
    ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
    Sql Server  SharePoint  Silverlight  Others  All   

    Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend