Method can not be reflected

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Taichi

    Method can not be reflected

    Hi there,

    I have a small webservice, which returns an object array. It works fine on
    the browser, but got the following error on the client windows form
    application:

    An unhandled exception of type 'System.Invalid OperationExcept ion' occurred
    in system.web.serv ices.dll

    Additional information: Method can not be reflected.

    Any input is greatly appreciated!
  • Taichi

    #2
    RE: Method can not be reflected

    I also made the method constructor parameterless, but didn't help.

    It stops right at the line:

    MyBase.New

    Comment

    • Marvin Smit

      #3
      Re: Method can not be reflected

      Hi,

      is there any chance that security (CAS) is stopping you from using
      reflection?

      Hope this helps,

      Marvin Smit.

      On Wed, 31 Aug 2005 20:47:36 -0700, Taichi
      <Taichi@discuss ions.microsoft. com> wrote:
      [color=blue]
      >Hi there,
      >
      >I have a small webservice, which returns an object array. It works fine on
      >the browser, but got the following error on the client windows form
      >application:
      >
      >An unhandled exception of type 'System.Invalid OperationExcept ion' occurred
      >in system.web.serv ices.dll
      >
      >Additional information: Method can not be reflected.
      >
      >Any input is greatly appreciated![/color]

      Comment

      • Taichi

        #4
        Re: Method can not be reflected

        Hi Marvin,

        Couldn't be, as I have another webservice, which returns boolean value,
        works fine. Any input is greatly appreciated!

        Taichi

        "Marvin Smit" wrote:
        [color=blue]
        > Hi,
        >
        > is there any chance that security (CAS) is stopping you from using
        > reflection?
        >
        > Hope this helps,
        >
        > Marvin Smit.
        >
        > On Wed, 31 Aug 2005 20:47:36 -0700, Taichi
        > <Taichi@discuss ions.microsoft. com> wrote:
        >[color=green]
        > >Hi there,
        > >
        > >I have a small webservice, which returns an object array. It works fine on
        > >the browser, but got the following error on the client windows form
        > >application:
        > >
        > >An unhandled exception of type 'System.Invalid OperationExcept ion' occurred
        > >in system.web.serv ices.dll
        > >
        > >Additional information: Method can not be reflected.
        > >
        > >Any input is greatly appreciated![/color]
        >[/color]

        Comment

        Working...