[mono-vb] CS1002 Expecting ;
dods
andrew at hanmer.co.nz
Wed Jun 24 17:17:21 EDT 2009
Hi there,
I had been using Mono 1.2.6 for a while (if it ain't broke, why fix it) but
recently started having problems with one of my websites. It would work for
anywhere from 3 to 24 hours then VBNC would crash.
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.5851
Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved.
Error : VBNC2017: The library
'/tmp/apache-temp-aspnet-0/70a8cc9f/1196bd08.dll' could not be found.
There were 1 errors and 0 warnings.
Compilation took 00:00:00.7137410
I did a lot of searching and concluded that the best play would be to
upgrade to a later version of Mono which I did.
The issue still persists but the error message is different now:
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.
Compiler Error Message: CS1002: Expecting `;'
/index.aspx
Show Detailed Compiler Output:
gmcs /target:library /debug- /optimize+ /warn:0
/out:"/tmp/apache-temp-aspnet-0
/70a8ccec/App_Web_19d82738.dll"
/r:"/usr/lib/mono/gac/System/2.0.0.0__b77a5c561
934e089/System.dll"
/r:"/usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7
f11d50a3a/System.Configuration.dll"
/r:"/usr/lib/mono/gac/System.Data/2.0.0.0__
b77a5c561934e089/System.Data.dll"
/r:"/usr/lib/mono/gac/System.Drawing/2.0.0.0_
_b03f5f7f11d50a3a/System.Drawing.dll"
/r:"/usr/lib/mono/gac/System.Web/2.0.0.0_
_b03f5f7f11d50a3a/System.Web.dll"
/r:"/usr/lib/mono/gac/System.Web.Services/2.0
.0.0__b03f5f7f11d50a3a/System.Web.Services.dll"
/r:"/usr/lib/mono/gac/System.Xm
l/2.0.0.0__b77a5c561934e089/System.Xml.dll"
/r:"/tmp/apache-temp-aspnet-0/70a8c
cec/assembly/shadow/04e2c4cc/58f7194e_5c15dd82_00000002/MySql.Data.dll"
/r:"/tm
p/apache-temp-aspnet-0/70a8ccec/App_global.asax.6fa1d7da.dll" --
"/tmp/apache
-temp-aspnet-0/70a8ccec/App_Web_19d82738_0.cs"
"/tmp/apache-temp-aspnet-0/70a8c
cec/App_Web_19d82738_1.cs"
/tmp/apache-temp-aspnet-0/70a8ccec/App_Web_19d82738_0.cs(74,27): error
CS1002:
Expecting `;'
/tmp/apache-temp-aspnet-0/70a8ccec/App_Web_19d82738_0.cs(79,9): error
CS1012: T
oo many characters in character literal
/tmp/apache-temp-aspnet-0/70a8ccec/App_Web_19d82738_0.cs(82,1): error
CS1012: T
oo many characters in character literal
/tmp/apache-temp-aspnet-0/70a8ccec/App_Web_19d82738_0.cs(87,27): error
CS1002:
Expecting `;'
/tmp/apache-temp-aspnet-0/70a8ccec/App_Web_19d82738_0.cs(91,12): error
CS1002:
Expecting `;'
/tmp/apache-temp-aspnet-0/70a8ccec/App_Web_19d82738_0.cs(98,21): error
CS1002:
Expecting `;'
/tmp/apache-temp-aspnet-0/70a8ccec/App_Web_19d82738_0.cs(102,9): error
CS1002:
Expecting `;'
/tmp/apache-temp-aspnet-0/70a8ccec/App_Web_19d82738_1.cs(74,28): error
CS1002:
Expecting `;'
/tmp/apache-temp-aspnet-0/70a8ccec/App_Web_19d82738_1.cs(99,9): error
CS1002: E
xpecting `;'
/tmp/apache-temp-aspnet-0/70a8ccec/App_Web_19d82738_1.cs(103,9): error
CS1002:
Expecting `;'
_________________________________________________________________
Version information: Mono Version: 2.0.50727.42; ASP.NET Version:
2.0.50727.42
It looks like the compiler has changed from VBNC to GMCS.
My pages all have Language="vb" and all my other websites continue to
function while this one is down.
Any advice would be very much appreciated!
--
View this message in context: http://www.nabble.com/CS1002-Expecting---tp24193075p24193075.html
Sent from the Mono - VB mailing list archive at Nabble.com.
More information about the Mono-vb
mailing list