473,320 Members | 2,003 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,320 software developers and data experts.

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

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..
Nov 19 '05 #1
3 4913
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.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 15 Mar 2005 09:28:04 +0200, "Dinçer" <dincer"AT"o2.pl> wrote:
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..


Nov 19 '05 #2
I can't do it, because I get the error in the production environment. It
works fine on test environment...
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:8h********************************@4ax.com...
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.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 15 Mar 2005 09:28:04 +0200, "Dinçer" <dincer"AT"o2.pl> wrote:
Hello,

I am trying to call a simple web service from .net environment. The servicegets 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..

Nov 19 '05 #3
On Tue, 15 Mar 2005 19:44:49 +0200, "Dinçer" <dincer"AT"o2.pl> wrote:
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/arc...01/24/963.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/
Nov 19 '05 #4

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

Similar topics

0
by: Shyam | last post by:
Hi, Can someone help me in resolving the following issue An unhandled exception has occured in your application.If you click Continue,the application will ignore this error and attempt to...
1
by: shade1383 | last post by:
I have a web service that runs fine on my local machine and works fine with a VB .Net project remotely, but when I try to run using Access 2002 I get the following error. Server was unable to...
1
by: Ariel Larraburu | last post by:
I have an aplicaciòn that shows to next error: "Server was unable to process request --> ?". without webreferences it works correctly. that it means '?' error ?
0
by: Dinçer | last post by:
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...
0
by: Dica | last post by:
Hi all I've got a java microEdition client trying to make soap requests to my .Net service. i keep getting "Server was unable to process request..." err msg when attempting to make the request....
2
by: UJ | last post by:
I've got a web service that is giving me back this error message. The directory is Windows\Temp and I have given everybody complete access to this directory and am still getting the error. Any...
2
by: Grande | last post by:
Hi all, I recently changed a webservice to take in a third parameter, and it hasn't been working since. I get the following error at runtime: "Server was unable to process request. ---Method...
1
by: Florencio Laso | last post by:
Hola to all: We have created a service web that works perfectly while is invoked in the localhost of the machine of development or from the IE of the servant where we have published it....
3
by: weird0 | last post by:
This is the exception that I get when i create a webserivce obj and call. The error comes on the webmethod call, when it opens a connection to the db. How do I fix it? What is the solution to...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.