[Gtk-sharp-list] C# binary issue
Chris Howie
cdhowie at gmail.com
Wed Jun 24 13:21:03 EDT 2009
On Wed, Jun 24, 2009 at 9:05 AM, Cere<cere.mail at gmail.com> wrote:
> Hello,
>
> First of all i want to apologise if this is not the right list to post this.
> I am a system administrator trying to run a C# binary on Linux as to avoid a
> windows (server) instalation.
>
> Here is the error i get:
>
> Unhandled Exception: System.FormatException: Input string was not in the
> correct format
> at System.Int16.Parse (System.String s) [0x00014] in
> /builddir/build/BUILD/mono-2.4/mcs/class/corlib/System/Int16.cs:212
> at System.Convert.ToInt16 (System.String value) [0x00008] in
> /builddir/build/BUILD/mono-2.4/mcs/class/corlib/System/Convert.cs:1102
> at gameClass.Game.initRooms () [0x00000]
> at gameClass.Game.initEngine () [0x00000]
> at ChatServer.AppMain.Main (System.String[] args) [0x00000]
>
> I have the same problem whether I am runnning mono 2.4 on Fedora 11 or 1.2
> on CentOS 5.2. (in both cases i used the rpms yum provides). libgdiplus is
> installed.
> I am not a programmer so i don't know where to begin in tackling this issue.
> Any sugestion would be gladly appreciated.
It sounds like a bug in the application you are trying to run. The
exception occurs because a string cannot be parsed into a 16-bit
signed number.
--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
More information about the Gtk-sharp-list
mailing list