[Mono-devel-list] error BC0000
Arnhoffer Károly
karnhoffer at ecron.hu
Tue Aug 2 08:38:12 EDT 2005
Hi,
I have done what you had adviced and the results are the following:
linux:/home/karnhoffer # mono --trace=NCore,mono_web_test /usr/lib/mono/1.0/xsp.exe --port 80 --root /home/karnhoffer/public_html/WebDMS/ --applications /dms:/home/karnhoffer/public_html/WebDMS/
xsp
Listening on port: 80
Listening on address: 0.0.0.0
Root directory: /home/karnhoffer/public_html/WebDMS
Hit Return to stop the server.
EXCEPTION handling: FormatException
EXCEPTION handling: FileNotFoundException
EXCEPTION handling: FileNotFoundException
EXCEPTION handling: FileNotFoundException
** (/usr/lib/mono/1.0/mbas.exe:23582): WARNING **: The class System.Windows.Forms.RichTextBox could not be loaded, used in /home/karnhoffer/public_html/WebDMS/bin/NCore.dll (token 0x0100001a)
** (/usr/lib/mono/1.0/mbas.exe:23582): WARNING **: The class System.Windows.Forms.RichTextBox could not be loaded, used in /home/karnhoffer/public_html/WebDMS/bin/NCore.dll (token 0x0100001a)
** (/usr/lib/mono/1.0/mbas.exe:23582): WARNING **: The class System.Windows.Forms.RichTextBox could not be loaded, used in /home/karnhoffer/public_html/WebDMS/bin/NCore.dll (token 0x0100001a)
** ERROR **: file critical-sections.c: line 89 (DeleteCriticalSection): assertion failed: (ret == 0)
aborting...
EXCEPTION handling: CompilationException
EXCEPTION handling: SocketException
EXCEPTION handling: IOException
EXCEPTION handling: RequestLineException
EXCEPTION handling: RequestLineException
EXCEPTION handling: ThreadAbortException
EXCEPTION handling: ThreadAbortException
EXCEPTION handling: ThreadAbortException
EXCEPTION handling: ThreadAbortException
EXCEPTION handling: ThreadAbortException
EXCEPTION handling: ThreadAbortException
EXCEPTION handling: ThreadAbortException
EXCEPTION handling: ObjectDisposedException
linux:/home/karnhoffer #
Ncore is a special assembly without wich this error does not occour, mono_web_test is the assembly of the web application.
Arnhoffer Károly
-----Original Message-----
From: Matthias Felgner [mailto:matthiasf at voelcker.com]
Sent: Tuesday, August 02, 2005 1:57 PM
To: Arnhoffer Károly; mono-devel-list at lists.ximian.com
Subject: AW: [Mono-devel-list] error BC0000
Hi,
Please try running the application using xsp.
Try getting some valuable output with mono --trace (check man mono for options), and try limiting your point of failure with this. If you insist on using mod_mono, build mod_mono from source, passing the --enable-debug option to the autogen / configure script...Output is logged to /var/log/apache2/error.log
What I mean is, call xsp as follows: mono --trace=[options_go_here] /path/to/xsp.exe
Hope that helps to locate the issue....
--Matt
-----Ursprüngliche Nachricht-----
Von: Arnhoffer Károly [mailto:karnhoffer at ecron.hu]
Gesendet: Dienstag, 2. August 2005 13:56
An: Matthias Felgner
Betreff: RE: [Mono-devel-list] error BC0000
Hi,
I am using mod_mono with Apache.
Arnhoffer Károly
-----Original Message-----
From: Matthias Felgner [mailto:matthiasf at voelcker.com]
Sent: Tuesday, August 02, 2005 1:46 PM
To: Arnhoffer Károly
Subject: AW: [Mono-devel-list] error BC0000
Hi,
Are you using XSP or Apache (Version?) with mod_mono?
-----Ursprüngliche Nachricht-----
Von: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von Arnhoffer Károly
Gesendet: Dienstag, 2. August 2005 13:42
An: mono-devel-list at lists.ximian.com
Betreff: [Mono-devel-list] error BC0000
Hi All,
I try to run an ASP.NET webapplication (compiled with MS Visual Studio, Windows XP Professional, code behind structure) on a Linux machine (SuSE 9.2) using Mono 1.1.8. The application is quite heavy weight so there can be several sources of errors but I can not now where to start to fix them. So when I try to run the application I get the following error page:
Server Error in '/dms' Application
Compilation Error
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.
Error message: (0,0) : error BC0000: Exception: System.NullReferenceException: Object reference not set to an instance of an object
File name: /home/karnhoffer/public_html/WebDMS/Global.asax
Source File:
Line 1: ' ------------------------------------------------------------------------------
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Mono Runtime Version: 1.1.4322.573
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and will be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9: ' ------------------------------------------------------------------------------
Line 10:
Line 11: Option Explicit On
Line 12: Option Strict Off
Line 13:
Line 14: Imports Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.WebControls
Line 27: Imports System.Web.UI.HtmlControls
Line 28:
Line 29: Namespace ASP
Line 30: Public Class Global_asax
Line 31: Inherits WebDMS.Global
Line 32:
Line 33: Private Shared __intialized As Boolean = False
Line 34:
Line 35: Public Sub New()
Line 36: If ((ASP.Global_asax.__intialized = False)) Then
Line 37: ASP.Global_asax.__intialized = True
Line 38: End If
Line 39: End Sub
Line 40: End Class
Line 41: End Namespace
The application runs fine on Windows IIS 5.1.
Thanks in advance!
Arnhoffer Károly _______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list