[Mono-list] Error VBNC30203: Not valid as identifier?

Rolf Bjarne Kvinge rolflists at ya.com
Wed Jan 16 13:34:03 EST 2008



> -----Original Message-----
> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> bounces at lists.ximian.com] On Behalf Of Jason DeVelvis
> Sent: miércoles, 16 de enero de 2008 19:15
> To: mono-list at lists.ximian.com
> Subject: Re: [Mono-list] Error VBNC30203: Not valid as identifier?
> 
> 
> I can, but I'm thinking it's just a case of me not setting up mono
> 1.2.6, xsp 2, and mod_mono 2 correctly on my server.
> 

If it's happening with xsp2 as well, then it has nothing to do with
mod_mono/apache configuration, and if a dummy asp.net file works in xsp2,
you've got xsp2 setup correctly.

Given that VB hasn't been used nearly as much as C# on mono/ASP.Net, you
might be hitting a bug there.

Rolf

> Are there any resources I can go to to pay someone to get it set up
> correctly for me at a decent price? I have a good feeling that's the
> problem, and once that's taken care of I should be able to run my app
> with
> no problems. (It's all standard vb asp.net 2.0 code, with a few
> standard 3rd
> party .dlls)
> 
> Thanks!
> Jason
> 
> 
> Rolf Bjarne Kvinge-2 wrote:
> >
> >
> >
> >> -----Original Message-----
> >> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> >> bounces at lists.ximian.com] On Behalf Of Jason DeVelvis
> >> Sent: lunes, 14 de enero de 2008 17:01
> >> To: mono-list at lists.ximian.com
> >> Subject: Re: [Mono-list] Error VBNC30203: Not valid as identifier?
> >>
> >>
> >> My mono version is 1.2.6, as is my copy of xsp and xsp2.
> >>
> >> Here's the output from one of the files it lists in the error:
> >>
> >> vti_encoding:SR|utf8-nl
> >> vti_timelastmodified:TR|10 Jan 2008 12:42:41 -0000
> >> vti_extenderversion:SR|5.0.2.6790
> >> vti_lineageid:SR|{B99B3351-D012-44F7-9982-9167481B82E6}
> >> vti_backlinkinfo:VX|
> >> vti_author:SR|jasonserver\\jason
> >> vti_modifiedby:SR|jasonserver\\jason
> >> vti_nexttolasttimemodified:TW|08 Sep 2007 18:13:52 -0000
> >> vti_timecreated:TR|10 Jan 2008 12:42:41 -0000
> >> vti_cacheddtm:TX|08 Sep 2007 18:13:52 -0000
> >> vti_filesize:IR|22196
> >
> > This clearly isn't valid VB.
> >
> > However it's hard to find the cause without having a reproducible
> test
> > case,
> > any chance you can send us one (either publicly or privately)?
> >
> > Rolf
> >
> >>
> >> So it must be trying to grab data from my files.
> >>
> >> Before now, I wasn't actively running xsp or xsp2, but I ran xsp2
> and
> >> refreshed the page and got the same error. I have these lines in my
> >> httpd.conf file:
> >>
> >> Include /etc/apache2/mod_mono.conf
> >> MonoServerPath /usr/bin/mod-mono-server2
> >>
> >> I figured the mod-mono-server2 was what told apache to use
> mod_mono2,
> >> am I
> >> wrong?
> >>
> >> Thanks for your help!
> >> Jason
> >>
> >>
> >> Rolf Bjarne Kvinge-2 wrote:
> >> >
> >> >
> >> >
> >> >> -----Original Message-----
> >> >> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> >> >> bounces at lists.ximian.com] On Behalf Of Jason DeVelvis
> >> >> Sent: viernes, 11 de enero de 2008 19:52
> >> >> To: mono-list at lists.ximian.com
> >> >> Subject: Re: [Mono-list] Error VBNC30203: Not valid as
> identifier?
> >> >>
> >> >>
> >> >> As far as I know, I'm using 1.2.6, (That's what I installed, but
> the
> >> >> man page says 1.0) is there another way to verify that?
> >> >
> >> > "mono --version" will show you the version you're using
> >> >>
> >> >> I installed mono, mod_mono, xsp, and mono-basic from source from
> the
> >> >> http://go-mono.com/sources-stable/ list yesterday.
> >> >
> >> > Are you using mod_mono2 or xsp2?
> >> >
> >> >> I didn't install mono-basic until after I encountered a problem
> >> running
> >> >> my app, though, if that helps.
> >> >>
> >> >> And as for what's in the /tmp/apache-temp-aspnet-
> >> >> 0/e6918b54/37fa1594._30.vb
> >> >> file, I have no idea - I unpacked mono, mod_mono, xsp, and mono-
> >> basic
> >> >> into the /tmp folder, but my asp.net app never went there.
> >> >>
> >> >
> >> > Set the environment variable MONO_ASPNET_NODELETE=1 and then try
> >> again
> >> > with
> >> > xsp2 (you'll get the same problem, bug the filename will be
> >> different, and
> >> > mono won't delete it, so you can see what it contains).
> >> >
> >> > Rolf
> >> >
> >> >> Thanks,
> >> >> Jason
> >> >>
> >> >>
> >> >> Rolf Bjarne Kvinge-2 wrote:
> >> >> >
> >> >> >
> >> >> >
> >> >> >> -----Original Message-----
> >> >> >> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> >> >> >> bounces at lists.ximian.com] On Behalf Of PMicro
> >> >> >> Sent: viernes, 11 de enero de 2008 18:34
> >> >> >> To: mono-list at lists.ximian.com
> >> >> >> Subject: [Mono-list] Error VBNC30203: Not valid as identifier?
> >> >> >>
> >> >> >>
> >> >> >> I'm trying to port a ASP.Net 2.0 app (written in vb.net) over
> to
> >> >> mono,
> >> >> >> and I'm running into problems. So far, I've been able to
> search
> >> and
> >> >> find
> >> >> >> answers to my problems, but this one isn't coming up in any
> >> searches
> >> >> I've
> >> >> > made.
> >> >> >>
> >> >> >> I've tried porting the app for JIT comiling and I've also
> tried
> >> >> >> precompiling the app, and I'm getting this error both ways:
> >> >> >>
> >> >> >> Compilation Error
> >> >> >> Description: Error compiling a resource required to service
> this
> >> >> >> request. Review your source file and modify it to fix this
> error.
> >> >> >
> >> >> > Which version of mono are you using? An bug which caused this
> kind
> >> of
> >> >> > failure was fixed recently (when trying to compile resource
> files
> >> >> without
> >> >> > any resources).
> >> >> >
> >> >> >>
> >> >> >> Error message:
> >> >> >>
> >> >> >> (0,0) : error VBNC_CRASH: Visual Basic.Net Compiler version
> >> >> 0.0.0.5850
> >> >> >> Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights
> reserved.
> >> >> >>
> >> >> >>
> >> >> >> Already added type: Members_Default
> >> >> >> Already added type: MasterPage
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (1,14) :
> Error
> >> >> >> VBNC30203:
> >> >> >
> >> >> > What's in /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb?
> >> >> >
> >> >> > Rolf
> >> >> >
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (1,17) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (2,21) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (2,24) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (3,20) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (3,23) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (4,14) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (4,17) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (5,17) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (5,20) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (6,11) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (6,14) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (7,15) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (7,18) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (8,27) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (8,30) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (9,16) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (9,19) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (10,14) :
> >> Error
> >> >> >> VBNC30203: Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (10,17) :
> >> Error
> >> >> >> VBNC30037: Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (11,13) :
> >> Error
> >> >> >> VBNC30203: Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._30.vb (11,16) :
> >> Error
> >> >> >> VBNC30037: Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (1,14) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (1,17) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (2,21) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (2,24) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (3,20) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (3,23) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (4,14) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (4,17) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (5,17) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (5,20) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (6,11) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (6,14) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (7,15) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (7,18) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (8,27) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (8,30) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (9,16) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (9,19) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (10,14) :
> >> Error
> >> >> >> VBNC30203: Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (10,17) :
> >> Error
> >> >> >> VBNC30037: Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (11,13) :
> >> Error
> >> >> >> VBNC30203: Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._31.vb (11,16) :
> >> Error
> >> >> >> VBNC30037: Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._32.vb (1,14) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._32.vb (1,17) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._32.vb (2,21) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._32.vb (2,24) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._32.vb (3,20) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._32.vb (3,23) :
> Error
> >> >> >> VBNC30037:
> >> >> >> Symbol is not valid.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._32.vb (4,14) :
> Error
> >> >> >> VBNC30203:
> >> >> >> Not valid as identifier.
> >> >> >> /tmp/apache-temp-aspnet-0/e6918b54/37fa1594._32.vb (4,14) :
> Error
> >> >> >> VBNC30041:
> >> >> >> Too many errors.
> >> >> >> Exception of type 'vbnc.TooManyErrorsException' was thrown.
> >> >> >> at vbnc.Report.ShowMessage (Boolean SaveIt, vbnc.Message
> Message)
> >> >> >> [0x00080]
> >> >> >> in /tmp/mono-basic-
> 1.2.6/vbnc/vbnc/source/General/Report.vb:365
> >> >> >> at vbnc.Report.ShowMessage (Messages Message, Span Location,
> >> >> >> System.String[]
> >> >> >> Parameters) [0x00000] in
> >> >> >> /tmp/mono-basic-1.2.6/vbnc/vbnc/source/General/Report.vb:282
> >> >> >> at vbnc.Report.ShowMessage (Messages Message, System.String[]
> >> >> >> Parameters)
> >> >> >> [0x00054] in /tmp/mono-basic-
> >> >> >> 1.2.6/vbnc/vbnc/source/General/Report.vb:292
> >> >> >> at vbnc.Compiler.Compile () [0x005a3] in
> >> >> >> /tmp/mono-basic-1.2.6/vbnc/vbnc/source/General/Compiler.vb:647
> >> >> >> at vbnc.Compiler.Compile (System.String[] CommandLine)
> [0x00057]
> >> in
> >> >> >> /tmp/mono-basic-1.2.6/vbnc/vbnc/source/General/Compiler.vb:279
> >> >> >> at vbnc.Main.Main (System.String[] CmdArgs) [0x0000f] in
> >> >> >> /tmp/mono-basic-1.2.6/vbnc/vbnc/source/General/Main.vb:55
> >> >> >> Failed compilation took 00:00:03.7690210
> >> >> >>
> >> >> >> Any ideas?
> >> >> >>
> >> >> >> Thanks,
> >> >> >> Jason
> >> >> >> --
> >> >> >> View this message in context: http://www.nabble.com/Error-
> >> >> VBNC30203%3A-
> >> >> >> Not-valid-as-identifier--tp14761270p14761270.html
> >> >> >> Sent from the Mono - General mailing list archive at
> Nabble.com.
> >> >> >>
> >> >> >> _______________________________________________
> >> >> >> Mono-list maillist  -  Mono-list at lists.ximian.com
> >> >> >> http://lists.ximian.com/mailman/listinfo/mono-list
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> No virus found in this incoming message.
> >> >> >> Checked by AVG Free Edition.
> >> >> >> Version: 7.5.516 / Virus Database: 269.19.0/1218 - Release
> Date:
> >> >> >> 10/01/2008 13:32
> >> >> >
> >> >> > _______________________________________________
> >> >> > 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/Error-
> >> VBNC30203%3A-
> >> >> Not-valid-as-identifier--tp14761270p14762836.html
> >> >> Sent from the Mono - General mailing list archive at Nabble.com.
> >> >>
> >> >> _______________________________________________
> >> >> Mono-list maillist  -  Mono-list at lists.ximian.com
> >> >> http://lists.ximian.com/mailman/listinfo/mono-list
> >> >>
> >> >>
> >> >> --
> >> >> No virus found in this incoming message.
> >> >> Checked by AVG Free Edition.
> >> >> Version: 7.5.516 / Virus Database: 269.19.0/1218 - Release Date:
> >> >> 10/01/2008 13:32
> >> >
> >> > _______________________________________________
> >> > 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/Error-
> VBNC30203%3A-
> >> Not-valid-as-identifier--tp14761270p14804475.html
> >> Sent from the Mono - General mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> Mono-list maillist  -  Mono-list at lists.ximian.com
> >> http://lists.ximian.com/mailman/listinfo/mono-list
> >>
> >>
> >> --
> >> No virus found in this incoming message.
> >> Checked by AVG Free Edition.
> >> Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date:
> >> 13/01/2008 20:23
> >
> > _______________________________________________
> > 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/Error-VBNC30203%3A-
> Not-valid-as-identifier--tp14761270p14888025.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.19.4/1227 - Release Date:
> 16/01/2008 1:40




More information about the Mono-list mailing list