.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

Blob Cache Event ID 7888 Runtime Exception Thread was being aborted

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :SharePoint
HI, We have 3WFE and we are getting error Events 788 and 5538 on all three servers at same time. Any thoughts on what is causing this error? Event Type: Error Event Source: Office SharePoint Server Event Category: Office Server General Event ID: 7888 Date:  9/14/2010 Time:  2:31:08 PM User:  N/A Computer: MOSS2007A Description: A runtime exception was detected. Details follow. Message: Thread was being aborted. Techinal Details: System.Threading.ThreadAbortException: Thread was being aborted.    at System.Threading.ReaderWriterLock.AcquireWriterLockInternal(Int32 millisecondsTimeout)    at Microsoft.SharePoint.Publishing.BlobCache.<>c__DisplayClass14.<>c__DisplayClass17.<FetchItemFromWss>b__11()    at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock) For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.   Event Type: Error Event Source: Office SharePoint Server Event Category: Publishing Cache Event ID: 5538 Date:  9/14/2010 Time:  2:31:08 PM User:  N/A Computer: MOSS2007A Description: An error occured in the blob cache.  The ex

View Complete Post

More Related Resource Links

How to prevent thread form being stopped/aborted?

I'm not sure if it's a CLR related issue but at the same time i can't say it isn't. The problem is as follows: I have created a windows forms user control that spawns a thread(running a form). The thread is not a background thread and it's not supposed to exit until the form gets closed. It works as desired when the control is hosted in a windows forms application. The problem starts when i want to host it inside a html page. All works fine as long as the page containing the control is opened. Things get a bit weird when i redirect or close the tab(not the window; more tabs are opened). Exactly 1 minute from this moment the thread gets aborted. public partial class IEControl : UserControl { public IEControl() { InitializeComponent(); } private System.Threading.Thread t; private MainForm mf; private void IEControl_Load(object sender, EventArgs e) { GoThread(); } public void GoThread() { try { t = new System.Threading.Thread(RunForm); t.IsBackground = false; t.Start(); } catch (Exception ex) { MessageBox.Show(ex.Message); } } private void RunForm() { mf = new MainForm(); Application.Run(mf); GC.KeepAlive(mf); GC.KeepAlive(this); } } I'm a bit confused at this point. Where could I get any information on this topic if it's not a CLR/GC related issue.

System.InvalidOperationException: Instance operation is not valid on workflow runtime thread

Am getting the exception related in the title of this article when using the StateMachineWorkflowInstance object to arbitarily set state in my workflow code; and am unsure why.  The code follows below:   500     Protected Overrides Function Execute(ByVal executionContext As System.Workflow.ComponentModel.ActivityExecutionContext) As System.Workflow.ComponentModel.ActivityExecutionStatus   501    502    506         Dim smwi As StateMachineWorkflowInstance = New StateMachineWorkflowInstance(StaticWFRuntime.LocalRuntime, Me.WorkflowInstanceId)   511    512         'set workflow-wide database connection string   513         _connectionString = ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString   518    519         Utility.LogEnabled()   520    521         Utility.FoaeaLogger.WriteEntry("Processing TracingApplication.Execute()....", EventLogEntryType.Information)   522         If StaticWFRuntime.LocalRuntime Is Nothing OrElse StaticWFRuntime.LocalRuntime.IsStarted = False Then   523             Utility.FoaeaLogger.WriteEntry("No static RuntimeService object exists!", EventLogEntryType.Warning)   524         End If   525    526         Return MyBase.Execute(executionContext)   527    528     End Function   796     Private Sub gotoState2_ExecuteCode(ByVal sender As System.Object, ByVal e As System.EventArgs)   797    798        

Is it possible for one thread to catch an event thrown by another thread?

