[Mono-list] What's up with www.go-mono.com?
I got over there to get some files earlier, but it just hangs. I've had this a couple of times before, usually in the evening. Any known problem with that server/domain? cheers, arne ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Mandrake packages
Hi all! My question is why are there no Mandrake packages? Technical or political issues? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Remoting problem
Hello there. I have a client/server app that runs on Windows, and I must make the server to run on Linux as well. I choosed the Mono for start. The problem is that if I have a remoting object that contains the following method in the Remoting object public Stream GetStream() { outputStream=(Stream)File.OpenWrite("Test.zip"); //outputStream is a class member return outputStream; } and I get a reference of this object on a client (with Activator object) and try to use the resulting Stream (read/write or any other operation), the client application hangs. This happens only when I run the server on Linux with Mono. On windows it works ok. Any suggestions? Regards Dan Cimpoiesu Cautam cinefili pentru premiere! Videomax.ro pune la bataie 172 premii in valoare de 117 milioane lei. Intra si tu in competitie!
[Mono-list] DiaCanvas# 0.5.0 Release Announcement
Hello! A new version of DiaCanvas# has hit the streets! http://mwh.sysrq.dk/programs/announcements/diacanvas-sharp-0.5.0.html Happy hacking! -- Martin Willemoes Hansen ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Data access delay using Npgsql
Hi all, I've been experimenting with accessing a PostgreSQL database using Npgsql, but have come across a problem. Whenever I open a new NpgsqlConnection under the MS .NET runtime there is always a short delay of a few seconds, presumably while the client authenticates with the server. However, when the same program is run under mono the delay is almost imperceptible. This is frustrating because I tend to develop under VS.NET then distribute using mono. I'm running mono 1.0.1 with Npgsql 0.6 and the server is PostgreSQL 7.4.3. I've tried turning on logging support in Npgsql but it doesn't report anything relevant: the log starts from when the connection is actually established any everything works quickly after that. I've also tried relaxing the authentication settings of the database but this has no effect. Does anyone have any suggestions as to what the cause of the problem might be? Best wishes, Andrew ** The information contained in this message may be confidential or legally privileged and is intended for the addressee only, If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. ** ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] mono and View State
Hi ALL I want to know if mono implements View State, and that i can transfer an application using ViewState in VS.net to mono without problem ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] vb.net with mono
Hey Eric, Where does this date come from? The roadmap still says Q4/2004 for Mono 1.2 Greetz, -- Rob. -Original Message- From: Erik Dasque [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 9:04 PM To: lamyae Benabdeljalil Cc: [EMAIL PROTECTED] Subject: Re: [Mono-list] vb.net with mono Well, the VB.NET compiler for Mono is included in 1.0 (and 1.01) as a preview. It's called mbas. It'll be complete for the 1.2 release in Feb 2005 Erik On Aug 9, 2004, at 11:22 AM, lamyae Benabdeljalil wrote: I am testing the portability of wab application developped with vs.net (using vb), with mono on linux, please can uve me a hint? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Database/network access permissions
Mono-Monkeys! I try to access a Firebird 1.5 database with the data provider supplied by the ibphoenix.com site. The data provider version is 1.6; I use Mono 1.0.1 on SuSE 9.1 When I run my test program (code see below) as root everything goes ok. If I run the program as normal user, I get the following: mono FBTest.exe Firebird Test Connection String : User=SYSDBA;Password=masterkey;Database=/opt/firebird/db/TEST.FDB;Server=127.0.0.1 -- Unable to complete network request to host 127.0.0.1. in 0x000d0 FirebirdSql.Data.Firebird.FbDbConnection:Connect () in 0x0004f (wrapper remoting-invoke-with-check) FirebirdSql.Data.Firebird.FbDbConnection:Connect () in 0x001e2 FirebirdSql.Data.Firebird.FbConnection:Open () in 0x0004f (wrapper remoting-invoke-with-check) FirebirdSql.Data.Firebird.FbConnection:Open () in 0x00126 FBTest.MainClass:Main (string[]) Any ideas? Is this a permission or configuration problem? BTW, I can access my Firebird as user using the isql command line. Initially I came over this problem with an ASP.NET page. If I run XSP/mod_mono_server as root everything is fine. If Apache starts mod_mono_server itself (as wwwrun), I also get the unable to complete network request ... error. Here comes the example code: using System; using System.Data; using FirebirdSql.Data.Firebird; namespace FBTest { class MainClass { public static void Main(string[] args) { Console.WriteLine(Firebird Test); string database = @/opt/firebird/db/TEST.FDB; string server= 127.0.0.1; string user = SYSDBA; string pass = masterkey; string connString = String.Format(@User={0};Password={1};Database={2};Server={3}, user, pass, database, server); Console.WriteLine(Connection String : + connString); try { FbConnection conn = new FbConnection(connString); conn.Open(); FbCommand command = new FbCommand(select * from navigation, conn); FbDataReader reader = command.ExecuteReader(); while(reader.Read()) { Console.WriteLine(Table: + reader.GetValue(0)); } reader.Close(); conn.Close(); } catch (Exception e) { Console.WriteLine(-- + e.Message); Console.WriteLine(e.StackTrace); } } } } regards, /daniel ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Remoting problem
Hi, could you please post the whole source for client and server? I've made my own test and everything works fine here. I use .NET Famework 2.0 beta on a win2003 server to run the client part and FC2 with mono 1.0 as server. Here ist my source: Client: #region Using directives using System; using System.IO; using System.Runtime.Remoting; using System.Runtime.Remoting.Activation; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Tcp; #endregion namespace StreamSerializationTest { class Program { static void Main() { ChannelServices.RegisterChannel(new TcpChannel()); string date = DateTime.Now.ToString(); Console.WriteLine(Write: + date); object[] url = { new UrlAttribute(tcp://rre-fc2:1234) }; object[] args = { test.txt, FileMode.Create }; StreamWriter sw = new StreamWriter((FileStream)Activator.CreateInstance(typeof(FileStream), args, url)); sw.WriteLine(date); sw.Close(); args = new object[] { test.txt, FileMode.Open }; StreamReader sr = new StreamReader((FileStream)Activator.CreateInstance(typeof(FileStream), args, url)); Console.WriteLine(Read: + sr.ReadLine()); sr.Close(); Console.ReadLine(); } } } Server: using System; using System.IO; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Tcp; class MainClass { public static void Main(string[] args) { ChannelServices.RegisterChannel(new TcpChannel(1234)); RemotingConfiguration.RegisterActivatedServiceType(typeof(FileStream)); Console.WriteLine(Press any key); Console.ReadLine(); } } Robert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Cimpoiesu Sent: Mittwoch, 11. August 2004 11:24 To: [EMAIL PROTECTED] Subject: [Mono-list] Remoting problem Hello there. I have a client/server app that runs on Windows, and I must make the server to run on Linux as well. I choosed the Mono for start. The problem is that if I have a remoting object that contains the following method in the Remoting object public Stream GetStream() { outputStream=(Stream)File.OpenWrite(Test.zip); //outputStream is a class member return outputStream; } and I get a reference of this object on a client ( with Activator object ) and try to use the resulting Stream ( read/write or any other operation ), the client application hangs. This happens only when I run the server on Linux with Mono. On windows it works ok. Any suggestions? Regards Dan Cimpoiesu Cautam cinefili pentru premiere! http://www.videomax.ro/NewsLetter/Step1.asp Videomax.ro http://www.videomax.ro/ pune la bataie 172 premii in valoare de 117 milioane lei. Intra si tu in competitie! ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono and View State
Yes! ViewState is an intrinsic part of ASP.Net. How can it be missed out. ;-) Cheers, Gaurav On Wed, 11 Aug 2004 10:44:10 +, lamyae Benabdeljalil [EMAIL PROTECTED] wrote: Hi ALL I want to know if mono implements View State, and that i can transfer an application using ViewState in VS.net to mono without problem ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mandrake packages
Hi, I just downloaded the tgz of mono 1.0 and compile it, following the instructions of: http://www.mono-project.com/contributing/compiling.html without any issue (I have to install some pkg, rigth now don't remember, but i just do a 'urpmi pkg' and all works fine.) I'm using Mdk 10.0, comunnity edition. Try to compile, if you have any question, just mail me. Mauro Ps. I think that simply there is no one that provide the pkg. If you build it, it can be added to the webpage without any problem. On Tue, 2004-08-10 at 06:33, Vedran Vyroubal wrote: Hi all! My question is why are there no Mandrake packages? Technical or political issues? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] ASP.NET sessions/authentication problems
Regarding my previous issue with 500 errors - I complied all my .cs files into individual .dll's and now I don't have issues. Before I was compiling into one .dll. I'll get around to filing a bug report. If you want to try to duplicate, make a site with 2+ code behind pages (all code in .cs), compile all .cs into one .dll, and try it. Anyway, Now I'm having issues with authentication - as in it's not happening. I looked at the example for xsp, and even made my web.config look just like the example (cp, edit, change login page filename, save). When I restart apache, and term all the mono's running, and access the webpage, I get right in to the default page, no login page. Another thing that concerns me, is I have code in my Global.asax Session_Start to do some session stuff. I thought maybe sessions weren't starting, so I threw in some code to return strings on the page. Strings get created on the page, but no session cookies appear in the browser. My browser (Firefox .9) is set to receive all cookies. I've looked at the examples extensively, are there some configuration options that I'm missing? thanks, Raul ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mandrake packages
Hi, there are packages for mandrake in the contrib folder of cooker section. However they didn't work for me, but my mandrake install had problems, so my case is not representative. Matt Mauro Parra Miranda wrote: Hi, I just downloaded the tgz of mono 1.0 and compile it, following the instructions of: http://www.mono-project.com/contributing/compiling.html without any issue (I have to install some pkg, rigth now don't remember, but i just do a 'urpmi pkg' and all works fine.) I'm using Mdk 10.0, comunnity edition. Try to compile, if you have any question, just mail me. Mauro Ps. I think that simply there is no one that provide the pkg. If you build it, it can be added to the webpage without any problem. On Tue, 2004-08-10 at 06:33, Vedran Vyroubal wrote: Hi all! My question is why are there no Mandrake packages? Technical or political issues? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mandrake packages
Try the ones from Mandrake Club. They actually worked for me. Note, these packages aren't packaged by the Mono team though, so you'd have to contact the maintainer yourself. He actually also posted something to the list a while ago, so you might want to grep through the archives. And then...there is the good ol' source, if nothing else works. Which is what I do on my MDK10 Official, just for the fun of it :) Good luck. Mark. On Wed, 2004-08-11 at 09:23, matthieu barthelemy wrote: Hi, there are packages for mandrake in the contrib folder of cooker section. However they didn't work for me, but my mandrake install had problems, so my case is not representative. Matt Mauro Parra Miranda wrote: Hi, I just downloaded the tgz of mono 1.0 and compile it, following the instructions of: http://www.mono-project.com/contributing/compiling.html without any issue (I have to install some pkg, rigth now don't remember, but i just do a 'urpmi pkg' and all works fine.) I'm using Mdk 10.0, comunnity edition. Try to compile, if you have any question, just mail me. Mauro Ps. I think that simply there is no one that provide the pkg. If you build it, it can be added to the webpage without any problem. On Tue, 2004-08-10 at 06:33, Vedran Vyroubal wrote: Hi all! My question is why are there no Mandrake packages? Technical or political issues? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mod_Mono Configure ..... HOWTO where it is ???
On Tue, 2004-08-10 at 18:42, Paulo Aboim Pinto wrote: Hello people ... I've manage to use the XSP to access Mono code in a WebPage, but i don't like the XSP. We have to restart it everytime we compile our application and that is not acceptable. In this forum many of you talk about use the mod_Mono in Apache, but i cannot find a tutorial to explain how to configure it and use it. See mod_mono/INSTALL. Anyway, mod_mono relies on XSP (mod-mono-server) so it will still need to be restarted/reloaded when you change a dll until that bug is fixed (it's already in bugzilla). -Gonzalo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] ASP.NET sessions/authentication problems
On Wed, 2004-08-11 at 10:16, [EMAIL PROTECTED] wrote: Regarding my previous issue with 500 errors - I complied all my .cs files into individual .dll's and now I don't have issues. Before I was compiling into one .dll. I'll get around to filing a bug report. If you want to try to duplicate, make a site with 2+ code behind pages (all code in .cs), compile all .cs into one .dll, and try it. Anyway, Now I'm having issues with authentication - as in it's not happening. I looked at the example for xsp, and even made my web.config look just like the example (cp, edit, change login page filename, save). When I restart apache, and term all the mono's running, and access the webpage, I get right in to the default page, no login page. Another thing that concerns me, is I have code in my Global.asax Session_Start to do some session stuff. I thought maybe sessions weren't starting, so I threw in some code to return strings on the page. Strings get created on the page, but no session cookies appear in the browser. My browser (Firefox .9) is set to receive all cookies. If you find issues that look like bugs, use bugzilla to report them (read http://www.mono-project.com/using/bugs.html first). -Gonzalo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Mac OS X and Mono 1.0.1 and XSP 1.0.1
Again, thanks guys for making XSP works on Mac OS X!! Great job... regards, Jonel ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mod_Mono Configure ..... HOWTO where it is ???
Gonzalo Paniagua Javier wrote: See mod_mono/INSTALL. Anyway, mod_mono relies on XSP (mod-mono-server) so it will still need to be restarted/reloaded when you change a dll until that bug is fixed (it's already in bugzilla). -Gonzalo If we have to use anyway the XSP i will wait until this bug is resolved There is no Profissional Hosting based on MONO How do they do ??? With mod_Mono Anything else ??? (()) Paulo Aboim Pinto Odivelas - Portugal ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mod_Mono Configure ..... HOWTO where it is ???
On Wed, 2004-08-11 at 15:52, Paulo Aboim Pinto wrote: There is no Profissional Hosting based on MONO How do they do ??? With mod_Mono Anything else ??? Hi Paulo, We offer professional Mono hosting, and we deal with mod_mono/XSP bugs in the same way you do: we handle things manually until bugs are fixed, and submit bug reports when we come across new bugs. The best we can do in those situations is offer our clients support for Mono and provide workarounds where possible. Thankfully, the Mono community (developers and users alike) makes this an easy task. These types of problems are few and far between, and decreasing in number as Mono progresses. You'll find the devs are more than receptive to a well-written bug report. Patches make them ecstatic. To answer your other question, we're running Mono 1.0 on Apache using mod_mono. Best of luck! -- Steve Deobald www.cityhost.ca Mono 1.0 web hosting ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Data access delay using Npgsql
Reilly, Andrew wrote: Hi all, Hi Reilly. I've been experimenting with accessing a PostgreSQL database using Npgsql, but have come across a problem. Whenever I open a new NpgsqlConnection under the MS .NET runtime there is always a short delay of a few seconds, presumably while the client authenticates with the server. However, when the same program is run under mono the delay is almost imperceptible. This is frustrating because I tend to develop under VS.NET then distribute using mono. I'm running mono 1.0.1 with Npgsql 0.6 and the server is PostgreSQL 7.4.3. I've tried turning on logging support in Npgsql but it doesn't report anything relevant: the log starts from when the connection is actually established any everything works quickly after that. I've also tried relaxing the authentication settings of the database but this has no effect. Does anyone have any suggestions as to what the cause of the problem might be? Are you using the machine name as the address of server? I received some reports about that only in ms.net as you said. I still didn't find why it would be doing this delay. I some time noticed that name resolution with ms.net took some time. Please, try passing the ip address and let me know if you still have the problem. Regards, Francisco Figueiredo Jr. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] compiling source code - strange exception
Hi! I'm trying to compile a piece of code, and I'm getting such exception... Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type. in 0x00073 Mono.CSharp.StringConcat:Emit (Mono.CSharp.EmitContext) in 0x00135 Mono.CSharp.FieldExpr:EmitAssign (Mono.CSharp.EmitContext,Mono.CSharp.Expression) in 0x002aa Mono.CSharp.Assign:Emit (Mono.CSharp.EmitContext,bool) in 0x00016 Mono.CSharp.Assign:EmitStatement (Mono.CSharp.EmitContext) in 0x001de Mono.CSharp.TypeContainer:EmitFieldInitializers (Mono.CSharp.EmitContext) in 0x00388 Mono.CSharp.Constructor:Emit (Mono.CSharp.TypeContainer) in 0x00427 Mono.CSharp.TypeContainer:Emit () in 0x00896 Mono.CSharp.RootContext:EmitCode () in 0x00c35 Mono.CSharp.Driver:MainDriver (string[]) in 0x00012 Mono.CSharp.Driver:Main (string[]) make: *** [bin/PossiblePortal.dll] Bd 1 How Can I try to get know what's going on... where is this exception etc...? Best! Tomek ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list