Webservice method fails on webserver

  • Thread starter Thread starter Ace
  • Start date Start date
A

Ace

Hi all,
I have a webservice method that accepts a string parameter value and returns
a dataset to the caller. On the XP development machine it works ok. but on
the web server runing windows 2003 and IIS 6 no values are return. no error
message either. Both development machine and webserver are using MSDE 1.1
as the database.
The webserver is NOT part of of a domain and it's using a local IP address.

many thanks.

Ace
 
Is your IIS virtual directory registered to the correct ASP.NET version?...
check with your administrator to make sure that this done.... you can use
the web.config to specifcy this..., also in the web.config were your
webservices is hosted, you have something called customErrors, set that to
off, you will get detailed message... put a try/catch block in the code that
is calling... and see the error

try
{
// code to call webmethod
}
catch(Exception ex)
{
MessageBox.Show(ex.ToString()); // should give a detail message if
customerrors is off..
}
 
Back
Top