Index was outside the bounds of the array

G

Guest

Hi there,

We have a web application written in asp.net (1.1). I'm not going to go
into too much detail but we use a DLL to communicate with the database and
also a couple of webservices. When we deployed version 1, everything
deployed OK on our webserver. We deployed the application and 1 webservice
under default web site, the other webservice (3rd party supplied) is on
another server and services many other application in our organisation
sucessfully.

Recently we have tried to deploy version 2, but this time we have assigned
another IP address to the web server and tried to install the application
under a new website. Everything looked OK the application installed OK and
most of the functionallity works just fine but 1 or 2 of the webservice calls
fails with the error:
"Index was outside the bounds of the array"
I get this error on both webservices, on specific webmethods, but it DOES
work OK on default website....

Any help on this would be appreciated

Cammie
 
P

Patrice

You are using an array index that is outside the valid range (i.e. not
between 0 and number of elements-1).
 
G

Guest

Hi Patrice,

Thanks for your interest.

This may be the case, but before I go looking through the code in too much
detail, I keep wondering why it works OK when deployed to 'Default' website
in IIS.

Cammie
 
P

Patrice

I would really start by looking at the code. Once the error is located, it
should be much easier to figure out why it worked under some other
circumstances. Else you can only guess and you'll have anyway to look at the
code...
 

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

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top