Re: HTTP://1.1 500 Server Error

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: David Roberts (Roberts_at_discussions.microsoft.com)
Date: 01/25/05


Date: Tue, 25 Jan 2005 10:27:04 -0800

I am running into something similar here and have ran out of ideas to
troubleshoot it. Ture confession, I'm a Java developer just learning .NET so
I am not used to everything being so tightly integrated into the OS, I
frankly find it horribly confusing most of the time. Here is my scenario

I have a newly installed IIS 5.1 and VS.NET 2003 running on Windows XP SP2.

I create a new blank solution and choose a C#-based ASP.NET Web Services
project.

I open Service1.asmx template that is automatically part of the project and
uncomment the hello world sample method therein (trying to keep as basis as
possible).

I set Service1.asmx as the Start Page then Debug -> Start

I see the expected test interface and then select the Hello World link . I
then see the expected interface which describes the methods SOAP input and
outputs, etc. After clicking the methods "Invoke" button I get a standard
HTTP 500 Internal Server Error page. I cannot locate any further information
as to why this is the case, no log messages, no stack traces, nothing. I've
scowerd the net for how to drill down on this problem with no luck. The IIS
error log simply logs that the request was a 500. I'm also toyed with the
<customErrors/> node in Web.config (changing the default to of "Remote" to
"Off" (which honestly should make no different) but I still get the same
standard HTTP 500. In fact, I've even changed this value to "On" with no
effect.

Finally, I turned on traceing via the <trace/> node in Web.config but the
trace screen for the problematic request is not helpful (again, no
detailed--or any for that matter--error or stack trace. I found it
particularly odd that the trace showed nothing in the control tree, almost
like the request never "makes it" to the service (somehow restrictuted by
IIS??) Also, the Trace Information category that I see on other successful
requests is not even present.

Oh, and I also tried to set a breakpoint in the hello world method and I
never make it there.

I have banged my head against this problem for days now would SO appreciate
someone cluing me in. Incidentally, is there no way to have an IIS console
(that is, a stdout console to see errors, etc. as they occure?) Can you
ratchet up the logging level somehow??

I'm a foreign man in a foreign land, so to speak, so please be gentle ;)

Cheers,
Dave

"Tom Kaminski [MVP]" wrote:

> "Mário Jones" <Mrio Jones@discussions.microsoft.com> wrote in message
> news:12B80A69-6EA9-457D-B703-C628C2167101@microsoft.com...
> > I have visual studio 2003, IIS v5.1, framework 1.1, xp servide pack 2
> installed
> >
> > I open visual studio (VB.NET), new project, ASP.NET Web project, and it
> > appears:
> >
> > "The Web server reported the following error when attempting to create or
> > open the web project located at the following
> > URL:"http://localhost/webapplication1
> > HTTP/1.1 500 Server Error"
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;309051
>
>
>


Quantcast