[Mono-list] VB.Net ASP - CodePage 1252 not supported
"Andrés G. Aragoneses"
knocte at gmail.com
Sun Oct 12 13:49:42 EDT 2008
Andrés G. Aragoneses wrote:
> Adelle Hartley wrote:
>> Hi,
>>
>> I'm getting this error when I create a new VB.Net ASP web site in
>> MonoDevelop version 1.9.0 and then try to view the site. I'm using
>> Ubuntu 8.04, and vbnc 0.0.0.5693.
>>
>> Any ideas?
>>
>> Adelle.
>>
>>
>> Server Error in '/' Application
>> Compilation Error
>>
>> Description: Error compiling a resource required to service this
>> request. Review your source file and modify it to fix this error.
>>
>> Error message:
>>
>> (0,0) : error VBNC_CRASH: Visual Basic.Net Compiler version 0.0.0.5693
>> Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved.
>>
>>
>> /tmp/adelle-temp-aspnet-0/50b9d384/5c8f06ec.0.vb (12,18) : Warning
>> VBNC99999: Option Strict Off will probably fail.
>> Unexpected error: CodePage 1252 not supported
>> at System.Text.Encoding.GetEncoding (Int32 codePage) [0x00000]
>> at Microsoft.VisualBasic.Strings.Asc (Char c) [0x00000]
>> at vbnc.TypeConverter.GetResultType (TypeCode op1, TypeCode op2,
>> System.String array) [0x00000]
>> at vbnc.TypeConverter.GetEqualsOperandType (TypeCode op1, TypeCode op2)
>> [0x00000]
>> at vbnc.TypeConverter.GetBinaryOperandType (KS op, TypeCode op1,
>> TypeCode op2) [0x00000]
>> at vbnc.BinaryExpression.get_OperandTypeCode () [0x00000]
>> at vbnc.BinaryExpression.ResolveExpressionInternal (vbnc.ResolveInfo
>> Info) [0x00000]
>> at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo)
>> [0x00000]
>> at vbnc.ParenthesizedExpression.ResolveExpressionInternal
>> (vbnc.ResolveInfo Info) [0x00000]
>> at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo)
>> [0x00000]
>> at vbnc.IfStatement.ResolveStatement (vbnc.ResolveInfo Info) [0x00000]
>> at vbnc.CodeBlock.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
>> at vbnc.MethodBaseDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
>> at vbnc.ConstructorDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
>> at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection,
>> vbnc.ResolveInfo Info) [0x00000]
>> at vbnc.BaseObjects`1[vbnc.IMember].ResolveCode (vbnc.ResolveInfo )
>> [0x00000]
>> at vbnc.TypeDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
>> at vbnc.ClassDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
>> at vbnc.AssemblyDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
>> at vbnc.Compiler.Compile_Resolve () [0x00000]
>> at vbnc.Compiler.Compile () [0x00000]
>> Compilation took 00:00:01.5914630
>>
>
> Could you please try to isolate the problem and attach a testcase in a bug:
>
> http://www.mono-project.com/Bugs
>
> In the meantime, it seems that the easiest and fastest workaround is to
> use Option Strict On.
Wooops, Robert seems to be right. Anyway, using Option Strict On is
always better.
Andrés
--
More information about the Mono-list
mailing list