Server was unable to process request. --> Array cannot be null...

D

Dinçer

Hello,

I am trying to call a simple web service from .net environment. The service
gets an array parameter. When I run it, it becomes the error:

Server was unable to process request. --> Array cannot be null. Parameter
name: bytes

I am sure that my array is not null. Besides, its name isn't "bytes".

What is wrong with it?

Regards..
 
S

Scott Allen

Have you tried using the debugger to step through the code and see
where the exception occurs? Did the error message include a stack
trace with line numbers? Something is null when it shouldn't be,
you'll have to find it.
 
D

Dinçer

I can't do it, because I get the error in the production environment. It
works fine on test environment...
 
S

Scott Allen

I can't do it, because I get the error in the production environment. It
works fine on test environment...

Try to build with debugging information included and get a stack trace
with line numbers. Or try putting some trace statements inside. A
little more information makes tracking down the source of the
information easier. Once you have some information you can review the
code and see what could be going wrong.

http://odetocode.com/Blogs/scott/archive/2005/01/24/963.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top