I have a very simple class (shown below) that monitors the mouse position on a separate thread to see if it is hovering over the same spot for more than a second.  I have to do this because the Windows Forms control I am using is an interop COM component that does not have or implement the MouseHover event. Anyway, the class that instantiates asrMouseHover (lets call it WinFormMain) adds a handler for the asrMouseHover.MouseIsHovering event.  The problem is, when this event is raised and caught, the handler in WinFormMain is running on the same thread as asrMouseHover.  I need it to run on WinFormMain... hence, is it possible for one thread to catch an event thrown by another thread.    Public Class asrMouseHover Public Event MouseIsHovering(ByVal sender As Object, ByVal e As System.EventArgs) Private _timer As System.Threading.Timer Private _xCoord As Int32 = 0 Private _yCoord As Int32 = 0 Public ReadOnly Property XCoord() As Double Get Return _xCoord End Get End Property Public ReadOnly Property YCoord() As Double Get Return _yCoord End Get End Property Sub New() Dim myTimerCallback As System.Threading.TimerCallback = New TimerCallback(AddressOf MyCallbackMethod) _timer = New System.Threading.Timer(myTimerCallback, Nothing, 1000, 1000) End Sub Sub MyCallbackMethod(ByVal s

Thread being aborted Error -- while using sqlldr

public sub LoaddataIntotable() _errorLogFilePath = something _badLogFilePath = something _discardLogFilePath = something credentialTokens = "connection string" objCommand.UserName = "scott" objCommand.Password = "tiger" objCommand.Host = "oracle" objCommand.ControlFile = "test.ctl" objCommand.LogFile = _errorLogFilePath objCommand.BadFile = _badLogFilePath objCommand.DataFile = _dataFilePath objCommand.DiscardFile = _discardLogFilePath objCommand.IsParallel = False objCommand.IsDirectLoad = True _objShell.Command = "SQLLDR" _objShell.Arguments = objCommand.ToString AddHandler _objShell.Exited, AddressOf OnProcessExit _objShell.Start() end sub Private Sub OnProcessExit(ByVal sender As Object, ByVal e As CommandLineProcess.ExitedEventArgs) Try If Not e Is Nothing Then If _processExited = False Then _processExited = True CommandCompleted(e.ExitCode) Exit Sub Else ' Event raised again

the type initializer for 'system.runtime.remoting.identity' threw an exception.

HI, I am trying to implement kerberos delegation in Active Directory enviroment with windows 2003 servers SP2. I have Client, ProxyServer and RemoteServer application that are developed on .Net framework v3.5 using .Net Remoting "System.Runtime.Remoting". I am not using Microsoft.Samples.Security.SSPI &  Microsoft.Samples.Runtime.Remoting.Security directly. my code is based on "http://blogs.msdn.com/dotnetremoting/archive/2006/07/06/662599.aspx" Only change that I have done is put impersonate="true" in channel configuration of ProxyServer and RemoteServer, and of course changed the UPN and Port and IP address. The Client's credentials are successfully impersonated by ProxyServer, I can access the text file on ProxyServer on behalf of client. But when from ProxyServer I try to execute the method on RemoteServer it throws "the type initializer for 'system.runtime.remoting.identity' threw an exception." After looking at blog http://www.secnewsgroups.net/group/microsoft.public.dotnet.security/topic8251.aspx I did required changing under Local Security Settings -> Local Policies -> User Rights Assignments -> impersonate a client after authentication and Create Global Objects. I have added three domain user names in three machine under whose credentials corrosponding application is running. When i run three applications on their

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!

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

System.Runtime.InteropServices.COMException with Event Handlers

hi,           i have written an ItemDeleting Event handler for a document library which holds images. the itemdeleting eventhandler works fine and displays the  errormessage on sharepoint error page when properties.cancel=true and properties.ErrorMessage="This Image is still being used in Announcements. Cannot Delete. ". this works fine when i delete from the doclibrary itself. when i delete the images in the document library from the ImageManger Tool of RadEditor it throws the com exception as follows instead of the sharepoint error page Server Error in '/' Application. -------------------------------------------------------------------------------- This Image is still being used in Announcements. Cannot Delete. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: This Image is still being used in Announcements. Cannot Delete. can anyone suggest, how to reslove this issue.? i have the screenshots,which would better explain but i dont know how to paste images into this forum? kindly let me know how to upload images to this forums also. thank you all

SSIS package fails giving "System.Runtime.InteropServices.COMException" exception


I am trying to execute the package in SQL Server 2008 and i am getting this error.


Executed as user: sql\SYSTEM. Microsoft (R) SQL Server Execute Package Utility  Version 10.0.2531.0 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    

Started:  11:07:09 AM  Error: 2010-09-20 11:07:10.95     Code: 0x00000000     Source: Transform Data Task  undefined      

Description: System.Runtime.InteropServices.COMException (0x80040428): Package failed because Step 'DTSStep_DTSDataPumpTask_1' failed.     at DTS.PackageClass.Execute()     at Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask.Exec80PackageTask.ExecuteThread()  End Error  DTExec: 

The package execution returned DTSER_FAILURE (1).  Started:  11:07:09 AM  Finished: 11:07:10 AM  Elapsed:  1.094 seconds.  The package execution failed.  The step failed.


Do any one have a clue


Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))


