Computing.Net > Forums > Web Development > .Net webservice gives http 500 err

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

Reply to Message Icon

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?

Thanks!




Sponsored Link
Ads by Google

Response Number 1
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.

Any advice?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: .Net webservice gives http 500 err

.Net webservice gives dll not found www.computing.net/answers/webdevel/net-webservice-gives-dll-not-found/1720.html

apache help needed www.computing.net/answers/webdevel/apache-help-needed/3575.html

I'd liek some feedback on my websit www.computing.net/answers/webdevel/id-liek-some-feedback-on-my-websit/95.html