From sarentasciyan at hotmail.com Mon Jun 4 07:58:15 2007 From: sarentasciyan at hotmail.com (Saren Tasciyan) Date: Mon, 4 Jun 2007 11:58:15 +0000 Subject: [mono-vb] Hi Message-ID: I am new in this mailing list and I have a few questions; - Is there any application which is written in VS.Net and runs on linux with $ mono Application.exe command??? - Do I have to change connection string If I try to run the app on linux? (For example "Provider:Microsoft.Jet.OLEDB.4.0; etc..." Microsoft's driver cant run on linux) Thanks Very Much Saren Ta???yan _________________________________________________________________ Live Earth is coming.? Learn more about the hottest summer event - only on MSN. http://liveearth.msn.com?source=msntaglineliveearthwlm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20070604/bd79113f/attachment-0001.html From rolflists at ya.com Wed Jun 6 21:14:40 2007 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Thu, 7 Jun 2007 03:14:40 +0200 Subject: [mono-vb] Hi In-Reply-To: References: Message-ID: <00d201c7a8a1$395c4da0$ac14e8e0$@com> > > >From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-bounces at lists.ximian.com] On Behalf Of Saren Tasciyan >Sent: lunes, 04 de junio de 2007 13:58 >To: mono-vb at lists.ximian.com >Subject: [mono-vb] Hi > >I am new in this mailing list and I have a few questions; >- Is there any application which is written in VS.Net and runs on linux with $ mono Application.exe command??? If this will work or not depends on the application, some applications that uses exclusively .NET features should probably work right away, though most applications will need some work in order to run on linux (see www.mono-project.com/MoMA for more information). >- Do I have to change connection string If I try to run the app on linux? (For example "Provider:Microsoft.Jet.OLEDB.4.0; etc..." Microsoft's driver cant run on linux) >? That depends on the database you're using, you might be better off asking on the mono-list instead of the vb list. Rolf Thanks Very Much Saren Ta???yan ________________________________________ Live Earth is coming.? Learn more about the hottest summer event - only on MSN. Check it out! From troy.werner at att.net Thu Jun 7 19:25:29 2007 From: troy.werner at att.net (Troy Werner) Date: Thu, 07 Jun 2007 18:25:29 -0500 Subject: [mono-vb] VB Compiler Message-ID: <466893E9.4070208@att.net> Hello, I am a new mono user. Took some doing, but I do have MonoDevelop working and compiling using the vbnc compiler. I write mostly engineering type software. Could be called utilities I guess. I am interested in mono because the company I work for does International business and Microsoft isn't always king in other countries. Haven't had any requests for Linux support yet, but I know they are in the future. So that is more or less why I am here... I am having a lot of difficulty getting what I would call a very simple program to run on mono. I am trying to compile it on my Linux machine, in the hope the compiler will give me some clue as to what might need to be changed. But the compiler doesn't seem to give very useful reports. It tells me the type of problem, but not where to look for it. Might be using compiler wrong, can't find any information about how to use it. So here are a few questions. :-) Are there any instructions for the vbnc compiler? (Example of how to compile a Visual Studio solution from the command line would be awesome) Which of the many downloads would give me the source for the compiler? Does the group believe monodevelop is the correct tool for VB.NET on Linux? Are there any other IDEs worth looking at? Am I going at this the wrong way? The programs I have compiled with Visual Studio, do open on Mono, they just don't keep running. :-( That's enough for now. :-) Thanks. Troy Werner From rolflists at ya.com Thu Jun 7 19:56:23 2007 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Fri, 8 Jun 2007 01:56:23 +0200 Subject: [mono-vb] VB Compiler In-Reply-To: <466893E9.4070208@att.net> References: <466893E9.4070208@att.net> Message-ID: <00df01c7a95f$73fc4b90$5bf4e2b0$@com> > > Hello, > I am a new mono user. Took some doing, but I do have MonoDevelop > working and compiling using the vbnc compiler. I write mostly > engineering type software. Could be called utilities I guess. I am > interested in mono because the company I work for does International > business and Microsoft isn't always king in other countries. Haven't > had any requests for Linux support yet, but I know they are in the > future. So that is more or less why I am here... > > I am having a lot of difficulty getting what I would call a very > simple program to run on mono. I am trying to compile it on my Linux > machine, in the hope the compiler will give me some clue as to what > might need to be changed. But the compiler doesn't seem to give very > useful reports. It tells me the type of problem, but not where to look > for it. Might be using compiler wrong, can't find any information > about how to use it. So here are a few questions. :-) vbnc's error messages are still very basic, and most of the time it will just crash when it encounters invalid code. It would however be of great help if you included the compiler output. > Are there any instructions for the vbnc compiler? (Example of how to > compile a Visual Studio solution from the command line would be > awesome) You can't just do "vbnc mysolution.sln", the compiler doesn't understand the solution file, you have to pass it the command line arguments and source files by hand. On the other hand the vbnc compiler's usage is exactly like the MS' vbc compiler, you can use MSDN to find out how to use vbc, and just replace vbc with vbnc and it *should* work. If it doesn't it's a bug, and please send a mail here or open a bugreport (http://bugzilla.ximian.com). When compiling in VS2005 the command line used to invoke vbc is normally written to the output window, you can also copy that line (it will be long if you have many source files) and replace vbc with vbnc, that should get you starting. Another solution that might work is to open the VS solution in monodevelop, and you should be able to just hit the compile button. > Which of the many downloads would give me the source for the compiler? > Does the group believe monodevelop is the correct tool for VB.NET on > Linux? Are there any other IDEs worth looking at? The vbnc source code is available for browsing here: http://anonsvn.mono-project.com/source/trunk/mono-basic/vbnc/vbnc/source/ To download all the source, get the mono-basic download here: http://go-mono.com/sources-stable/ And yes, we do believe monodevelop is the right tool for VB.NET on Linux, actually I don't think there are other IDE's on Linux that support VB.NET. > Am I going at this the wrong way? The programs I have compiled with > Visual Studio, do open on Mono, they just don't keep running. :-( Again, if you can get more specific (any errors, output, exactly what you expect and what happens, etc) it would be easier to help. Rolf From jmbltx1 at hotmail.com Thu Jun 21 18:50:16 2007 From: jmbltx1 at hotmail.com (JE M.) Date: Thu, 21 Jun 2007 17:50:16 -0500 Subject: [mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix Message-ID: Hello all, I created a simple aspx application that displays a welcome title on my Windows machine using ASP.NET Web Matrix. Then I copied the aspx application to a Linux SUSE Enterprise 10 OS . I have mono JIT compiler version 1.2.4 installed, and XSP web server up and running. I also have installed the vbnc compiler ver. 0.0.0.5058. When I go to my browser and type http://localhost:8080/welcome.aspx I get the following messages: File not found /tmp/root-temp-aspnet-0/a0201acd/56321.dll Description: Error processing request. Error Message: HTTP 404. File not found /tmp/root-temp-aspnet-0/a0201acd/56321.dll Stack Trace: System.IO.FileNotFoundException: /tmp/root-temp-aspnet-0/a0201acd/56321.dll : /tmp/root-temp-aspnet-0/a0201acd/56321.dll in <0x00000> in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool) in <0x0000c> System.Reflection.Assembly:LoadFrom (System.String assemblyFile) in <0x00388> Microsoft.VisualBasic.VBCodeCompiler:CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) in <0x00022> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) in <0x002f5> Microsoft.VisualBasic.VBCodeCompiler:CompileFromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] ea) in <0x00022> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] ea) in <0x0003c> Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDom (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit e) in <0x00121> System.Web.Compilation.CachingCompiler:Compile (System.Web.Compilation.BaseCompiler compiler) in <0x00259> System.Web.Compilation.BaseCompiler:GetCompiledType () in <0x000fa> System.Web.Compilation.AspGenerator:GetCompiledType () in <0x00029> System.Web.UI.PageParser:CompileIntoType () in <0x00011> System.Web.UI.TemplateControlParser:GetCompiledInstance () in <0x00035> System.Web.UI.PageParser:GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) in <0x00010> System.Web.UI.PageHandlerFactory:GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) in <0x001e3> System.Web.HttpApplication:GetHandler (System.Web.HttpContext context) in <0x00894> System.Web.HttpApplication+__1:MoveNext () -------------------------------------------------------------------------------------------------------------------------------- The XSP sends the following message at the end: # xsp --root /home/jm/mono/webappex xsp Listening on port: 8080 (non-secure) Listening on address: 0.0.0.0 Root directory: /home/jmartinez/mono/webappex Hit Return to stop the server. Cannot open assembly /usr/local/lib/mono/1.0/mbas.exe. This is the code of the application I created with Web Matrix: <%@ Page Language="VB" Debug="True" %> <%@ import Namespace="System.Data" %>
Welcome to My Page
Hopefully someone can help me to solve this problem. _________________________________________________________________ Like puzzles? Play free games & earn great prizes. Play Clink now. http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 From rolflists at ya.com Fri Jun 22 03:34:58 2007 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Fri, 22 Jun 2007 09:34:58 +0200 Subject: [mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix In-Reply-To: References: Message-ID: <01ba01c7b49f$d6598820$830c9860$@com> > -----Original Message----- > From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb- > bounces at lists.ximian.com] On Behalf Of JE M. > Sent: viernes, 22 de junio de 2007 0:50 > To: mono-vb at lists.ximian.com > Subject: [mono-vb] Cannot run VB.NET aspx application created with > ASP.NET Web Matrix > > Hello all, I created a simple aspx application that displays a welcome > title > on my Windows machine using ASP.NET Web Matrix. Then I copied the aspx > application to a Linux SUSE Enterprise 10 OS . I have mono JIT compiler > version 1.2.4 installed, and XSP web server up and running. I also have > installed the vbnc compiler ver. 0.0.0.5058. When I go to my browser > and > type http://localhost:8080/welcome.aspx I get the following messages: > > File not found /tmp/root-temp-aspnet-0/a0201acd/56321.dll > Description: Error processing request. > > Error Message: HTTP 404. File not found > /tmp/root-temp-aspnet-0/a0201acd/56321.dll > > Stack Trace: > > System.IO.FileNotFoundException: /tmp/root-temp-aspnet- > 0/a0201acd/56321.dll > : /tmp/root-temp-aspnet-0/a0201acd/56321.dll > in <0x00000> > in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom > (string,bool) > in <0x0000c> System.Reflection.Assembly:LoadFrom (System.String > assemblyFile) > in <0x00388> Microsoft.VisualBasic.VBCodeCompiler:CompileFromFileBatch > (System.CodeDom.Compiler.CompilerParameters options, System.String[] > fileNames) > in <0x00022> > Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromFileBatch > (System.CodeDom.Compiler.CompilerParameters options, System.String[] > fileNames) > in <0x002f5> Microsoft.VisualBasic.VBCodeCompiler:CompileFromDomBatch > (System.CodeDom.Compiler.CompilerParameters options, > System.CodeDom.CodeCompileUnit[] ea) > in <0x00022> > Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDomBatch > (System.CodeDom.Compiler.CompilerParameters options, > System.CodeDom.CodeCompileUnit[] ea) > in <0x0003c> > Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDom > (System.CodeDom.Compiler.CompilerParameters options, > System.CodeDom.CodeCompileUnit e) > in <0x00121> System.Web.Compilation.CachingCompiler:Compile > (System.Web.Compilation.BaseCompiler compiler) > in <0x00259> System.Web.Compilation.BaseCompiler:GetCompiledType () > in <0x000fa> System.Web.Compilation.AspGenerator:GetCompiledType () > in <0x00029> System.Web.UI.PageParser:CompileIntoType () > in <0x00011> System.Web.UI.TemplateControlParser:GetCompiledInstance () > in <0x00035> System.Web.UI.PageParser:GetCompiledPageInstance > (System.String > virtualPath, System.String inputFile, System.Web.HttpContext context) > in <0x00010> System.Web.UI.PageHandlerFactory:GetHandler > (System.Web.HttpContext context, System.String requestType, > System.String > url, System.String path) > in <0x001e3> System.Web.HttpApplication:GetHandler > (System.Web.HttpContext > context) > in <0x00894> System.Web.HttpApplication+__1:MoveNext () > ----------------------------------------------------------------------- > --------------------------------------------------------- > The XSP sends the following message at the end: > # xsp --root /home/jm/mono/webappex You need to use xsp2, not xsp - vbnc can only generate v2.0 assemblies and xsp can't load them, you'll need to use xsp2. Rolf From jmbltx1 at hotmail.com Fri Jun 22 11:43:27 2007 From: jmbltx1 at hotmail.com (JE M.) Date: Fri, 22 Jun 2007 10:43:27 -0500 Subject: [mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix In-Reply-To: <01ba01c7b49f$d6598820$830c9860$@com> Message-ID: Hi Rolf, thanks for you help, I ran XSP2, went to my browser, typed http://localhost:8080/welcome.aspx and got a similar message: xsp2 --root /home/jmartinez/mono/webappex xsp2 Listening on port: 8080 (non-secure) Listening on address: 0.0.0.0 Root directory: /home/jmartinez/mono/webappex Hit Return to stop the server. Cannot open assembly /usr/local/lib/mono/1.0/mbas.exe. My question is, by running the XSP2 server, the application I created in VB.NET with Web Matrix and copied to /home/jmartinez/mono/webappex should work, or I have to recompile it with vbnc? When I recompile (# vbnc welcome.aspx) I get the following message: Visual Basic.Net Compiler version 0.0.0.5058 Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved. /home/jmartinez/mono/webappex/welcome.aspx (1,3) : Error VBNC30037: Symbol is not valid. /home/jmartinez/mono/webappex/welcome.aspx (1,3) : Error VBNC30037: Symbol is not valid. /home/jmartinez/mono/webappex/welcome.aspx (1,19) : Warning VBNC90019: Expected '>'. Error recovery not implemented yet. Unexpected error: An error message should have been shown: 'Hanging attributes.' at vbnc.Helper.AddError (System.String Message) [0x00000] at vbnc.Parser.ParseAssemblyMembers (vbnc.AssemblyDeclaration Parent, System.String RootNamespace, vbnc.MemberDeclarations result) [0x00000] at vbnc.Parser.ParseAssemblyDeclaration (System.String RootNamespace) [0x00000] at vbnc.Parser.Parse (System.String RootNamespace) [0x00000] at vbnc.Compiler.Compile_Parse () [0x00000] at vbnc.Compiler.Compile () [0x00000] Compilation took 00:00:00.9257060 >From: "Rolf Bjarne Kvinge" >To: "'JE M.'" , >Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with >ASP.NET Web Matrix >Date: Fri, 22 Jun 2007 09:34:58 +0200 > > > > > -----Original Message----- > > From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb- > > bounces at lists.ximian.com] On Behalf Of JE M. > > Sent: viernes, 22 de junio de 2007 0:50 > > To: mono-vb at lists.ximian.com > > Subject: [mono-vb] Cannot run VB.NET aspx application created with > > ASP.NET Web Matrix > > > > Hello all, I created a simple aspx application that displays a welcome > > title > > on my Windows machine using ASP.NET Web Matrix. Then I copied the aspx > > application to a Linux SUSE Enterprise 10 OS . I have mono JIT compiler > > version 1.2.4 installed, and XSP web server up and running. I also have > > installed the vbnc compiler ver. 0.0.0.5058. When I go to my browser > > and > > type http://localhost:8080/welcome.aspx I get the following messages: > > > > File not found /tmp/root-temp-aspnet-0/a0201acd/56321.dll > > Description: Error processing request. > > > > Error Message: HTTP 404. File not found > > /tmp/root-temp-aspnet-0/a0201acd/56321.dll > > > > Stack Trace: > > > > System.IO.FileNotFoundException: /tmp/root-temp-aspnet- > > 0/a0201acd/56321.dll > > : /tmp/root-temp-aspnet-0/a0201acd/56321.dll > > in <0x00000> > > in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom > > (string,bool) > > in <0x0000c> System.Reflection.Assembly:LoadFrom (System.String > > assemblyFile) > > in <0x00388> Microsoft.VisualBasic.VBCodeCompiler:CompileFromFileBatch > > (System.CodeDom.Compiler.CompilerParameters options, System.String[] > > fileNames) > > in <0x00022> > > Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromFileBatch > > (System.CodeDom.Compiler.CompilerParameters options, System.String[] > > fileNames) > > in <0x002f5> Microsoft.VisualBasic.VBCodeCompiler:CompileFromDomBatch > > (System.CodeDom.Compiler.CompilerParameters options, > > System.CodeDom.CodeCompileUnit[] ea) > > in <0x00022> > > Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDomBatch > > (System.CodeDom.Compiler.CompilerParameters options, > > System.CodeDom.CodeCompileUnit[] ea) > > in <0x0003c> > > Microsoft.VisualBasic.VBCodeCompiler:CompileAssemblyFromDom > > (System.CodeDom.Compiler.CompilerParameters options, > > System.CodeDom.CodeCompileUnit e) > > in <0x00121> System.Web.Compilation.CachingCompiler:Compile > > (System.Web.Compilation.BaseCompiler compiler) > > in <0x00259> System.Web.Compilation.BaseCompiler:GetCompiledType () > > in <0x000fa> System.Web.Compilation.AspGenerator:GetCompiledType () > > in <0x00029> System.Web.UI.PageParser:CompileIntoType () > > in <0x00011> System.Web.UI.TemplateControlParser:GetCompiledInstance () > > in <0x00035> System.Web.UI.PageParser:GetCompiledPageInstance > > (System.String > > virtualPath, System.String inputFile, System.Web.HttpContext context) > > in <0x00010> System.Web.UI.PageHandlerFactory:GetHandler > > (System.Web.HttpContext context, System.String requestType, > > System.String > > url, System.String path) > > in <0x001e3> System.Web.HttpApplication:GetHandler > > (System.Web.HttpContext > > context) > > in <0x00894> System.Web.HttpApplication+__1:MoveNext () > > ----------------------------------------------------------------------- > > --------------------------------------------------------- > > The XSP sends the following message at the end: > > # xsp --root /home/jm/mono/webappex > >You need to use xsp2, not xsp - vbnc can only generate v2.0 assemblies and >xsp can't load them, you'll need to use xsp2. > >Rolf > _________________________________________________________________ Like puzzles? Play free games & earn great prizes. Play Clink now. http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2 From rolflists at ya.com Fri Jun 22 11:51:11 2007 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Fri, 22 Jun 2007 17:51:11 +0200 Subject: [mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix In-Reply-To: References: <01ba01c7b49f$d6598820$830c9860$@com> Message-ID: <002401c7b4e5$280cb3a0$78261ae0$@com> > -----Original Message----- > From: JE M. [mailto:jmbltx1 at hotmail.com] > Sent: viernes, 22 de junio de 2007 17:43 > To: rolflists at ya.com > Cc: mono-vb at lists.ximian.com > Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with > ASP.NET Web Matrix > > Hi Rolf, thanks for you help, I ran XSP2, went to my browser, typed > http://localhost:8080/welcome.aspx and got a similar message: > xsp2 --root /home/jmartinez/mono/webappex > xsp2 > Listening on port: 8080 (non-secure) > Listening on address: 0.0.0.0 > Root directory: /home/jmartinez/mono/webappex > Hit Return to stop the server. > Cannot open assembly /usr/local/lib/mono/1.0/mbas.exe. > You're using an old version of mono, it doesn't look for mbas.exe anymore. Try 'mono --version' and 'xsp2 --version' to check which version you're using (you should be using 1.2.4, with very much luck 1.2.3 might work, earlier versions than that will not work at all). Rolf From jmbltx1 at hotmail.com Fri Jun 22 12:21:12 2007 From: jmbltx1 at hotmail.com (JE M.) Date: Fri, 22 Jun 2007 11:21:12 -0500 Subject: [mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix In-Reply-To: <002401c7b4e5$280cb3a0$78261ae0$@com> Message-ID: The versions for mono and XSP2 are: # mono --version Mono JIT compiler version 1.2.4 (tarball) Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com TLS: __thread GC: Included Boehm (with typed GC) SIGSEGV: normal Architecture: x86 Disabled: none # xsp2 --version xsp2.exe 1.1.13.7 (c) (c) 2002-2005 Novell, Inc. Minimalistic web server for testing System.Web >From: "Rolf Bjarne Kvinge" >To: "'JE M.'" >CC: >Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with >ASP.NET Web Matrix >Date: Fri, 22 Jun 2007 17:51:11 +0200 > > > > > -----Original Message----- > > From: JE M. [mailto:jmbltx1 at hotmail.com] > > Sent: viernes, 22 de junio de 2007 17:43 > > To: rolflists at ya.com > > Cc: mono-vb at lists.ximian.com > > Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with > > ASP.NET Web Matrix > > > > Hi Rolf, thanks for you help, I ran XSP2, went to my browser, typed > > http://localhost:8080/welcome.aspx and got a similar message: > > xsp2 --root /home/jmartinez/mono/webappex > > xsp2 > > Listening on port: 8080 (non-secure) > > Listening on address: 0.0.0.0 > > Root directory: /home/jmartinez/mono/webappex > > Hit Return to stop the server. > > Cannot open assembly /usr/local/lib/mono/1.0/mbas.exe. > > > >You're using an old version of mono, it doesn't look for mbas.exe anymore. > >Try 'mono --version' and 'xsp2 --version' to check which version you're >using (you should be using 1.2.4, with very much luck 1.2.3 might work, >earlier versions than that will not work at all). > >Rolf > > _________________________________________________________________ PC Magazine?s 2007 editors? choice for best Web mail?award-winning Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507 From rolflists at ya.com Fri Jun 22 12:29:50 2007 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Fri, 22 Jun 2007 18:29:50 +0200 Subject: [mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix In-Reply-To: References: <002401c7b4e5$280cb3a0$78261ae0$@com> Message-ID: <003101c7b4ea$8eb34a10$ac19de30$@com> > -----Original Message----- > From: JE M. [mailto:jmbltx1 at hotmail.com] > Sent: viernes, 22 de junio de 2007 18:21 > To: rolflists at ya.com > Cc: mono-vb at lists.ximian.com > Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with > ASP.NET Web Matrix > > The versions for mono and XSP2 are: > # mono --version > Mono JIT compiler version 1.2.4 (tarball) > Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono- > project.com > TLS: __thread > GC: Included Boehm (with typed GC) > SIGSEGV: normal > Architecture: x86 > Disabled: none > > # xsp2 --version > xsp2.exe 1.1.13.7 This is the culprit, you're executing an old version of xsp2, probably one that were installed with the OS (it should have the same version as mono). Try to download and install the mono-web package from http://www.mono-project.com/Downloads, that will hopefully solve your problem :) Rolf > (c) (c) 2002-2005 Novell, Inc. > Minimalistic web server for testing System.Web > > >From: "Rolf Bjarne Kvinge" > >To: "'JE M.'" > >CC: > >Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with > >ASP.NET Web Matrix > >Date: Fri, 22 Jun 2007 17:51:11 +0200 > > > > > > > > > -----Original Message----- > > > From: JE M. [mailto:jmbltx1 at hotmail.com] > > > Sent: viernes, 22 de junio de 2007 17:43 > > > To: rolflists at ya.com > > > Cc: mono-vb at lists.ximian.com > > > Subject: RE: [mono-vb] Cannot run VB.NET aspx application created > with > > > ASP.NET Web Matrix > > > > > > Hi Rolf, thanks for you help, I ran XSP2, went to my browser, typed > > > http://localhost:8080/welcome.aspx and got a similar message: > > > xsp2 --root /home/jmartinez/mono/webappex > > > xsp2 > > > Listening on port: 8080 (non-secure) > > > Listening on address: 0.0.0.0 > > > Root directory: /home/jmartinez/mono/webappex > > > Hit Return to stop the server. > > > Cannot open assembly /usr/local/lib/mono/1.0/mbas.exe. > > > > > > >You're using an old version of mono, it doesn't look for mbas.exe > anymore. > > > >Try 'mono --version' and 'xsp2 --version' to check which version > you're > >using (you should be using 1.2.4, with very much luck 1.2.3 might > work, > >earlier versions than that will not work at all). > > > >Rolf > > > > > > _________________________________________________________________ > PC Magazine's 2007 editors' choice for best Web mail-award-winning > Windows > Live Hotmail. > http://imagine-windowslive.com/hotmail/?locale=en- > us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507 > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.472 / Virus Database: 269.9.4/860 - Release Date: > 21/06/2007 17:53 From jmbltx1 at hotmail.com Fri Jun 22 14:01:53 2007 From: jmbltx1 at hotmail.com (JE M.) Date: Fri, 22 Jun 2007 13:01:53 -0500 Subject: [mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix In-Reply-To: <003101c7b4ea$8eb34a10$ac19de30$@com> Message-ID: Thanks a lot Rolf, that solved my problem, to think yesterday I felt so frustrated :) I ran the the small application in my firefox browser, and I get a message that says: escription: Error parsing a resource required to service this request. Review your source file and modify it to fix this error. Error message: Color Blue is not a valid color. Line: 19 Source Error:
Welcome to My Page
So I deleted the 'forecolor="Blue"' property and it worked. I thought that by adding the <%@ import Namespace="System.Web" %> and <%@ import Namespace="System.Drawing.Color" %> libraries to the aspx file it should work, but it didn't. Do you know something about this issue? >From: "Rolf Bjarne Kvinge" >To: "'JE M.'" >CC: >Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with >ASP.NET Web Matrix >Date: Fri, 22 Jun 2007 18:29:50 +0200 > > > > > -----Original Message----- > > From: JE M. [mailto:jmbltx1 at hotmail.com] > > Sent: viernes, 22 de junio de 2007 18:21 > > To: rolflists at ya.com > > Cc: mono-vb at lists.ximian.com > > Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with > > ASP.NET Web Matrix > > > > The versions for mono and XSP2 are: > > # mono --version > > Mono JIT compiler version 1.2.4 (tarball) > > Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono- > > project.com > > TLS: __thread > > GC: Included Boehm (with typed GC) > > SIGSEGV: normal > > Architecture: x86 > > Disabled: none > > > > # xsp2 --version > > xsp2.exe 1.1.13.7 > >This is the culprit, you're executing an old version of xsp2, probably one >that were installed with the OS (it should have the same version as mono). > >Try to download and install the mono-web package from >http://www.mono-project.com/Downloads, that will hopefully solve your >problem :) > >Rolf > > > > (c) (c) 2002-2005 Novell, Inc. > > Minimalistic web server for testing System.Web > > > > >From: "Rolf Bjarne Kvinge" > > >To: "'JE M.'" > > >CC: > > >Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with > > >ASP.NET Web Matrix > > >Date: Fri, 22 Jun 2007 17:51:11 +0200 > > > > > > > > > > > > > -----Original Message----- > > > > From: JE M. [mailto:jmbltx1 at hotmail.com] > > > > Sent: viernes, 22 de junio de 2007 17:43 > > > > To: rolflists at ya.com > > > > Cc: mono-vb at lists.ximian.com > > > > Subject: RE: [mono-vb] Cannot run VB.NET aspx application created > > with > > > > ASP.NET Web Matrix > > > > > > > > Hi Rolf, thanks for you help, I ran XSP2, went to my browser, typed > > > > http://localhost:8080/welcome.aspx and got a similar message: > > > > xsp2 --root /home/jmartinez/mono/webappex > > > > xsp2 > > > > Listening on port: 8080 (non-secure) > > > > Listening on address: 0.0.0.0 > > > > Root directory: /home/jmartinez/mono/webappex > > > > Hit Return to stop the server. > > > > Cannot open assembly /usr/local/lib/mono/1.0/mbas.exe. > > > > > > > > > >You're using an old version of mono, it doesn't look for mbas.exe > > anymore. > > > > > >Try 'mono --version' and 'xsp2 --version' to check which version > > you're > > >using (you should be using 1.2.4, with very much luck 1.2.3 might > > work, > > >earlier versions than that will not work at all). > > > > > >Rolf > > > > > > > > > > _________________________________________________________________ > > PC Magazine's 2007 editors' choice for best Web mail-award-winning > > Windows > > Live Hotmail. > > http://imagine-windowslive.com/hotmail/?locale=en- > > us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507 > > > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.472 / Virus Database: 269.9.4/860 - Release Date: > > 21/06/2007 17:53 > > _________________________________________________________________ Picture this ? share your photos and you could win big! http://www.GETREALPhotoContest.com?ocid=TXT_TAGHM&loc=us From rolflists at ya.com Fri Jun 22 14:42:11 2007 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Fri, 22 Jun 2007 20:42:11 +0200 Subject: [mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix In-Reply-To: References: <003101c7b4ea$8eb34a10$ac19de30$@com> Message-ID: <003501c7b4fd$0bde1da0$239a58e0$@com> > -----Original Message----- > From: JE M. [mailto:jmbltx1 at hotmail.com] > Sent: viernes, 22 de junio de 2007 20:02 > To: rolflists at ya.com > Cc: mono-vb at lists.ximian.com > Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with > ASP.NET Web Matrix > > Thanks a lot Rolf, that solved my problem, to think yesterday I felt so > frustrated :) > > I ran the the small application in my firefox browser, and I get a > message > that says: > escription: Error parsing a resource required to service this request. > Review your source file and modify it to fix this error. > > Error message: > > Color Blue is not a valid color. > Line: 19 > Source Error: > > >
> font-size="X-Large" font-bold="True">Welcome > to My Page > >
> > So I deleted the 'forecolor="Blue"' property and it worked. I thought > that by adding the <%@ import Namespace="System.Web" %> and <%@ import > Namespace="System.Drawing.Color" %> libraries to the aspx file it > should work, but it didn't. Do you know something about this issue? > No, I have no idea about what this issue is, you might be better off asking at the mono-list mailinglist, instead of mono-vb mailinglist. Glad I could help anyways :) Rolf From jmbltx1 at hotmail.com Fri Jun 22 14:55:23 2007 From: jmbltx1 at hotmail.com (JE M.) Date: Fri, 22 Jun 2007 13:55:23 -0500 Subject: [mono-vb] Cannot run VB.NET aspx application created with ASP.NET Web Matrix In-Reply-To: <003501c7b4fd$0bde1da0$239a58e0$@com> Message-ID: Ok Rolf thanks again, I appreciate a lot your help. >From: "Rolf Bjarne Kvinge" >To: "'JE M.'" >CC: >Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with >ASP.NET Web Matrix >Date: Fri, 22 Jun 2007 20:42:11 +0200 > > > > > -----Original Message----- > > From: JE M. [mailto:jmbltx1 at hotmail.com] > > Sent: viernes, 22 de junio de 2007 20:02 > > To: rolflists at ya.com > > Cc: mono-vb at lists.ximian.com > > Subject: RE: [mono-vb] Cannot run VB.NET aspx application created with > > ASP.NET Web Matrix > > > > Thanks a lot Rolf, that solved my problem, to think yesterday I felt so > > frustrated :) > > > > I ran the the small application in my firefox browser, and I get a > > message > > that says: > > escription: Error parsing a resource required to service this request. > > Review your source file and modify it to fix this error. > > > > Error message: > > > > Color Blue is not a valid color. > > Line: 19 > > Source Error: > > > > > >
> > > font-size="X-Large" font-bold="True">Welcome > > to My Page > > > >
> > > > So I deleted the 'forecolor="Blue"' property and it worked. I thought > > that by adding the <%@ import Namespace="System.Web" %> and <%@ import > > Namespace="System.Drawing.Color" %> libraries to the aspx file it > > should work, but it didn't. Do you know something about this issue? > > > >No, I have no idea about what this issue is, you might be better off asking >at the mono-list mailinglist, instead of mono-vb mailinglist. > >Glad I could help anyways :) > >Rolf > > _________________________________________________________________ Get a preview of Live Earth, the hottest event this summer - only on MSN http://liveearth.msn.com?source=msntaglineliveearthhm