Expose as WebService, missing assembly
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Expose as WebService, missing assembly




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Expose as WebService, missing assembly  
George T.S.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-26-04 03:35 PM

Could someone have a look at this run-time error? I don't
know what I'm missing.
Situation: the SDK ExposeWebService solution is moddified
to include a 'MathLibrary' project which has a method (in
MathHelper.cs) to be called from the orchestration in
order to set the Zip attribute in Message_2. The solution
thus has 2 projects, with a reference between them.

After the installation steps (create snk MathLibrary,
build, deploy, bind, enlist, start orchestration, update
WebReference Asp.Net application) the call of
http://localhost/ExposeWebServiceDriver produces
[SoapException:
System.Web.Services.Protocols.SoapException: Server was
unable to process request. --->
Microsoft.BizTalk.WebServices.ServerProxy.ApplicationTimeOu
tException: Application Either Has Timed Out Or Is Timing
Out at
Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invok
e(String functionName, Object[] parameters, ParamInfo[]
inParamInfos, ParamInfo[] outParamInfos, Int32
bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses,
ArrayList& outHeaderResponses, Type[] outHeaderTypes,
String[] outHeaderNamespaces, SoapUnknownHeader[]
unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean
spsSsoEnabled, Object cookie) at
Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invok
e(String functionName, Object[] parameters, ParamInfo[]
inParamInfos, ParamInfo[] outParamInfos, Int32
bodyPartIndex, String bodyType, ArrayList inHeaders,
ArrayList inoutHeaders, ArrayList& inoutHeaderResponses,
ArrayList& outHeaderResponses, Type[] outHeaderTypes,
String[] outHeaderNamespaces, SoapUnknownHeader[]
unknownHeaders, SoapUnknownHeader[]&
unknownHeaderResponses, Boolean oneway, Boolean
spsSsoEnabled) at
ExposeWebService. Microsoft_Samples_BizTalk_ExposeWebServi
ce
_ProcessClientRequest_SOAPPort.Operation_1(ClientRequest
MessagePart_1)
--- End of inner exception stack trace ---]

In the Event log the following error is added, Source:
XLANG/s, Category: none, Event: 10034
"Uncaught exception terminated service
Microsoft.Samples.BizTalk.ExposeWebService.ProcessClientReq
uest(b0af320c-a424-be11-e09f-1d2b25e10fd8), instance
43491515-0069-4107-8d4f-5341a4171319

File or assembly name MathLibrary, or one of its
dependencies, was not found.

Exception type: FileNotFoundException
Source: ExposeWebService
Target Site: Microsoft.XLANGs.Core.StopConditions segment1
(Microsoft.XLANGs.Core.StopConditions)
Help Link:
Additional error information:
(none)
"

The next event in the log is: BizTalk Server,
"A request-response for the "SOAP" adapter at receive
location "/ExposeWebService_proxy/Microsoft_Samples_BizTalk
 _ExposeWebService_ProcessClientRequest_S
OAPPort.asmx" has
timed out before a response could be delivered.
"

After a short time in the event log appears:
"A catastrophic failure occurred in the BizTalk service.
The service will shutdown and auto-restart in 1 minute. If
the database is still unavailable, this cycle will be
repeated.
Error message: Exception from HRESULT: 0xC0C01B05.
Error source: mscorlib
BizTalk host name: BizTalkServerApplication
Windows service name: BTSSvc"

and the BTSSvc auto-restarts succesfully.

George





[ Post a follow-up to this message ]



    RE: Expose as WebService, missing assembly  
