BizTalk Server Orchestration - Threading errors????

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > June 2005 > Threading errors????





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Threading errors????
Brian Cesafsky

2005-06-24, 5:54 pm

I have an orchestration that is calling an assembly built with Visual Studio
2003. This assembly is using the Enterprise Library application blocks
(specifically the logging block).

My Orchestration process is to receive a flat file, call into an assembly to
retrieve some information, and then call a web service with my results. I
use a falt file disassembler in my receive port.

When I have a flat file with 50 records or more, I am getting threading
errors.

Here are the 2 errors I see in the event viewer

1)
Timestamp: 6/24/2005 2:26:52 PM
Message: HandlingInstanceID: fe4dd659-db7b-4142-aade-60ae783f700f
An exception of type 'System.InvalidOperationException' occurred and was
caught.
--------------------------------------------------------------------------------
06/24/2005 14:26:52
Type : System.InvalidOperationException, mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : There were not enough free threads in the ThreadPool object to
complete the operation.
Source : System
Help link :
TargetSite : System.IAsyncResult BeginGetRequestStream(System.AsyncCallback,
System.Object)
Stack Trace : at
System.Net.HttpWebRequest.BeginGetRequestStream(AsyncCallback callback,
Object state)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at
MWH.BillingInformation.Action.AccountSearch. AccountSearchGatewayWSImplServiceElement
.accountSearch(AccountSearchRequest
request)
at
MWH.BillingInformation.Action.NextGenSearcher.GetAccountNumber(AccountNumberRequest
accountNumberRequest)
Additional Info:
MachineName : VMPCBCBIZTALK01
TimeStamp : 6/24/2005 7:26:52 PM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=02d410f519fd6098
AppDomainName : __XDomain_3.0.1.0_0
ThreadIdentity :
WindowsIdentity : MWC_MANKATO\btshostsvc
Category: General
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: VMPCBCBIZTALK01
Application Domain: __XDomain_3.0.1.0_0
Process Id: 1392
Process Name: E:\PROGRA~1\MICROS~2\BTSNTSvc.exe
Win32 Thread Id: 2692
Thread Name:
Extended Properties:
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.




2)
Uncaught exception terminated service
MWH.BTS.EventBilling.Orchestration.Nokia(f9f437b9-629a-82d6-88c7-45094ea78ea4),
instance f25224e7-c6ac-4a12-a1d3-80484fa4b8a4
There were not enough free threads in the ThreadPool object to complete the
operation.

Exception type: InvalidOperationException
Source: System
Target Site: System.IAsyncResult BeginGetRequestStream(System.AsyncCallback,
System.Object)
Help Link:
Additional error information:

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


Any help is appreciated!

Brian


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com