[Mono-dev] debugging xsp runtime compilr errors
Sunny
sloncho at gmail.com
Tue Oct 30 17:57:56 EDT 2007
Hi,
I'm trying to run and .ashx IHttpAsyncHandler with xsp and xsp2. The
c# code for the handler is in the .ashx file itself. When I hit the
server, it generates Internal Server error 500. I have set logging in
the Global.asax.cs file to capture unhandled exceptions, and the
output is:
System.Web.Compilation.CompilationException: Exception of type
System.Web.Compilation.CompilationException was thrown.
at System.Web.Compilation.WebServiceCompiler.CheckCompilerErrors
(System.CodeDom.Compiler.CompilerResults results) [0x00000]
at System.Web.Compilation.WebServiceCompiler.GetCompiledType () [0x00000]
at System.Web.Compilation.WebServiceCompiler.CompileIntoType
(System.Web.UI.SimpleWebHandlerParser wService) [0x00000]
at System.Web.UI.WebHandlerParser.GetCompiledType
(System.Web.HttpContext context, System.String virtualPath,
System.String physicalPath) [0x00000]
at System.Web.UI.SimpleHandlerFactory.GetHandler
(System.Web.HttpContext context, System.String requestType,
System.String virtualPath, System.String path) [0x00000]
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext
context) [0x00000]
at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000]
This output is not enough for me to diagnose what the problem is. I
have put the whole c# code in a separate file, and it compiles w/o any
error, so I can not guess why the pre-compile in xsp fails.
How can I enable more detailed output about what's going on?
Btw, the same code in .Net works just fine. As well as much simpler
code, w/o referencing external .dlls.
In my code, I do use classes from other dll, so maybe the reference is
not takein into account. The whole project is done in monodevelop
0.16.
Any poiners will be higly appreciated.
Thanks
--
Svetoslav Milenov (Sunny)
Even the most advanced equipment in the hands of the ignorant is just
a pile of scrap.
More information about the Mono-devel-list
mailing list