Vikas Nahata [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-26-04 08:36 PM

You need to add the MathLibrary DLL to the GAC.

| >>Could someone have a look at this run-time error? I don't
| >>know what I'm missing.
| >>Situation: the SDK ExposeWebService solution is moddified
| >>to include a 'MathLibrary' project which has a method (in
| >>MathHelper.cs) to be called from the orchestration in
| >>order to set the Zip attribute in Message_2. The solution
| >>thus has 2 projects, with a reference between them.
| >>
| >>After the installation steps (create snk MathLibrary,
| >>build, deploy, bind, enlist, start orchestration, update
| >>WebReference Asp.Net application) the call of
| >>http://localhost/ExposeWebServiceDriver produces
| >>[SoapException:
| >>System.Web.Services.Protocols.SoapException: Server was
| >>unable to process request. --->
| >>Microsoft.BizTalk.WebServices.ServerProxy.ApplicationTimeOu
| >>tException: Application Either Has Timed Out Or Is Timing
| >>Out at
| >>Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invok
| >>e(String functionName, Object[] parameters, ParamInfo[]
| >>inParamInfos, ParamInfo[] outParamInfos, Int32
| >>bodyPartIndex, String bodyType, ArrayList inHeaders,
| >>ArrayList inoutHeaders, ArrayList& inoutHeaderResponses,
| >>ArrayList& outHeaderResponses, Type[] outHeaderTypes,
| >>String[] outHeaderNamespaces, SoapUnknownHeader[]
| >>unknownHeaders, SoapUnknownHeader[]&
| >>unknownHeaderResponses, Boolean oneway, Boolean
| >>spsSsoEnabled, Object cookie) at
| >>Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invok
| >>e(String functionName, Object[] parameters, ParamInfo[]
| >>inParamInfos, ParamInfo[] outParamInfos, Int32
| >>bodyPartIndex, String bodyType, ArrayList inHeaders,
| >>ArrayList inoutHeaders, ArrayList& inoutHeaderResponses,
| >>ArrayList& outHeaderResponses, Type[] outHeaderTypes,
| >>String[] outHeaderNamespaces, SoapUnknownHeader[]
| >>unknownHeaders, SoapUnknownHeader[]&
| >>unknownHeaderResponses, Boolean oneway, Boolean
| >>spsSsoEnabled) at
| >>ExposeWebService. Microsoft_Samples_BizTalk_ExposeWebServi
ce
| >>_ProcessClientRequest_SOAPPort.Operation_1(ClientRequest
| >>MessagePart_1)
| >>   --- End of inner exception stack trace ---]
| >>
| >>In the Event log the following error is added, Source:
| >>XLANG/s, Category: none, Event: 10034
| >>"Uncaught exception terminated service
| >>Microsoft.Samples.BizTalk.ExposeWebService.ProcessClientReq
| >>uest(b0af320c-a424-be11-e09f-1d2b25e10fd8), instance
| >>43491515-0069-4107-8d4f-5341a4171319
| >>
| >>File or assembly name MathLibrary, or one of its
| >>dependencies, was not found.
| >>
| >>Exception type: FileNotFoundException
| >>Source: ExposeWebService
| >>Target Site: Microsoft.XLANGs.Core.StopConditions segment1
| >>(Microsoft.XLANGs.Core.StopConditions)
| >>Help Link:
| >>Additional error information:
| >>    (none)
| >>"
| >>
| >>The next event in the log is: BizTalk Server,
| >>"A request-response for the "SOAP" adapter at receive
| >>location "/ExposeWebService_proxy/Microsoft_Samples_BizTalk
| >> _ExposeWebService_ProcessClientRequest_S
OAPPort.asmx" has
| >>timed out before a response could be delivered.
| >>"
| >>
| >>After a short time in the event log appears:
| >>"A catastrophic failure occurred in the BizTalk service.
| >>The service will shutdown and auto-restart in 1 minute. If
| >>the database is still unavailable, this cycle will be
| >>repeated.
| >>Error message: Exception from HRESULT: 0xC0C01B05.
| >>Error source: mscorlib
| >>BizTalk host name: BizTalkServerApplication
| >>Windows service name: BTSSvc"
| >>
| >>and the BTSSvc auto-restarts succesfully.
| >>
| >>George
| >>

This posting is provided "AS IS" with no warranties, and confers no rights.

EBusiness Server Team






[ Post a follow-up to this message ]



    RE: Expose as WebService, missing assembly  
George T.S.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-04 11:35 AM

Thank you very much for the hint; it all works now. BTS
2004 has nice ways to manage the BizTalk assemblies (via
BizTalk Deployment Wizard and BizTalk Assembly Viewer).

There is unfortunately no posssibility to manage, in a
user-friendly way, the non-BizTalk assemblies. The only
way that I found is: gacutil.exe /l (<assembly name> ).
Or building the solution together with the BTSInstaller
project (BTS SDK utilities) which allows the viewing of a
user-managed (!) GAC folder in the File System Editor.

Kind regards,

George T.S.

>-----Original Message-----
>You need to add the MathLibrary DLL to the GAC.
>
>| >>Could someone have a look at this run-time error? I
don't
>| >>know what I'm missing.
>| >>Situation: the SDK ExposeWebService solution is
moddified
>| >>to include a 'MathLibrary' project which has a method
(in
>| >>MathHelper.cs) to be called from the orchestration in
>| >>order to set the Zip attribute in Message_2. The
solution
>| >>thus has 2 projects, with a reference between them.
>| >>
>| >>After the installation steps (create snk
MathLibrary,
>| >>build, deploy, bind, enlist, start orchestration,
update
>| >>WebReference Asp.Net application) the call of
>| >>http://localhost/ExposeWebServiceDriver produces
>| >>[SoapException:
>| >>System.Web.Services.Protocols.SoapException: Server
was
>| >>unable to process request. --->
>| 
Ou[vbcol=seagreen]
>| >>tException: Application Either Has Timed Out Or Is
Timing
>| >>Out at
>| 
ok[vbcol=seagreen]
>| >>e(String functionName, Object[] parameters, ParamInfo
[]
>| >>inParamInfos, ParamInfo[] outParamInfos, Int32
>| >>bodyPartIndex, String bodyType, ArrayList inHeaders,
>| >>ArrayList inoutHeaders, ArrayList&
inoutHeaderResponses,
>| >>ArrayList& outHeaderResponses, Type[] outHeaderTypes,
>| >>String[] outHeaderNamespaces, SoapUnknownHeader[]
>| >>unknownHeaders, SoapUnknownHeader[]&
>| >>unknownHeaderResponses, Boolean oneway, Boolean
>| >>spsSsoEnabled, Object cookie) at
>| 
ok[vbcol=seagreen]
>| >>e(String functionName, Object[] parameters, ParamInfo
[]
>| >>inParamInfos, ParamInfo[] outParamInfos, Int32
>| >>bodyPartIndex, String bodyType, ArrayList inHeaders,
>| >>ArrayList inoutHeaders, ArrayList&
inoutHeaderResponses,
>| >>ArrayList& outHeaderResponses, Type[] outHeaderTypes,
>| >>String[] outHeaderNamespaces, SoapUnknownHeader[]
>| >>unknownHeaders, SoapUnknownHeader[]&
>| >>unknownHeaderResponses, Boolean oneway, Boolean
>| >>spsSsoEnabled) at
>| 
ce[vbcol=seagreen]
>| >>_ProcessClientRequest_SOAPPort.Operation_1
(ClientRequest
>| >>MessagePart_1)
>| >>   --- End of inner exception stack trace ---]
>| >>
>| >>In the Event log the following error is added,
Source:
>| >>XLANG/s, Category: none, Event: 10034
>| >>"Uncaught exception terminated service
>| 
eq[vbcol=seagreen]
>| >>uest(b0af320c-a424-be11-e09f-1d2b25e10fd8), instance
>| >>43491515-0069-4107-8d4f-5341a4171319
>| >>
>| >>File or assembly name MathLibrary, or one of its
>| >>dependencies, was not found.
>| >>
>| >>Exception type: FileNotFoundException
>| >>Source: ExposeWebService
>| >>Target Site: Microsoft.XLANGs.Core.StopConditions
segment1
>| >>(Microsoft.XLANGs.Core.StopConditions)
>| >>Help Link:
>| >>Additional error information:
>| >>    (none)
>| >>"
>| >>
>| >>The next event in the log is: BizTalk Server,
>| >>"A request-response for the "SOAP" adapter at receive
>| 
lk[vbcol=seagreen]
>| >> _ExposeWebService_ProcessClientRequest_S
OAPPort.asmx"
has
>| >>timed out before a response could be delivered.
>| >>"
>| >>
>| >>After a short time in the event log appears:
>| >>"A catastrophic failure occurred in the BizTalk
service.
>| >>The service will shutdown and auto-restart in 1
minute. If
>| >>the database is still unavailable, this cycle will be
>| >>repeated.
>| >>Error message: Exception from HRESULT: 0xC0C01B05.
>| >>Error source: mscorlib
>| >>BizTalk host name: BizTalkServerApplication
>| >>Windows service name: BTSSvc"
>| >>
>| >>and the BTSSvc auto-restarts succesfully.
>| >>
>| >>George
>| >>
>
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>EBusiness Server Team
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:08 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register