473,287 Members | 1,650 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,287 software developers and data experts.

Webservice trouble.


Hello,
I have written a very simple web service with only one "web method". The web
method does what it is supposed
to do when invoked locally but fails one invoked remotelly
with http error 500.
Any idea what i have done wrong?
Many thanks in advance
JB
Nov 21 '05 #1
1 1199
HTTP error 500 means that there is probably an unhandled exception in the
web service method. To debug the problem, you can try e.g.,:

1) set <customErrors mode="Off" /> in web.config to see ASP.NET error page
remotely
2) add error logging (i.e., catch all exceptions and log them somewhere)
3) attach debugger to the web service, put a break point in the web method
and step through code until you hit the error

Regards,
Sami
"Jensen Bredal" <fi********@yahoo.dk> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...

Hello,
I have written a very simple web service with only one "web method". The
web
method does what it is supposed
to do when invoked locally but fails one invoked remotelly
with http error 500.
Any idea what i have done wrong?
Many thanks in advance
JB

Nov 21 '05 #2

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

Similar topics

1
by: James A. Donald | last post by:
I have an application, which needs to be rewritten into a webservice. The application is in C++, and my background is writing stuff for IIS in C++ and microsoft's javascript, but my intended...
1
by: Ricky K. Rasmussen | last post by:
Hi NG, When connecting to a local WebService one of our customers gets a very strange exception: "File or assembly name gaw9eaqv.dll, or one of its dependencies, was not found." The...
0
by: Helios | last post by:
Hello there, I'm new to webservices and have trouble getting started. I've got to develope a webservice which receives messages and in response to each message sends a response back. The...
2
by: Helbi | last post by:
Hi, i 've got some troubles with a webservice. I created it in local, and tested it also in local. My trouble come from putting the webservice on an other computer, ant trying to use it (normal...
0
by: S. Berwanger | last post by:
Hallo, I'm trouble debugging a Webservice application on the WinCE 4.1 emulator from VS 2003. The Webservice gives back Datasets from a SQL Database. When I'm starting the application for the...
4
by: jens Jensen | last post by:
Hello, I need to call a webservice with an System.Xml.XmlDocument objet and read the return value into and System.Xml.XmlDocument. The webservice was written with an oracle tool and wrapped...
0
by: Eric bouxirot | last post by:
hi, i have some trouble to debug my webservice i have a server with SBS2003 (with domain controler) with IIS 6 my dev machine is XP Pro on WorkGroup with VS2005 if i run webservice and...
5
by: gaddoz | last post by:
Hi all, I'm trying to set up a .NET webservice using in data access layer Nhibernate (nhib 1.2.0 beta). The first trouble I met was that a webservice cannot serialize Interfaces, like IList<>....
3
by: Peter Longstaff | last post by:
Hi All, I am having trouble with my first effort at developing a web service. I have a methods, outlined below which should return a DataTable. public DataTable...
3
by: Francesco Spegni | last post by:
hi there, i'm a newbie in this field and i hope i'm not asking a very stupid question, but googling i didn't find my way out of here. what i want to do is to write a method, export it through...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
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...
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: 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)...

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.