[Mono-list] Program start shows MS-DOS header error message
Andrew K.
ak at orangedental.de
Thu Sep 9 05:34:25 EDT 2010
Hi there,
I spent the last days on getting our application to run with mono.
I'm developing on a Windows XP SP3 system with Visual Studio 10 and .NET
3.5.
For the local tests I installed mono-2.6.7. Additionally I installed Cygwin
and installed there the current trunk version from SVN and compiled it with
the "profile4=yes" flag.
If I try the mono.exe from within "Mono-2.6.7\bin" in my program files
directory following output appears if I use the --security flag (full call:
"mono --security byzz.exe"):
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the
`C:\Programme\Mono-2.6.7\lib\mono\2.0\mscorlib.dll´ directory.
Of course the mscorlib.dll exists and for testing purposes I installed it in
the gac as well.
Google shows a lot of entries concerning this message and some of them
helped me a little bit. After puzzling around a while with different other
possibilities and changing some of my project buildups I tried additionally
the mono.exe from within my C:\cygwin\usr\local\bin directory.
Full call:
C:\cygwin\usr\local\bin>mono --security
d:\byzz\byzz60\trunk\bin\release\byzz.exe
Could not load image d:\byzz\byzz60\trunk\bin\release\byzz.exe due to Not
enough space for the MS-DOS header
Could not load image C:\cygwin\usr\local\lib\mono\2.0\mscorlib.dll due to
Not enough space for the MS-DOS header
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the
`C:\cygwin\usr\local\lib\mono\2.0\mscorlib.dll' directory.
(I should mention that nothing else happened. The only interesting thing is,
if I omit the --security flag an empty window appears with the name of our
application in its caption. I'm able to close the window but I have to kill
the mono.exe process by hand.)
The MS DOS thing makes my weird and I found only one entry with google
concerning this:
http://www.mail-archive.com/mono-bugs@lists.ximian.com/msg76179.html
http://www.mail-archive.com/mono-bugs@lists.ximian.com/msg76179.html
But unfortunately I can't make head or tail of it so I'm completely stuck at
this point.
It looks like a beginner problem to me so maybe someone can help.
Regards
Andrew
--
View this message in context: http://mono.1490590.n4.nabble.com/Program-start-shows-MS-DOS-header-error-message-tp2532540p2532540.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list