Webservice method fails on webserver

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
 
V

Vijay

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..
}
 

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

Top