Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
.Net webservice gives http 500 err
Name: chwr2 Date: April 15, 2005 at 01:30:14 Pacific OS: Windows Server 2003 CPU/Ram: 2.8GHz/1GB
Comment:
I have a .Net webservice which I deployed on a win 2003 server which is a domain controller. When I try to run any webmethod from the webservice, I get http 500 internal server error. When I set breakpoints in the webservice code in VS.Net 2003, it seems no code is executed at all before the internal server error occurs. Even when I use VS.Net on the server to create a simple webservice, the webmethod will not execute and I get internal server error.
Can anyone help me with this problem? Is there anything to do with domain controller issues?
Name: RPeck999 Date: April 20, 2005 at 06:07:11 Pacific
Reply:
Have had the same problem myself recently. It seems like some exceptions can't be caught within a web service. I have a service which interacts with a database then does some file manipulation, the exception handling works (as does stepping through in VS) if I do something like try to open a file that doesn't exist but neither works if I try to reference an invalid parameter in a SQL command. To make matters more difficult IE defaults to hiding the true cause of the error - if you disable the 'Show Friendly HTTP Error Messages' option in IE you will probably see the true cause.
0
Response Number 2
Name: chwr2 Date: April 20, 2005 at 22:41:18 Pacific
Reply:
The true cause is:
File or assembly name dgnln1b2.dll, or one of its dependencies, was not found.
But I could not find this dll in any machine, not even in the machine where this webservice works fine.
Summary: I built a webapplication to call a webservice and it gets the error File or assembly name bmwozqhc.dll, or one of its dependencies, was not found. And each time the webapplication is run, it gives a d...
Summary: i understand it a little better but there's something still not right, and i dont know if its the name dns updater or to do with my setup. I got the http://june.homedns.org to open site one and junior...
Summary: I'm opening my own buisness and i just got my we page online. I would appreciate it if some of you coudl check it out and give me any suggestions. Thanks RyansCustomComputers.cjb.net -Ryan Adams http:...