Bug 321067 (MONO78326) - Mono quits with error when trying to run .exe program
Summary: Mono quits with error when trying to run .exe program
Status: RESOLVED MOVED
Alias: MONO78326
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-07 23:24 UTC by Andreas Zieritz
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:58:06 UTC


---- Reported by andreas.zieritz@broadpark.no 2006-05-07 16:24:59 MST ----

Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:

I have tried to write a simple Visual Basic program with the Microsoft
Visual Studio 2005 Express Edition and run the exe file in Mono. 

The code is:

Public Class Form1
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
        DisplayTime()
    End Sub
    Sub DisplayTime()
        MsgBox(GetTime)
    End Sub
    Function GetTime() As String
        Return CStr(Now)
    End Function
End Class

The compiled file crashes with an error message when run with the mono
runtime environment.

Steps to reproduce the problem:
1. run program with "mono MyFirstProcedure.exe"
2. 
3. 

Actual Results:
**ERROR**: file class.c:line 2582(mono_class_setup_parent):should not be
reached aborting...

Expected Results:
Should show the time in a messagebox

How often does this happen? 
always

Additional Information:



---- Additional Comments From robertj@gmx.net 2006-05-07 17:50:32 MST ----



*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO76795 ***


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Windows XP</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"