[Mono-aspnet-list] Input String was not in the correct format
gep13 at hotmail.com
Sat Aug 15 04:20:53 EDT 2009
I was wondering if someone would be able to help.
I have recently re-installed mono on my Linux Server and have redeployed my
website to it. Now, whenever I try and access any of the pages of that site
all I get is the following:
Server Error in '/' Application
Input string was not in the correct format
Description: HTTP 500. Error processing request.
System.FormatException: Input string was not in the correct format
at System.Int32.Parse (System.String s, NumberStyles style,
IFormatProvider provider) [0x00016] in
(ITypeDescriptorContext context, System.Globalization.CultureInfo culture,
System.Object value) [0x000f2] in
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
Can anyone suggest why this would be happening?
The website runs fine when I run it on my windows machine.
For your information, I compiled mono, xsp, and mod_mono from source. I get
this error whether I run the application through either XSP or mod_mono.
I have done some googling, and I am finding reference to this problem being
related to a lack of libgdiplus, however, as far as I can see, I have done
all the steps necessary to install both mono and libgdiplus.
This is what I did:
tar xfj libgdiplus-2.4.2.tar.bz2
tar xfj mono-22.214.171.124.tar.bz2
tar xfj xsp-2.4.2.tar.bz2
tar xfj mod_mono-2.4.2.tar.bz2
The mono xsp tests pages all work, and so does a very simple Hello World
Application that I knocked up, but when I try and browse my website (which
did work on a previous mono installation), I get the error mentioned above.
Any help would be greatfully received!!
View this message in context: http://www.nabble.com/Input-String-was-not-in-the-correct-format-tp24979333p24979333.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list