[Mono-aspnet-list] Implementing web site

nzsaint chrisbrown76 at hotmail.com
Mon Jun 1 01:31:20 EDT 2009


Thanks. I used the tool as you suggested and seem to have made some progress.
I copied the built website to /srv/www/testsite on opensuse and then placed
the mod_mono.conf file in /etc/apache2/conf.d as instructed. 

After restarting apache and browsing to a basic test page in my site I had a
VBNC99997 compiler error. I took this as a good sign as far as mono appeared
to be compiling my application. I was able to temporarily comment out the
offending line of code in order to proceed and now I have a further error:

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
/usr/src/packages/BUILD/mono-2.0.1/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
/usr/src/packages/BUILD/mono-2.0.1/mcs/class/System.Web/System.Web.UI.WebControls/WebColorConverter.cs:92 

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

Could you offer any further suggestions? In addition I have read that it is
possible to precompile my site with v2.4- this may be an option for me to
overcome the compiler error although once again I am unclear on the steps to
achieve this. Thank you.


Derek Ekins wrote:
> 
> Compile your site.Copy it to your linux box.
> Now use this tool to configure apache http://go-mono.com/config-mod-mono/
> 
> You will need to copy the config file to (our the equivelant on suse)
> /etc/apache2/sites-available
> And then create symbolic link in the corresponding sites-enabled
> directory.
> 

-- 
View this message in context: http://www.nabble.com/Implementing-web-site-tp23799638p23810127.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list