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

.Net webservice gives http 500 err

Reply to Message Icon

Original Message
Name: chwr2
Date: April 15, 2005 at 01:30:14 Pacific
Subject: .Net webservice gives http 500 err
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!



Report Offensive Message For Removal

Response Number 1
Name: RPeck999
Date: April 20, 2005 at 06:07:11 Pacific
Subject: .Net webservice gives http 500 err
Reply: (edit)

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.


Report Offensive Follow Up For Removal

Response Number 2
Name: chwr2
Date: April 20, 2005 at 22:41:18 Pacific
Subject: .Net webservice gives http 500 err
Reply: (edit)

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?


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: .Net webservice gives http 500 err

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software