Re: [Mono-aspnet-list] CSV File with mono

2013-02-13 Thread Daniel Lo Nigro
Maybe look at a CSV parsing library, such as FileHelpershttp://www.filehelpers.com/or CsvHelper https://github.com/JoshClose/CsvHelper. I've used FileHelpers in the past. On Wed, Feb 13, 2013 at 6:19 AM, don rhummy donrhu...@yahoo.com wrote: Does this help?

[Mono-aspnet-list] MySql Membership Providers

2013-02-13 Thread Chazt3n
Hey there, I've gotten most of my asp.net MVC3 application running beautifully under Mono, but I've ran into an issue with the membership provider that I haven't been able to solve. When I try to log in from my application I'm receiving this error: Invalid IL code in

Re: [Mono-dev] Entity Framework - new issues

2013-02-13 Thread Oleg
Oh, we came to the point I started from on StackOverflov (http://stackoverflow.com/questions/14582318/nullreferenceexception-with-ef6-on-mono-3-0-3) with NullReferenceException when I have tried use .Net System.Xml. It is a good sign :) I will attach updated sample project with patched

Re: [Mono-dev] Entity Framework - new issues

2013-02-13 Thread Oleg
Created Bug 10271 instead of modifying old (already closed) bug. -- View this message in context: http://mono.1490590.n4.nabble.com/Entity-Framework-new-issues-tp4658551p4658567.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___

[Mono-list] Installing mono for Linux

2013-02-13 Thread vinny77
Hello, I have installed mono for Linux on my computer, because it is a prerequisite to the installation of another software. I have done a mono-complete install from the linux download manager, and even after restarted my computer the software installer says : mono is not installed ! I have also

Re: [Mono-list] Installing mono for Linux

2013-02-13 Thread edward . harvey . mono
From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of vinny77 I have installed mono for Linux on my computer, because it is a prerequisite to the installation of another software. I have done a mono-complete install from the linux download

Re: [Mono-list] Installing mono for Linux

2013-02-13 Thread vinny77
Thanks Edward for your reply, please find below my answers : What linux are you running? linux mint 14 x64 MATE What mono did you install? mono-complete and libmono-winforms How did you install it? (yum, rpm, apt-get, build from source, etc) from synaptics What version did you install? not sure

Re: [Mono-list] Installing mono for Linux

2013-02-13 Thread Alberto León
Can you run a console and type mono theNameOfYourApplication.exe ? 2013/2/13 vinny77 vchar...@free.fr Thanks Edward for your reply, please find below my answers : What linux are you running? linux mint 14 x64 MATE What mono did you install? mono-complete and libmono-winforms How did you

Re: [Mono-list] Installing mono for Linux

2013-02-13 Thread vinny77
Thanks albertoleon, I am running Linux so I am not sure what mono theNameOfYourApplication.exe could do ?!! Please could you clarify for me ? I need to install my application using a sh file. Each time I try to launch it, it comes back with the same error message : mono is not installed ! --

Re: [Mono-list] How consistent are exceptions?

2013-02-13 Thread Alan
This approach will not work. You may not get an exception, you may just end up looping forever inside the dictionary. This is not a theoretical issue, it is something which does happen in the wild when you mutate a dictionary while iterating it. Alan On 13 February 2013 16:08, edward.harvey.mono

Re: [Mono-list] Installing mono for Linux

2013-02-13 Thread Alberto León
I possible your sh file are looking in the incorrect path to localize Mono. Have you any README file? Perhaps you can run sh file with --prefix=/usr/lib/ where is supposed Mono are installed 2013/2/13 vinny77 vchar...@free.fr Thanks albertoleon, I am running Linux so I am not sure what mono

Re: [Mono-list] Installing mono for Linux

2013-02-13 Thread vinny77
Thanks albertoleon , i will try this ans let you know. Thanks again for your support ! -- View this message in context: http://mono.1490590.n4.nabble.com/Installing-mono-for-Linux-tp4658570p4658579.html Sent from the Mono - General mailing list archive at Nabble.com.

Re: [Mono-list] How consistent are exceptions?

2013-02-13 Thread edward . harvey . mono
From: Alan [mailto:alan.mcgov...@gmail.com] This approach will not work. You may not get an exception, you may just end up looping forever inside the dictionary. This is not a theoretical issue, it is something which does happen in the wild when you mutate a dictionary while iterating it.

Re: [Mono-list] How consistent are exceptions?

2013-02-13 Thread Bob Davies
Edward - build a queue of updates, have the iterating thread review the queue at the end of an iteration, then have the iterating thread do the updates and start anther iteration. Bob Davies ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-list] How consistent are exceptions?

2013-02-13 Thread Alan
You could do it with a ConcurrentDictionary and a 'serial' as you've described. ConcurrentDictionary makes it safe for you to read and write simultaenously, the serial lets you bail out of your iteration when the dictionary is modified. Another alternative is to clone the entire dictionary every

[Mono-list] Sockets don't work

2013-02-13 Thread acrym
I have a socket application that needs to connect on port 943 and port 4530. It works locally but not on mono. The server is implemented with WCF. The error message is Access Denied: An attempt was made to access a socket in a way forbidden by its access permissions. Does mono block my

Re: [Mono-list] Sockets don't work

2013-02-13 Thread Daniel Lo Nigro
On Linux, you can't listen on any port with a number less than 1024 unless you run your app as root. So you'll probably have to either run your app as root, or make it listen on a port number higher than 1024 and then redirect requests to port 943 using iptables. There may be another way but I'm