Re: FileNotFoundException and Proxy constructor

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Graham Allwood (NoToSpam-graham.allwood_at_eborsolutions.com)
Date: 04/14/04


Date: Wed, 14 Apr 2004 13:40:50 +0100

Ok, so I should learn not to post things too early, right? The problem
wasn't the new operator on the property, it was because this property was
read only.

I'am wondering if I should implement ISerializable in order for me to stick
with read only properties. Any comments?

Graham

"Graham Allwood" <NoToSpam-graham.allwood@eborsolutions.com> wrote in
message news:%2311EvpfIEHA.3276@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I have been reading several posts where people are getting a
> FileNotFoundException when trying to construct a web service proxy. The
file
> that is reported missing changes everytime.
>
> There has been several different reasons for this in the past including
> permissions to the c:\winnt\temp folder, missing default constructor and
> duplicate enum definitions in the schema. Well, I have another reason for
> this to happen:
>
> I have an assembly that contains all the custom types my services use.
When
> I reference my service in my WinForms app I have to modify the proxy that
is
> generated for me; specifically I have to remove the generated definition
for
> my types and add a USING statement so that it picks up my own type
> definitions. Everything was working fine until I started using a type when
> one of the properties was using the new (C#) operator to hide a property
> definition in a base class. This caused the proxy constructor to fail with
> the about error. Commenting out the property made everything work again.
>
> Can anyone explain this to me? Is it something to do with the
XmlSerializer,
> if so what?
>
> Thanks for any help
>
> Graham Allwood
>
>



Relevant Pages

  • FileNotFoundException and Proxy constructor
    ... FileNotFoundException when trying to construct a web service proxy. ... that is reported missing changes everytime. ... There has been several different reasons for this in the past including ... This caused the proxy constructor to fail with ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: FileNotFoundException and Proxy constructor
    ... >> FileNotFoundException when trying to construct a web service proxy. ... >> There has been several different reasons for this in the past including ... This caused the proxy constructor to fail ... >> Graham Allwood ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Web Service client that dynamically changes posting server
    ... Let me also add that each client using this proxy has the burden of knowing ... > file into the webservice project, itself, changing it's namespace to ... > Then I created a new constructor for the proxy wherein you supply the ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: OT: Geekness - avoiding proxies
    ... I'm stuck behind a websense proxy. ... This bars many things, some ... cygwin installed for other reasons). ... Then pick a local port (choose ...
    (uk.rec.motorcycles)
  • Re: Compiling C++ modules
    ... There's reasons why we ... fight over "to inline or not to inline".... ... The constructor is an assignment. ...
    (Linux-Kernel)