473,387 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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.InvalidOperationException' occurred
in system.web.services.dll

Additional information: Method can not be reflected.

Any input is greatly appreciated!
Nov 23 '05 #1
3 6804
I also made the method constructor parameterless, but didn't help.

It stops right at the line:

MyBase.New
Nov 23 '05 #2
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
<Ta****@discussions.microsoft.com> wrote:
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.InvalidOperationException' occurred
in system.web.services.dll

Additional information: Method can not be reflected.

Any input is greatly appreciated!

Nov 23 '05 #3
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:
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
<Ta****@discussions.microsoft.com> wrote:
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.InvalidOperationException' occurred
in system.web.services.dll

Additional information: Method can not be reflected.

Any input is greatly appreciated!

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Andy Furnival | last post by:
hi guys and gals, I've just run into an interesting problem. I'm trying to call assembly methods which are not bound to the main project assembly. The Interface is always the same, however due...
8
by: John Jenkins | last post by:
Hi, I posted the following on GotDotNet, sorry for cross posting but I have a serious issue on an important proof of concept... Hi, I have the same issue as ...
1
by: Modica82 | last post by:
I have created a contract first web service, and to test i have created a client (asp.net) to attempt to test that my web service is at least communication. But when i call a method i get the...
0
by: | last post by:
Hello, when i try to create a webservice proxy (Web reference) from my client, an exception occured: Method "XYZ" can not be reflected. StackTrace " at...
1
by: Waldy | last post by:
Hi there, can anyone tell me what the message "Method x can not be reflected" means in English?
36
by: danielx | last post by:
At first I was going to post the following: <!-- beginning of my original post --> I just discovered the inspect module, which contains the isfunction and ismethod functions. For some reason,...
3
by: Peter van der veen | last post by:
Hi In my porject i use a custom header to be added to the SOAP message. I added the the custom SOAP header to the follwoing function which is in the proxy class. But when invoking the proxy...
24
by: =?Utf-8?B?cGF0cmlja2RyZA==?= | last post by:
Hi everyone! I have a hidden input field in a form which I change in some occasions on the client using javascript, but when I use "view source" I can't see these changes reflected on the page!...
5
by: ijrr | last post by:
Hello all! I´m passing a reference using ref to a constructor in class A. A a = new A(ref myObj); If I change values of myObj in class A, they are reflected on the main class. But, If I call...
0
by: =?Utf-8?B?TW9ydGVuIFdlbm5ldmlrIFtDIyBNVlBd?= | last post by:
"Anders Borum" wrote: Hi Anders, I'm afraid the GetMethod() does not currently support filtering on generic parameters so you will have to loop through the existing methods using...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.