473,231 Members | 1,799 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,231 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 26326
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

1
by: j-marvin | last post by:
hi- with the keyfocus webserver using php i get this error. "Internal Server Error", 500 error when using a CGI request http://www.keyfocus.net/kfws/faq/faqcommonproblems.php#PROBLEM5a ...
5
by: Sam | last post by:
Guys facing a strange problem any clue would really rescue me.. i am using a ASP application with following things Server : Intel Xeon (TM) CPU 2GHz, 2GB RAM, 136GB HDD OS : Windows 2000...
4
by: Patrick Masson | last post by:
Hello, Our configuration : Apache 2.0.53 PHP 5.0.4 PC Windows 2000 MATLAB 6.1 We work on a consulting project in France which involves MATLAB Web server,
6
by: AlanS | last post by:
I have used Visual Studio for about 8 months. I have developed some ASP solutions. I had to get on with some other things and have not worked with ASP.NET for a couple months. In the meantime, I...
0
by: Jeff | last post by:
I am using System.Net.WebRequest to request an aspx from another aspx. If the remote requested page is accessed using a url in the form http://localhost everything works fine. However if the...
3
by: Niranjan Roy | last post by:
When trying to create Web application project from inside my Visual Studio.Net, I am getting the following error: --------------------------- Microsoft Development Environment ...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
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...
3
by: guillaume.braux | last post by:
Hello, I am running WS2008 + IIS7 + FASTCGI + ZendCore. I have not modified the default ZendCore php.ini configuration file. Actualy, any kind of PHP error, warning or notice gives me...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...

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.