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

sisic suvi at orientalmedia.com
Fri Sep 19 03:30:48 EDT 2008


Hi, I also run into this situation when I install the packages by yum.

After search and test, I remove all the packages with mono and reinstall
them from source.

But the libgdiplus was installed by yum, not using the libgdiplus0 source
code.

And the error gone.

Hope this can help u.


pedro.pires wrote:
> 
> 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 
> 
> 
> 
>  
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

-- 
View this message in context: http://www.nabble.com/XSP-Mono---Running-web-applications---Input-string-was-not-in-the-correct-format-tp19558988p19567502.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list