[Mono-list] XSP/Mono - Running web applications - Input string was not in the correct format

Pedro Pires pedro.pires at link.pt
Thu Sep 18 14:27:17 EDT 2008


Hello all,

 

I've installed mono/xsp/mod_mono 1.9.1 and 2.0 RC1 in a Red Hat Enterprise
Linux 64 Bits.

I've been using mono console applications for some time without problems.

 

But now I've deployed an web application after installed and configured
mod_mono and Xsp.

 

I get the following error

Server Error in '/TraftelWebAdmin' 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) [0x00000] 

  at System.Web.UI.WebControls.WebColorConverter.ConvertFrom
(ITypeDescriptorContext context, System.Globalization.CultureInfo culture,
System.Object value) [0x00000] 

 
----------------------------------------------------------------------------
----

Version information: Mono Version: 2.0.50727.42; ASP.NET Version:
2.0.50727.42

 

I've been searching for the solution for some days now, but I didn't found
any. I installed 2.0 but the problem remains.

 

I had to install everything on separate directories and user.

I've saw some people saying this could be because I don't have libgdiplus
and it's necessary for web applications.

 

I got the library for this distribution from a rpm and installed it on mono
lib directory. But the problem remains.

 

Anyone have experienced this problem? Is there any way I can get more
information from XSP/mod_mono?

 

This web application works well on my development machine (Slackware Linux
12.0).

 

Any help would be appreciated. I have to deploy to this machine because it's
the production environment.

 

Thanks in advance

 

Pedro Jorge Pires 



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080918/c727f2ac/attachment.html 


More information about the Mono-list mailing list