Basic Problem with ASP.Net

sneckelmann

New Member
Messages
19
Reaction score
0
Points
0
I have a simple website at (http://neckelmann.x10hosting.com/). The website begins with the following coding:

Code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Page.IsPostBack = False Then
Response.Write("no text")
End If
Exit Sub

Coding of course continues if IsPostBack = True. The coding works fine locally but on here I get the following error:

Code:
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) [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.1433; ASP.NET Version: 2.0.50727.1433

Can anyone point me in the right direction on fixing this error? I believe the problem truly lies in Mono.
 

sneckelmann

New Member
Messages
19
Reaction score
0
Points
0
The problem was in my markup design. Colors were given by name instead of their hex value.

Problem seems to be with Mono.
 
Top