[Mono-aspnet-list] Input String was not in the correct format

gep13 gep13 at hotmail.com
Mon Aug 17 06:03:05 EDT 2009


Hello,

Thank you for taking the time to respond.

I have not changed the locale of the website since it was working, to where
it is now, i.e. not working.  My Locale is UK.

I still believe that this is a problem with the Mono installation, rather
than anything in the code, as the Code was working.  Is there anyway to
confirm the Mono and libgdiplus are currently communicating correctly?

Thanks

Gary


Andreia Gaita wrote:
> 
> On 8/15/09, gep13 <gep13 at hotmail.com> wrote:
>>  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.
>>
>>  Stack Trace:
>>
>>  System.FormatException: Input string was not in the correct format
>>   at System.Int32.Parse (System.String s, NumberStyles style,
>>  IFormatProvider provider) [0x00016] in
>>  /tmp/Downloads/mono-2.4.2.3/mcs/class/corlib/System/Int32.cs:599
>>   at System.Web.UI.WebControls.WebColorConverter.ConvertFrom
>>  (ITypeDescriptorContext context, System.Globalization.CultureInfo
>> culture,
>>  System.Object value) [0x000f2] in
>> 
>> /tmp/Downloads/mono-2.4.2.3/mcs/class/System.Web/System.Web.UI.WebControls/WebColorConverter.cs:92
>>  Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
>>  2.0.50727.1433
> 
> The error message seems to indicate that a color value on your site is
> specified using a different format than what your locale is expecting.
> What locale are you running your site with? Did you change it?
> 
> andreia gaita
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Input-String-was-not-in-the-correct-format-tp24979333p25004153.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list