Re: (The Transport Batch flush operation failed) + Custom Adapter
From: Kamal (kali_at_bca-group.comNOSPAMPLEASE)
Date: 01/26/05
- Next message: Deepak: "Global variable %SourceFileName% to Map?"
- Previous message: Ronnie Swafford: "Update/Insert into SQL"
- In reply to: Kamal: "(The Transport Batch flush operation failed) + Custom Adapter"
- Next in thread: Asbjørn Rygg: "Re: (The Transport Batch flush operation failed) + Custom Adapter"
- Reply: Asbjørn Rygg: "Re: (The Transport Batch flush operation failed) + Custom Adapter"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 Jan 2005 16:02:47 -0000
Any suggestions please.......... :o(
"Kamal" <kali@bca-group.comNOSPAMPLEASE> wrote in message
news:%23py7uYV$EHA.1084@tk2msftngp13.phx.gbl...
> Hi,
>
> I've developed a custom One-Way Receive Adapter, it works fine but
whenever
> I stop the Host service, it takes so long to stop and the following error
> appear in the Event Viewer:
>
> ( The Transport Batch flush operation failed. )
>
> and also the following error:
>
> --------------------------------------------------------------------------
-- > ------------------------------------------------------------- > Unhandled exception caught, exception details: > System.Security.SecurityException: Requested registry access is not allowed. > at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) > at System.Diagnostics.EventLog.CreateEventSource(String source, String > logName, String machineName, Boolean useMutex) > at System.Diagnostics.EventLog.WriteEntry(String message, > EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) > at System.Diagnostics.EventLog.WriteEntry(String source, String message, > EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) > at System.Diagnostics.EventLog.WriteEntry(String source, String message, > EventLogEntryType type, Int32 eventID, Int16 category) > at System.Diagnostics.EventLog.WriteEntry(String source, String message, > EventLogEntryType type, Int32 eventID) > at System.Diagnostics.EventLog.WriteEntry(String source, String message, > EventLogEntryType type) > at > bcagroup.BizTalk.Adapters.RunTime.RcvAdapterReceiveAdapter.RcvAdapterReceive > rEndpoint.PollTask() in > c:\testapp\adapters\trcvadapter\testrcvadapter\run-time\rcvadapterreceive\rc > vadapterreceiverendpoint.cs:line 165 > at > bcagroup.BizTalk.Adapters.RunTime.RcvAdapterReceiveAdapter.RcvAdapterReceive > rEndpoint.ProcessWorkItem() in > c:\testapp\adapters\testrcvadapter\testrcvadapter\run-time\rcvadapterreceive > \rcvadapterreceiverendpoint.cs:line 140 > at > Microsoft.Samples.BizTalk.Adapters.BaseAdapter.ThreadPool.WorkerThreadThunk( > Object state). > -------------------------------------------------------------------------- -- > ------------------------------------------------------------ > > If the messages were not transmitted to BizTalk and I stopped the Host, > these messages will get LOST (i.e. don't appear in BizTalk nor in the remote > directory as I delete the files after submitting it to the BatchHandler). > > Is there anyway to resolve this problem? Any method from the BaseAdapter > classes to be called when the the service has been terminated (stopped)?. I > need to be able to stop the Host without having to lose any of messages or > cause any delays in stopping the Host. > > Any help, suggestions or comments would be very much appreciated. > > Thank you and really hope to hear from you very soon. > > > Kamal > >
- Next message: Deepak: "Global variable %SourceFileName% to Map?"
- Previous message: Ronnie Swafford: "Update/Insert into SQL"
- In reply to: Kamal: "(The Transport Batch flush operation failed) + Custom Adapter"
- Next in thread: Asbjørn Rygg: "Re: (The Transport Batch flush operation failed) + Custom Adapter"
- Reply: Asbjørn Rygg: "Re: (The Transport Batch flush operation failed) + Custom Adapter"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|