Re: Type Load failure in Web Service Client
- From: "Nathan Mellor" <nmNOSPAMXX$$@hp.com>
- Date: Wed, 29 Jun 2005 10:19:56 -0700
"Chance Hopkins" <chance_hopkins@xxxxxxxxxxx> wrote in message
news:%236qDO4GfFHA.1284@xxxxxxxxxxxxxxxxxxxxxxx
>
> "Nathan Mellor" <nmNOSPAMXX$$@hp.com> wrote in message
> news:e0nMc9FfFHA.2644@xxxxxxxxxxxxxxxxxxxxxxx
>>A customer has reported a failure in calling a web service:
>>
>> Cound not load type
>> System.Web.Services.Protocols.Soap HttpClientProtocol
>> from assembly System.Web.Services, Version=1.0.5000.0,
>> Culture= neutral PublicKeyToken=......
>
> I get errors that are similar to this, sometimes, using a TcpClient when
> calling a connection that fails.
>
> one possible solution is to wrap the call with a try catch and handle it
> in a "friendly manner". Just ask them to click again.
Thanks.
This makes some sense when I look at the generated code. The derived
contructor sets the URL. If the base constructor is checking for something,
it could fail. A TypeLoad can definitely happen if a constructor throws an
exception.
I'll try failing gracefully and give a chance for retry, since there is a
number of things that can go wrong here.
Nathan
.
- References:
- Type Load failure in Web Service Client
- From: Nathan Mellor
- Re: Type Load failure in Web Service Client
- From: Chance Hopkins
- Type Load failure in Web Service Client
- Prev by Date: Re: DllImport SetEvent causing MissingMethodException
- Next by Date: Re: what are the steps to package a PPC application into a setup file ?
- Previous by thread: Re: Type Load failure in Web Service Client
- Next by thread: Re: Type Load failure in Web Service Client
- Index(es):
Relevant Pages
|