473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

How to debug IIS 500 Internal Server Error?

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!

Jul 5 '07 #1
2 7345
Spam Catcher <sp**********@rogers.comwrote in
news:Xn**********************************@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.
Jul 5 '07 #2
Spam Catcher <sp**********@rogers.comwrote in
news:Xn**********************************@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 :-(
Jul 5 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Ben | last post by:
hi when I try to excecute an ASP (either JS or VB) script to say, access a database record, I get an Internal Server Error HTTP 500.100 Why? and HOW CAN I FIX THIS? Thanks
1
by: Martin | last post by:
I got a core from my client but i am not able to find out where it crashed. I got the following: From my experience, when i got lots of warning which complains about the path mismatch.. I can...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
15
by: Trapulo | last post by:
Very often my VS2005 pro crashes after a debug. I run ASP.NET debug, and all works well. Then I stop it, and all it's also ok. Then, when I try to edit some code, it crashes and I need to kill it,...
11
by: Lieven | last post by:
Hey, I had a hard disc problem last week on my server. I replaced the disc and copied al the files to the new hard disc, everything works fine again except some php scripts that are using the...
2
by: Spam Catcher | last post by:
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...
0
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
I have a testing client program, the purpose is send a xml file to a server program, and the server return another xml message. So I wrote a testing server program the simple one and make sure the...
8
by: michay | last post by:
hi when i try to debug a web application, i get the following error message: error while trying to run project: unable to start debugging on the web server but when i try to debug a...
11
by: =?Utf-8?B?QXNhZg==?= | last post by:
Hello, I have just installed VISTA Enterprise and VS.NET 2008. When pressing F5 to debug my test ASP.NET website, IE 7 display the message "Internet Explorer cannot display the webpage". The...
1
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi I've just swapped a project over from VS2005 / .net 2.0 to VS2008 / .net 3.5, but I can no longer debug in Visual Studio. My project is setup to use IIS7 (I'm running on Vista), rather than...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.