473,545 Members | 2,663 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1206
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********@yah oo.dk> wrote in message
news:%2******** **********@TK2M SFTNGP10.phx.gb l...

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
2466
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 customers are not going to pay for IIS, and many of them would not know how to manage IIS, though it is a lot easier than managing apache. So I guess...
1
1222
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 strange part is that the name of the assembly can vary, and has nothing to do with the names of the assemblies used in neither the WebService or the
0
1113
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 webservice has to conform to a given wsdl provided to me. I've searched different articles and found many of them describing how to use a wsdl to consume a...
2
1568
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 using). the error is (in french): Une exception non gérée du type 'System.IO.IOException' s'est produite dans system.dll Informations...
0
1068
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 first time everything works fine. Later I can exist the application without a problems and returns to VS as expected. But the second start hangs...
4
6244
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 into a .net webservice. I have added a reference to my dotnet wrapper and i get the following
0
1220
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 client application on my dev computer, all work fine...
5
9561
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<>. After I workarounded it, now I get: System.InvalidOperationException: There was an error generating the XML
3
2011
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 GetContactsforCompany(string sID) { if (sID == string.Empty)
3
2215
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 a webservice in such a way that the result is sent back to the caller in a compressed way (the soap header remains uncompressed, but the body of...
0
7490
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7935
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7449
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7780
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6009
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5069
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3479
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.