Re: [Mono-aspnet-list] MS SQL to MySQL
I once migrated from MS SQL to MySql using SqlYog. I think it required the Enterprise version but it was not expensive. I created a comparable schema in MySql and then used odbc queries to get the data from MS SQL from within sqlyog and then ran queries to insert the data into the tables in MySql. It wasn't a trivial task but it wasn't too bad either. I was actually going into a different schema because I was migrating from Rainbow Portal/MS SQL into mojoPortal MySql so it should be even easier if the schemas line up. I had to map some columns using the queries. google Sqlyog, they have a free version too but not sure it supports the odbc queries needed to get the data from ms sql like the paid version has. Hopefully by ASP, you mean ASP.NET, mono can't run ASP aka Classic ASP, though I think there is something out there that can run ASP on linux, chilisoft comes to mind. Hope it helps, Joe On Thu, May 7, 2009 at 5:42 AM, Rob UKC r...@ukcdesign.com wrote: HI. I'm thinking of using Mono to run an ASP site on my Linux server, however the site also runs a MS SQL database. Can anyone advise how i would go about setting a MS SQL database up on a Linux server using Mono? Or can anyone advise how i could maybe convert it to MySQL? Any advice welcomed on this one! Cheers Rob -- View this message in context: http://www.nabble.com/MS-SQL-to-MySQL-tp23423343p23423343.html Sent from the Mono - ASP.NET mailing list archive at Nabble.com. ___ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list -- Joe Audette Software Solutions Architect Source Tree Solutions, LLC PO Box 621861 Charlotte, NC 28262 704.323.8225 joe.aude...@gmail.com http://www.sourcetreesolutions.com http://www.mojoportal.com ___ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
Re: [Mono-aspnet-list] Apache Proxy vs mod_mono vs xsp2 problem
nickstaves wrote: Hello everyone! I have a big problem on my server and I trully speaking don't know who is guilt. I have an old site hosted by apache + mod_mono and it's woked fine. Now I discovered beautiful module for Apache which is proxy_module. With this module I can easily redirect all requests to certain virtual host to another webserver. It was perfect way to redirect asp.net sites to xsp2 webserver. [ prose deleted ] What I've done wrong? I guess you have not applied the ProxyPassReverse directive. Please post the apache config next time. Robert ___ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
[Mono-dev] Questions about Mono 'make check' [Fwd: About gentoo bug 257313]
I am forwarding some questions I got from Gentoo community regarding Mono build and test suite, I hope someone here can provide assistance. Related Gentoo bugs are http://bugs.gentoo.org/show_bug.cgi?id=257313 and http://bugs.gentoo.org/show_bug.cgi?id=220337 , related Mono bugs are https://bugzilla.novell.com/show_bug.cgi?id=471379 and https://bugzilla.novell.com/show_bug.cgi?id=439086 Maintainer asked how can he test his patches to Mono build system. I wrote: If you want to check whether your patch against mono doesn't break anything: - extract a mono tarball (or do an svn checkout, but this may be broken before you touch it ;-) ) - ./configure - make check If it passes, apply your changes and 'make check' again. If it doesn't pass before your changes - apply them anyway and check if it still breaks in the same place as before. -- Forwarded message -- From: Rafał Mużyło galtge...@gmail.com Date: Fri, May 8, 2009 at 7:35 PM Subject: About gentoo bug 257313 To: Leszek Ciesielski skol...@gmail.com I think I'll take you on that offer. Well, that testsuite seems broken. This is the line from /proc/cpuinfo: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up And here's what's mono doing during 'make check': Test run: image=/var/tmp/portage/dev-lang/mono-2.4/work/mono-2.4/mono/mini/basic-float.exe, opts=sse2 Unhandled Exception: System.ExecutionEngineException: SIGILL at Tests.test_0_conv_i () [0x0] That's perfectly correct, this processor does not have sse2 support. So, why does that testsuite tries running that test ? BTW, I just done libgdiplus. It does not seems to have a testsuite and most of those test programs seem not working: three produce no output and testgdi tries loading non-existing files (test.png, etc.). Just for the kicks, I've removed -fno-strict-aliasing from that ebuild, there was only one file with a warning, so I wrote a small patch, that seems correct to me, that fixes that problem. Though, I'm not sure, if it's really correct. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Questions about Mono 'make check' [Fwd: About gentoo bug 257313]
The sse bug is already fixed in svn HEAD and the 2.4 branch. Zoltan 2009/5/9 Leszek Ciesielski skol...@gmail.com I am forwarding some questions I got from Gentoo community regarding Mono build and test suite, I hope someone here can provide assistance. Related Gentoo bugs are http://bugs.gentoo.org/show_bug.cgi?id=257313 and http://bugs.gentoo.org/show_bug.cgi?id=220337 , related Mono bugs are https://bugzilla.novell.com/show_bug.cgi?id=471379 and https://bugzilla.novell.com/show_bug.cgi?id=439086 Maintainer asked how can he test his patches to Mono build system. I wrote: If you want to check whether your patch against mono doesn't break anything: - extract a mono tarball (or do an svn checkout, but this may be broken before you touch it ;-) ) - ./configure - make check If it passes, apply your changes and 'make check' again. If it doesn't pass before your changes - apply them anyway and check if it still breaks in the same place as before. -- Forwarded message -- From: Rafał Mużyło galtge...@gmail.com Date: Fri, May 8, 2009 at 7:35 PM Subject: About gentoo bug 257313 To: Leszek Ciesielski skol...@gmail.com I think I'll take you on that offer. Well, that testsuite seems broken. This is the line from /proc/cpuinfo: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up And here's what's mono doing during 'make check': Test run: image=/var/tmp/portage/dev-lang/mono-2.4/work/mono-2.4/mono/mini/basic-float.exe, opts=sse2 Unhandled Exception: System.ExecutionEngineException: SIGILL at Tests.test_0_conv_i () [0x0] That's perfectly correct, this processor does not have sse2 support. So, why does that testsuite tries running that test ? BTW, I just done libgdiplus. It does not seems to have a testsuite and most of those test programs seem not working: three produce no output and testgdi tries loading non-existing files (test.png, etc.). Just for the kicks, I've removed -fno-strict-aliasing from that ebuild, there was only one file with a warning, so I wrote a small patch, that seems correct to me, that fixes that problem. Though, I'm not sure, if it's really correct. ___ 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] [MonoDevelop] monodevelop moonlight support
Hello, By the way, any plans for a xaml desiner? uuu with something like that MD can become a really interesting alternative, Blend is to expensive and... well is just not doit with mono ;-) We'd love to have one, but it's a large and complex thing to implement, so I don't see it happening any time soon. Two summers ago, the amazing Alan McGovern created LunarEclipse a Silverlight designer and last summer Manuel Cerón continued the work on it. The designer at the time was mostly focused on the Silverlight 1.1 subset since we developed this on Linux and we did not have 2.0 available at the time. The code has not been updated for a while, so chances are, some bits needs to be updated to work again. The vision in general was that LunarEclipse should provide an engine that could be used within a WebBrowser, so that the actual design happened in the browser. This means that we could get contributions from Mac (and on day even Windows developers), not only Linux developers. It would be a fun summer project for a motivated hacker. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] FileSecurity or chmod
Hi! I have written a windows service because I had to do it for Windows. Now I got the chance to move it Linux and Service works fine with very only one minor change I had to do. It is still full compatible with windows and it works in both operating system. However I have found one issue I don't know how to resolve. I am using class Bitmap and its method Save. This method saves file with access mask 600. That means only the owner of the file can read the file. Thet is not OK because I want the files created by the serivce accessible via ftp. I have tried with umask settings for the service but it doesn't seem to help. Another solution would be to set up permissions right after the file is saved. Is it possible to set permissions for the file with FileSecurity class? If yes. How? I will probably use for start system call to chmod (Mono.Unix.Native.Syscall.chmod) but I do not prefer this solution because I lose binary compatibility with windows. Marko -- View this message in context: http://www.nabble.com/FileSecurity-or-chmod-tp23440576p23440576.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
[Mono-dev] Bug with OutputCache directive in Mono 2.4.1
Hello! I've just upgraded Mono to 2.4.1 on my develop machine and found very strange error. On all pages with directive %@ OutputCache Location=None VaryByParam=None Duration=1 % I've got error //CS0103: The name `None' does not exist in the current context// It seems like related to Location attribute. I've downgraded to Mono 2.4-19 and error disappeared. Should I file this bug in Novell Bugzilla? With best wishes, Maxim Karavaev P.S. Full exception stack: System.Web.Compilation.CompilationException: CS0103: The name `None' does not exist in the current context at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x0] at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x0] at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Collections.Generic.List`1 buildItems, System.Web.VirtualPath virtualPath, BuildKind buildKind) [0x0] at System.Web.Compilation.BuildManager.BuildAssembly (System.Web.VirtualPath 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, Boolean ignoreContextHandler) [0x0] at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x0] at System.Web.HttpApplication+Pipelinec__Iterator2.MoveNext () [0x0] ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Color manager
Hi, Color Manager is color palate management application. It very use for designers, specially web designers. It let you create a pallate for each project. It store data in xml file. You latest mono ( atleast 1.9 ) and gtk# to run this application. This application is alpha stage, So don't expect it to work smoothly. Current 0.1 version is basd on .net 2.0. All future versions will based on 3.5. Project is hosted at Code Google. http://code.google.com/p/colormanager/ Your feedbacks and suggestions are welcome. --- Sharique uddin Ahmed Farooqui (C++/C# Developer, IT Consultant) http://safknw.blogspot.com/ Peace is the Ultimate thing we want. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] [MonoDevelop] monodevelop moonlight support
Miguel de Icaza wrote: Hello, By the way, any plans for a xaml desiner? uuu with something like that MD can become a really interesting alternative, Blend is to expensive and... well is just not doit with mono ;-) We'd love to have one, but it's a large and complex thing to implement, so I don't see it happening any time soon. Two summers ago, the amazing Alan McGovern created LunarEclipse a Silverlight designer and last summer Manuel Cerón continued the work on it. The designer at the time was mostly focused on the Silverlight 1.1 subset since we developed this on Linux and we did not have 2.0 available at the time. The code has not been updated for a while, so chances are, some bits needs to be updated to work again. The vision in general was that LunarEclipse should provide an engine that could be used within a WebBrowser, so that the actual design happened in the browser. This means that we could get contributions from Mac (and on day even Windows developers), not only Linux developers. It would be a fun summer project for a motivated hacker. don't even know where to download it, I have the moonlight sources from svn, where can I see the code? ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] mono on iphone and wii
Hi, I have and iphone, I have a Wii, but I don't have mono on any of both!! some news and blogs on the web says that is possible and even Miguel's presentation at PDC shows some of this portings, but all if it says in all places is ..is kind of hard to do it right now.., ok sure, but can someone put together some outline notes about the general steps that have to be accomplish to try some of this portings?, may be if is possible to put together at least some basic instructions then it can be more easy to complete those instructions with more details when peoples begin to use it, the later some scripts to make things easier the task and so on,... any thoughts ? Mauricio ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-list] Build mono using monolite
Hi, Am 08.05.2009 um 14:50 schrieb Derek Ekins: I am trying to install mono from svn on a fresh machine - no pre existing mono. I have checked out the source. Run ./autogen.sh and then try make get-monolite-latest to which I am told that no rule to make target exists. Am I doing something wrong? If the machine is already supported by Mono, better first try compiling a Mono 2.4 source tarball. You can then upgrade to an SVN version without using monolite. monolite is not officially supported and is not for the faint-hearted. ;) HTH, Andreas I don't understand that much about make so sorry if this is a stupid question! Thanks, Derek ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Cross compiling Mono for PowerPC
Hi, Am 08.05.2009 um 09:17 schrieb Chris Plasun: Can you please tell what exactly I need to compile for the run time? Start by configuring with --disable-mcs-build. (It's always make; make install.) Once the build is working, you may want to check out how to drop runtime features to save space on the embedded device. http://www.mono-project.com/Unsupported_Advanced_Mono_Compile_Options Andreas ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Compilation Issue
Am 06.05.2009 um 17:10 schrieb Jb Evain: On 5/6/09, Michael Foord fuzzy...@gmail.com wrote: It reports the error The variable `Something' is assigned but its value is never used(CS0219). It looks like a warning to me. Maybe the project file asks to treat warnings as errors ? Then it would simply be a matter of fixing the compiler options. Isn't this error/warning wrong in the first place? Something is being used in the comparison after all. Andreas ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Error with Precompiled App
Hi All, I'm trying to test precompilation under the new mono 2.4 and getting the following error: Server Error in '/' Application Object reference not set to an instance of an object Description: HTTP 500. Error processing request. Stack Trace: System.NullReferenceException: Object reference not set to an instance of an object at System.Web.Compilation.BuildManager.GetPrecompiledType (System.String virtualPath) [0x0] at System.Web.Compilation.BuildManager.GetPrecompiledApplicationType () [0x0] at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) [0x0] Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433 I noticed the following post, it seems this may be a known issue. http://go-mono.com/forums/#nabble-td23255638 Can anyone advise on the best way to overcome this? TIA, Danny ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Cross compiling Mono for PowerPC
Andreas Färber wrote: Hi, Am 08.05.2009 um 09:17 schrieb Chris Plasun: Can you please tell what exactly I need to compile for the run time? Start by configuring with --disable-mcs-build. (It's always make; make install.) Once the build is working, you may want to check out how to drop runtime features to save space on the embedded device. http://www.mono-project.com/Unsupported_Advanced_Mono_Compile_Options Andreas Yes, that's what I wanted to get at first. Thank you very much Andreas for that link. I'll have to bother you guys again for more info later =) cp ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Will Mono 2.4 have an installer for Ubuntu?
There is a version 2.4 in https://launchpad.net/~mono-testing/+archive/ppa Stephen Shaw-4 wrote: On Mon, Mar 16, 2009 at 12:08 PM, Stifu st...@free.fr wrote: Not unless someone goes through the trouble of making a repo for it. Because the Ubuntu team won't propose 2.4 anytime soon, as Ubuntu 9.04 will include Mono 2.0... Hiawatha wrote: Meaning can I just do an apt-get update or apt-get install to get 2.4? Thanks! Here is a link to the current status of mono 2.0 in debian/ubuntu [1]. If I remember right they are going to skip 2.2 and go straight to 2.4 when 2.0 is finished. Stephen [1] http://wiki.debian.org/Teams/DebianMonoGroup/Mono20TransitionTODO Mike -- View this message in context: http://www.nabble.com/Will-Mono-2.4-have-an-installer-for-Ubuntu--tp22541444p22541461.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - mono-l...@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list -- View this message in context: http://www.nabble.com/Will-Mono-2.4-have-an-installer-for-Ubuntu--tp22541444p23421159.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] where's System.Web.Mail package?
hi to everyone, i need to System.Web.Mail API or similar for Mono. I'm using ubuntu intrepid and i installed libmono-system-web2.0-cil from the repository. The problem is: MonoDevelop don't find Web Namespace yet, but if compile my files manually, gmcs dont find Mail namespace... where can i get those APIs? Why dont MonoDevelop find Web Namespace? thank you very much -- View this message in context: http://www.nabble.com/where%27s-System.Web.Mail-package--tp23432493p23432493.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Strange problem with Dynamic Reflection Library
Hello, I am trying to compile and use Dynamic Reflection Library ( http://dynamic.codeplex.com/ ), however i get compile errors when i try to build the samples : [Task:File=/home/shiny/Public/DynamicSource/DynamicSample/Program.cs, Line=234, Column=67, Type=Error, Priority=Normal, Description=Using the generic type `Phydeaux.Utilities.DynamicT.Instance.FunctionTRet' requires `2' type argument(s)(CS0305)] [Task:File=/home/shiny/Public/DynamicSource/DynamicSample/Program.cs, Line=235, Column=67, Type=Error, Priority=Normal, Description=Using the generic type `Phydeaux.Utilities.DynamicT.Instance.FunctionTRet' requires `2' type argument(s)(CS0305)] The list goes on for all of the test cases. I have tried several other applications that use that library and the result is the same whenever i try to use those functions from the library. I am using mono 2.4 with monodevelop 2.0 on Ubuntu 9.04. As far as i can see the Dynamic library is quite all, are those functions properly supported in mono or am i doing somethign wrong ? -- View this message in context: http://www.nabble.com/Strange-problem-with-Dynamic-Reflection-Library-tp23463045p23463045.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] where's System.Web.Mail package?
On Thu, May 7, 2009 at 2:21 PM, TuTToWeB valeriogiuffr...@hotmail.com wrote: i need to System.Web.Mail API or similar for Mono. I'm using ubuntu intrepid and i installed libmono-system-web2.0-cil from the repository. The problem is: MonoDevelop don't find Web Namespace yet, but if compile my files manually, gmcs dont find Mail namespace... where can i get those APIs? Why dont MonoDevelop find Web Namespace? Did you reference the dll? In MonoDevelop, look at the project's References folder. Is System.Web.dll there? To add it, use the context menu - Edit References, check System.Web.dll, Apply. With gmcs, use -r:System.Web.dll BTW, System.Web.Mail seems to have been deprecated in favour of System.Net Mail. -- Michael Hutchinson http://mjhutchinson.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Will Mono 2.4 have an installer for Ubuntu?
On Thu, May 7, 2009 at 2:47 AM, Djalma djalma.silva...@gmail.com wrote: There is a version 2.4 in https://launchpad.net/~mono-testing/+archive/ppa Wow, those are odd packages. One giant real package and a ton of dummy packages to keep the package manager happy. -- Michael Hutchinson http://mjhutchinson.com ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list