Re: [Mono-dev] help needed please for ASP.NET migration to mono 2.0
2008/10/16 mike horsley <[EMAIL PROTECTED]>: > If I access my default.aspx page now, I no longer get the errors and see the > status bar at the bottom which says "transferring data from local host" > which then changes to "waiting for local host". Nothing furher happens. > > I've managed to set up the mono-control tool and that works but doesn't give > me much additional information. > The ASP.NET application is straight off VS 2005; it works fine under MS. It > contains AJAX.NET. I've renamed Bin to bin. Given that nothing really > happens, could it be something basic like its not compiling under mono on > the first reference to the site? > If your app includes the MS System.Web.Extensions.dll in your bin folder, you should delete it because it can't run on Mono and will throw an error if you try to include it in the bin. Mono has its own copy in the GAC so deleting the one in the bin may help. If your app also depends on Microsoft.Web.Preview.dll, I'm not sure whether its supported, but again if its included in your bin folder it will prevent the app from running. probably there are errors you can review in the apache error log. You can get more info about what is happening with your app if you run it from the command line using xsp. Open a terminal cd into your web root folder and enter the command: MONO_OPTIONS="--debug " xsp2 Now you can open a browser http://localhost:8080 to see run app and errors and or debug info will be shown in the terminal Hope it helps, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono.Data.Sqlite
Hi, My impression is that SQLite is not that great a choice for a multi threaded app. If you google sqlite mutli threading, in the first result which links to here: http://www.sqlite.org/cvstrac/wiki?p=MultiThreading you'll see: "It has never been safe to use the same database connection simultaneously in multiple threads." Sqlite is really meant to be a lightweight db for single threaded apps. Hope it helps, Joe On Sun, Jun 29, 2008 at 6:16 AM, Anders Aagaard <[EMAIL PROTECTED]> wrote: > > Hi > > I've been using Mono.Data.Sqlite in a multi threaded application, since the > code says it's based on Robert Simpson's library I've been looking at his > page for documentation (as Mono.Data.Sqlite documentation seems extremely > sparse). > > My problem is that when using multiple threads, all writing to the database, > I get : > Unhandled Exception: Mono.Data.Sqlite.SqliteException: The database file is > locked > Every thread has it's own cloned SqliteConnection (during the creation of > the thread I call MasterConnection.Clone (), and only use the referenced > connection). The exception happens instantly when two threads begin a > transaction to the same database. > > Is the instructions for Robert Simpson's library not accurate for mono's > sqlite library, or am I hitting a bug? Any suggestions on how to cleanly > work around this problem? > > I have one file scanner that adds files to the database, one text file > scanner that scans all text files added and adds web links from them, and > one web updater that takes the links and updates that from an online > database. They are all seperate threads. The main thread will also > occasionally do a small commit, but it will mostly read from the database. > -- > View this message in context: > http://www.nabble.com/Mono.Data.Sqlite-tp18179121p18179121.html > Sent from the Mono - Dev mailing list archive at Nabble.com. > > ___________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Please Help - problems compiling Mono from svn
Hi All, Thanks for all the help. I installed a few more gcc related things like for java, objective c, objective c++ etc and also updated to r100047 And now I got through make with no errors. I don't know which of those solved it. I'll bump up the ram on this vm too just in case. Before I go ahead and install this was wondering about the prefix I should use. I've been using --prefix=/usr for the last few years only because I saw an example like that not because I understand it ;-D So please what, if any prefix is advisable? I thought the purpose is to put the custom compiled mono somewhere else since the 1.9 rpms are also installed Many Thanks, Joe On Mon, Apr 7, 2008 at 4:45 PM, Sebastien Pouliot <[EMAIL PROTECTED]> wrote: > Hello Joe, > > > On Mon, 2008-04-07 at 16:30 -0400, Joe Audette wrote: > > So I guess I need to try opensuse 11 alpha so I can get gcc 4.3.0? > > For a C# guy like me thats probably easier than trying to compile my own > gcc > > > > > > > > On Mon, Apr 7, 2008 at 8:52 AM, Paul Melis <[EMAIL PROTECTED]> wrote: > > > Joe Audette wrote: > > > > > > > > > > Hi Paul, > > > > > > > > Thanks for the help. > > > > I'm using the opensuse 10.3 vmware image for Mono 1.9. > > > > Looking in YaST it appears I have: > > > > gcc 4.2-24 > > > > I also see > > > > gcc42 version 4.2.1 > > I use OpenSUSE 10.3 on my laptop, compile SVN HEAD every day (sometime > several times) and never got this error (well not with this OS/GCC > versions ;-) > > [EMAIL PROTECTED]:~/svn/mono> gcc --version > gcc (GCC) 4.2.1 (SUSE Linux) > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > Did you try doing a "make clean" ? > > Note: This is unrelated to your problem but using prefix=/usr seems a > bit risky to me. > > > > > > > > > > > > > > Perhaps an update to 4.2.1 solves it, otherwise you could try to submit > a > > > bug report to the gcc folks, but that might not solve your problem in > > > time... > > > If you really want to you could compile 4.2.3 (the latest in the 4.2.x > > > series) yourself and try that version. > > > > > > Paul > > > > > > > > > > > > > > > > Joe > > > > > > > > > > > > On Mon, Apr 7, 2008 at 6:18 AM, Paul Melis <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > > > Joe Audette wrote: > > > > > > > > > > >I'm trying to compile mono from svn so that I can demo mojoPortal at > > > > > >the MySql conference using the latest bits with support for control > > > > > >adapters. I've been building mono from svn for several years now and > > > > > >only lately having troubles. > > > > > > > > > > > >I'm using the Mono 1.9 VMWare (OpenSuse 10.3) machine. I've added > the > > > > > >needed devel packages that I know of. > > > > > >I use this script to checkout Mono: > > > > > > > > > > > >#!/bin/sh > > > > > >for u in mono mcs libgdiplus xsp mod_mono > > > > > >do > > > > > > echo "Checking out" $u > > > > > > svn co svn://anonsvn.mono-project.com/source/trunk/$u > > > > > >done > > > > > > > > > > > >Currently I have r99955 > > > > > >I built libgdiplus with no problems > > > > > >I cd into the mono directory and ran autogen.sh --prefix=/usr > > > > > > > > > > > >Results: > > > > > > > > > > > >config.status: executing default commands > > > > > > > > > > > >mcs source:$(top_srcdir)/../mcs > > > > > >olive source: > > > > > > > > > > > >GC: included > > > > > >TLS: __thread > > > > > >SIGALTSTACK: yes > > > > > >Engine: Building and using the JIT > > > > > >2.0 Beta:yes
Re: [Mono-dev] Please Help - problems compiling Mono from svn
So I guess I need to try opensuse 11 alpha so I can get gcc 4.3.0? For a C# guy like me thats probably easier than trying to compile my own gcc On Mon, Apr 7, 2008 at 8:52 AM, Paul Melis <[EMAIL PROTECTED]> wrote: > Joe Audette wrote: > > > > Hi Paul, > > > > Thanks for the help. > > I'm using the opensuse 10.3 vmware image for Mono 1.9. > > Looking in YaST it appears I have: > > gcc 4.2-24 > > I also see > > gcc42 version 4.2.1 > > > > > Perhaps an update to 4.2.1 solves it, otherwise you could try to submit a > bug report to the gcc folks, but that might not solve your problem in > time... > If you really want to you could compile 4.2.3 (the latest in the 4.2.x > series) yourself and try that version. > > Paul > > > > > > Joe > > > > > > On Mon, Apr 7, 2008 at 6:18 AM, Paul Melis <[EMAIL PROTECTED]> wrote: > > > > > > > Hi, > > > > > > > > > > > > Joe Audette wrote: > > > > > > >I'm trying to compile mono from svn so that I can demo mojoPortal at > > > >the MySql conference using the latest bits with support for control > > > >adapters. I've been building mono from svn for several years now and > > > >only lately having troubles. > > > > > > > >I'm using the Mono 1.9 VMWare (OpenSuse 10.3) machine. I've added the > > > >needed devel packages that I know of. > > > >I use this script to checkout Mono: > > > > > > > >#!/bin/sh > > > >for u in mono mcs libgdiplus xsp mod_mono > > > >do > > > > echo "Checking out" $u > > > > svn co svn://anonsvn.mono-project.com/source/trunk/$u > > > >done > > > > > > > >Currently I have r99955 > > > >I built libgdiplus with no problems > > > >I cd into the mono directory and ran autogen.sh --prefix=/usr > > > > > > > >Results: > > > > > > > >config.status: executing default commands > > > > > > > >mcs source:$(top_srcdir)/../mcs > > > >olive source: > > > > > > > >GC: included > > > >TLS: __thread > > > >SIGALTSTACK: yes > > > >Engine: Building and using the JIT > > > >2.0 Beta:yes > > > >2.1 Alpha: yes > > > >JNI support: IKVM Native > > > >libgdiplus: assumed to be installed > > > >zlib:system zlib > > > >oprofile:no > > > > > > > > > > > > > > > >Now type `make' to compile > > > >[EMAIL PROTECTED]:~/share/src/mono/mono> > > > > > > > >I ran make and I get this error: > > > > > > > >make all-am > > > >make[4]: Entering directory `/home/linux/share/src/mono/mono/mono/mini' > > > >/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H > > > >-I. -I../.. -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP > > > >-DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -I../.. > > > >-I../../libgc/include -pthread -I/usr/include/glib-2.0 > > > >-I/usr/lib/glib-2.0/include -g -O2 -fno-strict-aliasing > > > >-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes > > > >-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes > > > >-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align > > > >-Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD -MP -MF > > > >.deps/mini.Tpo -c -o mini.lo mini.c > > > > gcc -DHAVE_CONFIG_H -I. -I../.. -DGC_LINUX_THREADS -D_GNU_SOURCE > > > >-D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 > > > >-DUSE_COMPILER_TLS -I../.. -I../../libgc/include -pthread > > > >-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 > > > >-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused > > > >-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes > > > >-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual > > > >-Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD > > > >-MP -MF .deps/mini.Tpo -c mini.c -fPIC -DPIC -o .libs/mini.o > > > >mini.c: In function 'mono_method_to_ir': > > > >mini.c:8266: warning: 'this' may be u
Re: [Mono-dev] Please Help - problems compiling Mono from svn
Hi Paul, Thanks for the help. I'm using the opensuse 10.3 vmware image for Mono 1.9. Looking in YaST it appears I have: gcc 4.2-24 I also see gcc42 version 4.2.1 Joe On Mon, Apr 7, 2008 at 6:18 AM, Paul Melis <[EMAIL PROTECTED]> wrote: > Hi, > > > > Joe Audette wrote: > > >I'm trying to compile mono from svn so that I can demo mojoPortal at > >the MySql conference using the latest bits with support for control > >adapters. I've been building mono from svn for several years now and > >only lately having troubles. > > > >I'm using the Mono 1.9 VMWare (OpenSuse 10.3) machine. I've added the > >needed devel packages that I know of. > >I use this script to checkout Mono: > > > >#!/bin/sh > >for u in mono mcs libgdiplus xsp mod_mono > >do > > echo "Checking out" $u > > svn co svn://anonsvn.mono-project.com/source/trunk/$u > >done > > > >Currently I have r99955 > >I built libgdiplus with no problems > >I cd into the mono directory and ran autogen.sh --prefix=/usr > > > >Results: > > > >config.status: executing default commands > > > >mcs source:$(top_srcdir)/../mcs > >olive source: > > > >GC: included > >TLS: __thread > >SIGALTSTACK: yes > >Engine: Building and using the JIT > >2.0 Beta:yes > >2.1 Alpha: yes > >JNI support: IKVM Native > >libgdiplus: assumed to be installed > >zlib:system zlib > >oprofile:no > > > > > > > >Now type `make' to compile > >[EMAIL PROTECTED]:~/share/src/mono/mono> > > > >I ran make and I get this error: > > > >make all-am > >make[4]: Entering directory `/home/linux/share/src/mono/mono/mono/mini' > >/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H > >-I. -I../.. -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP > >-DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -I../.. > >-I../../libgc/include -pthread -I/usr/include/glib-2.0 > >-I/usr/lib/glib-2.0/include -g -O2 -fno-strict-aliasing > >-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes > >-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes > >-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align > >-Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD -MP -MF > >.deps/mini.Tpo -c -o mini.lo mini.c > > gcc -DHAVE_CONFIG_H -I. -I../.. -DGC_LINUX_THREADS -D_GNU_SOURCE > >-D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 > >-DUSE_COMPILER_TLS -I../.. -I../../libgc/include -pthread > >-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 > >-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused > >-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes > >-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual > >-Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD > >-MP -MF .deps/mini.Tpo -c mini.c -fPIC -DPIC -o .libs/mini.o > >mini.c: In function 'mono_method_to_ir': > >mini.c:8266: warning: 'this' may be used uninitialized in this function > >mini.c:4745: warning: 'token' may be used uninitialized in this function > >gcc: Internal error: Killed (program cc1) > >Please submit a full bug report. > >See http://bugs.opensuse.org> for instructions. > > > > > Did you notice that this is a message about an internal _compiler_ > error? The error is not in the Mono source, but in the compiler version > you're using. > What version of GCC do you have? > > Paul > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Please Help - problems compiling Mono from svn
Hi All, I'm trying to compile mono from svn so that I can demo mojoPortal at the MySql conference using the latest bits with support for control adapters. I've been building mono from svn for several years now and only lately having troubles. I'm using the Mono 1.9 VMWare (OpenSuse 10.3) machine. I've added the needed devel packages that I know of. I use this script to checkout Mono: #!/bin/sh for u in mono mcs libgdiplus xsp mod_mono do echo "Checking out" $u svn co svn://anonsvn.mono-project.com/source/trunk/$u done Currently I have r99955 I built libgdiplus with no problems I cd into the mono directory and ran autogen.sh --prefix=/usr Results: config.status: executing default commands mcs source:$(top_srcdir)/../mcs olive source: GC: included TLS: __thread SIGALTSTACK: yes Engine: Building and using the JIT 2.0 Beta:yes 2.1 Alpha: yes JNI support: IKVM Native libgdiplus: assumed to be installed zlib:system zlib oprofile:no Now type `make' to compile [EMAIL PROTECTED]:~/share/src/mono/mono> I ran make and I get this error: make all-am make[4]: Entering directory `/home/linux/share/src/mono/mono/mono/mini' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -I../.. -I../../libgc/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD -MP -MF .deps/mini.Tpo -c -o mini.lo mini.c gcc -DHAVE_CONFIG_H -I. -I../.. -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -DUSE_COMPILER_TLS -I../.. -I../../libgc/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD -MP -MF .deps/mini.Tpo -c mini.c -fPIC -DPIC -o .libs/mini.o mini.c: In function 'mono_method_to_ir': mini.c:8266: warning: 'this' may be used uninitialized in this function mini.c:4745: warning: 'token' may be used uninitialized in this function gcc: Internal error: Killed (program cc1) Please submit a full bug report. See http://bugs.opensuse.org> for instructions. make[4]: *** [mini.lo] Error 1 make[4]: Leaving directory `/home/linux/share/src/mono/mono/mono/mini' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/linux/share/src/mono/mono/mono/mini' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/linux/share/src/mono/mono/mono' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/linux/share/src/mono/mono' make: *** [all] Error 2 [EMAIL PROTECTED]:~/share/src/mono/mono> Any help much appreciated. I really need to get this working in time to demo it in my booth at the MySql conference. Thanks, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] errors compiling from svn
Hi All, I'm using the 1.9 VM and trying to compile Mono from svn head r99904 I'm getting this error, any suggestions to help me get past it much appreciated. make[8]: Entering directory `/home/linux/share/src/mono/mcs/tools/tuner' touch tune.stampt MONO_PATH=".:../../class/lib/default:$MONO_PATH" /home/linux/share/src/mono/mono/runtime/mono-wrapper --debug ../linker/monolinker.exe -d ../../class/lib/net_2_1_raw -o ../../class/lib/net_2_1 -l none -c link -a smcs -b true -m display_internalized false -x Descriptors/mscorlib.xml -x Descriptors/smcs.xml -x Descriptors/System.xml -s Mono.Tuner.InjectAttributes,Mono.Tuner:OutputStep -s Mono.Tuner.AdjustVisibility,Mono.Tuner:OutputStep -s Mono.Tuner.PrintStatus,Mono.Tuner:OutputStep -s Mono.Tuner.RemoveSerialization,Mono.Tuner:OutputStep -s Mono.Tuner.CheckVisibility,Mono.Tuner -i masterinfos/silverlight/mscorlib.info -i masterinfos/silverlight/System.info -i masterinfos/silverlight/System.Core.info -i masterinfos/silverlight/System.Xml.Core.info make[8]: *** [tune.stamp] Killed make[8]: Leaving directory `/home/linux/share/src/mono/mcs/tools/tuner' make[7]: *** [do-all] Error 2 make[7]: Leaving directory `/home/linux/share/src/mono/mcs/tools/tuner' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/home/linux/share/src/mono/mcs/tools' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/linux/share/src/mono/mcs' make[4]: *** [profile-do--net_2_1--all] Error 2 make[4]: Leaving directory `/home/linux/share/src/mono/mcs' make[3]: *** [profiles-do--all] Error 2 make[3]: Leaving directory `/home/linux/share/src/mono/mcs' make[2]: *** [all-local] Error 2 make[2]: Leaving directory `/home/linux/share/src/mono/mono/runtime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/linux/share/src/mono/mono' make: *** [all] Error 2 [EMAIL PROTECTED]:~/share/src/mono/mono> Thanks, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] subsonic test drive
Hi, I've been working with SubSonic myself recently and have been able to use it on Mono with MySql and PostgreSQL using some custom providers. I'm using a custom build of SubSonic for several reasons. My custom build leaves out their Provider for the MS Enterpise Blocks and also leaves out their SQLite provider because it could not work with Mono. I implemented a provider for SQLite that uses Mono.Data.Sqlite so in theory it should work on Mono though I have not tested it (except on Windows). I also found someone who started SubSonic provider implementations for PostgreSQL and Firebird Sql and was able to take their initial work and get it working to meet my needs (I haven't tested the Firebird one on Mono but it should work). SubSonic has code generation functionality that I have not tried on Mono. I've only so far done code generation against MS SQL on windows, but I am able to use the resulting generated code and the core SubSonic dll on mono against both MySql and PostgreSql databases with schema that corresponds to the MS SQL schema. I've also tested the generated code against SQLite and Firebird but my testing has been on Windows (though again no reason I can think of it won't work on Mono). If you're interested you can get my custom version of SubSonic source code from here: https://forgesvn1.novell.com/svn/mojoportal/vendor/SubSonic I like SubSonic very much because it has the benefits of typical OR mapper but unlike many of them allows you to use it as data access only and fully abstract it away from the real business objects so that they have no dependency on SubSonic. Most OR mappers want to be in charge of constituting your business objects whereas SubSonic can be used to just pass data to and from your business obejcts. Hope it helps, Joe 2008/2/25 Sharique uddin Ahmed Farooqui <[EMAIL PROTECTED]>: > Hi, > > I'm trying Subsonic http://www.subsonicproject.com/. > When i compile my test web application. I get this error > The nested type `ComponentModel' does not exist in the type > `Northwind.System'(CS0426)] > > I'm using mono 1.2.6 and monodevelop 0.19. > > I didn't find System.ComponentModel.dll in "Reference Edit" dialog box. > > Is this not implemented? > -- > Sharique uddin Ahmed Farooqui > (C++/C# Developer, IT Consultant) > A revolution is about to begin. > A world is about to change. > And you and I are "the initiator". > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mojoportal still broken on lastest svn (r96314)
Hi All, I'm still not able to get mojoportal working using mono built from svn since before my vacation Feb 9th. Using mojoportal from svn trunk, it works ok on Mono 1.2.6. (Note to build mojoportal on 1.2.6 you have to remove the compiler directive USESETTINGSMAP as settings map was implemented after 1.2.6). On 1.2.6 you also have to replace the contents of Web.config with the contents from Web.mono.config Using mono from svn r96314 everything builds fine but I get a runtime error: System.Web.Compilation.ParseException: The parent type does not derive from System.Web.UI.Page at System.Web.UI.BaseParser.ThrowParseException (System.String message, System.Object[] parms) [0x0] at System.Web.UI.TemplateParser.SetBaseType (System.String type) [0x0] at System.Web.UI.TemplateParser.ProcessMainAttributes (System.Collections.Hashtable atts) [0x0] at System.Web.UI.TemplateControlParser.ProcessMainAttributes (System.Collections.Hashtable atts) [0x0] at System.Web.UI.PageParser.ProcessMainAttributes (System.Collections.Hashtable atts) [0x0] at System.Web.UI.TemplateParser.AddDirective (System.String directive, System.Collections.Hashtable atts) [0x0] at System.Web.UI.TemplateControlParser.AddDirective (System.String directive, System.Collections.Hashtable atts) [0x0] at System.Web.UI.PageParser.AddDirective (System.String directive, System.Collections.Hashtable atts) [0x0] at System.Web.Compilation.AspGenerator.TagParsed (ILocation location, TagType tagtype, System.String tagid, System.Web.Compilation.TagAttributes attributes) [0x0] at System.Web.Compilation.AspParser.OnTagParsed (TagType tagtype, System.String id, System.Web.Compilation.TagAttributes attributes) [0x0] at System.Web.Compilation.AspParser.Parse () [0x0] at System.Web.Compilation.AspGenerator.Parse (System.String file, Boolean doInitParser) [0x0] at System.Web.Compilation.AspGenerator.Parse (System.String file) [0x0] at System.Web.Compilation.AspGenerator.Parse () [0x0] at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].Parse () [0x0] at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].get_CodeCompilerType () [0x0] at System.Web.Compilation.BuildManager.GetCodeDomProviderType (System.Web.Compilation.BuildProvider provider) [0x0] at System.Web.Compilation.BuildManager+BuildItem..ctor (System.Web.Compilation.BuildProvider provider) [0x0] at System.Web.Compilation.BuildManager.LoadBuildProviders (System.String virtualPath, System.String virtualDir, System.Collections.Generic.Dictionary`2 vpCache, System.Web.Compilation.BuildKind& kind, System.String& assemblyBaseName) [0x0] at System.Web.Compilation.BuildManager.BuildAssembly (System.String virtualPath) [0x0] at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x0] at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.String virtualPath, System.Type requiredBaseType) [0x0] at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x0] at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x0] at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x0] at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x0] Please let me know if there is anything I can do to help pin down the problem. Thanks, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] I18n and ASP.Net
Hi Rolando, You are going too deep. You don't need to worry about that I18n stuff. Mono implements ASP.NET 2.0 and ASP.NET 2.0 has easy to use localization features. http://quickstarts.asp.net/QuickStartv20/aspnet/doc/localization/default.aspx Hope it helps, Joe 2008/2/7 Przemysław Sołdacki <[EMAIL PROTECTED]>: > > > Multilingual ASP.NET applications work very fine in Mono. It is just more > strict. Thus, if there are no resources for certain file Mono throws > exception while MS.NET simple omits applying resources. You can use both > local and global resources. > > Regards, > > - > > > Hi, > > > > I'm working on a application, wich will run on mono-xsp and I need to know > how to create a Multilingual WebApplication. > > > > I readed about I18n ( http://www.mono-project.com/Internationalization), but > I'm not sure if it is possible with a webapplication. > > > > How can I do this? > > > > Regards and Thanks for your answers :=) > > Rolando. > > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mojoPortal is broken using latest svn r94807
Hi All, I got the new preview of MonoDevelop and am again able to compile mojoPortal. However, after updating to r94807 I'm getting this error when trying to run mojoportal: System.NullReferenceException: Object reference not set to an instance of an object at System.Web.Hosting.VirtualPathProvider.OpenFile (System.String virtualPath) [0x0] at System.Web.Compilation.BuildProvider.OpenStream (System.String virtualPath) [0x0] at System.Web.Compilation.BuildProvider.OpenReader (System.String virtualPath) [0x0] at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].SpecialOpenReader (System.String virtualPath, System.String& physicalPath) [0x0] at System.Web.Compilation.PageBuildProvider.SpecialOpenReader (System.String virtualPath, System.String& physicalPath) [0x0] at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].get_Parser () [0x0] at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].Parse () [0x0] at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].get_CodeCompilerType () [0x0] at System.Web.Compilation.BuildManager.GetCodeDomProviderType (System.Web.Compilation.BuildProvider provider) [0x0] at System.Web.Compilation.BuildManager+BuildItem..ctor (System.Web.Compilation.BuildProvider provider) [0x0] at System.Web.Compilation.BuildManager.LoadBuildProviders (System.String virtualPath, System.String virtualDir, System.Collections.Generic.Dictionary`2 vpCache, System.Web.Compilation.BuildKind& kind, System.String& assemblyBaseName) [0x0] at System.Web.Compilation.BuildManager.BuildAssembly (System.String virtualPath) [0x0] at System.Web.Compilation.BuildManager.GetCompiledType (System.String virtualPath) [0x0] at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.String virtualPath, System.Type requiredBaseType) [0x0] at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x0] at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x0] at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x0] Thanks for any help, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] svn update to r93955 broke my MonoDevelop
Thanks Lluis, that makes sense. I'll keep an eye out for the new release or if I get real brave I'll try building MonoDevelop from svn. Cheers, Joe On Jan 28, 2008 11:27 AM, Lluis Sanchez <[EMAIL PROTECTED]> wrote: > You will need MonoDevelop from SVN or wait for the next release (which > will hapen soon). > > The culprit is the fix for the mono bug #322762. MonoDevelop was relying > on the old (and incorrect) behavior of Type.GetFields. > > Lluis. > > El ds 26 de 01 del 2008 a les 16:41 -0500, en/na Joe Audette va > escriure: > > > Hi All, > > > > Since I saw Miguel's message about branching 1.9 on monday I figured I > > would update my build and look for any problems with mojoPortal to > > report to make sure this release comes out good. It had been a few > > weeks or more since I did svn update. > > After building and installing r93955 I can no longer open MonoDevelop > > to build mojoPortal. > > I'm using opensuse 10.2 with md installed from the rpms that shipped with > > 1.2.6 > > > > I only update libgdiplus, mono , xsp and mod_mono when I do update. I > > haven't had troubles like this before when updating my build from svn > > before. > > > > Any suggestions to help resolve it appreciated. Error that happens > > when I try to launch MonoDevelop is: > > System.Reflection.TargetInvocationException: Exception has been thrown > > by the target of an invocation. ---> System.NullReferenceException: > > Object reference not set to an instance of an object > > at MonoDevelop.DesignerSupport.Toolbox.Toolbox..ctor > > (MonoDevelop.DesignerSupport.ToolboxService toolboxService) [0x0] > > at MonoDevelop.DesignerSupport.ToolboxPad..ctor () [0x0] > > at (wrapper managed-to-native) > > System.Reflection.MonoCMethod:InternalInvoke (object,object[]) > > at System.Reflection.MonoCMethod.Invoke (System.Object obj, > > BindingFlags invokeAttr, System.Reflection.Binder binder, > > System.Object[] parameters, System.Globalization.CultureInfo culture) > > [0x0] --- End of inner exception stack trace --- > > > > at System.Reflection.MonoCMethod.Invoke (System.Object obj, > > BindingFlags invokeAttr, System.Reflection.Binder binder, > > System.Object[] parameters, System.Globalization.CultureInfo culture) > > [0x0] > > at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, > > System.Reflection.Binder binder, System.Object[] parameters, > > System.Globalization.CultureInfo culture) [0x0] > > at System.Reflection.ConstructorInfo.Invoke (System.Object[] > > parameters) [0x0] > > at System.Activator.CreateInstance (System.Type type, Boolean > > nonPublic) [0x0] > > at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName, > > Boolean throwIfNotFound) [0x0] > > at MonoDevelop.Ide.Codons.PadCodon.CreatePad () [0x0] > > at MonoDevelop.Ide.Codons.PadCodon.get_PadContent () [0x0] > > at MonoDevelop.Ide.Gui.SdiWorkbenchLayout.CreatePadContent (Boolean > > force, MonoDevelop.Ide.Codons.PadCodon padCodon, > > MonoDevelop.Ide.Gui.PadWindow window, Gdl.DockItem item) [0x0] > > at > > MonoDevelop.Ide.Gui.SdiWorkbenchLayout+<>c__CompilerGenerated81.c__82 > > (System.Object +45, System.EventArgs +46) [0x0] > > at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x0] > > at (wrapper native-to-managed) GLib.Signal:voidObjectCallback > > (intptr,intptr) > > at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr) > > at Gtk.Widget.Map () [0x0] > > at Gdl.DockItem.OnMapped () [0x0] > > at Gtk.Widget.mapped_cb (IntPtr widget) [0x0] > > at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr) > > at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr) > > at Gtk.Widget.Map () [0x0] > > at Gdl.DockItem.OnMapped () [0x0] > > at Gtk.Widget.mapped_cb (IntPtr widget) [0x0] > > at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr) > > at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr) > > at Gtk.Widget.Map () [0x0] > > at Gdl.DockItem.OnMapped () [0x0] > > at Gtk.Widget.mapped_cb (IntPtr widget) [0x0] > > at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr) > > at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr) > > at Gtk.Widget.Map () [0x0] > > at Gdl.DockItem.OnMapped () [0x0] > > at Gtk.Widget.mapped_cb (IntPtr widget) [0x0] > > at (wrapper native-to-managed
[Mono-dev] svn update to r93955 broke my MonoDevelop
Hi All, Since I saw Miguel's message about branching 1.9 on monday I figured I would update my build and look for any problems with mojoPortal to report to make sure this release comes out good. It had been a few weeks or more since I did svn update. After building and installing r93955 I can no longer open MonoDevelop to build mojoPortal. I'm using opensuse 10.2 with md installed from the rpms that shipped with 1.2.6 I only update libgdiplus, mono , xsp and mod_mono when I do update. I haven't had troubles like this before when updating my build from svn before. Any suggestions to help resolve it appreciated. Error that happens when I try to launch MonoDevelop is: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object at MonoDevelop.DesignerSupport.Toolbox.Toolbox..ctor (MonoDevelop.DesignerSupport.ToolboxService toolboxService) [0x0] at MonoDevelop.DesignerSupport.ToolboxPad..ctor () [0x0] at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0] --- End of inner exception stack trace --- at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x0] at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName, Boolean throwIfNotFound) [0x0] at MonoDevelop.Ide.Codons.PadCodon.CreatePad () [0x0] at MonoDevelop.Ide.Codons.PadCodon.get_PadContent () [0x0] at MonoDevelop.Ide.Gui.SdiWorkbenchLayout.CreatePadContent (Boolean force, MonoDevelop.Ide.Codons.PadCodon padCodon, MonoDevelop.Ide.Gui.PadWindow window, Gdl.DockItem item) [0x0] at MonoDevelop.Ide.Gui.SdiWorkbenchLayout+<>c__CompilerGenerated81.c__82 (System.Object +45, System.EventArgs +46) [0x0] at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x0] at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr) at Gtk.Widget.Map () [0x0] at Gdl.DockItem.OnMapped () [0x0] at Gtk.Widget.mapped_cb (IntPtr widget) [0x0] at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr) at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr) at Gtk.Widget.Map () [0x0] at Gdl.DockItem.OnMapped () [0x0] at Gtk.Widget.mapped_cb (IntPtr widget) [0x0] at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr) at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr) at Gtk.Widget.Map () [0x0] at Gdl.DockItem.OnMapped () [0x0] at Gtk.Widget.mapped_cb (IntPtr widget) [0x0] at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr) at (wrapper managed-to-native) Gtk.Widget:gtk_widget_map (intptr) at Gtk.Widget.Map () [0x0] at Gdl.DockItem.OnMapped () [0x0] at Gtk.Widget.mapped_cb (IntPtr widget) [0x0] at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr) at (wrapper managed-to-native) Gtk.Container:gtksharp_container_invoke_gtk_callback (intptr,intptr,intptr) at Gtk.Container+CallbackInvoker.Invoke (Gtk.Widget w) [0x0] at (wrapper unbox) CallbackInvoker:Invoke (Gtk.Widget) at Gdl.Dock.ForAll (Boolean include_internals, Gtk.Callback cb) [0x0] at Gtk.Container.Forall_cb (IntPtr container, Boolean include_internals, IntPtr cb, IntPtr data) [0x0] at (wrapper native-to-managed) Gtk.Container:Forall_cb (intptr,bool,intptr,intptr) at (wrapper managed-to-native) GLib.Object:g_signal_chain_from_overridden (intptr,GLib.Value&) at Gtk.Widget.OnMapped () [0x0] at Gdl.Dock.OnMapped () [0x0] at Gtk.Widget.mapped_cb (IntPtr widget) [0x0] at (wrapper native-to-managed) Gtk.Widget:mapped_cb (intptr) at (wrapper managed-to-native) GLib.Object:g_object_set_property (intptr,intptr,GLib.Value&) at GLib.Object.SetProperty (System.String name, Value val) [0x0] at Gtk.Widget.set_Visible (Boolean value) [0x0] at MonoDevelop.Ide.Gui.Workbench.Show (System.String workbenchMemento) [0x0] at MonoDevelop.Ide.Gui.IdeApp.Initialize (IProgressMonitor monitor) [0x0] at MonoDevelop.Ide.Gui.IdeStartup.Run (System.String[] args) [0x0] Thanks, Joe -- Joe Audette Software Solutions
Re: [Mono-dev] Is it possible to run ASP.NET from a CD?
> It is doable and doesn't need to be read-only (to an extent). Your live CD system would need to have a writable tmpfs mounted on the temp directory (that is, usually on /tmp), so that ASP.NET can generate and compile assemblies on the fly. Additionally, the user you would be running xsp under would need their home directory writable, so that the .wapi directory can be created and written to. You could create a user whose home would be set to /tmp, and reuse the same tmpfs for both purposes. Other than those two requirements - it should work. best regards, marek < > You basically always need a ram disk, so if you setup the proper links (or mount points: there is a filesystem that allows you to view a ro filesystem as rw) you can easily do it. lupus < Thanks for the responses. By using a ram disk is it possible to run from any desktop? ie win, nix, mac? Are we talking about a bootable disk or an executable launched from disk (across platforms)? Would be great if a kit could be created that allows dropping in the web files and SQLite db file, burn to disk and go. This would be an awesome web site backup solution. Does this seem doable? Know of anyone else working on this type of project? Best, Joe On Dec 19, 2007 10:18 AM, Joe Audette <[EMAIL PROTECTED]> wrote: > Hi All, > > Was wondering if its theoretically possible to run xsp2 directly from > a cd. I've seen some posts about embedding mono but don't really know > what is involved. If anyone can confirm whether its possible or point > me to any information that might help I'd appreciate it. > What I'm thinking about is being able to run mojoportal directly from > a cd probably with SQLite. Obviously it would be read only but I can > see if it could be done it would be great for making demos and also > maybe I could make a utility to import export from other db platforms > so a site could be backed up and archived to cd in a way that you can > see the site as it was at the time of backup. > > Is this possible? > > Thanks, > > Joe > > -- > Joe Audette > Software Solutions Architect > Source Tree Solutions, LLC > [EMAIL PROTECTED] > http://www.sourcetreesolutions.com > http://www.mojoportal.com > -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Is it possible to run ASP.NET from a CD?
Hi All, Was wondering if its theoretically possible to run xsp2 directly from a cd. I've seen some posts about embedding mono but don't really know what is involved. If anyone can confirm whether its possible or point me to any information that might help I'd appreciate it. What I'm thinking about is being able to run mojoportal directly from a cd probably with SQLite. Obviously it would be read only but I can see if it could be done it would be great for making demos and also maybe I could make a utility to import export from other db platforms so a site could be backed up and archived to cd in a way that you can see the site as it was at the time of backup. Is this possible? Thanks, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mod_mono issues on 1.2.6
Hi All, Saw some of the other posts about problems with mod_mono in 1.2.6 release so thought I would test it with mojoportal since I haven't tested it in a long time and have only been testing with xsp2. I'm using opensuse 10.3 with mono 1.2.6 Using mojoportal compiled on windows and packaged for use with mono/mysql Works fine from the command line using xsp2 Using mod_mono/apache2: First issue encountered was an invalid param exception thrown from mscorelib on the setup page. The line of code throwing the exception is testing for writability in the Data subfolder beneath the site root. The code that threw the exception is: public static void TouchTestFile(String pathToFile) { if (pathToFile != null) { if (File.Exists(pathToFile)) { // exception thrown here from mscorelib File.SetLastWriteTimeUtc(pathToFile, DateTime.Now); } else { StreamWriter streamWriter = File.CreateText(pathToFile); streamWriter.Close(); } } } By deleting the files I was able to get past this as it hit the else clause. Next error was it could not connect to the database. The cause of this error is that under mod_mono its not picking up my user.config file which has the correct connection string. It works fine from the command line with xsp2. My connection string is from appSettings section defined in Web.config to use user.config for overrides like this: ... under mod_mono its not picking up my overrides in user.config as it should so I put the correct connection string directly in Web.config and was able to get past the db connection problem Then I'm back to the same problem about setting the write time of files but this time with cache files. Stack trace below: System.IO.IOException: Invalid parameter at System.IO.File.SetLastWriteTime (System.String path, DateTime last_write_time) [0x0] at System.IO.File.SetLastWriteTimeUtc (System.String path, DateTime last_write_time) [0x0] at mojoPortal.Business.WebHelpers.CacheHelper.TouchCacheFile (System.String pathToCacheFile) [0x0] at mojoPortal.Business.WebHelpers.CacheHelper.TouchMenuCacheDependencyFile () [0x0] at mojoPortal.Business.WebHelpers.CacheHelper.GetMenuPagesFromCache () [0x0] at mojoPortal.Business.WebHelpers.CacheHelper.GetMenuPagesFromContext () [0x0] at mojoPortal.Business.WebHelpers.CacheHelper.GetMenuPages () [0x0] at mojoPortal.Web.mojoSiteMapProvider.BuildSiteMap () [0x0] at mojoPortal.Web.mojoSiteMapProvider.GetRootNodeCore () [0x0] at System.Web.SiteMapProvider.get_RootNode () [0x0] at System.Web.UI.WebControls.SiteMapDataSource.GetStartNode (System.String viewPath) [0x0] at System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView (System.String viewPath) [0x0] at System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView (System.String viewPath) [0x0] at System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData (System.String viewPath) [0x0] at System.Web.UI.WebControls.TreeView.PerformDataBinding () [0x0] at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect () [0x0] at System.Web.UI.WebControls.BaseDataBoundControl.DataBind () [0x0] at System.Web.UI.WebControls.TreeView.DataBind () [0x0] at mojoPortal.Web.UI.SiteMenu.RenderTreeView () [0x0] at mojoPortal.Web.UI.SiteMenu.PopulateControls () [0x0] at mojoPortal.Web.UI.SiteMenu.Page_Load (System.Object sender, System.EventArgs e) [0x0] at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x0] at System.Web.UI.Control.LoadRecursive () [0x0] at System.Web.UI.Control.LoadRecursive () [0x0] at System.Web.UI.Control.LoadRecursive () [0x0] at System.Web.UI.Control.LoadRecursive () [0x0] at System.Web.UI.Control.LoadRecursive () [0x0] at System.Web.UI.Page.InternalProcessRequest () [0x0] at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0] So, in short, mojoportal currently does work under xsp2 but not under mod_mono Now that I am setup for testing mod_mono again I'll be glad to test any updates for mod_mono. Apologies for not testing mod_mono when I tested the earlier preview releases of 1.2.6 with mojoportal. I will move on now to test this issue on a different machine using mono svn head and see if the problem is also in svn. Best Regards, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] npgsql error on Mono
Hi, Just a follow up. My best guess conclusion is that something is funky in the packaging of pgsql under opensuse 10.3 I resurrected a copy of my vm from before I upgraded to opensuse 10.3 to get back to opensuse 10.2, then getting latest mono built from svn it works as expected. Thanks, Joe On Nov 18, 2007 6:35 PM, Francisco Figueiredo Jr. <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Joe Audette wrote: > > Hi Francisco, > > > > Hi, Joe! > > > Thanks for the response. > > > > You are welcome! > > >> Did you try to execute your command with psql on console? > > > > Well its in my web app so I don't have an easy way to run it from the > > command line. > > > > Ok. Can you try to run the command which is giving problem from command > line on psql on gnu/linux? > > >> It is very odd that you can execute from windows with no errors and from > >> gnu/linux don't. > > > > Yes thats why it seems like a Mono issue. > > > > But even so, I don't think Mono would be the problem here. Did you try > to use your application with Mono on windows? Or were you already doing > that? I assumed you were using ms.net on windows. > > > > >> Also, this error indicate some problem loading an internal postgresql > >> library which gives support for plpgsql server side language. > >> > >> I never saw this error. Do you have more than one postgresql installed? > >> > > > > I don't think so. I'm using a VM under VMWare and installed pgsql from > > Yast. The machine was upgraded from open sues 10.2 to 10.3 but after > > the initial upgrade it was working fine and only recently after > > updating Mono from svn this error started appearing. The file that it > > says it can't load does exist and as I say runnig the same web code on > > windows and using the very same pgsql database on the vm there is no > > error at all. > > > > Strange... Can you try the following: > > ldd /usr/lib/postgresql/plpgsql.so and see if the output gives you any > not found on the libraries? > > Mine gives me that: > > ldd ~/Apps/postgresql-8.3beta1/lib/plpgsql.so > linux-gate.so.1 => (0xe000) > libc.so.6 => /lib/libc.so.6 (0xb7e73000) > /lib/ld-linux.so.2 (0x8000) > > > > Sorry, Joe for not being very much helpful here... > > If I have any other idea I will let you know. > > > Regards, > > Francisco Figueiredo Jr. > http://fxjr.blogspot.com > Npgsql Lead Developer > http://pgfoundry.org/projects/npgsql > Mono Project Contributor > http://www.go-mono.com > MonoBrasil Project Founder Member > http://monobrasil.softwarelivre.org > > > - -- > - Would you tell me, please, which way I ought to go from here? > - That depends a good deal on where you want to get to. > -- Lewis Carroll "Alice's Adventures in Wonderland" > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iQEVAwUBR0DMUf7iFmsNzeXfAQLNjAf/TbN/6AziSIQWynElrsz6x+/HI2vxth+7 > VEA/3FSuIgEkXK0C/2SaxiNezQlpCotXGeCzczn/ctan7I8DQbFH2seImnogVkGu > 5PzZjifqkjo6qHUP5rSgXOtEETzzZmpzBPKwlzVm+/GG3ZKCyCFTH9urMBnzwEWr > s2I+EM9OJub+3Oer9U4gORiQoBPlLGOsKOmVt5+v4lHmeiMPIpvjv/4U2X5iLB46 > STAq7RLC8J6N/tmsXVxYDoY6auDstfD+mE0kLZNepnXsBZ8wcYRCDYg2cVIZdehk > phMNuhXtDWp1zCuzbn7MLVbwCByu1fbhZc346f8z7VutZEmzQVYN3A== > =aKr9 > -END PGP SIGNATURE- > -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] npgsql error on Mono
Hi Francisco, Thanks for the response. > Did you try to execute your command with psql on console? Well its in my web app so I don't have an easy way to run it from the command line. > It is very odd that you can execute from windows with no errors and from > gnu/linux don't. Yes thats why it seems like a Mono issue. > Also, this error indicate some problem loading an internal postgresql > library which gives support for plpgsql server side language. > > I never saw this error. Do you have more than one postgresql installed? > I don't think so. I'm using a VM under VMWare and installed pgsql from Yast. The machine was upgraded from open sues 10.2 to 10.3 but after the initial upgrade it was working fine and only recently after updating Mono from svn this error started appearing. The file that it says it can't load does exist and as I say runnig the same web code on windows and using the very same pgsql database on the vm there is no error at all. Npgsql.NpgsqlException: could not load library "/usr/lib/postgresql/plpgsql.so": /usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info Severity: ERROR Code: 58P01 at Npgsql.NpgsqlConnector.CheckErrors () [0x0] at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications () [0x0] at Npgsql.NpgsqlCommand.ExecuteCommand () [0x0] at Npgsql.NpgsqlCommand.ExecuteScalar () [0x0] at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlCommand:ExecuteScalar () at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (Npgsql.NpgsqlConnection connection, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) [0x0] at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (System.String connectionString, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) [0x0] at mojoPortal.Data.DBSiteUser.UpdateLastActivityTime (Guid userGuid, DateTime lastUpdate) [0x0] at mojoPortal.Business.SiteUser.UpdateLastActivityTime () [0x0] at mojoPortal.Web.Global.Application_EndRequest (System.Object sender, System.EventArgs e) [0x0] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at System.Web.HttpApplication.PipelineDone () [0x0] Best, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] npgsql error on Mono
Hi All, Using Open Suse 10.3 and mono built from svn r89680 and mojoPortal svn trunk I'm getting an error: ERROR: 58P01: could not load library "/usr/lib/postgresql/plpgsql.so": /usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info Description: Error processing request. Error Message: HTTP 500. Npgsql.NpgsqlException: ERROR: 58P01: could not load library "/usr/lib/postgresql/plpgsql.so": /usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info Stack Trace: Npgsql.NpgsqlException: could not load library "/usr/lib/postgresql/plpgsql.so": /usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info Severity: ERROR Code: 58P01 at Npgsql.NpgsqlConnector.CheckErrors () [0x0] at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications () [0x0] at Npgsql.NpgsqlCommand.ExecuteCommand () [0x0] at Npgsql.NpgsqlCommand.ExecuteScalar () [0x0] at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlCommand:ExecuteScalar () at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (Npgsql.NpgsqlConnection connection, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) [0x0] at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (System.String connectionString, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) [0x0] at mojoPortal.Data.DBSiteUser.UpdateLastActivityTime (Guid userGuid, DateTime lastUpdate) [0x0] at mojoPortal.Business.SiteUser.UpdateLastActivityTime () [0x0] at mojoPortal.Web.Global.Application_EndRequest (System.Object sender, System.EventArgs e) [0x0] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at System.Web.HttpApplication.PipelineDone () [0x0] Using the same code and hitting the same db from windows works with no error. I'm using the 1.0 source code for npgsql and it was working fine a few weeks ago. Thanks, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mojoPortal broken using latest Mono from svn
Hi Guys, I'm at r87848 and I'm getting this error: Could not load file or assembly 'App_GlobalResources' or one of its dependencies. The system cannot find the file specified. Description: Error processing request. Error Message: HTTP 500. System.IO.FileNotFoundException: Could not load file or assembly 'App_GlobalResources' or one of its dependencies. The system cannot find the file specified. Stack Trace: System.IO.FileNotFoundException: Could not load file or assembly 'App_GlobalResources' or one of its dependencies. The system cannot find the file specified. File name: 'App_GlobalResources' at (wrapper managed-to-native) System.AppDomain:LoadAssembly (string,System.Security.Policy.Evidence,bool) at System.AppDomain.Load (System.String assemblyString) [0x0] at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string) at System.Reflection.Assembly.Load (System.String assemblyString) [0x0] at Resources.Resource.get_ResourceManager () [0x0] at Resources.Resource.get_ApplicationStartEventMessage () [0x0] at mojoPortal.Web.Global.Application_Start (System.Object sender, System.EventArgs e) [0x0] at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[]) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0] I went through a big odyssey where I had upgraded my vm from opensuse 10.2 to 10.3 and then built latest mono on that machine and got the same error as above and thought maybe it was due to the os upgrade. So I then got a copy I had backed up before upgrading the vm and it worked fine as it had a revision somewhere between r86630 and r87051, not exactly sure but it was working so I went ahead and did svn update on mono and rebuilt with mono r87848 and now I get the same error on opensuse 10.2 So somewhere in that range of revisions something has gone wrong and mojoPortal no longer works on Mono. Anything I can do to help pin down this issue further please let me know. Thanks, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] System.Web.Extensions testing under mojoPortal
Hi Marek, > I've just committed the (simple) fix to svn trunk, revision 84996. > > Onur, your sample code works for me now without having to use FindControl. > > Joe, I'm not sure if it fixes your issue though. By the time Page_Load is > invoked, the controls inside templates aren't instantiated yet (it happens on > MS.NET as well), so referring to them by field might fail. Please let me know > how it worked (or not worked) for you. If your code works on MS.NET and not no > Mono, I'll try to create a test case to see what happens. > Thanks for your help! I just built and tested with Mono r84996 and the bug still persists. It does not happen on windows with MS.NET. I would always expect any control declared in markup to be not null in page load. Thanks, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] System.Web.Extensions testing under mojoPortal
Hi All, Yesterday I managed to get UpdatePanel working in mojoPortal using Mono from svn r84961 and mojoportal from svn trunk: https://forgesvn1.novell.com/svn/mojoportal/trunk I encountered a bug that needs to be fixed but was able to work around it. The bug was a null reference on any controls inside the UpdatePanel and the workaround was to get the needed reference using UpdatePanel1.FindControl(...) Relevant code from BlogEdit.aspx and BlogEdit.aspx.cs: private void Page_Load(object sender, EventArgs e) { if (ScriptController != null) { ScriptController.RegisterAsyncPostBackControl(btnAddCategory); } else { log.Error("ScriptController was null"); } if ((!Page.IsPostBack) && (!Page.IsCallback)) { PopulateControls(); PopulateCategories(); } } private void PopulateCategories() { // Mono doesn't see this in update panel // so help find it if (chkCategories == null) { log.Error("chkCategories was null"); chkCategories = (CheckBoxList)UpdatePanel1.FindControl("chkCategories"); } if (ShowCategories) { chkCategories.Items.Clear(); IDataReader reader; reader = Blog.GetCategoriesList(this.ModuleID); while (reader.Read()) { ListItem listItem = new ListItem(); listItem.Text = reader["Category"].ToString(); listItem.Value = reader["CategoryID"].ToString(); chkCategories.Items.Add(listItem); } reader.Close(); if (this.ItemID > -1) { reader = Blog.GetItemCategories(this.ItemID); while (reader.Read()) { ListItem item = chkCategories.Items.FindByValue(reader["CategoryID"].ToString()); if (item != null) { item.Selected = true; } } reader.Close(); } } } protected void btnAddCategory_Click(object sender, EventArgs e) { if (this.txtCategory.Text.Length > 0) { int newCategoryID = Blog.AddBlogCategory(this.ModuleID, this.txtCategory.Text); if (this.ItemID > 0) { Blog.AddItemCategory(this.ItemID, newCategoryID); } PopulateCategories(); UpdatePanel1.Update(); } } With the workaround it does work on Mono. Even without the workaround it worked on Windows using the Mono System.Web.Extensions.dll When I tried to use the same dll on Mono 1.2.4 vm it did not work, it compiled ok but at runtime I got an error about unkown type System.Web.UI.Literal. I think the issue on 1.2.4 has to do with this in Web.config: Seems to lose track of all other controls in asp prefix that are not in the System.Web.Extensions.dll. A workaround might be to use a different prefix like ajax instead of asp. I've been waiting a long time to be able to use UpdatePanel and other MS Ajax stuff in mojoportal so I'm very happy to have progress but would like to be able to use it more extensively without having to .FindControl every control in the updatepanel Thanks, Joe -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Reading excel files with mono ?
I don't know about .xls files but if they are saved as .csv you could read them with this: http://www.codeproject.com/cs/database/CsvReader.asp?df=100&forumid=142714&exp=0&select=2127605 Excel has a save as csv option, but if you need the native .xls format the above won't help. Joe On 8/8/07, Onur Gumus <[EMAIL PROTECTED]> wrote: > Hello, > > Does anyone know if it is possible to read from Microsoft Excel files , with > mono under linux ? > > Onur > > -- > Warning: If you are reading this then this warning is for you. Every word > you read of this useless fine print is another second off your life. Don't > you have other things to do? Is your life so empty that you honestly can't > think of a better way to spend these moments? Or are you so impressed with > authority that you give respect and credence to all that claim it? Do you > read everything you're supposed to read? Do you think every thing you're > supposed to think? Buy what you're told to want? Get out of your apartment. > Meet a member of the opposite sex. Stop the excessive shopping and > masturbation.Quit your job. Start a fight. Prove you're alive. If you don't > claim your humanity you will become a statistic. You have been warned - Onur > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono summit, options.
I vote for Boston in October. I really wanted to come to the last one but it coincided with selling my house and moving so was unable to make it. This year I am really determined to make it. I've already got a trip scheduled in February so October sounds great to me. Cheers, Joe On 7/17/07, Miguel de Icaza <[EMAIL PROTECTED]> wrote: > Hello folks, > > Am trying to decide on a location for the next Mono summit. One of > the challenges of the summit is that the Mono team is now pretty large, > so it is quite expensive to fly and host everyone, so am trying to pick: > > * An affordable city (good hotel prices). > * Hopefully easy to reach by cheap flights. > > Am not sure what format we should have for this year. Am not sure > that having a strict schedule with talks was all that great last year, I > felt that we had too little free time to talk among us than we did > listening to presentations. > > So am thinking: > > * Limit the presentations to a handful, on key topics. > > * Organize the rest in an un-conference style, kind of like a > BOF, where we get people together and people get to discuss > things. > > Ideally, we should host this in a University, as the hotel that we > picked last time in Boston was far from ideal as well. > > Some cities that I think might be within range are: > > * Boston, but we have to be careful with the time, due > to the city being expensive for a bunch of special events. > > * Prague, has a SUSE/Novell office, but there are few direct > flights to it. > > * Madrid, potentially we could find a University there that > could host us. > > Am afraid that Mexico and South America will be expensive to reach > for Europeans, but if the cost is not too larger, we could pick a city > in Mexico (We all know that Mike Kestner wants Cancun, but having been > there for a conference once, I can attest that most attendees skip on > the meetings). > > Which probably means "Do your conference in Boston, in mid > February" to guarantee attendance ;-). > > Miguel. > ___________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC [EMAIL PROTECTED] http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Need your help: Mainsoft/Novell "Race to Linux"
Hi Miguel, I'm not sure if this qualifies as its not really porting per se but I would be grateful for any help toward getting mojoPortal 2.x running on Mono. As you may know the mojoPortal project was started to build a cross platform web site framework and has been dedicated to working on Mono from the beginning. Currently we still support the 1.x branch of mojoPortal on Mono but over the past year have gone on to take advantage of the 2.0 ASP.NET features figuring that it was better to do that than to wait until these features were implemented in Mono, this way when the features are implemented in Mono we are ready. In mojoPortal we have implemented a MonoDevelop Solution in addition to the VS Solution so that mojoPortal can be compiled easily on linux (and eventually be able to debug). I know that there is work under way to be able to use VS Solutions/Projects natively in MonoDevelop but it actually at the moment is better for us to use separate MonoDevelop Solution and Projects because WebParts is not yet implemented in Mono and having the separate MonoDevelop Solution/Projects allows us to leave out that feature and build mojoPortal without it whereas if we included them it would not compile. The 2.x mojoPortal MonoDevelop Solution, mojoportal.mds currently compiles for me without errors using SUSE 10.1 and MonoDevelop 0.12 At the moment we are blocked by a Segmentation fault http://bugzilla.ximian.com/show_bug.cgi?id=80532 I'm sure once we get past that one there will be others to work through but I am dedicated to doing anything I can to help the process along. Personally I would find it disheartening to see the latest version of DotNetNuke running on Mono before mojoPortal 2.x even if it is through the magic of Grasshopper. When mojoPortal 2.x can run under Mono it will mark a substantial milestone in the Mono 2.0 ASP.NET implementation because then we will know that it really works as intended with non-trivial apps that really use the major new features in 2.0 ASP.NET Best Regards, Joe Audette http://www.mojoportal.com On 1/26/07, Miguel de Icaza <[EMAIL PROTECTED]> wrote: > Hey folks, > > Mainsoft and Novell are organizing an event to port applications > from Windows to Linux using Mono or Grasshopper. > > And we are looking for good candidates to port: we need some > interesting, .NET-based open source applications that would be > interesting to port to Linux. > > If you have some suggestions of what could be a good challenge for > an ASP.NET, Winforms or server app to port, please email me your > suggestions. > > Miguel. > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] ASP.NET 2.0 with apache
Hi Miguel, I certainly give my permission. Have a look at it and make sure you think its good. http://www.joeaudette.com/settingupapachevirtualhostswithmod_mono.aspx It probably needs a few adjustments, one thing I know is the path for MonoServerPath in the article is outdated. I'm happy to tweak it based on any suggestions. Its really not a comprehensive mod_mono tutorial, its mainly how to setup multiple sites with mod_mono using apache virtual hosts. If you do decide to use it let me know if you need it in a different format or what exactly I need to provide to make it easy to integrate with Monkeyguide. Best Regards, Joe On 11/18/06, Miguel de Icaza <[EMAIL PROTECTED]> wrote: Hello, > > Joe, after carefully following your tutorial I able to do it. > It wasn't that hard. =) > > What I have to say, though, is that we should have a kind of > tutorial like yours in the mono-project website. In > mono-project.com you can find information about installing > mono, xsp and mod_mono, but I couldn't find a quickstart page > describing the whole process, such as your tutorial. Since I > couldn't find such a page in mono's website, I had to search > for it, which took me many hours, mainly because the > information available on the web is somewhat confusing and > inconsistent. That's my personal opinion. > > > They actually link to my tutorial form here: > http://mono-project.com/FAQ:_ASP.NET > I agree its not the easiest to find things on the mono project site, > the search works pretty good but I often wish there was a site map or > menu that listed all the pages in the site. Maybe this tutorial could be integrated into the Monkeyguide? > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] ASP.NET 2.0 with apache
O Joe, after carefully following your tutorial I able to do it. It wasn't that hard. =) What I have to say, though, is that we should have a kind of tutorial like yours in the mono-project website. In mono-project.com you can find information about installing mono, xsp and mod_mono, but I couldn't find a quickstart page describing the whole process, such as your tutorial. Since I couldn't find such a page in mono's website, I had to search for it, which took me many hours, mainly because the information available on the web is somewhat confusing and inconsistent. That's my personal opinion. They actually link to my tutorial form here: http://mono-project.com/FAQ:_ASP.NET I agree its not the easiest to find things on the mono project site, the search works pretty good but I often wish there was a site map or menu that listed all the pages in the site. Cheers, Joe ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] ASP.NET 2.0 with apache
Hi, See the documentation for mod_mono here: http://www.mono-project.com/Mod_mono I also have a tutorial here that may be helpful http://www.joeaudette.com/settingupapachevirtualhostswithmod_mono.aspx Hope it helps, Joe On 11/17/06, Thiago Alves <[EMAIL PROTECTED]> wrote: Hi folks, Two weeks ago I installed mono 1.1 because I wanted to host ASP.NET 2.0 in my linux machine. I was able to run an ASP.NET 2.0 using xsp2, but I had problems trying to use mod_mono (it only worked for ASP.NET 1.0 projects). After lots of Googling I decided to get the latest releases of apache, mono, xsp and mod_mono. Now I have no problem setting apache to run ASP.NET through mod_mono and mod-mono-server.exe, but I still have only ASP.NET 1.0. After some search I realized that there is a "mod-mono-server2.exe" which runs ASP.NET 2.0, but I simply can't find it anywhere! Is it possible to host 2.0 pages using apache instead of xsp2? What should I do? Thanks in advance! Thiago Alves ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] (no subject)
I can't answer about the AJAX Extensions stuff though I don't see how it could come anytime soon.There are a lot of AJAX technologies you can use today. I use:MagicAJAX which is .NET specific I think might work pure _javascript_ ones like these certainly can be used:SarissaPrototypeOpenRicoDojoHope it helps,JoeOn 11/15/06, Tony Gu <[EMAIL PROTECTED]> wrote: Hello, Does anybody know if Mono will implement ASP.NET AJAX soon? Or is there any alternative AJAX already supported by Mono? Thanks! Tony ___Mono-devel-list mailing listMono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] attn:Gonzalo or Chris Request change to HttpContext for 2.0
Hi Marek,Thanks a lot, that one is fixed. Now my only compilation error is:The type or namespace name `AggregateCacheDependency' could not be found. Are you missing a using directive or an assembly reference?(CS0246) I really appreciate the help!JoeOn 11/12/06, Marek Habersack <[EMAIL PROTECTED]> wrote: On Sun, 12 Nov 2006 13:20:45 -0600, "Joe Audette"< [EMAIL PROTECTED]> scribbled:> Hey Guys,Hey Joe,> I'm taking another stab at getting mojoportal running in mono 2.0. I'm> getting a compile time error for a missing overload for > HttpContext.RewritePathThe implementation has just been committed to the SVN, please test :)best,marek ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] attn:Gonzalo or Chris Request change to HttpContext for 2.0
Hey Guys,I'm taking another stab at getting mojoportal running in mono 2.0. I'm getting a compile time error for a missing overload for HttpContext.RewritePathCan you add this, then I can at least catch System.NotImplemented ?Note the first overload is already there in svn just the second one below with 4 params is needed to get past this compile error#if NET_2_0 [MonoTODO] public void RewritePath (string path, bool rebaseClientPath) { throw new NotImplementedException (); } [MonoTODO] public void RewritePath (string filePath, string pathInfo, string queryString, bool rebaseClientPath) { throw new NotImplementedException (); }#endifThanks,Joe ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] newbie installing 1.1.16 onto SUSE 10.1
I installed the latest mono release on Suse 10.1 last weekend using the rpms from the download page and it all works well.You might try uninstalling the one you have and go that route. I think the package installer while easier is not the best way to go.First install the verison of mono that ships with Suse 10. then unzip the mono files and development files.From the terminal cd into the directory containing the rpms and do sudo rpm -Uvh *.rpmthis will work in all of the except the devtools one. In that you'll get an error about gecko so install the other rpms 1 at a time withsudo rpm -Uvh filename.rpmbe sure and install boo as MonoDevelop seems to need this or you get a unix socket error when it tries to launch.Hope it helps,Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: mike horsley <[EMAIL PROTECTED]>To: mono-devel-list@lists.ximian.comSent: Tuesday, July 11, 2006 1:16:29 PMSubject: [Mono-dev] newbie installing 1.1.16 onto SUSE 10.1 Hi We have just hired a summer placement to start the process of transitioning our application to Mono. We’re using SUSE 10.1. We have successfully compiled a basic “hello world” app and run it but when we add a reference to System.Data into the application, we get the compilation error that the type or namespace “Data” (or if we try “Xml”) does not exist in the name “System”. We’ve looked at the environment variables (PATH, MONO_PATH) and suspect this to be the problem because none are set. We installed using the Linux Package installer for x86 (latest – 1.1.16) from the mono-project downloads site. So, several questions: What is the full set of environment variables we should set and to what values? Where is this documented (so we can start looking in the right place)? If that is not the issue, any ideas on what is? Thanks Mike Mike Horsley VQ Communications Ltd ___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] mojoPortal 2.0 mono wish list
Nice! Thanks! Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com - Original Message From: Atsushi Eno <[EMAIL PROTECTED]> To: Joe Audette <[EMAIL PROTECTED]> Cc: Mono-devel-list@lists.ximian.com Sent: Monday, July 10, 2006 10:15:35 PM Subject: Re: [Mono-dev] mojoPortal 2.0 mono wish list Hi, > System.Web.UI.WebControls.WebParts.WebPartManager > System.Web.UI.WebControls.WebParts.PersonalizationProvider > System.Web.UI.WebControls.WebParts.CatalogPart > System.Web.UI.WebControls.ChangePassword > System.Web.UI.WebControls.PasswordRecovery WebParts support is one of our Summer of Code projects: http://www.mono-project.com/Summer2006#WebParts_Implementation To keep track of the effort, see: http://groups.google.com/group/mono-soc-2006 Atsushi Eno ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] mojoPortal 2.0 mono wish list
I forgot to mention that anyone who wants to play with mojoPortal in MonoDevelop can get the 1.1 framework version from svn anonymous checkout at: https://forgesvn1.novell.com/svn/mojoportal/trunkit works fineor if you want to help with the 2.1.1 version working on mono you can get it here: https://forgesvn1.novell.com/svn/mojoportal/branches/2.1.1most of the projects in the 2.1.1 solution compile (in MonoDevelop 0.11) and I have backed out everything I can like WebParts but can't build the web project because of this one:GetGlobalResourceObject("Resource", "MyResourceKey").ToString() so its probably the highest priorityAgain many thanks to anyone who may be willing to help!Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: Joe Audette <[EMAIL PROTECTED]>To: Mono-devel-list@lists.ximian.comSent: Monday, July 10, 2006 8:11:30 PMSubject: [Mono-dev] mojoPortal 2.0 mono wish listHi All,I've been trying to get mojoPortal 2.0 .NET version to compile and run under mono.The 1.1 framework version has worked for a long time and can be compiled in MonoDevelop or with an included make file so we are one of probably few projects doing cross platform development with some developers working in Visual Studio and some working on linux with MonoDevelop. The web project is implemented as a class library.In the 2.0 framework version we have implemented pretty much all the features that we forsee using which involve new .NET features so now I am trying to get it working on mono or at least identify the parts that dont work in hopes that others may help get them working. It is very good timing that the new version of MonoDevelop can compile against the 2.0 mono runtime so I've been working with it to try and compile mojoPortal 2.x and of course we're not there yet so I thought I would present my wish list of things that are missing in hopes that some may help us along. I may even try and implement some of it myself if I can figure it out.mojoPortal 2.0 Mono WishlistSystem.Web.UI.WebControls.WebParts.WebPartManager System.Web.UI.WebControls.WebParts.PersonalizationProviderSystem.Web.UI.WebControls.WebParts.CatalogPartSystem.Web.UI.WebControls.ChangePasswordSystem.Web.UI.WebControls.PasswordRecoveryfor localization in 2.0 .NET WebControls we can callGetGlobalResourceObject("Resource", "MyResourceKey").ToString() to populate localized stringsin Mono it doesn't existResource file are stored under App_GlobalResources so in the above example "Resource" is the class name corresponding to App_GlobalResources/Resource.resx and localized version can be like Resource-es.resx or Resource-pt-BR.resxThanks for any help!Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mojoPortal 2.0 mono wish list
Hi All,I've been trying to get mojoPortal 2.0 .NET version to compile and run under mono.The 1.1 framework version has worked for a long time and can be compiled in MonoDevelop or with an included make file so we are one of probably few projects doing cross platform development with some developers working in Visual Studio and some working on linux with MonoDevelop. The web project is implemented as a class library.In the 2.0 framework version we have implemented pretty much all the features that we forsee using which involve new .NET features so now I am trying to get it working on mono or at least identify the parts that dont work in hopes that others may help get them working. It is very good timing that the new version of MonoDevelop can compile against the 2.0 mono runtime so I've been working with it to try and compile mojoPortal 2.x and of course we're not there yet so I thought I would present my wish list of things that are missing in hopes that some may help us along. I may even try and implement some of it myself if I can figure it out.mojoPortal 2.0 Mono WishlistSystem.Web.UI.WebControls.WebParts.WebPartManager System.Web.UI.WebControls.WebParts.PersonalizationProviderSystem.Web.UI.WebControls.WebParts.CatalogPartSystem.Web.UI.WebControls.ChangePasswordSystem.Web.UI.WebControls.PasswordRecoveryfor localization in 2.0 .NET WebControls we can callGetGlobalResourceObject("Resource", "MyResourceKey").ToString() to populate localized stringsin Mono it doesn't existResource file are stored under App_GlobalResources so in the above example "Resource" is the class name corresponding to App_GlobalResources/Resource.resx and localized version can be like Resource-es.resx or Resource-pt-BR.resxThanks for any help!Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] problem compiling mod_mono from svn on Suse 10.1
Well, I found a solution for these errors, not being fluent in C I'm not sure I did the right thing but was able to make and make install mod_mono on Suse 10.1 by copying the apr*.h files from /usr/include/apr-1 into /usr/include/apache2 I just took a guess at the solution based on the first error: /usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file or directory When I looked in ap_config.h it seemed that it wanted the include to be in the same directory If anyone thinks this is not a good solution, please let me know the right way to do it. Thanks, Joe - Original Message From: Joe Audette <[EMAIL PROTECTED]> To: Mono-devel-list@lists.ximian.com Sent: Friday, July 7, 2006 7:44:32 PM Subject: [Mono-dev] problem compiling mod_mono from svn on Suse 10.1 I'm having a problem compiling mod_mono from svn on Suse 10.1. using autogen.sh --prefix=/usr I get this which looks ok to me: Configuration summary for mod_mono * Installation prefix = /usr * Apache version = 2.2 * Apache modules directory = /usr/lib/apache2 * apxs = /usr/sbin/apxs2 * apr-config = /usr/bin/apr-1-config * Verbose logging (debug) = no * mono prefix = /usr/lib/pkgconfig/../.. * Default MonoApplicationsConfigDir = /etc/apache2/mod-mono-applications --- Now type 'make' to compile mod_mono. but when I try make I get a jillion errors as shown: /usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file or directory /usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory In file included from mod_mono.h:50, from mod_mono.c:32: /usr/include/apache2/httpd.h:54:25: error: apr_buckets.h: No such file or directory /usr/include/apache2/httpd.h:723:21: error: apr_uri.h: No such file or directory In file included from mod_mono.h:50, from mod_mono.c:32: /usr/include/apache2/httpd.h:925: error: expected specifier-qualifier-list before 'apr_uri_t' /usr/include/apache2/httpd.h:1085: error: expected specifier-qualifier-list before 'APR_RING_ENTRY' /usr/include/apache2/httpd.h:1199: error: expected specifier-qualifier-list before 'apr_bucket_brigade' /usr/include/apache2/httpd.h:1207: error: expected specifier-qualifier-list before 'apr_bucket_brigade' In file included from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/http_core.h:31:26: error: apr_optional.h: No such file or directory In file included from /usr/include/apache2/http_core.h:32, from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/util_filter.h:137: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:139: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:141: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/include/apache2/util_filter.h:296: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:298: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/include/apache2/util_filter.h:310: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:492: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:493: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:503: error: expected ')' before '*' token /usr/include/apache2/util_filter.h:511: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:548: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:559: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:562: error: format string argument not a string type In file included from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/http_core.h:662: error: expected ')' before 'int' /usr/include/apache2/http_core.h:680: error: expected declaration specifiers or '...' before 'ap_ident_lookup' /usr/include/apache2/http_core.h:681: error: expected declaration specifiers or '...' before '(' token /usr/include/apache2/http_core.h:681: warning: data definition has no type or storage class /usr/include/apache2/http_core.h:681: warning: type defaults to 'int' in declaration of 'APR_DECLARE_OPTIONAL_FN
Re: [Mono-dev] problem compiling mod_mono from svn on Suse 10.1
Anyone around that can help with this? Gonzalo? Is the version of apache that ships with Suse 10.1 incompatible? Do I need an older or newer version? joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com - Original Message From: Joe Audette <[EMAIL PROTECTED]> To: Mono-devel-list@lists.ximian.com Sent: Friday, July 7, 2006 7:44:32 PM Subject: [Mono-dev] problem compiling mod_mono from svn on Suse 10.1 I'm having a problem compiling mod_mono from svn on Suse 10.1. using autogen.sh --prefix=/usr I get this which looks ok to me: Configuration summary for mod_mono * Installation prefix = /usr * Apache version = 2.2 * Apache modules directory = /usr/lib/apache2 * apxs = /usr/sbin/apxs2 * apr-config = /usr/bin/apr-1-config * Verbose logging (debug) = no * mono prefix = /usr/lib/pkgconfig/../.. * Default MonoApplicationsConfigDir = /etc/apache2/mod-mono-applications --- Now type 'make' to compile mod_mono. but when I try make I get a jillion errors as shown: /usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file or directory /usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory In file included from mod_mono.h:50, from mod_mono.c:32: /usr/include/apache2/httpd.h:54:25: error: apr_buckets.h: No such file or directory /usr/include/apache2/httpd.h:723:21: error: apr_uri.h: No such file or directory In file included from mod_mono.h:50, from mod_mono.c:32: /usr/include/apache2/httpd.h:925: error: expected specifier-qualifier-list before 'apr_uri_t' /usr/include/apache2/httpd.h:1085: error: expected specifier-qualifier-list before 'APR_RING_ENTRY' /usr/include/apache2/httpd.h:1199: error: expected specifier-qualifier-list before 'apr_bucket_brigade' /usr/include/apache2/httpd.h:1207: error: expected specifier-qualifier-list before 'apr_bucket_brigade' In file included from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/http_core.h:31:26: error: apr_optional.h: No such file or directory In file included from /usr/include/apache2/http_core.h:32, from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/util_filter.h:137: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:139: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:141: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/include/apache2/util_filter.h:296: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:298: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/include/apache2/util_filter.h:310: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:492: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:493: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:503: error: expected ')' before '*' token /usr/include/apache2/util_filter.h:511: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:548: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:559: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:562: error: format string argument not a string type In file included from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/http_core.h:662: error: expected ')' before 'int' /usr/include/apache2/http_core.h:680: error: expected declaration specifiers or '...' before 'ap_ident_lookup' /usr/include/apache2/http_core.h:681: error: expected declaration specifiers or '...' before '(' token /usr/include/apache2/http_core.h:681: warning: data definition has no type or storage class /usr/include/apache2/http_core.h:681: warning: type defaults to 'int' in declaration of 'APR_DECLARE_OPTIONAL_FN' In file included from mod_mono.h:52, from mod_mono.c:32: /usr/include/apache2/http_log.h:335: error: expected ')' before 'void' In file included from /usr/include/apache2/http_config.h:30, from mod_mono.h:53, from mod_mono.c:32: /usr/include/apache2/util_cfgtree.h:72: error: expec
Re: [Mono-dev] Novell sites are down
Seems to be back online now. joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com - Original Message From: Martin Hinks <[EMAIL PROTECTED]> To: Joe Audette <[EMAIL PROTECTED]> Cc: Mono-devel-list@lists.ximian.com Sent: Saturday, July 8, 2006 8:52:17 AM Subject: Re: [Mono-dev] Novell sites are down Looks down here too... On 7/8/06, Joe Audette <[EMAIL PROTECTED]> wrote: > I can't get to www.novell.com or the Novell forge wiki this morning. The mono > site is accessible though. > Anyone else having this problem? Or is it my isp? > > Joe > > > joe_audette [at] yahoo dotcom > http://www.joeaudette.com > http://www.mojoportal.com > > > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Martin Hinks http://www.m-s-d.net ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Novell sites are down
I can't get to www.novell.com or the Novell forge wiki this morning. The mono site is accessible though. Anyone else having this problem? Or is it my isp? Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] problem compiling mod_mono from svn on Suse 10.1
I'm having a problem compiling mod_mono from svn on Suse 10.1. using autogen.sh --prefix=/usr I get this which looks ok to me: Configuration summary for mod_mono * Installation prefix = /usr * Apache version = 2.2 * Apache modules directory = /usr/lib/apache2 * apxs = /usr/sbin/apxs2 * apr-config = /usr/bin/apr-1-config * Verbose logging (debug) = no * mono prefix = /usr/lib/pkgconfig/../.. * Default MonoApplicationsConfigDir = /etc/apache2/mod-mono-applications --- Now type 'make' to compile mod_mono. but when I try make I get a jillion errors as shown: /usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file or directory /usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory In file included from mod_mono.h:50, from mod_mono.c:32: /usr/include/apache2/httpd.h:54:25: error: apr_buckets.h: No such file or directory /usr/include/apache2/httpd.h:723:21: error: apr_uri.h: No such file or directory In file included from mod_mono.h:50, from mod_mono.c:32: /usr/include/apache2/httpd.h:925: error: expected specifier-qualifier-list before 'apr_uri_t' /usr/include/apache2/httpd.h:1085: error: expected specifier-qualifier-list before 'APR_RING_ENTRY' /usr/include/apache2/httpd.h:1199: error: expected specifier-qualifier-list before 'apr_bucket_brigade' /usr/include/apache2/httpd.h:1207: error: expected specifier-qualifier-list before 'apr_bucket_brigade' In file included from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/http_core.h:31:26: error: apr_optional.h: No such file or directory In file included from /usr/include/apache2/http_core.h:32, from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/util_filter.h:137: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:139: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:141: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/include/apache2/util_filter.h:296: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:298: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/include/apache2/util_filter.h:310: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:492: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:493: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:503: error: expected ')' before '*' token /usr/include/apache2/util_filter.h:511: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:548: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:559: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/include/apache2/util_filter.h:562: error: format string argument not a string type In file included from mod_mono.h:51, from mod_mono.c:32: /usr/include/apache2/http_core.h:662: error: expected ')' before 'int' /usr/include/apache2/http_core.h:680: error: expected declaration specifiers or '...' before 'ap_ident_lookup' /usr/include/apache2/http_core.h:681: error: expected declaration specifiers or '...' before '(' token /usr/include/apache2/http_core.h:681: warning: data definition has no type or storage class /usr/include/apache2/http_core.h:681: warning: type defaults to 'int' in declaration of 'APR_DECLARE_OPTIONAL_FN' In file included from mod_mono.h:52, from mod_mono.c:32: /usr/include/apache2/http_log.h:335: error: expected ')' before 'void' In file included from /usr/include/apache2/http_config.h:30, from mod_mono.h:53, from mod_mono.c:32: /usr/include/apache2/util_cfgtree.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/apache2/util_cfgtree.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token In file included from mod_mono.h:53, from mod_mono.c:32: /usr/include/apache2/http_config.h:288: error: expected specifier-qualifier-list before 'ap_directive_t' /usr/include/apache2/http_config.h:672: error: expected declaration specifiers or '...' before 'ap_directive_t' /usr/include/apache2/http_config.h:673: error: expected declaration specifiers or '...' before 'ap_directive_t' /usr/include/apache2/http_config.h:687: error: expected declaration specifiers or '...' before 'ap_directive_t' /usr/include/apache2/http_config.h:696: error: expected ')' before '*' token /usr/include/apache2/http_config.h:975: error: expected ')' before 'int' In file included
Re: [Mono-dev] Mono and dotnetNuke
You should at least consider looking into mojoportal. It is completely in c# and already works with mono and supports open source databases like MySQL PostgreSQL and SQLite in addtion to MS SQL.http://www.mojoportal.comI would be very surprised if DNN does not have some legacy VB syntax that uses the VB library. Even things like Instr() and such would be legacy syntax but many VB developers will keep on using it because it works.I will say the first time you get one of your ASP.NET apps running on linux it feels like magic. I know I've been hooked ever since. :-)Cheers,Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: Jan Waiz <[EMAIL PROTECTED]>To: [EMAIL PROTECTED]; Ympostor <[EMAIL PROTECTED]>Cc: mono-devel-list@lists.ximian.comSent: Thursday, June 29, 2006 6:42:02 AMSubject: Re: [Mono-dev] Mono and dotnetNuke Well – i will test it over the Weekend and let you know the Result. J I am still wondering, that so less Developers are working with Mono. And that there is no Partnership between the dnn- and mono-Project !? I am fascinated to develop with Windows/IIS/C# - and the Result can be run with Windows OR Mono. Because: That’s most possible Flexibility! Linux/Mono needs much less Resouces It runs with smaller CPU-Power Enables me to use free SQL-Databases like MySql or Postgres No Licensecosts for the OS More Provider offering housing/hosting Linux-Environment for lower Costs May be, Linux is more stabil May be, Linux needs less Amount of Administration May be, Linux is more safe against Attacks And so on and so on… Greets Jan Waiz I-Com EDV-Service Sülldorfer Knick 81e 22589 Hamburg Tel: 0049-40-56060630 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tomek Soroka Gesendet: Donnerstag, 29. Juni 2006 11:15 An: Ympostor Cc: mono-devel-list@lists.ximian.com Betreff: Re: [Mono-dev] Mono and dotnetNuke Hi! I'm sure that dnn doesn't use any VB6 legacy syntax. We use lot of dnn in windows environment and I think that run dnn on mono shouldn't be big problem (of course dnn compiled under windows because of mono vb compiller). What more - You can write additional modules in c#, that it means only core must be compiled under windows. best! Tomek Ympostor napisał(a): Jan Waiz escribió: Anyone here, who is working with dotnetNuke (3.x) running with Mono? (Just wondering...) I am not using it, but the fact that is written in VB probably means that can't compile (yet) with the Mono VB compiler (MBAS). And it is possible too that the code uses VB6 legacy syntax and keywords [1], so as not being able to run it with Mono only with the assemblies compiled in VS.NET. [1] http://rafaelmizrahi.blogspot.com/2006/06/compile-vbnet-code-without-implicit.html ___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono.Data.SqliteClient errors
I just noticed that SqliteResultSet.cs no longer exists in mono svn and my copy is from an old version that did have it. I removed it and everything compiled ok, so maybe its a non issue. I'll test the union part tomorrow, got to sleep now. I think the Unknown Parameter Type is still an issue. joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com - Original Message From: Joe Audette <[EMAIL PROTECTED]> To: Mono-devel-list@lists.ximian.com Sent: Monday, June 26, 2006 8:52:49 PM Subject: [Mono-dev] Mono.Data.SqliteClient errors Hi All, I'm getting errors in 2 situtations using Mono.Data.SqliteClient When I try to insert a byte[] into a LongBlob field using DBtype.Binary I get "Unkown Parameter Type" When I retrieve a datareader using a select statement with a union I get this error: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 84: Line 85: public object this[string name] { Line 86: get { object retVal = ((object[]) rows[current_row])[(int) column_names[name]]; Line 87: return retVal == null ? System.DBNull.Value : retVal; } Line 88: } Source File: C:\__joe\mojo21\Mono.Data.SqliteClient\SqliteResultSet.csLine: 86 I can comment out either side of the union and it works but when I have the union I get this error every time. I should note that I am testing on Windows and using Mono.Data.SqliteClient compiled in VS 2005 and running under 2.0 .NET I got the Mono.Data.SqliteClient code from mono svn r61924 Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Mono.Data.SqliteClient errors
Hi All, I'm getting errors in 2 situtations using Mono.Data.SqliteClient When I try to insert a byte[] into a LongBlob field using DBtype.Binary I get "Unkown Parameter Type" When I retrieve a datareader using a select statement with a union I get this error: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 84: Line 85: public object this[string name] { Line 86: get { object retVal = ((object[]) rows[current_row])[(int) column_names[name]]; Line 87: return retVal == null ? System.DBNull.Value : retVal; } Line 88: } Source File: C:\__joe\mojo21\Mono.Data.SqliteClient\SqliteResultSet.csLine: 86 I can comment out either side of the union and it works but when I have the union I get this error every time. I should note that I am testing on Windows and using Mono.Data.SqliteClient compiled in VS 2005 and running under 2.0 .NET I got the Mono.Data.SqliteClient code from mono svn r61924 Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] (no subject)
Hi Brian,Can you post the actual error you get when you run make?Cheers,Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: [EMAIL PROTECTED]To: mono-devel-list@lists.ximian.comSent: Wednesday, June 14, 2006 2:18:07 PMSubject: [Mono-dev] (no subject)Aloha. I realy need some help with the install Mono. I have run into a config issue. When I compile the mod_mono code, the configure works fine (see below). However, when I make it craps out complaining about some some code that is missing or not compatible. Do you have any thoughts to this? I am running suse 10.1. Configuration summary for mod_mono * Installation prefix = /usr * Apache version = 2.2 * Apache modules directory = /usr/lib/apache2 * apxs = /usr/sbin/apxs2 * apr-config = /usr/bin/apr-1-config * Verbose logging (debug) = no * mono prefix = /usr/lib/pkgconfig/../.. * Default MonoApplicationsConfigDir = /etc/apache2/mod-mono-applications Thanks so much, State of Hawaii Information Technology Service Office Brian Low 830 Punchbowl Street Room 216 Honolulu, HI 96813 E-mail: [EMAIL PROTECTED]___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Problems connecting to MS SQL with C# and Mono
Hi, >I get a horrible exception when attempting to connect to an MS SQL Express server from Mono (it works under the MS CLR). Here is the code I use to make the connection: string ConnectionString = "Data Source=127.0.0.1\SQLEXPRESS; Database=mydatabase;User ID=user;Password=password"; SqlConnection DatabaseConnection = new SqlConnection(ConnectionString); DatabaseConnection.Open(); //Exception thrown here < 2 things jump out at me. 1. Your connection string has 127.0.0.1 which when running on the mono machine would point to the mono machine so unless you are running mono on windows that could be part of the problem. 2. Your connection string is apparently using integrated windows security since it has no user name and password. This probably won't work if the mono machine is a linux machine. Hope it helps, Joe ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] using mono, mysql and asp
Hi Henry, You need the Connector. You can either put the dll for it in the bin folder of your app and reference it or you can install it in the GAC. It doesn't rely on Apache that I know of but can work either with xsp or apache/mod_mono/xsp Some versions of the connector had issues with mono, I'm not sure about the newest one, since I'm using an older version, but hopefully the newest one works with mono. Hope it helps, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com - Original Message From: henry human <[EMAIL PROTECTED]> To: mono-devel-list@lists.ximian.com Sent: Sunday, April 2, 2006 1:39:23 AM Subject: [Mono-dev] using mono, mysql and asp hello, after installation of mono from my suse linux distribuion and xsp server from code it seems the thing are ok! The xsp server is runing on 8080 and i can execute asp files. Now i want to access from asp file to mysql database. Do i need to install apache too to do this? I have mysql runing on my system, do i need a connector for it? What should i still install or change? Thanks henry ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Regression in System.Web
Hi Gonzalo, >Ok. Then I need to know how to reproduce this. Can we get a bug report filed? -Gonzalo < Through a process of elimination by commenting out code, rebuilding and deploying I was able to pin down the line of code that was raising the error, putting it in a try catch did not stop the error but I found a workaround to fix my page. It was blowing up on this line even inside a try catch: ddAvatars.SelectedValue = user.AvatarUrl; changing to this code resolved the problem: ListItem itemToSelect = ddAvatars.Items.FindByValue(user.AvatarUrl); if(itemToSelect != null) itemToSelect.Selected = true; ddAvatars is databound to a FileInfo[] of .gif files and the value of user.AvatarUrl was a valid item in the list. The original code has worked for a long time and does work on windows but currently on mono it produces this error: System.Web.HttpException: DropDownList only may have a single selected item in <0x00188> System.Web.UI.WebControls.DropDownList:RenderContents (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer) in <0xd> System.Web.UI.WebControls.WebControl:RenderContents (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer) in <0xd> System.Web.UI.WebControls.WebControl:RenderContents (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00278> ASP.layout_ascx:__Render_frmMain (System.Web.UI.HtmlTextWriter __output, System.Web.UI.Control parameterContainer) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_HtmlTextWriter_Control (System.Web.UI.HtmlTextWriter,System.Web.UI.Control) in <0x00026> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00055> System.Web.UI.HtmlControls.HtmlForm:RenderChildren (System.Web.UI.HtmlTextWriter w) in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer) in <0xd> System.Web.UI.HtmlControls.HtmlForm:Render (System.Web.UI.HtmlTextWriter w) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x002f1> System.Web.UI.Page:InternalProcessRequest () in <0x000a4> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context) If I get a chance this weekend I will try and produce a test case for the error but thought I would pass along my findings Cheers, Joe ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Regression in System.Web
Hi Gonzalo, >Ok. Then I need to know how to reproduce this. Can we get a bug report filed? Thanks! -Gonzalo < I'll try but this is the perplexing part, I have other pages with similar code that work fine and I've already tried putting try catches around anything touching a dropdown list but I still get the error. So far I haven't even been able to figure out what line of my code its breaking on so its not easy to figure out how to make a test case. I'll poke around some more and see if I can figure it out. Joe ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Regression in System.Web
Hi Gonzalo, >Can you try the System.Web.dll and its .mdb from http://gonzalo.name/System.Web-debug.tar.gz ? If that one works, I'll revert the offending patch. < I tried it but I still get the same error I think. System.Web.HttpException: DropDownList only may have a single selected item in <0x00188> System.Web.UI.WebControls.DropDownList:RenderContents (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer) in <0xd> System.Web.UI.WebControls.WebControl:RenderContents (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer) in <0xd> System.Web.UI.WebControls.WebControl:RenderContents (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00278> ASP.layout_ascx:__Render_frmMain (System.Web.UI.HtmlTextWriter __output, System.Web.UI.Control parameterContainer) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_HtmlTextWriter_Control (System.Web.UI.HtmlTextWriter,System.Web.UI.Control) in <0x00026> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00055> System.Web.UI.HtmlControls.HtmlForm:RenderChildren (System.Web.UI.HtmlTextWriter w) in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer) in <0xd> System.Web.UI.HtmlControls.HtmlForm:Render (System.Web.UI.HtmlTextWriter w) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x002f1> System.Web.UI.Page:InternalProcessRequest () in <0x000a4> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context) Thanks, Joe ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Regression in System.Web
Hi Gonzalo, Thanks for the quick response! >Can you try the System.Web.dll and its .mdb from http://gonzalo.name/System.Web-debug.tar.gz ? If that one works, I'll revert the offending patch. Thanks. < I'll give it a try tonight right after work and report back. Cheers, Joe ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Regression in System.Web
Hi All, I'm seeing a problem on the UserProfile page in mojoPortal. It was reported to me by a user running the latest release of mono and I am also seeing it in the latest build of mono from svn r58211 The code in this page hasn't changed in a while and was working without error a while back. Tonight I tried putting try catch statements around all references to DropDownList controls but I still get the error. This is using apache2 on Suse 10 fully up to date. The user of mojoPortal who reported it to me was using Ubuntu, mono 1.1.13.4 and apache2 I'm not entirely sure what line of code its happening on but the error is: System.Web.HttpException: DropDownList only may have a single selected item in <0x00188> System.Web.UI.WebControls.DropDownList:RenderContents (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer) in <0xd> System.Web.UI.WebControls.WebControl:RenderContents (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer) in <0xd> System.Web.UI.WebControls.WebControl:RenderContents (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.WebControls.WebControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00278> ASP.layout_ascx:__Render_frmMain (System.Web.UI.HtmlTextWriter __output, System.Web.UI.Control parameterContainer) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_HtmlTextWriter_Control (System.Web.UI.HtmlTextWriter,System.Web.UI.Control) in <0x00026> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00055> System.Web.UI.HtmlControls.HtmlForm:RenderChildren (System.Web.UI.HtmlTextWriter w) in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer) in <0xd> System.Web.UI.HtmlControls.HtmlForm:Render (System.Web.UI.HtmlTextWriter w) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00023> System.Web.UI.HtmlControls.HtmlContainerControl:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x00074> System.Web.UI.Control:RenderChildren (System.Web.UI.HtmlTextWriter writer) in <0x00011> System.Web.UI.Control:Render (System.Web.UI.HtmlTextWriter writer) in <0x00099> System.Web.UI.Control:RenderControl (System.Web.UI.HtmlTextWriter writer) in <0x002f1> System.Web.UI.Page:InternalProcessRequest () in <0x000a4> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context) I'm happy to post the code of th page if that will help. Cheers, Joe ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] mod-mono help
I have a tutorial here for setting up multiple virtual hosts with mod_mono http://www.joeaudette.com/settingupapachevirtualhostswithmod_mono.aspx The tutorial is based on suse but maybe you will find it helpful. Cheers, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com - Original Message From: Adi Spivak <[EMAIL PROTECTED]> To: mono-devel-list@lists.ximian.com Sent: Friday, March 10, 2006 12:02:28 PM Subject: [Mono-dev] mod-mono help Hello. i have a configuration problems. i cannot make the mod-mono apply to two diractorise. i have set the configuration like this: Alias /~pink "/home/pink/domains/SOMEDOMAIN.COM/public_html" AddMonoApplications default "/~pink:/home/pink/domains/SOMEDOMAIN.COM/public_html" SetHandler mono Alias /~master "/home/master/domains/SOMEOTHERDOMAIN.COM/public_html" AddMonoApplications master "/~master:/home/master/domains/SOMEOTHERDOMAIN.COM/public_html" SetHandler mono but only the one that is set as SetHandler mono is the one to work. how can i make them both run? what am i doing wrong? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] 2.0 error
Hi All, I'm getting this error lately in my experiments with 2.0 runtime when trying to access a database. It was working until recently. I'm at r55703 on Suse 10 with ipv6 disabled System.InvalidCastException: Cannot cast from source type to destination type. in <0x000bd> System.Net.Sockets.Socket:CheckProtocolSupport () in <0x7> System.Net.Sockets.Socket:get_SupportsIPv6 () in <0x00090> System.Net.Dns:hostent_to_IPHostEntry (System.String h_name, System.String[] h_aliases, System.String[] h_addrlist) in <0x0005b> System.Net.Dns:GetHostByName (System.String hostName) in <0x00058> System.Net.Dns:Resolve (System.String hostName) in <0x00025> Npgsql.NpgsqlClosedState:ResolveIPHost (System.String HostName) in <0x00065> Npgsql.NpgsqlClosedState:Open (Npgsql.NpgsqlConnector context) in <0x000c4> Npgsql.NpgsqlConnector:Open () in <0x0008a> Npgsql.NpgsqlConnectorPool:GetNonPooledConnector (Npgsql.NpgsqlConnection Connection) in <0x0003b> Npgsql.NpgsqlConnectorPool:RequestConnector (Npgsql.NpgsqlConnection Connection) in <0x0008b> Npgsql.NpgsqlConnection:Open () in (wrapper remoting-invoke-with-check) Npgsql.NpgsqlConnection:Open () in <0x00057> mojoPortal.Data.NpgsqlHelper:ExecuteReader (System.String connectionString, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters) Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] SUSE Linux / Installing mono_mod problems
I think I have just the tutorial you're looking forhttp://www.joeaudette.com/buildingmonoforaspnetThe error you are getting is because you don't have the appache dev stuff, theres a link to get it in the article.Cheers,Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: S. Shawn Mehaffie <[EMAIL PROTECTED]>To: mono-devel-list@lists.ximian.comSent: Friday, January 13, 2006 9:08:01 AMSubject: [Mono-dev] SUSE Linux / Installing mono_mod problems I am using the SUSE Virtual Machine to see how mono works. I have installed mono, and have dow nloaded and unzipped the mono_mode. When I try to run the following command ./configure --prefix=/usr to configure the mono mod so I can compile / install it I get the following error: apsx was not found, DSO compilation will not be available. Any help will be appreciated. I think I need to install something else, but not sure what. I used the installation package to install mono, so I was surprised that the mono mod was not installed since it is required for the ASP.Net functionality to work. I am a new Linux user and am very interested in mono and making sure my ASP.Net applications that I write also run under mono. Please be as detailed as possible in any instructions given.< /span> I am also interested in any instructions on using the "Automatic configuration of ASP.NET applications with mod_mono" Any help will be appreciated. Thanks S. Shawn Mehaffie ___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] make error on r55409
I got a reply saying it is fixed as of r55429 but I can't try it myself until tonight after work.Cheers,Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: Janne Rantala <[EMAIL PROTECTED]>To: mono-devel-list@lists.ximian.comSent: Thursday, January 12, 2006 11:19:53 AMSubject: Re: [Mono-dev] make error on r55409Hi, Have you found solution to this problem yet? I had quite similar error message today but I have no idea what might be causing that. :janneSystem.Windows.Forms\ButtonBase.cs(554,12): error CS0103: The name `use_compatib le_text_rendering' does not exist in the context of `System.Windows.Forms.Button Base' System.Windows.Forms\ButtonBase.cs(558,5): error CS0103: The name `use_compatibl e_text_rendering' does not exist in the context of `System.Windows.Forms.ButtonB ase' Compilation failed: 2 error(s), 0 warnings make[8]: *** [../../class/lib/net_2_0/System.Windows.Forms.dll] Error 1 make[8]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs/class/Ma naged.Windows.Forms' make[7]: *** [do-all] Error 2 make[7]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs/class/Ma naged.Windows.Forms' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs/class' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs' make[4]: *** [profile-do--net_2_0--all] Error 2 make[4]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs' make[3]: *** [profiles-do--all] Error 2 make[3]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mcs' make[2]: *** [all-local] Error 2 make[2]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mono/runtime ' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/d/cygwin/download/mono-1.1.12/mono' make: *** [all] Error 2 2006/1/12, Joe Audette <[EMAIL PROTECTED]>: Hmm,I can only guess from the silence that no-one else on this list having this problem?I did get one reply off list from someone else having the same p roblem and asking if I had found a solution.I will try updating tonight and see if it goes away. Joejoe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com- Original Message From: Joe Audette <[EMAIL PROTECTED]>To: mono-devel-list@lists.ximian.comSent: Wednesday, January 11, 2006 8:07:27 PM Subject: [Mono-dev] make error on r55409Hi All, I've been building mono from svn on a regular basis for quite a while but tonight on r55408 I'm getting this error when I run make I used ./autogen.sh --prefix=/usr and everything looked good. Any ideas how to get past th is? Thanks, Joe Suse 10 System.Windows.Forms /ButtonBase.cs(47,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/CheckedListBox.cs(44,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/GroupBox.cs(47,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/Label.cs(55,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/LinkLabel.cs(77,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/PropertyGrid.cs(82,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' Compilation failed: 6 error(s), 0 warnings make[8]: *** [../../class/lib/default/System.Windows.Forms.dll] Error 1 make[8]: Leaving directory `/webshare/monosource/mcs/class/Managed.Windows.Forms' make[7]: *** [do-all] Error 2 make[7]: Leaving directory `/webshare/monosource/mcs/class/Managed.Windows.Forms' make[6]: *** [all-recursive] Error 1___Mono-devel-list mailing list Mono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list ___Mono-devel-list mailing list[EMAIL PROTECTED] ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] make error on r55409
Hmm, I can only guess from the silence that no-one else on this list having this problem? I did get one reply off list from someone else having the same problem and asking if I had found a solution. I will try updating tonight and see if it goes away. Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com - Original Message From: Joe Audette <[EMAIL PROTECTED]> To: mono-devel-list@lists.ximian.com Sent: Wednesday, January 11, 2006 8:07:27 PM Subject: [Mono-dev] make error on r55409 Hi All, I've been building mono from svn on a regular basis for quite a while but tonight on r55408 I'm getting this error when I run make I used ./autogen.sh --prefix=/usr and everything looked good. Any ideas how to get past this? Thanks, Joe Suse 10 System.Windows.Forms/ButtonBase.cs(47,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/CheckedListBox.cs(44,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/GroupBox.cs(47,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/Label.cs(55,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/LinkLabel.cs(77,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/PropertyGrid.cs(82,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' Compilation failed: 6 error(s), 0 warnings make[8]: *** [../../class/lib/default/System.Windows.Forms.dll] Error 1 make[8]: Leaving directory `/webshare/monosource/mcs/class/Managed.Windows.Forms' make[7]: *** [do-all] Error 2 make[7]: Leaving directory `/webshare/monosource/mcs/class/Managed.Windows.Forms' make[6]: *** [all-recursive] Error 1 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] make error on r55409
Hi All, I've been building mono from svn on a regular basis for quite a while but tonight on r55408 I'm getting this error when I run make I used ./autogen.sh --prefix=/usr and everything looked good. Any ideas how to get past this? Thanks, Joe Suse 10 System.Windows.Forms/ButtonBase.cs(47,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/CheckedListBox.cs(44,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/GroupBox.cs(47,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/Label.cs(55,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/LinkLabel.cs(77,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' System.Windows.Forms/PropertyGrid.cs(82,48): error CS0117: `System.Windows.Forms.Application' does not contain a definition for `use_compatible_text_rendering' Compilation failed: 6 error(s), 0 warnings make[8]: *** [../../class/lib/default/System.Windows.Forms.dll] Error 1 make[8]: Leaving directory `/webshare/monosource/mcs/class/Managed.Windows.Forms' make[7]: *** [do-all] Error 2 make[7]: Leaving directory `/webshare/monosource/mcs/class/Managed.Windows.Forms' make[6]: *** [all-recursive] Error 1 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] 2.0 LoadControlState error in ListControl using CheckBoxList
Hi All, In continued testing of mojoportal using the 2.0 runtime, I've run into another problem on post back when using a CheckBoxList System.Exception: Unhandled Exception while processing NeatUpload child request ---> System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count. Parameter name: index 2 in <0x00096> System.Collections.ArrayList:get_Item (Int32 index) in <0x00012> System.Web.UI.WebControls.ListItemCollection:get_Item (Int32 index) in <0x0010f> System.Web.UI.WebControls.ListControl:LoadControlState (System.Object savedState) in <0x00141> System.Web.UI.Page:LoadPageControlState (System.Object data) in <0x0004d> System.Web.UI.Page:LoadPageViewState () in <0x0012f> System.Web.UI.Page:InternalProcessRequest () in <0x000aa> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)--- End of inner exception stack trace --- in <0x004a3> Brettle.Web.NeatUpload.UploadHttpModule:Application_BeginRequest (System.Object sender, System.EventArgs e) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in <0x0046f> System.Web.HttpApplication+__0:MoveNext () I think this corresponds to this section of ListControl.cs: #if NET_2_0 protected internal override void LoadControlState (object savedState) { object first = null; ArrayList indices = null; Pair pair = savedState as Pair; if (pair != null) { first = pair.First; indices = pair.Second as ArrayList; } base.LoadControlState (first); if (indices != null) { foreach (int index in indices) Items [index].Selected = true; } } #endif But I'm not sure what could be wrong. Any ideas? Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] problem with mono 1.1.12.1
Yes, I confirm the fix testing on r54948 using Suse 10I no longer get the error at System.Data.Common.DbDataAdapter:get_SelectCommand () that I was getting before in retrieving a dataset. Great work Daniel! Cheers, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com- Original Message From: Daniel Morgan <[EMAIL PROTECTED]>To: cartuchoGL <[EMAIL PROTECTED]>; mono-devel-list@lists.ximian.comSent: Sunday, January 01, 2006 3:28:32 PMSubject: Re: [Mono-dev] problem with mono 1.1.12.1I fix for the regression has been committed to svn. Can you re-test please?cartuchoGL <[EMAIL PROTECTED]> wrote: Daniel Morgan wrote:> mcs uses .net 1.1 profile as default. gmcs uses .net 2.0 profile as > defa ult. > > It looks like to be a regression in order to stub out methods and > properties to support ADO.NET 2.0.>> http://svn.myrealbox.com/viewcvs/trunk/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs?rev=53301&view=markup > >> Please file a bug report at http://bugzilla.ximian.com/Done bug # 77105> Joe Audette mentioned this earlier in an email with a subject of < br>> "ASP.NET 2.0 databinding to a DropDwonList not implemented". He also > blogged about this problem on Monologue at> _http://www.joeaudette.com/Default.aspx?pageid=101_> >> */cartuchoGL /* wrote:>> Hello,>> I have a program will use Datasets and run fine with mono 1.1.9> compiled> with gmcs, but with> 1.1.12.1 throw an exception System.NotImplementedException, the> same app> compiled with mcs not fail.>> This piece of code fail when run if compiled with gmcs>> //* gmcs -warn:4 Example10.cs -r:System.Data -r:Npgsql */> using System;> using System.Data;> using Npgsql;> /*> CREATE TABLE table2(> field_int2 int2,> field_timestamp timestamp,> field_numeric numeric> );> */>public class Example10 {> public static void Main() {> string strCon => "Server=localhost;"+> "User Id=postgres;"+> "Password=;"+> "Database=tests;";> NpgsqlConnection conn = new NpgsqlConnection(strCon);> conn.Open();>> NpgsqlDataAdapter da = new NpgsqlDataAdapter();> DataSet ds = new DataSet();>> string strCommand = "SELECT * FROM table2 WHERE 1=2";> NpgsqlCommand selCommand = new NpgsqlCommand(strCommand,conn);> selCommand.CommandType = CommandType.Text;>> strCommand = "INSERT INTO table2 "+> "(field_int2,field_timestamp,field_numeric) "+> "VALUES (:a, :b, :c)";> NpgsqlCommand insCommand = new NpgsqlCommand(strCommand,conn);>> insCommand.Parameters.Add> (new NpgsqlParameter("a", DbType.Int16));> insCommand.Parameters.Add > (new NpgsqlParameter("b", DbType.DateTi me));> insCommand.Parameters.Add> (new NpgsqlParameter("c", DbType.Decimal));>> insCommand.Parameters[0].Direction => insCommand.Parameters[1].Direction => insCommand.Parameters[2].Direction => ParameterDirection.Input;>> insCommand.Parameters[0].SourceColumn => "field_int2";> insCommand.Parameters[1].SourceColumn => "field_timestamp";> insCommand.Parameters[2].SourceColumn => "field_numeric";>> da.SelectCommand = selCommand;> da.InsertCommand = insCommand;>> da.Fill(ds,"table2");>> DataTable dt = ds.Tables["table2"];>> DataRow dr = dt.NewRow();> dr["field_int2"] = 4;> dr["field_timestamp"] = new DateTime(2003, 03, 03, 14, 0, 0);> dr["field_numeric"] = 7.3M;>> dt.Rows.Add(dr);>> da .Update(ds,"table2");>> conn.Close();> }> }>> Output is:> Unhandled Exception: System.NotImplementedException: The requested> feature is not implemented.> in <0x0001d> System.Data.Common.DbDataAdapter:get_SelectCommand ()> in <0x0001a> System.Data.Common.DbDataAdapter:Fill> (System.Data.DataSet> dataSet, System.String srcTable)> in (wrapper remoting-invoke-with-check)> System.Data.Common.DbDataAdapter:Fill (System.Data.DataSet,string)> in <0x0031e> Example10:Main ()>> Any ideas?> Thanks.>>> ___> Mono-devel-list mailing list> Mono-devel-list@lists.ximian.com> http://lists.ximian.com/mailm an/listinfo/mono-devel-list>>> ; > Yahoo
[Mono-dev] ASP.NET 2.0 databinding to a DropDwonList not implemented
Hi All, I'm having some success with mojoportal built in VS 2005 and running on mono using 2.0 http://demo2.mojoportal.com But I'm getting some errors in places where I'm databinding to a DropDownList using code like this: IDataReader reader = SiteSettings.GetSiteList(); this.ddSiteList.DataSource = reader; this.ddSiteList.DataBind(); I get this error: System.NotImplementedException: The requested feature is not implemented. in <0x0001d> System.Web.UI.WebControls.ListControl:PerformSelect () in <0x0001b> System.Web.UI.WebControls.BaseDataBoundControl:DataBind () in <0x000e4> mojoPortal.Web.SiteSettingsControl:PopulateControls () in <0x003c0> mojoPortal.Web.SiteSettingsControl:Page_Load (System.Object sender, System.EventArgs e) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in <0x00117> System.Web.UI.Control:OnLoad (System.EventArgs e) in <0x00112> System.Web.UI.Control:LoadRecursive () in <0x00161> System.Web.UI.Control:LoadRecursive () in <0x00161> System.Web.UI.Control:LoadRecursive () in <0x00161> System.Web.UI.Control:LoadRecursive () in <0x00161> System.Web.UI.Control:LoadRecursive () in <0x00161> System.Web.UI.Control:LoadRecursive () in <0x001c4> System.Web.UI.Page:InternalProcessRequest () in <0x000aa> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context) -- The problem seems to be coming from mcs\class\System.Web\System.Web.UI.WebControls.ListControl.cs [MonoTODO] protected override void PerformSelect () { throw new NotImplementedException (); } I'd be glad to try and pitch in and implement something here if I knew what its supposed to do. Anyone that can give me some guidance? Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] xsp + jpeg's
I don't use xsp by itself but with mod_mono so this may not help if you are using xsp by itself but the technique I use is to make mono the handler for the directory using SetHandler but over-ride that for certain file types using a FilesMatch directive and setting the handler for these file types to None so that apache is responsible for serving them. You can see the syntax in the example Virtual Host file I posted in my blog. http://www.joeaudette.com/BlogView.aspx?pageid=101&ItemID=205&mid=104&pageindex= Hope it helps, Joe --- Mark Gallop <[EMAIL PROTECTED]> wrote: > Hello All, > > I am trying to display jpeg images using xsp and > mono 1.1.10 (I have > also tried previous versions) unfortuneately it only > works if the file > extension is "jpeg". If it is "jpg" the browser > wants to download, not > display. > > This only occurs when loading the image on its own, > eg > http://127.0.0.1:8080/image.jpg. Other file types, > like txt/mov/avi, > display correctly. > > Is this a issue with mime types? Any help would be > appreciated. > > Cheers, > Mark > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Can I use mod_mono with xsp2
rol__bctrl_2(); Line 88: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl)); Line 89: __parser.AddParsedSubObject(this._bctrl_2); Line 90: return __ctrl; Line 91: } Line 92: Line 93: private System.Web.UI.Control __BuildControl__bctrl_2() { Line 94: System.Web.UI.HtmlControls.HtmlTitle __ctrl; Line 95: __ctrl = new System.Web.UI.HtmlControls.HtmlTitle(); Line 96: this._bctrl_2 = __ctrl; Line 97: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl)); Line 98: __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("Untitled Page")); Line 99: return __ctrl; Line 100: } Line 101: Line 102: private System.Web.UI.Control __BuildControl_txtHelloWorld() { Line 103: System.Web.UI.WebControls.TextBox __ctrl; Line 104: __ctrl = new System.Web.UI.WebControls.TextBox(); Line 105: this.txtHelloWorld = __ctrl; Line 106: __ctrl.ID = "txtHelloWorld"; Line 107: this.__BuildControl__bctrl_3(__ctrl.Text); Line 108: return __ctrl; Line 109: } Line 110: Line 111: private void __BuildControl__bctrl_3(string __ctrl) { Line 112: } Line 113: Line 114: private System.Web.UI.Control __BuildControl_form1() { Line 115: System.Web.UI.HtmlControls.HtmlForm __ctrl; Line 116: __ctrl = new System.Web.UI.HtmlControls.HtmlForm(); Line 117: this.form1 = __ctrl; Line 118: __ctrl.ID = "form1"; Line 119: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl)); Line 120: __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n \n \n \n ")); Line 121: return __ctrl; Line 122: } Line 123: Line 124: protected override void FrameworkInitialize() { Line 125: this.TraceModeValue = System.Web.TraceMode.SortByTime; Line 126: this.Request.ValidateInput(); Line 127: this.__BuildControlTree(this); Line 128: } Line 129: Line 130: public override int GetTypeHashCode() { Line 131: return 390505215; Line 132: } Line 133: } Line 134: Line 135: } Elliott Draper <[EMAIL PROTECTED]> wrote: Joe Audette wrote:> doh! nevermind I found them. On my machine its> /usr/lib/xsp/1.0/mod-mono-server.exe> and> /usr/lib/xsp/2.0/mod-mono-server2.exe>> Thanks Again!No problems, glad you found them; I must have installed Mono and XSP into the same folders on my box.Let me know how you get on porting MojoPortal to Mono 2.0 / VS2005, I'd be quite interested to hear your experiences of moving a fairly big web app like that across to the 2.0 profile :-)>> JoeCheers,-= El =-___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-listjoe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Can I use mod_mono with xsp2
Hi Elliott, I've got it working at the Virtual Host level http://demo.mojoportal.com is using the 1.1 version and http://demo2.mojoportal.com is using the 2.0 version I've got the apache configuration for demo2.mojoportal.com like this: ServerAdmin test@test.com ServerName demo2.mojoportal.com DocumentRoot "/webshare/mojolocal" ErrorLog /var/log/apache2/demo2mojoportal.com-error_log CustomLog /var/log/apache2/dem2omojoportal.com-access_log combined HostnameLookups Off UseCanonicalName On MonoApplications demo2 "demo2.mojoportal.com:/:/webshare/mojolocal" MonoExecutablePath demo2 /usr/bin/mono # This uses ASP.NET 1.1 mod-mono-server # MonoServerPath demo2 /usr/lib/xsp/1.0/mod-mono-server.exe # This uses ASP.NET 2.0 mod-mono-server MonoServerPath demo2 /usr/lib/xsp/2.0/mod-mono-server2.exe MonoSetServerAlias demo2 SetHandler mono SetHandler None Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all But in the version of mojoportal compiled in VS 2005 using the above I get this error: System.ArgumentNullException: Argument cannot be null.Parameter name: typein <0x00152> System.Activator:CreateInstance (System.Type type, Boolean nonPublic)in <0xc> System.Activator:CreateInstance (System.Type type)in <0x00031> System.Web.Configuration.Compiler:get_Provider ()in <0x00041> System.Web.Configuration.CompilationConfiguration:GetProvider (System.String language)in <0x0009d> 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 <0x001e6> System.Web.HttpApplication:GetHandler (System.Web.HttpContext context)in <0x00b8a> System.Web.HttpApplication+__1:MoveNext ()When I try it from the command line using xsp2 I get the same error in the page and no helpful info in the command window. Any ideas? I guess my next step is to try and make a small hello world web app in VS 2005 and try it. Thanks, JoeElliott Draper <[EMAIL PROTECTED]> wrote: Joe Audette wrote:> doh! nevermind I found them. On my machine its> /usr/lib/xsp/1.0/mod-mono-server.exe> and> /usr/lib/xsp/2.0/mod-mono-server2.exe>> Thanks Again!No problems, glad you found them; I must have installed Mono and XSP into the same folders on my box.Let me know how you get on porting MojoPortal to Mono 2.0 / VS2005, I'd be quite interested to hear your experiences of moving a fairly big web app like that across to the 2.0 profile :-)>> JoeCheers,-= El =-___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-listjoe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Can I use mod_mono with xsp2
doh! nevermind I found them. On my machine its /usr/lib/xsp/1.0/mod-mono-server.exe and /usr/lib/xsp/2.0/mod-mono-server2.exe Thanks Again! JoeJoe Audette <[EMAIL PROTECTED]> wrote: I compiled mono from svn with the --prefix=/usr and when I look in my /usr/lib/mono/2.0 folder I don't see mod-mono-server2.exe Where in svn can I find what I need to build this? I've been browsing around the web interface at http://svn.myrealbox.com/viewcvs/trunk/ but can't find it. Thanks, JoeElliott Draper <[EMAIL PROTECTED]> wrote: Joe Audette wrote:> Is it possible to use the new 2.0 ASP.NET features th at are currently > implemented in mono with mod_mono on apache2? Or can it only be done > using xsp2 from the command line?>> What do I have to configure differently to make this happen?> I'm using Virtual Hosts in apache.Check this out: http://www.mono-project.com/Mod_mono#PathsYou'll see that you can use "MonoServerPath" to specify the actual ModMono executable used, and instead of using the default one, you can use "$MONO/lib/mono/2.0/mod-mono-server2.exe" to target the 2.0 profile (where $MONO is the path to your Mono installation).>> Can I make a new Virtual Host that is configured for ASP.NET 2.0 or > xsp2/mod_mono while leaving the other Virtual Hosts running under the > regular 1.1 implementation of xsp/mod_mono?Not sure on this, but I would think you can specify different "MonoServerPath" settings for different vhosts.>> If so any tips or links on how to do it would be much appreciated.>> *snip*>> I have a copy of mojoportal compiled in VS 2005 and I am trying to get > setup so I can test it on my mono machine. It doesn't use any of the > ASP.NET 2.0 features but it was compiled on Windows against the 2.0 > framework.Cool!>> Anyone else done any tes ting of building a web app in VS 2005 and able > to get it running on mod_mono/apache2?I write all of my apps at the minute using VS2005, and am finding it easy to port most apps to using the Mono 2.0 profile, so that I can take advantage of 2.0 features. I had a tough time using web apps created under VS2005 using Mono a while back though, so took to (where possible) back porting them to 1.1, removing partial classes, and obviously this was only possible for projects not using or referencing 2.0 features like generics etc. This did however get my web apps built usi ng VS2005 running on mod_mono!I haven't retried straight porting a 2.0 app created with VS2005 in a while tho, when I get more time I hope to give it another bash; I'm sure with a lot of the recent updates to the codebase I should have more luck :-) Let me know how you get on!>> Thanks,Hope that helps!>> JoeCheers,-= El =->>> joe_audette [at] yahoo dotcom> http://www.joeaudette.com> http://www.mojoportal.com>>>>___>Mono-devel-list mailing list>Mono-devel-list@lists.ximian.com>http://lists.ximian.com/mailman/listinfo/mono-devel-list> >joe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-listjoe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Can I use mod_mono with xsp2
I compiled mono from svn with the --prefix=/usr and when I look in my /usr/lib/mono/2.0 folder I don't see mod-mono-server2.exe Where in svn can I find what I need to build this? I've been browsing around the web interface at http://svn.myrealbox.com/viewcvs/trunk/ but can't find it. Thanks, JoeElliott Draper <[EMAIL PROTECTED]> wrote: Joe Audette wrote:> Is it possible to use the new 2.0 ASP.NET features that are currently > implemented in mono with mod_mono on apache2? Or can it only be done > using xsp2 from the command line?>> What do I have to configure differently to make this happen?> I'm using Virtual Hosts in apache.Check this out: http://www.mono-project.com/Mod_mono#PathsYou'll see that you can use "MonoServerPath" to specify the actual ModMono executable used, and instead of using the default one, you can use "$MONO/lib/mono/2.0/mod-mono-server2.exe" to target the 2.0 profile (where $MONO is the path to your Mono installation).>> Can I make a new Virtual Host that is configured for ASP.NET 2.0 or > xsp2/mod_mono while leaving the other Virtual Hosts running under the > regular 1.1 implementation of xsp/mod_mono?Not sure on this, but I would think you can specify different "MonoServerPath" settings for different vhosts.>> If so any tips or links on how to do it would be much appreciated.>> *snip*>> I have a copy of mojoportal compiled in VS 2005 and I am trying to get > setup so I can test it on my mono machine. It doesn't use any of the > ASP.NET 2.0 features but it was compiled on Windows against the 2.0 > framework.Cool!>> Anyone else done any tes ting of building a web app in VS 2005 and able > to get it running on mod_mono/apache2?I write all of my apps at the minute using VS2005, and am finding it easy to port most apps to using the Mono 2.0 profile, so that I can take advantage of 2.0 features. I had a tough time using web apps created under VS2005 using Mono a while back though, so took to (where possible) back porting them to 1.1, removing partial classes, and obviously this was only possible for projects not using or referencing 2.0 features like generics etc. This did however get my web apps built using VS2005 running on mod_mono!I haven't retried straight porting a 2.0 app created with VS2005 in a while tho, when I get more time I hope to give it another bash; I'm sure with a lot of the recent updates to the codebase I should have more luck :-) Let me know how you get on!>> Thanks,Hope that helps!>> JoeCheers,-= El =->>> joe_audette [at] yahoo dotcom> http://www.joeaudette.com> http://www.mojoportal.com>>>>___>Mono-devel-list mailing list>Mono-devel-list@lists.ximian.com>http://lists.ximian.com/mailman/listinfo/mono-devel-list> >joe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Can I use mod_mono with xsp2
Thanks Elliott! Thats very helpful. I'll give that a try tomorrow and let you know how it goes. Cheers, JoeElliott Draper <[EMAIL PROTECTED]> wrote: Joe Audette wrote:> Is it possible to use the new 2.0 ASP.NET features that are currently > implemented in mono with mod_mono on apache2? Or can it only be done > using xsp2 from the command line?>> What do I have to configure differently to make this happen?> I'm using Virtual Hosts in apache.Check this out: http://www.mono-project.com/Mod_mono#PathsYou'll see that you can use "MonoServerPath" to specify the actual ModMono executable used, and instead of using the default one, you can use "$MONO/lib/mono/2.0/mod-mono-server2.exe" to target the 2.0 profile (where $MONO is the path to your Mono installation).>> Can I make a new Virtual Host that is configured for ASP.NET 2.0 or > xsp2/mod_mono while leaving the other Virtual Hosts running under the > regular 1.1 implementation of xsp/mod_mono?Not sure on this, but I would think you can specify different "MonoServerPath" settings for different vhosts.>> If so any tips or links on how to do it would be much appreciated.>> *snip*>> I have a copy of mojoportal compiled in VS 2005 and I am trying to get > setup so I can test it on my mono machine. It doesn't use any of the > ASP.NET 2.0 features but it was compiled on Windows against the 2.0 > framework.Cool!>> Anyone else done any testing of building a web app in VS 2005 and able > to get it running on mod_mono/apache2?I write all of my apps at the minute using VS2005, and am finding it easy to port most apps to using the Mono 2.0 profile, so that I can take advantage of 2.0 features. I had a tough time using web apps created under VS2005 using Mono a while back though, so took to (where possible) back porting them to 1.1, removing partial classes, and obviously this was only possible for projects not using or referencing 2.0 features like generics etc. This did however get my web apps built using VS2005 running on mod_mono!I haven't retried straight porting a 2.0 app created with VS2005 in a while tho, when I get more time I hope to give it another bash; I'm sure with a lot of the recent updates to the codebase I should have more luck :-) Let me know how you get on!>> Thanks,Hope that helps!>> JoeCheers,-= El =->>> joe_audette [at] yahoo dotcom> http://www.joeaudette.com> http://www.mojoportal.com>>>>___>Mono-devel-list mailing list>Mono-devel-list@lists.ximian.com>http://lists.ximian.com/mailman/listinfo/mono-devel-list> >___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-listjoe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Can I use mod_mono with xsp2
Is it possible to use the new 2.0 ASP.NET features that are currently implemented in mono with mod_mono on apache2? Or can it only be done using xsp2 from the command line? What do I have to configure differently to make this happen? I'm using Virtual Hosts in apache. Can I make a new Virtual Host that is configured for ASP.NET 2.0 or xsp2/mod_mono while leaving the other Virtual Hosts running under the regular 1.1 implementation of xsp/mod_mono? If so any tips or links on how to do it would be much appreciated.My current Virtual Host configuration that works with 1.1 aka xsp/mod_mono is like this:LoadModule mono_module /usr/lib/apache2/mod_mono.so MonoApplicationsConfigDir "/webshare/webapp" ServerAdmin test@test.com ServerName demo2.mojoportal.com DocumentRoot "/webshare/demo2" ErrorLog /var/log/apache2/demomojoportal.com-error_log CustomLog /var/log/apache2/demomojoportal.com-access_log combined HostnameLookups Off UseCanonicalName On SetHandler mono SetHandler None Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all What can I change to enable 2.0?I have a copy of mojoportal compiled in VS 2005 and I am trying to get setup so I can test it on my mono machine. It doesn't use any of the ASP.NET 2.0 features but it was compiled on Windows against the 2.0 framework.Anyone else done any testing of building a web app in VS 2005 and able to get it running on mod_mono/apache2?Thanks,Joe joe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Seems like myrealbox.com is expired
nevermind, I see it is the same as svn.myrealbox.com I had fat fingered it in my hosts file Thanks, Joe --- Joe Audette <[EMAIL PROTECTED]> wrote: > I'm unable to checkout mono from svn > what is the ip address of mono.myrealbox.com ? > > Thanks, > > Joe > > --- Peter Dennis Bartok <[EMAIL PROTECTED]> wrote: > > > The owner of the domain was laid off last week, > and > > register.com decided to > > drop all configuration on the domain when it was > > transfered to it's new > > owner. They're working on getting it fixed, in the > > meantime the IP address > > (151.155.5.148) can be used to reach the system. > > (Easiest is to put an entry > > into /etc/hosts resolving svn.myrealbox.com to the > > address) > > > > I sincerely apologies for the inconvenience. > > > > Peter > > > > -Original Message- > > From: "Mike Glenn" <[EMAIL PROTECTED]> > > To: > > Date: 11 November, 2005 18:58 > > Subject: [Mono-dev] Seems like myrealbox.com is > > expired > > > > > > >Any of the svn host at myrealbox.com are > > redirecting me to a registar.com > > >site, looks like the domain needs renewed. > > > > > >Mike Glenn > > > > > >___ > > >Mono-devel-list mailing list > > >Mono-devel-list@lists.ximian.com > > > >http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > > > > > > ___ > > Mono-devel-list mailing list > > Mono-devel-list@lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > joe_audette [at] yahoo dotcom > http://www.joeaudette.com > http://www.mojoportal.com > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Seems like myrealbox.com is expired
I'm unable to checkout mono from svn what is the ip address of mono.myrealbox.com ? Thanks, Joe --- Peter Dennis Bartok <[EMAIL PROTECTED]> wrote: > The owner of the domain was laid off last week, and > register.com decided to > drop all configuration on the domain when it was > transfered to it's new > owner. They're working on getting it fixed, in the > meantime the IP address > (151.155.5.148) can be used to reach the system. > (Easiest is to put an entry > into /etc/hosts resolving svn.myrealbox.com to the > address) > > I sincerely apologies for the inconvenience. > > Peter > > -Original Message- > From: "Mike Glenn" <[EMAIL PROTECTED]> > To: > Date: 11 November, 2005 18:58 > Subject: [Mono-dev] Seems like myrealbox.com is > expired > > > >Any of the svn host at myrealbox.com are > redirecting me to a registar.com > >site, looks like the domain needs renewed. > > > >Mike Glenn > > > >___ > >Mono-devel-list mailing list > >Mono-devel-list@lists.ximian.com > >http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] latest mono completely broken for ASP.NET on Suse as far as I can tell
Yes! I confirm it is fixed in svn r52934 http://demo.mojoportal.com is back online Many Thanks Gonzalo! --- Gonzalo Paniagua Javier <[EMAIL PROTECTED]> wrote: > On Fri, 2005-11-11 at 09:32 -0800, Joe Audette > wrote: > > Thanks Gonzalo! > > > > Dean Brettle also suggested I try launching it > with just xsp from the > > command line to see if it gives any more error > info. I will try that > > after I get home from work as well. > > > > I'm using the same configuration for apache that I > have been using all > > along and was wondering whether anything needs to > be configured > > differently for the latest code. > > The problem is now fixed in mod_mono module for svn > HEAD and 1-1-10 > branch. We hope to have new packages out soon. > > -Gonzalo > > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] latest mono completely broken for ASP.NET on Suse as far as I can tell
Great! I'll give it a try this evening on my suse 9.2 machine and try and confirm the fix.Gonzalo Paniagua Javier <[EMAIL PROTECTED]> wrote: On Fri, 2005-11-11 at 09:32 -0800, Joe Audette wrote:> Thanks Gonzalo!> > Dean Brettle also suggested I try launching it with just xsp from the> command line to see if it gives any more error info. I will try that> after I get home from work as well.> > I'm using the same configuration for apache that I have been using all> along and was wondering whether anything needs to be configured> differently for the latest code.The problem is now fixed in mod_mono module for svn HEAD and 1-1-10branch. We hope to have new packages out soon.-Gonzalo___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-listjoe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] latest mono completely broken for ASP.NET on Suse as far as I can tell
Thanks Gonzalo! Dean Brettle also suggested I try launching it with just xsp from the command line to see if it gives any more error info. I will try that after I get home from work as well. I'm using the same configuration for apache that I have been using all along and was wondering whether anything needs to be configured differently for the latest code. Gonzalo Paniagua Javier <[EMAIL PROTECTED]> wrote: On Thu, 2005-11-10 at 20:49 -0800, Joe Audette wrote:> I posted a message earlier this week about getting a> 503 service unavailable on my demo site> demo.mojoportal.com running the latest code from svn> (also updated tonight to r52890 with same result) and> no-one replied to my post.> this is on suse 9.2> > Now I've tried a clean install of Suse 10 with the> latest mono 1.1.10 on a different machine and the same> result 503 service unavailable> > What gives! Is anyone out there running the latest> code with success on suse?I am on suse 10.I'll try installing from packages and see what's wrong with mod_mono/xspin the next few hours.-Gonzalo___Mono-devel-list mailing listMono-devel-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-listjoe_audette [at] yahoo dotcomhttp://www.joeaudette.comhttp://www.mojoportal.com___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] latest mono completely broken for ASP.NET on Suse as far as I can tell
I posted a message earlier this week about getting a 503 service unavailable on my demo site demo.mojoportal.com running the latest code from svn (also updated tonight to r52890 with same result) and no-one replied to my post. this is on suse 9.2 Now I've tried a clean install of Suse 10 with the latest mono 1.1.10 on a different machine and the same result 503 service unavailable What gives! Is anyone out there running the latest code with success on suse? Please any help, this is very frustrating and sucking up hours of time I'd like to be using for development on my project. I've been building mono from svn for a long time on my Suse 9.2 machine. I'm not a linux expert but not a newb either. Now I can't get mojoportal working on svn code or the latest release. I could really use some help here. Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] build from svn broke my demo site
Hi All, I got the latest from svn today r56268 for libgdiplus, mono, xsp, mod_mono This is on Suse 9.2 The last build I was using was r51436. Now my demo site http://demo.mojoportal.com is giving a 503 error The only new things in my apache error log are: [Sun Nov 06 11:01:41 2005] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Sun Nov 06 11:01:41 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2) [Sun Nov 06 11:01:41 2005] [notice] Apache/2.0.50 (Linux/SUSE) configured -- resuming normal operations which don't really seem mono related but these arrors have never appeared in the log before today. Has anything changed in terms of configuration requirements for mod_mono on apache2? Or any other suggestions to get things working again? Any help much appreciated. Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] RE: Mono website down ?
I saw this issue yesterday when it was first reported, then it seemed to heal itself but today it is back again. I'm getting a generic looking Novell site when I try to visit the mono project site on either of my machines, windows or Suse. I get the same results in Firefox or IE Joe --- Matt Philmon <[EMAIL PROTECTED]> wrote: > Let's see if this one posts... My last response is > apparently waiting on > approval... Whatever. > > I'm seeing the same thing and it's still happening > as of this evening > (Saturday). It started sometime on Friday (though > early-ish). Here's a twist > though: > > Work: Windows 2000 Professional using Firefox 1.5 B2 > AND IE 6.x I cannot > browse to the Mono site. I get that stripped down > Novell site instead and > Monologue is unreachable. This happens the same on > both browsers. > > Home: I have 2 computers. The one running Windows XP > Professional SP2 has > the exact same problem as the one at work... Cannot > get the the mono page... > Redirected to this Novell thing. HOWEVER, on my > other PC that runs Ubuntu > Breezy (development) and Firefox 1.0.7 I get to the > correct page without > problem using the same URL. My home network is > extremely simple... DHCP > router and cable modem hosts 2 PC's and 2 Tivos. > > I've tried everything I can think of to try. > Something is seriously messed > up in the configuration of the site. I think it's > somehow failing to > recognize Windows OS or something. > > Matt Philmon > > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Cookies can not be saved
I am using a persistent cookie like this: FormsAuthentication.SetAuthCookie(txtEmail.Text, chkRememberMe.Checked); where chkRememberMe.Checked is true, but not sure that even matters if the browser hasn't been closed. Even on mono/apache I can completely re-deploy my app and restart apache and it does not require me to login again unless I have logged out the persistent cookie or closed the browser on the non persistent cookie. Am I operating in a separate reality from everyone else? :) It would be quite inconvenient on my production apps if everytime I deployed an update it logged people out. Thankfully in my reality that is not the case, I'm going to have to stay back from the event horizon to your universe. ;D Joe --- "Gaurav Vaish (Mono)" <[EMAIL PROTECTED]> wrote: > > I have not observed this on my development or > > production machines with ASP.NET. I can update the > bin > > and anything else without having to login again. > The > > only time I've ever had to re-login is on a web > > Not quite sure as to why you "do not" have to > relogin. > > If the assembly that does the task of registration > is updated, the assembly > cache entry will be invalidated and everything > restarts. > > Gonzalo: > In XSP, is the full assembly cache invalidated > for any assembly changed > or only the corresponding assembly cache entry is > invalidated? > > > -- > Cheers, > Gaurav Vaish > http://mastergaurav.org > - > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Cookies can not be saved
> IMHO, this behaviour is the same on MS.NET. Whenever > I update my bin > directory I always have to relogin... > I have not observed this on my development or production machines with ASP.NET. I can update the bin and anything else without having to login again. The only time I've ever had to re-login is on a web cluster when it fails over to the inactive node and the reason that happens is because I haven't taken the time to create a common encryption key to use on both machines. This article discusses the issue for clusters http://support.microsoft.com/default.aspx?scid=kb;en-us;555353&sd=rss&spid=6351 It sounds like by default windows persists the autogenerated key in the registry which may be the reason for a difference in behavior with mono. Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] .aspx and .aspx.cs (spliting "codebehind")
It works for me on mono, though I develop in VS.NET on windows and just deploy on mono. For my project http://www.mojoportal.com which runs on mono I have at least one developer who compiles on linux with monodevelop and it works for him too. You are more than welcome to download the source for my project to see how I am doing things, maybe it will help or give you some ideas. Cheers, Joe --- Florian <[EMAIL PROTECTED]> wrote: > Hi Joe, > > Thx for ur quick answer, but unfortunately this > doesn't work neither for > me. > > I tried it in all possible combinations of > Codebehind= , src= , > Inherits=, AutoEventWireup= (Eventhough I actually > want > AutoEventWireup=true, since I wanna use the > Page_Load function) > > *) Maybe a configuration problem (but it works with > inline cs code in > the aspx) > > *) mono-issue? Does anyone have this (aspx and > apsx.cs seperatly) > working properly? > > Maybe there are some other advices out there. > > br, > Flox > > P.S.: > Basically I thought > 1.)Codebehind is more for VS.NET then for mono. > 2.)src is used in mono (but then when used with > Inherits the class is > defined twice which results in error as well) > > > I used also the new System.Web.dll posted in > this list. > > P.S.S: > I get the following results for the different ways > to write the header: > > ***1.) > <%@ Page language="c#" AutoEventWireup="false" > Codebehind="request.aspx.cs" src="request.aspx.cs" > %> > > ==> it works, but now reaction if the button is > clicked > > ***2.) > <%@ Page language="c#" AutoEventWireup="false" > Codebehind="request.aspx.cs"src="request.aspx.cs" > Inherits="workflow.Request %> > > ==> the namespace of the class Request is workflow > > I do get the following error: > > 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: > /tmp/apache-temp-aspnet-0/43d82bdb/20255.0.cs(26,33) > : > error CS0433: The imported type `workflow.Request' > is defined multiple > times > > File name: > /home/florian/public_html/workflow/request.aspx > > Source File: > /tmp/apache-temp-aspnet-0/43d82bdb/20255.0.cs > > ***3.) > <%@ Page language="c#" AutoEventWireup="false" > Codebehind="request.aspx.cs" > Inherits="workflow.Request" %> > > ==> the namespace of the class Request is workflow > > I do get the following error: > > Description: Error processing request. > > Error Message: HTTP 500. > > Stack Trace: > System.Reflection.TargetInvocationException: > Exception has been thrown by the target of an > invocation. ---> System.Web.HttpException: Response > is not available without context > in <0x00054> System.Web.UI.Page:get_Response () > in <0x00015> workflow.Request:.ctor () > in <0xa> ASP.request_aspx:.ctor () > in <0x0> > in (wrapper managed-to-native) > System.Reflection.MonoCMethod:InternalInvoke > (object,object[]) > in <0x0008d> System.Reflection.MonoCMethod:Invoke > (System.Object obj, BindingFlags invokeAttr, > System.Reflection.Binder binder, System.Object[] > parameters, System.Globalization.CultureInfo > culture)--- End of inner exception stack trace --- > > in <0x0010e> System.Reflection.MonoCMethod:Invoke > (System.Object obj, BindingFlags invokeAttr, > System.Reflection.Binder binder, System.Object[] > parameters, System.Globalization.CultureInfo > culture) > in <0x0001c> System.Reflection.MonoCMethod:Invoke > (BindingFlags invokeAttr, System.Reflection.Binder > binder, System.Object[] parameters, > System.Globalization.CultureInfo culture) > in <0x00035> > System.Reflection.ConstructorInfo:Invoke > (System.Object[] parameters) > in <0x00116> System.Activator:CreateInstance > (System.Type type, Boolean nonPublic) > in <0xc> System.Activator:CreateInstance > (System.Type type) > in <0x00022> > 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 <0x001e1> System.Web.HttpApplication:GetHandler > (System.Web.HttpConte
Re: [Mono-dev] .aspx and .aspx.cs (spliting "codebehind")
If you use syntax like this <%@ Page language="c#" AutoEventWireup="false" Codebehind="request.aspx.cs" Inherits="request" %> and compile and put the dll in your bin folder it should work Hope it helps, Joe --- Florian Kinast <[EMAIL PROTECTED]> wrote: > Hi Everybody, > > I am sorry if this problem is not appropriate here, > but I am looking for > a solution to that now for some time. > > Problem: > > I got a request.aspx which works if I put the > "codebehind" and the aspx > in one file. > If I try to split it into a request.aspx and > request.aspx.cs it doesn't > work anymore: There is just no reaction on the click > (it seems to load, but > just the same pages comes back). > > .) Variant 1 (WORKING) > request.aspx: > <%@ language="C#" %> > Transitional//EN" > > > > void btnEnter_Click(object o, > EventArgs e) > { > btnEnter.Text="Clicked"; > } > > > > > Text="OnLoad" > onClick="btnEnter_Click"/> > > > > > .) Variant 2 (NOT WORKING) > request.aspx: > <%@ Page language="c#" src="request.aspx.cs" %> > Transitional//EN" > > > > runat="server"> > Text="OnLoad" runat="server"/> > > > > > request.aspx.cs: > using System; > using System.Web.UI; > using System.Web.UI.WebControls; > > namespace workflow > { > public class Request : System.Web.UI.Page > { > protected > System.Web.UI.WebControls.Button btnEnter; > > override protected void > OnInit(EventArgs e) > { > InitializeComponent(); > base.OnInit(e); > } > > private void InitializeComponent() > { > this.btnEnter.Click += new > System.EventHandler(this.btn$ > this.Load += new > System.EventHandler(this.Page_Load); > } > > protected void Page_Load(object > sender, System.EventArgs e) > { > >} > > protected void btnEnter_Click(object > sender, > System.EventArgs e) > { >this.btnEnter.Text = > "Clicked"; > } > } > } > > I tried it with various options (with/without > InitializeComponent and > other commands also placed directly in the Page_Load > function) and it > never worked. > > MY SETTING: > Gentoo, apache2, mod_mono, mono-1.1.9, kernel 2.6.13 > > Could this missing functionality be caused by > wrongly configured > httpd.conf/mod_mono.conf or something like that? > > I am rather new to the mono and I want to migrate a > quite complex > project from VS.NET/Windows to mono/linux. But at > the moment I get stuck > at the very basic levels. > > If this is the wrong platform to ask questions I am > sorry and ask you to > tell me where else I could ask this and what would > be the appropriate > questions in this list. > > I am very thankfull for every help. > Thx a lot in advance, > Flox > > P.S: > I tried it also with creating a .dll an puting it in > the same as well as > in the bin/ directory of the Application. > > Might I need to register the dll somewhere (gac)? > > > -- > GMX DSL = Maximale Leistung zum minimalen Preis! > 2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: > http://www.gmx.net/de/go/dsl > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] compiling debugger cant find termcap library on Suse 9.2
Hi All, ./autogen.sh --pfrefix=/usr in debugger folder from svn I get this checking for termcap.h... no checking termcap/termcap.h usability... yes checking termcap/termcap.h presence... yes checking for termcap/termcap.h... yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl... yes checking for getpagesize... yes checking for setitimer... yes checking for sysconf... yes checking for fdopen... yes checking for getuid... yes checking for getgid... yes checking for strlcpy... no checking for strlcat... no configure: error: Cannot find termcap library Any suggestions how to resolve this. I did install termcap from Yast but that didn't solve it. When I look in /usr/lib/termcap I don't see termcap.h Is there another place to look for that? Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] compiling debugger cant find termcap library on Suse 9.2
Thanks that was it! (ncurses-devel) Cheers! Joe --- Atsushi Eno <[EMAIL PROTECTED]> wrote: > Hi, > > > > configure: error: Cannot find termcap library > > > > Any suggestions how to resolve this. I did install > > termcap from Yast but that didn't solve it. When I > > look in /usr/lib/termcap I don't see termcap.h > > > > Is there another place to look for that? > > I think you don't have readline(-devel) and/or > ncurses(-devel) packages. > > Atsushi Eno > > > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Can't launch MonoDevelop built from svn
Hi All, I just built everything from svn and I get this error when trying to launch monodevelop from the command line: Entering VB.NET parser Reading /root/.config/MonoDevelop/CodeCompletionData/mscorlib_1.0.5000.0_b77a5c561934e089.pidb Creating DefaultWorkbench Loading error, please reinstall : System.EntryPointNotFoundException: gtksharp_get_type_name_for_id in (wrapper managed-to-native) GLib.ObjectManager:gtksharp_get_type_name_for_id(intptr) in <0x000ad> GLib.ObjectManager:LookupType (IntPtr typeid) in <0x00019> GLib.ObjectManager:GetTypeOrParent (IntPtr obj) in <0x00031> GLib.ObjectManager:CreateObject (IntPtr raw) in <0x000cc> GLib.Object:GetObject (IntPtr o, Boolean owned_ref) in <0xc> GLib.Object:GetObject (IntPtr o) in <0x00015> Gtk.Widget:get_DefaultStyle () in <0x00048> MonoDevelop.Core.Services.ResourceService:GetIcon (System.String name, IconSize size) in <0x0001a> MonoDevelop.Core.Services.ResourceService:GetBitmap (System.Stringname, IconSize size) in <0x00012> MonoDevelop.Core.Services.ResourceService:GetBitmap (System.Stringname) in <0x001e5> MonoDevelop.Gui.DefaultWorkbench:.ctor () in <0x00019> MonoDevelop.Commands.InitializeWorkbenchCommand:Run () in <0x00714> MonoDevelop.SharpDevelopMain:Main (System.String[] args) I'm running Suse 9.2 mono r50052 MonoDevelop r2794 Any suggestions appreciated. Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] System.InvalidCastException in System.Web
Hi, I'm using r49842 and now when I try to login to my demo site at http://demo.mojoportal.com I get: System.InvalidCastException: Cannot cast from source type to destination type. in <0x00054> System.Web.UI.WebControls.ImageButton:OnClick (System.Web.UI.ImageClickEventArgs e) in <0x00062> System.Web.UI.WebControls.ImageButton:RaisePostDataChangedEvent () in <0xa> System.Web.UI.WebControls.ImageButton:System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent () in <0x000e9> System.Web.UI.Page:RaiseChangedEvents () in <0x001c1> System.Web.UI.Page:InternalProcessRequest () in <0x000a0> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context) in <0x01098> System.Web.HttpApplication+__1:MoveNext () Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] System.NotImplementedException in System.Web
Hi All, I'm using r49671 and I'm getting this error: System.NotImplementedException: Use the IStateManager interface instead of this method. It has been obsoleted due to Project Fresh in <0x00024> System.Web.UI.WebControls.ListItemCollection:TrackViewState () in <0x000d4> System.Web.UI.WebControls.ListBox:System.Web.UI.IPostBackDataHandler.LoadPostData (System.String postDataKey, System.Collections.Specialized.NameValueCollection postCollection) in <0x00336> System.Web.UI.Page:ProcessPostData (System.Collections.Specialized.NameValueCollection data, Boolean second) in <0x00178> System.Web.UI.Page:InternalProcessRequest () in <0x000a0> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context) in <0x01098> System.Web.HttpApplication+__1:MoveNext () Running the following code: private void DeleteBtn_Click(Object sender, ImageClickEventArgs e) { string pane = ((ImageButton)sender).CommandArgument; ListBox _listbox = (ListBox) Page.FindControl(pane); ArrayList modules = GetPaneModules(pane); if (_listbox.SelectedIndex != -1) { Module m = (Module) modules[_listbox.SelectedIndex]; if (m.ModuleID > -1) { Module.DeleteModule(m.ModuleID); } } Response.Redirect(Request.RawUrl, false); } It works correctly under Windows ASP.NET Thanks for any help or advice, Joe Audette joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] problem building gtk-sharp
Thanks, I did that and now I get a different error when I run make: :0: warning: shadowed declaration is here In file included from /opt/gnome/include/panel-2.0/panel-applet.h:33, from panelapplet.c:1: /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:68: error: syntax error before "G_GNUC_SENTINEL" /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:68: warning: type defaults to `int' in declaration of `G_GNUC_SENTINEL' /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:68: warning: function declaration isn't a prototype /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:68: warning: data definition has no type or storage class /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:72: error: syntax error before "G_GNUC_SENTINEL" /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:72: warning: type defaults to `int' in declaration of `G_GNUC_SENTINEL' /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:72: warning: function declaration isn't a prototype /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:72: warning: data definition has no type or storage class make[3]: *** [panelapplet.lo] Error 1 make[3]: Leaving directory `/usr/local/src/mono/gtk-sharp/gnome/glue' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/mono/gtk-sharp/gnome' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/mono/gtk-sharp' make: *** [all] Error 2 Any other suggestions much appreciated! Thanks, Joe --- Jürg Billeter <[EMAIL PROTECTED]> wrote: > On Son, 2005-07-17 at 16:25 -0700, Joe Audette > wrote: > > On Suse 9.3 P4 3GHz trying to build gtk-sharp > > [...] > > popt.h: No such file or directory > > You probably need to install popt-dev or whatever > the development > package of the popt library is called in SUSE. > > Regards, > > Jürg > -- > Jürg Billeter <[EMAIL PROTECTED]> > > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] problem building gtk-sharp
Hi All, On Suse 9.3 P4 3GHz trying to build gtk-sharp ./bootstrap-2.4 --prefix=/usr Configuration summary * Installation prefix = /usr * C# compiler: /usr/bin/mcs -debug Optional assemblies included in the build: * art-sharp.dll: yes * gnomevfs-sharp.dll: yes * gnome-sharp.dll: yes * glade-sharp.dll: yes * gda-sharp.dll: no * gnomedb-sharp.dll: no * rsvg-sharp.dll: yes * gtkhtml-sharp.dll: yes * vte-sharp.dll: yes * gtk-dotnet.dll: yes NOTE: if any of the above say 'no' you may install the corresponding development packages for them, rerun autogen.sh to include them in the build. * Documentation build enabled: no --- Now type `make' to compile make :0: warning: shadowed declaration is here In file included from /opt/gnome/include/bonobo-activation-2.0/bonobo-activation/bonobo-activation.h:34, from /opt/gnome/include/libbonobo-2.0/bonobo/bonobo-object.h:14, from /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:23, from /opt/gnome/include/panel-2.0/panel-applet.h:33, from panelapplet.c:1: /opt/gnome/include/bonobo-activation-2.0/bonobo-activation/bonobo-activation-init.h:28:18: popt.h: No such file or directory In file included from /opt/gnome/include/panel-2.0/panel-applet.h:33, from panelapplet.c:1: /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:68: error: syntax error before "G_GNUC_SENTINEL" /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:68: warning: type defaults to `int' in declaration of `G_GNUC_SENTINEL' /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:68: warning: function declaration isn't a prototype /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:68: warning: data definition has no type or storage class /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:72: error: syntax error before "G_GNUC_SENTINEL" /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:72: warning: type defaults to `int' in declaration of `G_GNUC_SENTINEL' /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:72: warning: function declaration isn't a prototype /opt/gnome/include/libbonoboui-2.0/bonobo/bonobo-control.h:72: warning: data definition has no type or storage class make[3]: *** [panelapplet.lo] Error 1 make[3]: Leaving directory `/usr/local/src/mono/gtk-sharp/gnome/glue' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/mono/gtk-sharp/gnome' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/mono/gtk-sharp' make: *** [all] Error 2 any ideas or suggestions? Many Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] Error Building from svn r47365
Yes, that fixed it! Thanks Again! Joe --- Daniel Morgan <[EMAIL PROTECTED]> wrote: > Try it now. > > The opening brace was in the wrong place. Thus it > allowed to compile > fine under NET_1_1 profile, but fail under NET_2_0 > profile. > > Joe Audette wrote: > > >Hi All, > > > >I'm having trouble building mono from svn. The last > >time I did a build was at r46532 but today I pulled > >down r 47365 and when I try to make mono I get > errors. > > > >final result of ./autogen.sh --prefix=/usr: > > > >mcs source: $(top_srcdir)/../mcs > >GC: included > >Globalization: > >TLS: __thread > >SIGALTSTACK: no > >Engine: Building and using the JIT > >2.0 Alpha: yes > >JNI support: IKVM Native > >libgdiplus: assumed to be installed > > > >snip of error after running make: > > > >Compilation failed: 1 error(s), 0 warnings > >make[8]: *** > >[../../class/lib/net_2_0/System.Data.OracleClient.dll] > >Error 1 > >make[8]: Leaving directory > >`/usr/src/mono/mcs/class/System.Data.OracleClient' > >make[7]: *** [do-all] Error 2 > >make[7]: Leaving directory > >`/usr/src/mono/mcs/class/System.Data.OracleClient' > >make[6]: *** [all-recursive] Error 1 > >make[6]: Leaving directory > `/usr/src/mono/mcs/class' > >make[5]: *** [all-recursive] Error 1 > >make[5]: Leaving directory `/usr/src/mono/mcs' > >make[4]: *** [profile-do--net_2_0--all] Error 2 > >make[4]: Leaving directory `/usr/src/mono/mcs' > >make[3]: *** [profiles-do--all] Error 2 > >make[3]: Leaving directory `/usr/src/mono/mcs' > >make[2]: *** [all-local] Error 1 > >make[2]: Leaving directory > >`/usr/src/mono/mono/runtime' > >make[1]: *** [all-recursive] Error 1 > >make[1]: Leaving directory `/usr/src/mono/mono' > >make: *** [all] Error 2 > > > >Any ideas? > > > >I'm running Suse 9.2 on a P3 850 Dell. > > > >Thanks, > > > >Joe > > > >joe_audette [at] yahoo dotcom > >http://www.joeaudette.com > >http://www.mojoportal.com > >___ > >Mono-devel-list mailing list > >Mono-devel-list@lists.ximian.com > >http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > > > > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] Error Building from svn r47365
Disregard previous, I'm pulling r47370 now and I see the file has changed. I'll post again after make. Many Thanks for the quick response! Joe --- Daniel Morgan <[EMAIL PROTECTED]> wrote: > Try it now. > > The opening brace was in the wrong place. Thus it > allowed to compile > fine under NET_1_1 profile, but fail under NET_2_0 > profile. > > Joe Audette wrote: > > >Hi All, > > > >I'm having trouble building mono from svn. The last > >time I did a build was at r46532 but today I pulled > >down r 47365 and when I try to make mono I get > errors. > > > >final result of ./autogen.sh --prefix=/usr: > > > >mcs source: $(top_srcdir)/../mcs > >GC: included > >Globalization: > >TLS: __thread > >SIGALTSTACK: no > >Engine: Building and using the JIT > >2.0 Alpha: yes > >JNI support: IKVM Native > >libgdiplus: assumed to be installed > > > >snip of error after running make: > > > >Compilation failed: 1 error(s), 0 warnings > >make[8]: *** > >[../../class/lib/net_2_0/System.Data.OracleClient.dll] > >Error 1 > >make[8]: Leaving directory > >`/usr/src/mono/mcs/class/System.Data.OracleClient' > >make[7]: *** [do-all] Error 2 > >make[7]: Leaving directory > >`/usr/src/mono/mcs/class/System.Data.OracleClient' > >make[6]: *** [all-recursive] Error 1 > >make[6]: Leaving directory > `/usr/src/mono/mcs/class' > >make[5]: *** [all-recursive] Error 1 > >make[5]: Leaving directory `/usr/src/mono/mcs' > >make[4]: *** [profile-do--net_2_0--all] Error 2 > >make[4]: Leaving directory `/usr/src/mono/mcs' > >make[3]: *** [profiles-do--all] Error 2 > >make[3]: Leaving directory `/usr/src/mono/mcs' > >make[2]: *** [all-local] Error 1 > >make[2]: Leaving directory > >`/usr/src/mono/mono/runtime' > >make[1]: *** [all-recursive] Error 1 > >make[1]: Leaving directory `/usr/src/mono/mono' > >make: *** [all] Error 2 > > > >Any ideas? > > > >I'm running Suse 9.2 on a P3 850 Dell. > > > >Thanks, > > > >Joe > > > >joe_audette [at] yahoo dotcom > >http://www.joeaudette.com > >http://www.mojoportal.com > >___ > >Mono-devel-list mailing list > >Mono-devel-list@lists.ximian.com > >http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > > > > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] Error Building from svn r47365
I'm at r47369 and still the same error. It doesn't look like the timestamp on the file changed. I think I still have the same version as this morning. What revision are you at? Thanks, Joe --- Daniel Morgan <[EMAIL PROTECTED]> wrote: > Try it now. > > The opening brace was in the wrong place. Thus it > allowed to compile > fine under NET_1_1 profile, but fail under NET_2_0 > profile. > > Joe Audette wrote: > > >Hi All, > > > >I'm having trouble building mono from svn. The last > >time I did a build was at r46532 but today I pulled > >down r 47365 and when I try to make mono I get > errors. > > > >final result of ./autogen.sh --prefix=/usr: > > > >mcs source: $(top_srcdir)/../mcs > >GC: included > >Globalization: > >TLS: __thread > >SIGALTSTACK: no > >Engine: Building and using the JIT > >2.0 Alpha: yes > >JNI support: IKVM Native > >libgdiplus: assumed to be installed > > > >snip of error after running make: > > > >Compilation failed: 1 error(s), 0 warnings > >make[8]: *** > >[../../class/lib/net_2_0/System.Data.OracleClient.dll] > >Error 1 > >make[8]: Leaving directory > >`/usr/src/mono/mcs/class/System.Data.OracleClient' > >make[7]: *** [do-all] Error 2 > >make[7]: Leaving directory > >`/usr/src/mono/mcs/class/System.Data.OracleClient' > >make[6]: *** [all-recursive] Error 1 > >make[6]: Leaving directory > `/usr/src/mono/mcs/class' > >make[5]: *** [all-recursive] Error 1 > >make[5]: Leaving directory `/usr/src/mono/mcs' > >make[4]: *** [profile-do--net_2_0--all] Error 2 > >make[4]: Leaving directory `/usr/src/mono/mcs' > >make[3]: *** [profiles-do--all] Error 2 > >make[3]: Leaving directory `/usr/src/mono/mcs' > >make[2]: *** [all-local] Error 1 > >make[2]: Leaving directory > >`/usr/src/mono/mono/runtime' > >make[1]: *** [all-recursive] Error 1 > >make[1]: Leaving directory `/usr/src/mono/mono' > >make: *** [all] Error 2 > > > >Any ideas? > > > >I'm running Suse 9.2 on a P3 850 Dell. > > > >Thanks, > > > >Joe > > > >joe_audette [at] yahoo dotcom > >http://www.joeaudette.com > >http://www.mojoportal.com > >___ > >Mono-devel-list mailing list > >Mono-devel-list@lists.ximian.com > >http://lists.ximian.com/mailman/listinfo/mono-devel-list > > > > > > > > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] Error Building from svn r47365
Oh here is another little bit of the error I should have included MONO_PATH="../../class/lib/net_2_0:$MONO_PATH" /usr/src/mono/mono/runtime/mono-wrapper ../../gmcs/gmcs.exe-d:NET_1_1 -d:NET_2_0 -debug /noconfig /r:mscorlib.dll /r:System.dll /r:System.Xml.dll /r:System.Data.dll /r:System.EnterpriseServices.dll /r:System.Drawing.dll /nowarn:649 /nowarn:169 /target:library /out:../../class/lib/net_2_0/System.Data.OracleClient.dll @System.Data.OracleClient.dll.sources syntax error, got token `BOOL' System.Data.OracleClient/OracleCommandBuilder.cs(50) error CS8025: Parsing error Thanks, Joe --- Joe Audette <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm having trouble building mono from svn. The last > time I did a build was at r46532 but today I pulled > down r 47365 and when I try to make mono I get > errors. > > final result of ./autogen.sh --prefix=/usr: > > mcs source: $(top_srcdir)/../mcs > GC: included > Globalization: > TLS: __thread > SIGALTSTACK: no > Engine: Building and using the JIT > 2.0 Alpha: yes > JNI support: IKVM Native > libgdiplus: assumed to be installed > > snip of error after running make: > > Compilation failed: 1 error(s), 0 warnings > make[8]: *** > [../../class/lib/net_2_0/System.Data.OracleClient.dll] > Error 1 > make[8]: Leaving directory > `/usr/src/mono/mcs/class/System.Data.OracleClient' > make[7]: *** [do-all] Error 2 > make[7]: Leaving directory > `/usr/src/mono/mcs/class/System.Data.OracleClient' > make[6]: *** [all-recursive] Error 1 > make[6]: Leaving directory `/usr/src/mono/mcs/class' > make[5]: *** [all-recursive] Error 1 > make[5]: Leaving directory `/usr/src/mono/mcs' > make[4]: *** [profile-do--net_2_0--all] Error 2 > make[4]: Leaving directory `/usr/src/mono/mcs' > make[3]: *** [profiles-do--all] Error 2 > make[3]: Leaving directory `/usr/src/mono/mcs' > make[2]: *** [all-local] Error 1 > make[2]: Leaving directory > `/usr/src/mono/mono/runtime' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/mono/mono' > make: *** [all] Error 2 > > Any ideas? > > I'm running Suse 9.2 on a P3 850 Dell. > > Thanks, > > Joe > > joe_audette [at] yahoo dotcom > http://www.joeaudette.com > http://www.mojoportal.com > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] Error Building from svn r47365
Hi All, I'm having trouble building mono from svn. The last time I did a build was at r46532 but today I pulled down r 47365 and when I try to make mono I get errors. final result of ./autogen.sh --prefix=/usr: mcs source: $(top_srcdir)/../mcs GC: included Globalization: TLS: __thread SIGALTSTACK: no Engine: Building and using the JIT 2.0 Alpha: yes JNI support: IKVM Native libgdiplus: assumed to be installed snip of error after running make: Compilation failed: 1 error(s), 0 warnings make[8]: *** [../../class/lib/net_2_0/System.Data.OracleClient.dll] Error 1 make[8]: Leaving directory `/usr/src/mono/mcs/class/System.Data.OracleClient' make[7]: *** [do-all] Error 2 make[7]: Leaving directory `/usr/src/mono/mcs/class/System.Data.OracleClient' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/usr/src/mono/mcs/class' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/usr/src/mono/mcs' make[4]: *** [profile-do--net_2_0--all] Error 2 make[4]: Leaving directory `/usr/src/mono/mcs' make[3]: *** [profiles-do--all] Error 2 make[3]: Leaving directory `/usr/src/mono/mcs' make[2]: *** [all-local] Error 1 make[2]: Leaving directory `/usr/src/mono/mono/runtime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mono/mono' make: *** [all] Error 2 Any ideas? I'm running Suse 9.2 on a P3 850 Dell. Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] Help getting past error building libgdiplus
Hi, On revision 44055 I'm getting this error when trying to build libgdiplus. After ./autogen.sh --prefix=$HOME/mono it said yes to everything except GIF error: eps/cairo_font.pp -c cairo_font.c -fPIC -DPIC -o .libs/cairo_font.o cairo_font.c: In function `_font_cache_create_entry': cairo_font.c:89: error: `CAIRO_FONT_BACKEND_DEFAULT' undeclared (first use in this function) cairo_font.c:89: error: (Each undeclared identifier is reported only once cairo_font.c:89: error: for each function it appears in.) make[4]: *** [cairo_font.lo] Error 1 make[4]: Leaving directory `/home/advanced/jaudette/src/mono/libgdiplus/cairo/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/advanced/jaudette/src/mono/libgdiplus/cairo' make[2]: *** [all-recursive-am] Error 2 make[2]: Leaving directory `/home/advanced/jaudette/src/mono/libgdiplus/cairo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/advanced/jaudette/src/mono/libgdiplus' make: *** [all-recursive-am] Error 2 My hosting company grokthis.net is letting my run my sites using mono from svn if I can get it working. I have my own instance of apache and the idea is to build and run mono, xsp, mod_mono from my home direcotry. Its a Debian machine if that helps any. Any help or advice much appreciated. Thanks, Joe Audette joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] Building gtk-sharp from Recent svn
Hi, I am at r43477, was able to build libgdiplus, mono, xsp, mod_mono but when I got to gtk-sharp first it complained about my version of Pango being too low so I installed 1.8, then it complained about wanting gtk+ 2.6 so I installed glib 2.6.4 then tried to build gtk+ 2.6.7 no errors after ./configure but after make I get: ./.libs/libgtk-x11-2.0.so: undefined reference to `g_key_file_get_integer' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_key_file_load_from_file' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_context_set_main_group' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_group_set_parse_hooks' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_filename_display_basename' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_context_set_help_enabled' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_context_parse' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_context_add_group' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_key_file_free' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_key_file_new' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_context_set_ignore_unknown_options' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_key_file_get_locale_string' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_key_file_get_integer_list' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_key_file_get_string' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_assert_warning' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_group_set_translation_domain' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_key_file_get_string_list' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_key_file_set_list_separator' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_get_user_data_dir' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_filename_display_name' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_group_new' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_uri_list_extract_uris' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_context_new' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_get_system_data_dirs' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_strv_length' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_context_free' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_context_add_main_entries' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_option_group_add_entries' ./.libs/libgtk-x11-2.0.so: undefined reference to `g_return_if_fail_warning' collect2: ld returned 1 exit status make[4]: *** [gtk-query-immodules-2.0] Error 1 make[4]: Leaving directory `/usr/src/gtk+-2.6.7/gtk' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/gtk+-2.6.7/gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/gtk+-2.6.7/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/gtk+-2.6.7' make: *** [all] Error 2 anyone have any advice how to proceed? Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: Fwd: Re: [Mono-devel-list] HELP Please ASP.NET only 1 site works with REV 43090
Atsushi, Im now at r43150 and its working for all sites again! Whatever you did must have fixed it. Thanks very much, Joe --- Atsushi Eno <[EMAIL PROTECTED]> wrote: > Hi Joe, > > Mhm, randomly happening. I wonder if TextInfo is the > actual problem. > > Anyways, my latest change is r43147 in mcs. It must > be there ;-) > at least I received it via mono-patches list. > > You can try debugging in two ways. 1) If you use > mod_mono, add > "MonoDebug" in your corresponding mod_mono > configuration in httpd.conf. > 2) With xsp (as a standalone server), to get debug > enabled stack > trace you will just need to run mono --debug > /usr/bin/xsp.exe > > I noticed that building xsp with mcs -debug+ won't > be required > (I _think_ you can do that by "make MCS=/usr/bin/mcs > -debug+" to > build xsp.) > > I hope it helps. > > Atsushi Eno > > Joe Audette wrote: > > Hi Atsushi, > > > > I pulled down the code from svn again but I got > rev > > 43146 not 43147 > > > > after build and restart apache > > http://www.mojoportal.com works > > http://www.joeaudette.com works > > htpp://demo.mojoportal.com broken with same error > as > > before > > > > at least the 2 most important are working for the > > moment. I'm not surprised you haven't been able to > > replicate it with the test pages given how > randomly it > > affects some or 1 of my vhosts > > > > I'd be glad to try and build xsp with debug and > run > > mono in debug but I'm new to this stuff so I'm not > > sure exactly what I need to do. > > > > My current process is run a script that pulls mono > > stuff from svn then I do: > > > > ./autogen.sh --prefix=/usr > > make > > make install > > > > on > > > > libgdiplus > > mono > > xsp > > mod_mono > > > > retart apache > > > > > > > > Do I build xsp like this? > > > > ./autogen.sh --prefix=/usr mcs -debug+ > > make > > make install > > > > How do I run mono in debug? Where do I make the > > settings? In my etc/init.d/apache2 file? > > > > Can you give me step by step how to proceed? > > > > Thanks, > > > > Joe > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: Fwd: Re: [Mono-devel-list] HELP Please ASP.NET only 1 site works with REV 43090
Hi Atsushi, I pulled down the code from svn again but I got rev 43146 not 43147 after build and restart apache http://www.mojoportal.com works http://www.joeaudette.com works htpp://demo.mojoportal.com broken with same error as before at least the 2 most important are working for the moment. I'm not surprised you haven't been able to replicate it with the test pages given how randomly it affects some or 1 of my vhosts I'd be glad to try and build xsp with debug and run mono in debug but I'm new to this stuff so I'm not sure exactly what I need to do. My current process is run a script that pulls mono stuff from svn then I do: ./autogen.sh --prefix=/usr make make install on libgdiplus mono xsp mod_mono retart apache Do I build xsp like this? ./autogen.sh --prefix=/usr mcs -debug+ make make install How do I run mono in debug? Where do I make the settings? In my etc/init.d/apache2 file? Can you give me step by step how to proceed? Thanks, Joe --- Atsushi Eno <[EMAIL PROTECTED]> wrote: > Hi Joe, > > So I tried xsp/test modifying web.config > (appSettings) and > global.asax (OnBeginRequest()) but it didn't > differentiate on xsp. > > I made another commit to svn (r43147), which should > not have > happened. Now I have really no idea why > NullReferenceException > is thrown inside TextInfo.ToLower(). > > If the problem still happens, it is possible 1) to > build xsp with > "mcs -debug+" and 2) run mono with --debug option so > that the > stack trace contains error location? > > Thanks, > Atsushi Eno > > Joe Audette wrote: > > I sent this to the list but its taking a while for > it > > to show up so thought I would forward directly to > you. > > > > Thanks, > > > > Joe > > > > --- Joe Audette <[EMAIL PROTECTED]> wrote: > > > > > >>Date: Sun, 17 Apr 2005 06:15:04 -0700 (PDT) > >>From: Joe Audette <[EMAIL PROTECTED]> > >>Subject: Re: [Mono-devel-list] HELP Please ASP.NET > >>only 1 site works with REV 43090 > >>To: mono-devel-list > >> > >> > >>Hi Atsushi, > >> > >>Thanks for the quick response. I tried pulling > down > >>the latest from svn again this morning (rev 43143) > >>but > >>the problem still exists with the same symptoms. > >> > >>One thing I noticed last night is its not that > only > >>1 > >>site works for some reason I can get both > >>http://www.mojoportal.com > >>and > >>http://demo.mojoportal.com working at the same > time > >>(some of the time not 100%) > >>but if I restart apache and make the first request > >>to > >>http://www.joeaudette.com then joeaudette.com > works > >>and neither > >>http://www.mojoportal.com > >>nor > >>http://demo.mojoportal.com work. > >> > >>Below is some possibly relevant code from my > >>Global.asax.cs Application_BeginRequest > >> > >> > >>CultureInfo culture = new > >> > > > > > CultureInfo(ConfigurationSettings.AppSettings.Get("Culture")); > > > >> > >>System.Threading.Thread.CurrentThread.CurrentCulture > >>= > >>culture; > >> > >> > >> > >>Where > >>ConfigurationSettings.AppSettings.Get("Culture") > >>= "en-US" from my Web.config file > >> > >>Let me know any other info I could provide to help > >>pin > >>down the problem. In the mean time I will try > Joseph > >>Hill's suggestion to configure each site in its > own > >>instance with monosocket and wapi directories per > >>http://bugzilla.ximian.com/show_bug.cgi?id=50049 > >> > >>Thanks, > >> > >>Joe > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] HELP Please ASP.NET only 1 site works with REV 43090
(System.String sectionName, System.Web.HttpContext > > context, Boolean useLoc) > > in <0x0026c> > > > System.Web.Configuration.ConfigurationData:GetConfig > > (System.String sectionName, System.Web.HttpContext > > context) > > in <0x00061> > > > System.Web.Configuration.WebDefaultConfig:GetConfig > > (System.String sectionName, System.Web.HttpContext > > context) > > in <0x00017> > > > System.Web.Configuration.WebConfigurationSettings:GetConfig > > (System.String sectionName, System.Web.HttpContext > > context) > > in <0xd> System.Web.HttpContext:GetConfig > > (System.String name) > > in <0x00028> > > > System.Web.Configuration.CompilationConfiguration:GetInstance > > (System.Web.HttpContext context) > > in <0x0001a> > > System.Web.UI.BaseParser:get_CompilationConfig () > > in <0x00132> System.Web.UI.TemplateParser:.ctor () > > in <0xa> > System.Web.UI.ApplicationFileParser:.ctor > > (System.String fname, System.Web.HttpContext > context) > > in <0x00034> > > > > > System.Web.UI.ApplicationFileParser:GetCompiledApplicationType > > (System.String inputFile, System.Web.HttpContext > > context) > > in <0x0002d> > > System.Web.HttpApplicationFactory:CompileApp > > (System.Web.HttpContext context) > > in <0x00038> > > > System.Web.HttpApplicationFactory:InitializeFactory > > (System.Web.HttpContext context) > > in <0x0006e> > > System.Web.HttpApplicationFactory:GetInstance > > (System.Web.HttpContext context) > > in <0x000e6> > > System.Web.HttpRuntime:InternalExecuteRequest > > (System.Web.HttpWorkerRequest request) > > > > > > Any help much aprreciated. > > > > Joe Audette > > > > joe_audette [at] yahoo dotcom > > http://www.joeaudette.com > > http://www.mojoportal.com > > ___ > > Mono-devel-list mailing list > > Mono-devel-list@lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] HELP Please ASP.NET only 1 site works with REV 43090
Help Please, My site is down. I just pulled down the latest code form svn and now only 1 of my web sites works, whichever one is requested first. I think this is a regression as I recall this problem in a previous version of mono. I have 2 sites http://www.mojoportal.com http:/www.joeaudette.com running on Suse 9.2 with mono 1.1.7 rev 43090 Whichever one I request first after restarting apache works and the othe site gets this error: System.NullReferenceException: Object reference not set to an instance of an object in <0x00020> System.Globalization.TextInfo:ToLower (Char c) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_char_char (char) in <0x00068> System.Globalization.TextInfo:Transliterate (System.String s, System.Globalization.CharConverter convert) in <0x00016> System.Globalization.TextInfo:ToLower (System.String s) in <0x00049> System.String:ToLower (System.Globalization.CultureInfo culture) in <0x000a1> System.Collections.CaseInsensitiveHashCodeProvider:GetHashCode (System.Object obj) in <0x0002e> System.Collections.Hashtable:GetHash (System.Object key) in <0x00076> System.Collections.Hashtable:PutImpl (System.Object key, System.Object value, Boolean overwrite) in <0x00015> System.Collections.Hashtable:set_Item (System.Object key, System.Object value) in <0x0002e> System.Web.Configuration.CompilerCollection:set_Item (System.String language, System.Web.Configuration.Compiler value) in <0x00158> System.Web.Configuration.CompilationConfigurationHandler:ReadCompilers (System.Xml.XmlNodeList nodes, System.Web.Configuration.CompilationConfiguration config) in <0x002c9> System.Web.Configuration.CompilationConfigurationHandler:Create (System.Object parent, System.Object context, System.Xml.XmlNode section) in <0x00161> System.Web.Configuration.ConfigurationData:GetConfigInternal (System.String sectionName, System.Web.HttpContext context, Boolean useLoc) in <0x00080> System.Web.Configuration.ConfigurationData:GetConfigOptLocation (System.String sectionName, System.Web.HttpContext context, Boolean useLoc) in <0x0026c> System.Web.Configuration.ConfigurationData:GetConfig (System.String sectionName, System.Web.HttpContext context) in <0x000e1> System.Web.Configuration.ConfigurationData:GetConfigInternal (System.String sectionName, System.Web.HttpContext context, Boolean useLoc) in <0x00080> System.Web.Configuration.ConfigurationData:GetConfigOptLocation (System.String sectionName, System.Web.HttpContext context, Boolean useLoc) in <0x0026c> System.Web.Configuration.ConfigurationData:GetConfig (System.String sectionName, System.Web.HttpContext context) in <0x00061> System.Web.Configuration.WebDefaultConfig:GetConfig (System.String sectionName, System.Web.HttpContext context) in <0x00017> System.Web.Configuration.WebConfigurationSettings:GetConfig (System.String sectionName, System.Web.HttpContext context) in <0xd> System.Web.HttpContext:GetConfig (System.String name) in <0x00028> System.Web.Configuration.CompilationConfiguration:GetInstance (System.Web.HttpContext context) in <0x0001a> System.Web.UI.BaseParser:get_CompilationConfig () in <0x00132> System.Web.UI.TemplateParser:.ctor () in <0xa> System.Web.UI.ApplicationFileParser:.ctor (System.String fname, System.Web.HttpContext context) in <0x00034> System.Web.UI.ApplicationFileParser:GetCompiledApplicationType (System.String inputFile, System.Web.HttpContext context) in <0x0002d> System.Web.HttpApplicationFactory:CompileApp (System.Web.HttpContext context) in <0x00038> System.Web.HttpApplicationFactory:InitializeFactory (System.Web.HttpContext context) in <0x0006e> System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext context) in <0x000e6> System.Web.HttpRuntime:InternalExecuteRequest (System.Web.HttpWorkerRequest request) Any help much aprreciated. Joe Audette joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-devel-list] DataView.Sort behaves different on mono than Windows
Hi, In my new RSS Feed Aggregator for mojoportal, I have a DataView named entries that I sort using: entries.Sort = "PubDate DESC"; On Windows it sorts by date desc as expected, but under mono 1.1.5 from svn on Suse 9.2 it sorts descending on date but keeps things grouped together by author so newer dated posts are not always on top. The feed with the newest post shows first but then all of its posts are shown next in date descending order no matter if the other feeds have posts that are newer, then the feed with the next newest post and so on. I wonder if it has anything to do with the sequence of columns in the DataTable underlying the DataView. In my DataTable the PubDate field is the last column. I may try some more experimentation and see if I can find a workaround but I believe this is a bug and thought I should mention it. Thanks, Joe joe_audette [at] yahoo dotcom http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] asp.net usercontrols and WriteFile features
I could be wrong on this but I have always thought that Response.WriteFile is for writing binary streams to the response like to support file downloads and such. I would not have thought it would be used in the Render method of a user control. If I was retrieving content from a text file to write to the response my first inclination would be to open the file server side and then write the contents using Response.Write or to load the content into a Literal then load that into the user control or some container control using this.Controls.Add instead of overriding the render method. The file you are loading is labelled .html, if you have the full set of html tags, head, body etc in that file you're likely to have problems putting that in a user control because those tags would already be part of the containing page. Hope any of that helps, Joe --- charlie <[EMAIL PROTECTED]> wrote: > Hi Guys, > > i have been doing a bit of asp.net programming and > have run into a few > features :-). here a code snippet of what I am > doing: > > Menu.ascx > public class Menu : System.Web.UI.UserControl > { > > private void Page_Load(object sender, > System.EventArgs e) > { > } > protected override void Render(HtmlTextWriter > output) > { > #if __MonoCS__ > > Response.WriteFile("/home/[absolutepath]/html/Menu.html"); > #else > Response.WriteFile("../html/Menu.html"); > #endif > } > > Prod.aspx > > runat="server"> > > > - Response.WriteFile under MS works relative to the > as?x file that > contains it, but apparently not so in mono. Thus > under IIS including > this webcontrol where both aspx and ascx file are in > cgi-bin, pulls in > the the afore mentioned html file from the parallel > html directory. I > was able to counter with with #if, not nice, but it > works > > - UserControl.Render under mono executes to a > different time than under > IIS. In IIS the 'included' html gets written where > the control is, > whereas under mono the html gets written before the > output of the aspx > file. Thus I have my meta-tags, menu and footer and > then comes the > > > Has anyone had similar experiences ?? > > current system is suse 9.2, apache2 and the 1.1.4 / > 1.0.6 mix that one > gets off the mono-project homepage > rpm -qa | grep mono > mono-data-1.1.4-1.ximian.10.1 > mono-winforms-1.1.4-1.ximian.10.1 > mono-basic-1.1.4-1.ximian.10.1 > mono-data-oracle-1.1.4-1.ximian.10.1 > mono-data-sqlite-1.1.4-1.ximian.10.1 > mono-ikvm-1.1.4-1.ximian.10.1 > mod_mono-1.0.6-1.ximian.9.1(now 1.0.7) > mono-devel-1.1.4-1.ximian.10.1 > mono-core-1.1.4-1.ximian.10.1 > mono-web-1.1.4-1.ximian.10.1 > mono-extras-1.1.4-1.ximian.10.1 > mono-data-postgresql-1.1.4-1.ximian.10.1 > mono-data-sybase-1.1.4-1.ximian.10.1 > mono-locale-extras-1.1.4-1.ximian.10.1 > mono-complete-1.1.4-1.ximian.10.1 > mono-jscript-1.1.4-1.ximian.10.1 > > mod_mono.so has since been replaced with a svn 1.0.7 > compile from source > to take advantage of multiple named applications > (works like a charm > *g*, multiple virtual servers with their own > applications) > > regards > charlie > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > [EMAIL PROTECTED] http://www.joeaudette.com http://www.mojoportal.com ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-devel-list] Leak in System.Timers.Timer?
Could it be the "lapsed listener problem"? http://www.andymcm.com/dotnetfaq.htm#5.8Brian Kroeker <[EMAIL PROTECTED]> wrote: I'm seeing what looks like a memory leak somewhere in System.Timers.Timer. I'm using mono 1.1.4 on a linux system. The code I used to reproduce the problem is: -- using System; namespace TimerTest { public class TimerTest { static void Main(string[] args) { TimerTest test = new TimerTest(); test.Run(); } public TimerTest() { } public void Run() { System.Timers.Timer timeout = null; while(true) { InitTimeout(ref timeout); System.Threading.Thread.Sleep(10); } } private void InitTimeout(ref System.Timers.Timer timer) { if(timer != null) { timer.Stop(); timer = null; } timer = new System.Timers.Timer(); timer.AutoReset = false; timer.Elapsed += new System.Timers.ElapsedEventHandler(OnTimeout); timer.Interval = 3; timer.Start(); } private void OnTimeout(object source, System.Timers.ElapsedEventArgs e) { } } } -- Does anyone else see this problem? Am I missing something here? I see the memory usage on my system increase fairly quickly. Thanks, Brian [EMAIL PROTECTED]http://www.joeaudette.comhttp://www.mojoportal.com