Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to debug IIS 500 Internal Server Error?

Reply
Thread Tools

How to debug IIS 500 Internal Server Error?

 
 
Spam Catcher
Guest
Posts: n/a
 
      07-05-2007
Hi all,

I have a webservice which is throwing a 500 Internal Server Error. It seems
to be related to the signature of function (or one of the properties within
the function).

The web service compiles fine (VS.NET 2005) but when I try to access it, it
throws a 500 Internal Server Error.

I can't put ANY breakpoints anywhere since no code has been run? It seems
like .NET has problem loading up the assembly?! However, the code compiled
fine...

Are there any logs I can view to see what is going on?

Thanks!

 
Reply With Quote
 
 
 
 
Spam Catcher
Guest
Posts: n/a
 
      07-05-2007
Spam Catcher <(E-Mail Removed)> wrote in
news:Xns9963EA5413F81usenethoneypotrogers@127.0.0. 1:

> Hi all,
>
> I have a webservice which is throwing a 500 Internal Server Error. It
> seems to be related to the signature of function (or one of the
> properties within the function).
>
> The web service compiles fine (VS.NET 2005) but when I try to access
> it, it throws a 500 Internal Server Error.
>
> I can't put ANY breakpoints anywhere since no code has been run? It
> seems like .NET has problem loading up the assembly?! However, the
> code compiled fine...
>
> Are there any logs I can view to see what is going on?



Here is what my Event Log says:


Event code: 3006
Event message: A parser error has occurred.
Event time: 7/4/2007 5:39:16 PM
Event time (UTC): 7/4/2007 9:39:16 PM
Event ID: 8cbd67cf09854f4095d0321402a845b8
Event sequence: 4
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: 99dad5e2-11-128280587552343750
Trust level: Full
Application Virtual Path: /
Application Path: D:\Company\Projects\Queue Web Service\
Machine name: Computer

Process information:
Process ID: 2024
Process name: WebDev.WebServer.exe
Account name: Computer\XXXX

Exception information:
Exception type: HttpParseException
Exception message: Could not create type Company.NA.QueueAPI'.

Request information:
Request URL: http://localhost:1884/QueueAPI.asmx?disco
Request path: /QueueAPI.asmx
User host address: 127.0.0.1
User: Computer\XXXX
Is authenticated: True
Authentication Type: NTLM
Thread account name: Computer\XXXX

Thread information:
Thread ID: 4
Thread account name: Computer\XXXX
Is impersonating: False
Stack trace: at System.Web.UI.SimpleWebHandlerParser.GetType
(String typeName)
at System.Web.UI.SimpleWebHandlerParser.GetTypeToCach e(Assembly
builtAssembly)
at System.Web.Compilation.SimpleHandlerBuildProvider. GetGeneratedType
(CompilerResults results)
at System.Web.Compilation.BuildProvider.CreateBuildRe sult
(CompilerResults results)
at System.Web.Compilation.BuildProvider.GetBuildResul t
(CompilerResults results)
at System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath
virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal
(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert
(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean
allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildR esult
(HttpContext context, VirtualPath virtualPath)
at System.Web.UI.WebServiceParser.GetCompiledType(Str ing inputFile,
HttpContext context)
at System.Web.Services.Protocols.WebServiceHandlerFac tory.GetHandler
(HttpContext context, String verb, String url, String filePath)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context,
String requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
at
System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplic
ation.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)


Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
 
Reply With Quote
 
 
 
 
Spam Catcher
Guest
Posts: n/a
 
      07-05-2007
Spam Catcher <(E-Mail Removed)> wrote in
news:Xns9963EA5413F81usenethoneypotrogers@127.0.0. 1:

> Hi all,
>
> I have a webservice which is throwing a 500 Internal Server Error. It
> seems to be related to the signature of function (or one of the
> properties within the function).
>
> The web service compiles fine (VS.NET 2005) but when I try to access
> it, it throws a 500 Internal Server Error.
>
> I can't put ANY breakpoints anywhere since no code has been run? It
> seems like .NET has problem loading up the assembly?! However, the
> code compiled fine...
>
> Are there any logs I can view to see what is going on?
>
> Thanks!
>
>


Problem solved?

Turns out WSE was intercepting some error messages ... I think one of my
objects has a read-only property (set is set as private). It seems if you
have an input object with such a property... ASP.NET chokes. If you have
WSE enabled, it hides the error messages
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://localhost/822319ev1'. 'HTTP/1.1 500 Internal Server Error'. chanmm ASP .Net 2 09-07-2010 07:37 AM
Web server reported following error... HTTP/1.1 500 Internal Server Error John Bonds ASP .Net 2 08-03-2004 10:03 PM
I'm totally stumped - IIS not working on two separate machines - 500 Internal Server Error Damien Sawyer ASP .Net 6 07-08-2004 06:41 AM
IIS Internal Server Error 500 Chris P ASP General 2 04-29-2004 04:12 PM



Advertisments