We are current users of WSS 3.0 SP1 (MS SQL Server 2005 w/SQL Server Configuration Manager & SQL Server Management Studio Express) and are having issues with the following error occurring quite frequently when we visit pages on our SharePoint site.


Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))


Our research keeps brining up that the log files are getting large and are not being cleared. We are doing a Full Backup of our SharePoint Farm with BackupExec 11d so we are not understanding how to fix this. Does anyone have any suggestions...


Thanks in advance.

Exception thrown when handling Window.Loaded event


Why is the exception assistant not "fired" in a debugging session when a Window.Loaded eventhandler calls code which throws an exception ?
        private void Window_Loaded(object sender, RoutedEventArgs e)
            //Application.Current.DispatcherUnhandledException +=
               new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(Current_DispatcherUnhandledException);
            int a = 1;
            int b = 0;
            int c = a / b;

        void Current_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)

Removing the comment signs (//) thus presenting an UnhandledException handler devinately makes the assistant "firing".
Is this behaviour by desi

Cross-Thread Exception at a WinForms control hosted by the WindowsFormsHost in WPF



I have a WPF Application and inside hosted existing WinForms controls.

In WPF i'm using the 'Dispatcher' with the 'CheckAccess' method to check if invoke is required, in my old WinForms controls i use 'InvokeRequired'.

The problem is, that if one of the WinForms controls gets created but not yet shown (drawn) and the application gets to the line, where it has to invoke, the InvokeRequired property returns 'false' even the code is not running under the Main Thread and so it resumes in a Cross-Thread exception.

The strange thing is, that it works fine, when the control gets visible (drawn) before changing it (in my case by switching to the specific tabpage).


For me it seems as if the 'InvokeRequired' property doesn't work reliable when the WinForms control gets hostet by WPF.


It would be great, if someone has experience with this issue and could help me!





Operation aborted exception


Hi All,

In my Application I am getting opration abord exception in IE6 and IE7

All my scripts are in .js files only and I am unable to handle OperationAbortedException in my asp.net page code.

Please let me know If anybody have the solution.

Thanks in advance.

Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))



While adding users in to sharepoint group, i am getting the error msg as "Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) " .what is this means, how ro resolve this? Please guide me.

NET Runtime 2.0 Error Reporting, Event ID: 5000, EventType clr20r3, P1 msadapter.exe, P2, P3


We are getting the following error what would be the root cause.


Our application is divided into 2 projects.


1- C# assembly.

2 - Managed c++ library (assembly)..


What could be the reason for this.

Is it null pointer exception or some other related to Interoperability assembly mscorlib.dll


This is the event viewer log:


Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 5000
Date:  5/15/2007
Time:  5:55:20 AM
User:  N/A
EventType clr20r3, P1 msadapter.exe, P2, P3 4648d13f, P4 mscorlib, P5, P6 4333ab80, P7 32fc, P8 10, P9 system.objectdisposedexception, P10 NIL.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

add event handler in runtime



I have a button and a richtextbox on the my form.  Pressing the button will start an external process and the standard output is captured to the richtextbox.

Here below is the code I downloaded and modified. 

Public Class Form1
  Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim p As New Process
    p.StartInfo.FileName = "ping.exe"
    p.StartInfo.Arguments = "www.bbc.co.uk"
    p.StartInfo.UseShellExecute = False
    p.StartInfo.RedirectStandardOutput = True
    p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
    AddHandler p.OutputDataReceived, AddressOf Monitor
    AddHandler p.Exited, AddressOf Finished
  End Sub

  Sub Monitor(ByVal sender As Object, ByVal e As DataReceivedEventArgs)
  End Sub

  Private Delegate Sub UpdateTextBoxDelegate(ByVal Text As String)
  Private Sub UpdateTextBox(ByVal Tex As String)
    If Me.InvokeRequired Then
      Dim del As New UpdateTextBoxDelegate(AddressOf UpdateTextBox)
      Dim args As Object() = {Tex}
      Me.Invoke(del, args)
      RichTextBox1.Text &= Tex & Environment.NewLine
    End If
  End Sub

  Private Sub Finished(B

The socket connection was aborted Exception


Hi All,

whenI use wcf, the client recorded the exception below.

if server and client deploy same computer the exception can't occur.

if server and client deploy different computer the exception can occur.

The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '01:40:29.2170000'.

I am perttymuch sure tat its not because of time out. I have given the config like this in client side and service side


NetTcpBinding tcpBinding = new NetTcpBinding();

tcpBinding.SendTimeout =

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