[Mono-list] VB? Or just C#?

David P. Donahue ddonahue@ccs.neu.edu
Sat, 9 Oct 2004 12:00:27 -0400


> It would  help us a lot if you could send across the error=20
> page returned=20
> by  the server or better still your aspx pages.

The error page returned reads as follows:

--------------------------------------------------------------
Server Error in '/gwcc/test' Application
Compilation Error
Description: Error compiling a resource required to service=20
this request. Review your source file and modify it to fix this error.

Error message: (0,0) : error : THIS IS STILL ALPHA AND=20
UNSUPPORTED SOFTWARE, USE AT YOUR OWN RISK.

File name: /home/www/.www/gwcc/test/Global.asax

Source File:

Line 1: No assembly returned after compilation!?
--------------------------------------------------------------
=20
> So I can only make a guess what the problem could be. =20
>=20
> > Error message: (0,0) : error : THIS IS STILL ALPHA AND UNSUPPORTED=20
> > SOFTWARE, USE AT YOUR OWN RISK.
>=20
> VBCodeCompiler used to consider the above "ALPHA" notice as=20
> an error. This was fixed in VBCodeCompiler.cs (part of=20
> System.dll) sometime back.
>=20
> To rule out this spurious error you can either 1) compile=20
> System.dll from=20
> cvs HEAD and install the same or 2) Upgrade to the  latest mono 1.0.1=20
> packages.

I was using mono 1.0.1, sorry I didn't specify that earlier.  I just
installed mono 1.0.2 but am having the same problem.  Should I push into
1.1.1 (development version) or is that not recommended?



Regards,
David P. Donahue
ddonahue@ccs.neu.edu

>=20
>=20
> Regards,
> Jambunathan K.
>=20
>=20
> >>> "David P. Donahue" <ddonahue@ccs.neu.edu> 10/09/04 6:21 AM >>>
> I managed to make the same small test page on a machine=20
> running Visual Studio .NET 2003, just to test the updated=20
> Microsoft.VisualBasic.dll and see if that solved the problem.=20
>  Now when I try to browse to the page (which is just a button=20
> and a label) I get the following error page:
>=20
> --------------------------------------------------------------
> ----------
> ----
> Server Error in '/gwcc/test' Application
> Compilation Error
> Description: Error compiling a resource required to service=20
> this request. Review your source file and modify it to fix this error.
>=20
> Error message: (0,0) : error : THIS IS STILL ALPHA AND=20
> UNSUPPORTED SOFTWARE, USE AT YOUR OWN RISK.
>=20
> File name: /home/www/.www/gwcc/test/Global.asax
>=20
> Source File:
>=20
> Line 1: No assembly returned after compilation!?
> --------------------------------------------------------------
> ----------
> ----
>=20
> Also, I don't know if I mentioned this before or if it makes=20
> a difference, but I'm running mod_mono in Apache 1.3.31 on=20
> Slackware 10.0.
>=20
> What could be causing this?
>=20
>=20
> Regards,
> David P. Donahue
> ddonahue@ccs.neu.edu=20
>=20
>=20
>=20
>=20
> > -----Original Message-----
> > From: B Anirban [mailto:banirban@novell.com]
> > Sent: Monday, October 04, 2004 5:25 AM
> > To: ddonahue@ccs.neu.edu; mono-list@lists.ximian.com=20
> > Subject: RE: [Mono-list] VB? Or just C#?
> >=20
> >=20
> > Hi David,
> >=20
> > This problem is occurring since you have an older version of
> > Microsoft.VisualBasic dll.
> > And mono is not yet equipped for remapping this assembly to=20
> > the newer version automatically. Please report bug in=20
> > bugzilla (bugzilla.ximian.com) on this against mbas.
> >=20
> > Thanks.
> > Anirban.
> >=20
> > >>> "David P. Donahue" <ddonahue@ccs.neu.edu> 04-Oct-04 12:45:52 AM
> > >>>
> > I just wrote a very, very simple ASP .NET project in using VB
> > .NET in Visual Studio .NET and tried to run it on mono.  The=20
> > project is just one page with a button that, when pressed,=20
> > changes a label.  I created the page on the localhost on my=20
> > Windows XP machine, build the solution in Visual Studio, then=20
> > copied all the files to a folder shared by my Apache server=20
> > (running mono) on my Linux box.  When I attempt to access the=20
> > page, I get a stack trace that ends with a "file not found"=20
> > error for the .dll (even though it is there) and see the=20
> > following in my Apache error log:
> >=20
> > ** (/usr/local/bin/mod-mono-server.exe:10038): WARNING **:
> > Could not find assembly Microsoft.VisualBasic, references=20
> > from /home/www/.www/gwcc/test/bin/gwcc.dll (assemblyref_index=3D1)
> >      Major/Minor: 7,0
> >      Build:       3300,0
> >      Token:       b03f5f7f11d50a3a
> >=20
> > Should this be happening, or am I doing something wrong?
> >=20
> >=20
> > Regards,
> > David P. Donahue
> > ddonahue@ccs.neu.edu
> >=20
> >=20
> >=20
> >=20
> > > -----Original Message-----
> > > From: Juan Crist=F3bal Olivares [mailto:jc.olivares@pad.cl]
> > > Sent: Sunday, September 12, 2004 4:16 PM
> > > To: David P. Donahue; mono-list@lists.ximian.com=20
> > > Subject: Re: [Mono-list] VB? Or just C#?
> > >=20
> > >=20
> > > Mono does not have a VB.NET compiller. You could compile=20
> your VB.NET=20
> > > site with .NET (Windows) and the run it with Mono.
> > >=20
> > > Juan Crist=F3bal Olivares
> > >=20
> > > ----- Original Message -----
> > > From: "David P. Donahue" <ddonahue@ccs.neu.edu>
> > > To: <mono-list@lists.ximian.com>
> > > Sent: Saturday, September 11, 2004 7:49 PM
> > > Subject: [Mono-list] VB? Or just C#?
> > >=20
> > >=20
> > > > Can Mono compile ASP .NET websites written in VB, or is it
> > > limited to
> > > > only C#?  If it can, I'm having trouble finding=20
> documentation on=20
> > > > how...
> > > >
> > > >
> > > > David P. Donahue
> > > >
> > > > _______________________________________________
> > > > Mono-list maillist  -  Mono-list@lists.ximian.com
> > > > http://lists.ximian.com/mailman/listinfo/mono-list=20
> > >=20
> > >=20
> >=20
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list=20
> >=20
>=20
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com=20
> http://lists.ximian.com/mailman/listinfo/mono-list
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>=20