473,508 Members | 2,357 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6840
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
339
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
16190
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
5349
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
1181
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
476
by: Waldy | last post by:
Hi there, can anyone tell me what the message "Method x can not be reflected" means in English?
36
1841
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
6695
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
6610
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
8039
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
2328
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
7120
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7380
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...
0
7494
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1553
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.