Re: [Mono-list] Server variables

2005-04-19 Thread Jonathan Stowe
On Mon, 2005-04-18 at 15:25, nelson wrote:
 Hi, 
 I'm playing with ServerVariablesCollection.cs to make it more Apache friendly,
 and I'm having some trouble retrieving some values. I follow the
 problem to mod_mono and now i'm stuck.
 The problem is I can retrieve somo values and not others. I add some debug 
 code
 to mod_mono to print the variables values and got this log snip:
 

 mod_mono retrive HTTPS variable but not GATEWAY_INTERFACE, or retrieve
 SSL_CIPHER_USEKEYSIZE
 but not SERVER_SOFTWARE.
 GATEWAY_INTERFACE and SERVER_SOFTWARE are standard variables and I can
 retrieve it with PHP for example with the same configuration.
 
 I have the following configuration in Apache to export all the variables:
 

GATEWAY_INTERFACE and SERVER_SOFTWARE are variables defined in the *CGI*
standard (see
http://cgi-spec.golux.com/draft-coar-cgi-v11-03-clean.html#6.1.4 and
http://cgi-spec.golux.com/draft-coar-cgi-v11-03-clean.html#6.1.18 ) but
I don't think they are necessarily mandated for other types of server
application interfaces.  If they were to be supplied it would be the
responsibility of mod_mono to do so (getting the information from the
server as appropriate) as it is with mod_perl and mod_php for instance.

/J\
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-devel-list] MSMQ

2005-04-13 Thread Jonathan Stowe
On Wed, 2005-04-13 at 14:34, [EMAIL PROTECTED] wrote:
 All,
 
 Is there an equivalent feature in mono/linux to MSMQ? I don't have a specific
 project in mind as yet, just getting a general feel of what I can do.

No (MSMQ is not available on the majority of the target systems),
however you might be interested in D-Bus which has a .NET API -
http://www.freedesktop.org/Software/dbus

/J\
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


RE: [Mono-list] RE: Forums

2005-04-12 Thread Jonathan Stowe
On Tue, 2005-04-12 at 16:22, Dilton McGowan II wrote:
  I'm letting my complaint ride, that email lists are old
 fashioned and cumbersome. :-)
 

To be honest it's probably your mail client that is old-fashioned and
cumbersome :-) My client (strangely enough from the same people that
brought you mono ;-) gives me a nicely threaded display, knows that it
is replying to a list post so reducing multiple carbon copies and lets
me quote the message I am replying to properly.

A major advantage of a mailling list for technical discussion for me is
that I can download the messages onto my computer and read and reply to
them when I am not connected to the internet - this is particularly
useful when most of one's free time is spent either travelling or in
hotels for instance. 

/J\

-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: RE: [Mono-list] Cannot find Assembly ASP

2005-04-08 Thread Jonathan Stowe
On Fri, 2005-04-08 at 06:55, Gilles FAVIER wrote:
 Seb,
 
 You made it!! It works, it compiles with the exact command lien you gave me, 
 it is true 'ill have to study that point between assemblies and namespaces...
 
 IT would be to great if it worked... i have the compilation succeeded but 
 when i open my webpage : 
 http://localhost/mydir/Default.aspx, once i click on OK to make my query i 
 get the following error : 
 (i might have to make another post for this error)
 
 System.DllNotFoundException: oci
 in 0x00053 (wrapper managed-to-native) OciNativeCalls:OCIEnvCreate 
 (intptr,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,int,intptr)

This looks like you are missing a native library that is required.

 in 0x00020 System.Data.OracleClient.Oci.OciCalls:OCIEnvCreate 
 (intptr,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,int,intptr)
 in 0x0005d System.Data.OracleClient.Oci.OciEnvironmentHandle:.ctor 
 (System.Data.OracleClient.Oci.OciEnvironmentMode)
 in 0x0003c System.Data.OracleClient.Oci.OciGlue:CreateConnection 
 (System.Data.OracleClient.OracleConnectionInfo)
 in 0x0002b System.Data.OracleClient.OracleConnection:Open ()
 in 0x0004f (wrapper remoting-invoke-with-check) 
 System.Data.OracleClient.OracleConnection:Open ()
 in 0x00094 WebTest._Default:BTGO_Click (object,System.EventArgs)
 in 0x00069 (wrapper delegate-invoke) 
 System.MulticastDelegate:invoke_void_object_EventArgs 
 (object,System.EventArgs)
 in 0x00081 System.Web.UI.WebControls.Button:OnClick (System.EventArgs)
 in 0x00058 
 System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent
  (string)
 in 0x00016 System.Web.UI.Page:RaisePostBackEvent 
 (System.Web.UI.IPostBackEventHandler,string)
 in 0x0003e System.Web.UI.Page:RaisePostBackEvents ()
 in 0x002c3 System.Web.UI.Page:InternalProcessRequest ()
 in 0x000c2 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
 in 0x002eb ExecuteHandlerState:Execute ()
 in 0x00084 StateMachine:ExecuteState 
 (System.Web.HttpApplication/IStateHandler,bool)
 
 
 
 Anyway thanks a lot guys i saved a lot of time and realize where i am missing 
 some knowledge!
 
 Have a great day.
 
 
 
 
 
  Message du 07/04/05 19:01
  De : Sbastien Pouliot [EMAIL PROTECTED]
  A : [EMAIL PROTECTED]
  Copie agrave; : mono-list@lists.ximian.com
  Objet : RE: [Mono-list] Cannot find Assembly ASP
  
  Bonjour Gilles,
  
mcs /t:library /out:WebTest.dll -r:System -r:System.Data 
-r:System.Collections -r:System.ComponentModel -r:System.Drawing 
-r:System.Web -r:System.Web.SessionState -r:System.Web.UI 
-r:System.Web.UI.WebControls -r:System.Web.UI.HtmlControls 
-r:System.Data.OracleClient  AssemblyInfo.cs Default.aspx.cs 
Global.asax.cs
  
  You are mixing namespaces and assemblies.
  
  Try:
  mcs /t:library /out:WebTest.dll -r:System -r:System.Data -r:System.Drawing 
  -r:System.Web -r:System.Data.OracleClient  AssemblyInfo.cs Default.aspx.cs 
  Global.asax.cs
  
  Sebastien Pouliot
  home: [EMAIL PROTECTED]
  blog: http://pages.infinit.net/ctech/poupou.html
  
  
  
  
 
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] i'd like unsubscribe

2005-02-15 Thread Jonathan Stowe
On Mon, 2005-02-14 at 21:41, Charli wrote:
 I'd like unsubscribe for this list and i don't know how.
 
 thanks
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

Note this URL above - you should have received an email with your
password in it when you subscribed.  Alternatively you can find more
information by examining the headers of any message sent from the list.

/J\
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mono and systray icon

2005-02-14 Thread Jonathan Stowe
On Mon, 2005-02-14 at 14:51, Alex Roman wrote:
 On Mon, 2005-02-14 at 09:37 -0500, Alex C wrote:
  i believe the mwf team is working on this.
  check this link out
  http://svn.myrealbox.com/blog/archive/2005/01/28/keep_feeling_fascination.
  alex c.
 
 Thanks, I looked at that, but I do not want a Windows.Forms
 implementation. I don't want my application to work under Windows. All I
 want is to get it working under X11.

I think the point is that it works on *both* Windows and Linux.  
 
 Alex.
 
  
  
  
  On Mon, 14 Feb 2005 09:27:32 -0500, Alex Roman [EMAIL PROTECTED] wrote:
   On Mon, 2005-02-14 at 13:47 +0100, Marek Habersack wrote:
On Mon, Feb 14, 2005 at 07:42:31AM -0500, Alex Roman scribbled:
 On Mon, 2005-02-14 at 07:34 -0500, Adam Tauno Williams wrote:
   Is it possible to create an icon in the notification area / 
   system tray
   of KDE, GNOME, Fluxbox, and all other Desktops?
 
  It is possible in GNOME; but I think each system does its systray 
  in a
  different way.
 Well, muine (which is a gnome, or rather gtk+, based application) does
 it and it works on all major desktops, including gnome, kde and 
 fluxbox.
 How do they do it?

 I'll check out the source code, hopefully I'll be able to figure
 something out.
http://freedesktop.org/wiki/Standards_2fsystemtray_2dspec
   
   Looks good. Thanks! Any ideas how to do those things they mention there
   in mono? I've never done them, personally so I am a bit confused.
   
Check this spec out. I didn't look at the muine sources, but I bet it is
using the f.d.o protocol.
   
regards,
   
marek
   
   Thanks,
   Alex.
   
   ___
   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
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Visual Studio.net 2005 Enterprise Beta 1

2005-02-03 Thread Jonathan Stowe
On Thu, 2005-02-03 at 00:10, Daniel Morgan wrote:
 I found you can get Visual Studio.net 2005 Enterprise Beta 1 for free at
 
 http://lab.msdn.microsoft.com/vs2005/get/order/default.aspx?Locale=en-us

Or

http://lab.msdn.microsoft.com/vs2005/get/emeaorder/default.aspx

If you happen to be in those parts of the world not in the dropdown in
the original page :-)

/J\
 
 All you have to pay is shipping  handling and sales tax.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] xsp.exe as windows service

2005-02-02 Thread Jonathan Stowe
On Tue, 2005-02-01 at 17:36, marius popa wrote:
 I have started apache and xsp  (unsing mod_proxy module)
 and want to put xsp.exe to run as serivice at startup 
 What should i do ?  add service code for xsp ?

Yep, I guess this would be possible however you might have to compile
the xsp.exe using the .NET libraries as the mono
System.ServiceProcess.ServiceBase didn't really do anything last time I
checked (it doesn't need to on Unix of course).  

Simply put you should just be able to add amother class derived from
ServiceBase and re-name the Main() in XSP to something else and then
call that from the OnStart() method of your new class.

/J\
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] Xcopy deployment of dlls

2005-01-27 Thread Jonathan Stowe
On Thu, 2005-01-27 at 09:30, Chris Aitken wrote:
   Is mono supposed to support xcopy deployment?
  
  Yes.
  
   I have to restart xsp (actually apache2 with mod_mono) 
  everytime I add 
   a new dll to my ./bin/ directory.
  
  That's not XCOPY Deployment, at least as I understand it.
 
  XCOPY deployment is the ability to run an application 
  *without* running an installer first.  Thus the application 
  is location-independent, and deploying (installing) to 
  another machine is as simple as copying the application.
  
  What you want is the ability for xsp to restart the AppDomain 
  whenever it notices that a DLL has changed within the bin 
  directory.  Last I knew, this wasn't entirely functional as 
  the FileSystemWatcher wasn't entirely functional.
 
 So what you're saying is Mono is supposed to support xcopy deployment, but
 currently doesn't?
 

I think what he is saying is that mono *does* support Xcopy deployment
but what you are asking about is something else that doesn't work
properly at the moment.  Although I am not quite sure what the problem
with FileSystemWatcher is as I have been using it for quite some time
now.

/J\
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] I have Welcome, but monodoc.ashx doesn't work

2005-01-26 Thread Jonathan Stowe
On Tue, 2005-01-25 at 16:55, Michael George wrote:
 SuSE 9.1
 mono 1.0.5 and all the current versions from the SuSE 9.1 RPM page
 
 I have mono installed and apache configured to access it.  I have the
 Welcome to Mono XSP! page.  However, some of the pages do not load or work
 right.
 
 e.g.:
 monodoc.ashx gives a Compilation error because it cannot find assembly
 monodoc.  However, I have the monodoc RPM installed.
 

I made a symlink from 

  /usr/local/lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll

to

   /usr/local/lib/mono/1.0/monodoc.dll

which seemed to fix it.  The actual directory name in the gac might be
different for you.

/J\

 dbpage[12].aspx comlain, but that's probably because there's some
 configuration required or changing of code to make it work right...
 

You will need to fiddle with the web.config to get these working.

 I guess mostly it's just monodoc that seems to be malfunctioning.
 
 I'm a complete noob with this, so urls to more data are welcome.
 
 -Michael George
 Ideal Solution, LLC
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] OpenLDAP with mono

2004-12-02 Thread Jonathan Stowe
On Wed, 2004-12-01 at 12:46, Amish Munshi wrote:
 On Wednesday 01 December 2004 18:09, you wrote:
  I think if you take the try{} catch{} out you will get a clearer idea of
  where the problem lies - this exception appears to be from
  LdapException.ToString() which whilst a problem is meaning you are not
  seeing what the underlying problem is.
 
 
 The output does not change irrespective of weather the try block exists (why 
 does the catch block not catch the exception?)
 

That would appear to be a bug in the LdapException class itself as far
as I can tell.  Do you want to file a bug report for this in bugzilla?

 Finally I got the solution for this.
 I should have used dc=example,dc=com, I did not have the tree 
 ou=example,o=com 
 in ldap.  you are free to hit me for this one
 There are 2 problems still. 
 1. The Error could have been a little better.
 2. The program does not terminate, it just keeps running. Adding 
 ldapConn.Disconnect() does not terminate the application either.
 
 Thanks for the help, Although I wouldnt put this into production, I can 
 atleast continue my studies/development work.
 
 Amish.
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] OpenLDAP with mono

2004-12-01 Thread Jonathan Stowe
On Wed, 2004-12-01 at 08:17, Amish Munshi wrote:
 Greetings,
 
 I am using mono 1.0.4 on Novell Linux desktop, using the article available at 
 
 http://www.novell.com/coolsolutions/cooldev/features/
 a_net_cplus_ldap_library_cdev.html
 
 I am trying to connect to OpenLDAP using the following code
 
 using Novell.Directory.Ldap;
 using System;
 namespace Munshi.Amish.LDAP
 {
   class amish
   {
   static void Main()
   {
   try {
   LdapConnection ldapConn = new LdapConnection();
   ldapConn.Connect(localhost,389);
   ldapConn.Bind(cn=Manager,ou=my-domain,o=com,secret);
   }
   catch(Exception e)
   {
   Console.WriteLine(Error :  + e.ToString());
   }
   }
   }
 }
 
 I get the following error and the program does not exit.
 
 Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
 in 0x00078 System.String:FormatHelper 
 (System.Text.StringBuilder,System.IFormatProvider,string,object[])
 in 0x0003d System.String:Format (System.IFormatProvider,string,object[])
 in 0x00175 Novell.Directory.Ldap.Utilclass.ResourcesHandler:getMessage 
 (string,object[],System.Globalization.CultureInfo)
 in 0x00013 Novell.Directory.Ldap.Utilclass.ResourcesHandler:getMessage 
 (string,object[])
 in 0x000bf Novell.Directory.Ldap.LdapException:getExceptionString (string)
 in 0x00013 Novell.Directory.Ldap.LdapException:ToString ()
 in 0x00075 Munshi.Amish.LDAP.amish:Main ()


I think if you take the try{} catch{} out you will get a clearer idea of
where the problem lies - this exception appears to be from
LdapException.ToString() which whilst a problem is meaning you are not
seeing what the underlying problem is.


 
 If I use anonymous bind 
 ldapConn.Bind(null,null);
 then the program just freezes and does not exit.
 
 I tried this on mono 1.0.2 on SuSE 9.2 and the effect the same. What could be 
 wrong?
 
 
 Amish.
 
 
 
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Ask Microsoft: Mono support

2004-10-27 Thread Jonathan Stowe
On Wed, 2004-10-27 at 09:04, RoBiK wrote:
 Just found an article regarding comment from microsoft on mono...
 
 
 http://searchvb.techtarget.com/originalContent/0,289142,sid8_gci1019210,00.h
 tml

Mono is an attempt by Novell to reverse engineer parts of
Microsoft's .NET Framework.

???

A wonderful piece of FUD slinging that.

/J\
 
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Ask Microsoft: Mono support

2004-10-27 Thread Jonathan Stowe
On Wed, 2004-10-27 at 11:23, Jonathan Pryor wrote:
 On Wed, 2004-10-27 at 05:13, Jonathan Stowe wrote:
  On Wed, 2004-10-27 at 09:04, RoBiK wrote:
   
   http://searchvb.techtarget.com/originalContent/0,289142,sid8_gci1019210,00.h
   tml
  
  Mono is an attempt by Novell to reverse engineer parts of
  Microsoft's .NET Framework.
 
  A wonderful piece of FUD slinging that.
 
 Where's the FUD, exactly?
 
 Parts of .NET are standardized under ECMA, which Mono implements.
 
 Parts of .NET are *not* standardized under ECMA, which Mono also
 implements.  (For example, System.Web.UI, System.Windows.Forms,
 System.Data, etc.)
 
 How else could Mono implement the non-standardized parts of .NET than by
 reverse-engineering?  Hell, we likely needed to reverse-engineer parts
 of the standardized portions, in places where the standard wasn't
 explicit and we needed to maintain compatibility.
 
 Reverse engineering isn't a bad thing.  It's what allows competition to
 exist in many fields.

Yes this all true but (and possibly only in my reading) the attempt by
Novell phrase appears to be trying to give it an entirely negative
connotation. 
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] console interface

2004-10-20 Thread Jonathan Stowe
On Tue, 2004-10-19 at 19:58, Alejandro Mery wrote:
 Hi, i would like to know if there is 
 any kind of console interface for mono. i am looking for something like clipper 
 (xbase like foxpro).
 in fact i'm coding on clip (www.itk.ru) a native clipper compiler for unix-like, 
 because i need the old but great (quick and easy) DOS-like interface.
 i want to share business and data libraries between the diferent interfaces. web, 
 gtk and console. Clip gives me that but i would like to know if i can use .net 
 without coding every console interface component myself.


Whilst not exactly what you want I have started work on a low level
termcap interface which could be the foundation of something like this -
early work in progress is at:

   http://www.integration-house.com/files/Unix.Console.TermCap.tar.gz

/J\
 Thanks in advance,
 Alejandro Mery
 
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Is Mono ready to compete with MS .NET in realbusiness?

2004-10-01 Thread Jonathan Stowe
On Thu, 2004-09-30 at 23:22, Radu Popescu wrote:
 On Thu, 30 Sep 2004 13:47:50 -0400, Shawn Vose
 [EMAIL PROTECTED] wrote:
  Amen! To that. I love vim. I use it for all my coding needs; however, m$
  people are going to have a hard time figuring out how to save their code.
  
  :w
  
  is not as intuitive as a few mouse clicks
  
  ;-)
  
  
  
  Jonathan Stowe wrote:
  
 
 Vim is *not* a development environment.

No it may not be, but, combined with the set of tools I have available
on my computer, it is part of one.

 Emacs with ECB and semantic, for Java  C[++] comes quite close though.
 Auto-completion and quick apidoc together with refactoring boost
 development speed considerably, and these are de facto standards of
 any modern IDE. 

The key word here is the 'Integrated' in IDE - IDE is not synonymous
with 'Development Environment' and this is precisely the point that I
was trying to make - there is always going to be a divergence of opinion
between those who believe that development is best done using a single
monolithic application and those who would rather use a carefully chosen
set of individual tools.

 It's a fact, and although some 4-5 years ago comparing
 :w or CxCs with mouse clicks was funny, now it's simply ridiculous.
 Take a look around, everything is moving towards that direction, from
 big (all Java IDEs, VS, SlickEdit) to small (kdevelop, anjuta, emacs +
 xrefactory,ecb etc.).

*Shrug* I don't know about anyone else but I find that I can't write
code with a mouse and I find it really annoying to have to take my hands
away from the keyboard in order to perform some basic operation.  Of
course this would suggest that the human anatomy is not complete and
won't be ready for the big time until we have evolved a third hand with
which to operate a mouse :-)

/J\
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Crystal Reports 10

2004-10-01 Thread Jonathan Stowe
On Fri, 2004-10-01 at 09:32, Golo Haas wrote:
 Hi there,
 
   I want to use Crystal Reports 10 within an ASP.NET application which is
   hosted by Apache using mod_mono (on SuSE 9.1).
   
   As there is no Linux version of Crystal Reports, it will be installed
   on a Windows machine.
   
   So my question is, is it possible to access CR from my Mono application?
   CR may provide a web service, or access it via COM (if this is supported
   by Mono?), or ...
  
  Web services are supported by mono.
 
 okay, that has been point number one. Second question may be, does CR offer
 its functionality as web service?

Yes. I think since version 9 and the version that comes with Visual
Studio.  In fact you might get lucky and find that the CR .Net
components will work with mono - however I would be extremely surprised.

/J\
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod-mono hangs

2004-09-08 Thread Jonathan Stowe
On Wed, 2004-09-08 at 16:39, Tomek Soroka wrote:

 ps. I've sent this mail some hours ago, but I don't see it on list.
 have You any problems with mono list?

I haven't seen any mail on the list all day until this one so I guess it
has been waiting patiently for a mailserver to do its thing.
  
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod-mono hangs

2004-09-08 Thread Jonathan Stowe
On Wed, 2004-09-08 at 16:39, Tomek Soroka wrote:

 ps. I've sent this mail some hours ago, but I don't see it on list.
 have You any problems with mono list?

I haven't seen any mail on the list all day until this one so I guess it
has been waiting patiently for a mailserver to do its thing.
  
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Howto clear the console

2004-09-08 Thread Jonathan Stowe
On Tue, 2004-08-31 at 16:45, Jonathan Stowe wrote:
 On Mon, 2004-08-30 at 04:06, Ian MacLean wrote:
 
  
  Anyway how can I do this on linux, or better yet, platform independant.
   

  
  I think you'll probably need to P/Invoke to ncurses to do this on *nix
  
 
 Portable.NET has a curses binding already, though I've not tried to use
 this with mono, however it shouldn't be too difficult to use the same
 approach as used in, say, the Perl module Term::Cap and just read the
 appropriate terminal description and output the appropriate strings for
 the different capabilities.  If I get bored I'll have a look at this.
 

I have the start of a terminal capabilities library implementation at:

   http://www.integration-house.com/files/Unix.Console.TermCap.tar.gz

it is very unfinished but in the spirit of release early, release
often here it is.  It will read the /etc/termcap of a Unix-like machine
and parse out the capabilities, currently it doesn't deal with
capabilities that take positional parameters (like cursor movements) but
it does deal nicely with stuff like 'cl' (Clear Screen), 'ho' (home
cursor), 'so' (start standout mode) and so forth.  There are properties
for some of these capabilities.

Typical usage to clear the screen for instance might be:

using System;
using Unix.Console;

public class Foo
{
public static void Main()
{
TermCap tc = new TermCap();
Console.Write(tc.Clear);
/*
  Or generically:
  Console.WriteLine(tc.Put(cl);
*/
}
}

I think there probably will be some issues with character encodings and
the like on some terminals and I would be happy to accept any
suggestions how to overcome this.

Flames, patches, suggestions and offers of help greatly accepted.

Hope it is useful.

/J\



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Howto clear the console

2004-08-31 Thread Jonathan Stowe
On Mon, 2004-08-30 at 04:06, Ian MacLean wrote:

 
 Anyway how can I do this on linux, or better yet, platform independant.
  
   
 
 I think you'll probably need to P/Invoke to ncurses to do this on *nix
 

Portable.NET has a curses binding already, though I've not tried to use
this with mono, however it shouldn't be too difficult to use the same
approach as used in, say, the Perl module Term::Cap and just read the
appropriate terminal description and output the appropriate strings for
the different capabilities.  If I get bored I'll have a look at this.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] aspnet_regiis.exe

2004-08-25 Thread Jonathan Stowe
On Wed, 2004-08-25 at 08:22, Jochen Wezel wrote:
 Hi all!
 
 When is there a tool available to automate the installation of ASP.NET
 into web servers?

Er there is, in the installer for mod_mono - you probably want to
abstract that stuff into a stand alone program.

 Especially, I think at
 - aspnet_regiis.exe
 - aspnet_regapache.exe (more important for us mono guys)
 
 Or are there any plans already?
 
 Regards
 Jochen
 ___
 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] Problem with a web serivce method.

2004-08-24 Thread Jonathan Stowe
On Tue, 2004-08-24 at 08:28, [EMAIL PROTECTED] wrote:
 Sorry...
 
 This is a c# example: TdMio.cs.
 It works well:
 
 [EMAIL PROTECTED] Desktop]# mcs ProvaTD.cs -r:System.Data.dll
 Compilation succeeded
 [EMAIL PROTECTED] Desktop]# mono ProvaTD.exe
 esiste una sessione attiva
 CodiceSessione  Problema Stato  NomeUtente
 12 1 Attiva  Null  U1
 

The fact that it works from the command line and not as a webservice
would indicate that you probably have ODBC setup as user DSN rather than
a system one - you need to create the DSN in the /etc/odbc.ini (or
wherever that is on your system) rather than in ~/.odbc.ini .  If you
have already done this then it could be that the user your apache runs
as cannot read the /etc/odbc.ini

/J\
 
 
 
 
 Scrive Jonathan Stowe [EMAIL PROTECTED]:
 
  On Mon, 2004-08-23 at 15:08, [EMAIL PROTECTED] wrote:
   Isql is an utility of unixODBC
   
  
  Er yes, but I meant a c# example that run at the console and not a
  webservice.
  
  It will probably be enough to do just:
  
  using System;
  using System.Data;
  
  class Foo
  {
  public static void Main()
  {
  OdbcConnection conn = new 
 
 OdbcConnection(DRIVER=MySQL;SERVER=localhost;DATABASE=tdmio;UID=root;PASSWORD=rootpwd;);
  
  conn.Open();
   }
  }
  
  
  
 
 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem with a web serivce method.

2004-08-23 Thread Jonathan Stowe
On Mon, 2004-08-23 at 13:43, [EMAIL PROTECTED] wrote:

 
 The remote server returned an error: (500) Internal Server Error.
 Unable to retreive error information from ODBC driver manager
 
 What it means?
 

There is a problem with your ODBC configuration, can you make a small
console example that just attempts to do the same connection to the
database?

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem with a web serivce method.

2004-08-23 Thread Jonathan Stowe
On Mon, 2004-08-23 at 15:08, [EMAIL PROTECTED] wrote:
 Isql is an utility of unixODBC
 

Er yes, but I meant a c# example that run at the console and not a
webservice.

It will probably be enough to do just:

using System;
using System.Data;

class Foo
{
public static void Main()
{
OdbcConnection conn = new 
OdbcConnection(DRIVER=MySQL;SERVER=localhost;DATABASE=tdmio;UID=root;PASSWORD=rootpwd;);

conn.Open();
 }
}


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem with mod_mono1.01

2004-08-19 Thread Jonathan Stowe
On Thu, 2004-08-19 at 09:43, [EMAIL PROTECTED] wrote:
 Hi,
 I've installed packages of the 1.01 version for fedora core 2 and the Apache
 Mono module mod_mono-1.0.1.tar.gz...it seems with non problem:
 
 ---
 [EMAIL PROTECTED] root]# mono /usr/bin/mod-mono-server.exe --root
 /usr/share/doc/xsp/test/ --applications /mono:/usr/share/doc/xsp/test/
 --nonstop
 mod-mono-server
 Adding applications '/mono:/usr/share/doc/xsp/test/'...
 Registering application:
 Host:  any
 Port:  any
 Virtual path:  /mono/
 Physical path: /usr/share/doc/xsp/test
 Listening on: /tmp/mod_mono_server
 Root directory: /usr/share/doc/xsp/test
 ---
 
 
 Then I have configured the httpd.config file as explained in the install file of
 mod_mono but when I start Apache with command apchectl start I get this
 error:
 
 [EMAIL PROTECTED] root]# chmod 666 /tmp/mod_mono_server
 [EMAIL PROTECTED] root]# chown .apache /tmp/mod_mono_server
 [EMAIL PROTECTED] root]# chmod g+w /tmp/mod_mono_server
 [EMAIL PROTECTED] root]# apachectl start
 [Thu Aug 19 10:27:15 2004] [warn] module mono_module is already loaded,
 skipping
 [Thu Aug 19 10:27:15 2004] [warn] module mono_module is already loaded,
 skipping
 Syntax error on line 6 of /etc/httpd/conf.d/auth_mysql.conf:
 Cannot load /etc/httpd/modules/mod_auth_mysql.so into server: libmysqlclient.so.
 10: cannot open shared object file: No such file or directory
 ---
 
 This is the line 6 of /etc/httpd/conf.d/auth_mysql.conf:
 
 1-#
 2-# mod_auth_mysql can be used to limit access to documents by checking
 3-# data in a MySQL database.
 4-#
 5-
 6-LoadModule mysql_auth_module modules/mod_auth_mysql.so
 7-
 -
 
 
 Why this error? 
 With mod_mono 1.0 I had no problems.
 

Er, this is completely unrelated to mod_mono or mono in general - it
appears that part of your mysqlclient library is missing.  The warnings
you are getting about mod_mono being already loaded is probably because
the .conf file has two or more LoadModule lines for the mod_mono but
this does not explain the mysql problem.

/J\
 What could I do to solve this?
 
 
 Thanks,
 
 Valentina.
 
 
 
 ___
 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] Reply to address

2004-08-19 Thread Jonathan Stowe
On Thu, 2004-08-19 at 12:08, Dick Porter wrote:
 On Thu, 2004-08-19 at 02:38, Maynard Kuona wrote:
  If I hit reply, then it will attempt to reply to Dick Porter, and not to
  [EMAIL PROTECTED] Incidentally, I am using Ximian Evolution,
  the same mailer by the guys who own this list!
 
 Evolution has a Reply to List item in the Action menu.  I used it for
 this reply.

Hmm I found that has bizarre behaviour - it works for nearly every list
I use except for '[EMAIL PROTECTED]' which it renders as
'[EMAIL PROTECTED]' - never could get to the bottom of it 

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] XSP stops working

2004-08-18 Thread Jonathan Stowe
On Tue, 2004-08-17 at 18:42, Jochen Wezel wrote:
 Hi Gonzalo, again!
 
 I know, I know, today, I'm killing your last nerves. But I'm heavily
 testing now my applications since VB.NET is now able to run in ASP.NET
 ;-)
 
 Do you know what this exception is? I simply removed one DLL (the
 ChilkatDotNet.dll :-) while XSP kept running. After page reload, I got
 this:
 
 ** (/usr/bin/xsp.exe:32286): WARNING **: Missing method CopyArray in
 assembly /mono-dev/wwwroot/bin/cammWM.dll typeref index 202
 
 The cammWM.dll is developed by me with VS.NET and is running fine on
 MS.NET.
 
 Is this XSP related or where do we have to search for?
 
 Here is my complete console output:

snip

 
 ** (/usr/bin/xsp.exe:32286): WARNING **: Could not find assembly
 Microsoft.VisualC, references from
 /mono-dev/wwwroot/bin/ChilkatDotNet.dll (assemblyref_index=1)
 

That will be your problem. Although it does appear to be there on my
installation there may be a further dependency that is masked.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: AW: [Mono-list] Strings.InStr

2004-08-17 Thread Jonathan Stowe
On Tue, 2004-08-17 at 08:15, Jochen Wezel wrote:
 I only tried on MS.NET, but it should be the same on Mono:
 
 SNIP-
 using Microsoft.VisualBasic;
 
 public class Test
 {
   public static void Main()
   {
   System.Console.WriteLine (Strings.InStr(Hello World, W, 0));
   }
 }
 SNIP
 
 I compiled with 
 csc instr.cs /r:Microsoft.VisualBasic.dll
 
 On mono, this should be very similar:
 mcs instr.cs /r:Microsoft.VisualBasic.dll
 

Yep it works perfectly fine for me with mono.  It might be useful to see
the actual error (compilation or otherwise) that you are getting and a
small snippet of the code that gives rise to this problem.

 
 -Ursprngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von lamyae Benabdeljalil
 Gesendet: Montag, 16. August 2004 19:48
 An: [EMAIL PROTECTED]
 Betreff: [Mono-list] Strings.InStr
 
 Hell all
 i cannot make Strings.InStr() method work with mono, even if i referenced 
 Microsoft.VisualBasic Can you give 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


RE: [Mono-list] Syslog Access

2004-08-17 Thread Jonathan Stowe
On Tue, 2004-08-17 at 06:06, Iain McCoy wrote:
 On Tue, 2004-08-17 at 14:35, Craig Dayton wrote:
  Perhaps exploring the possibility of using PerlNet a product marketed by
  ActiveState might be a cost effective solution.
  
  With PerlNet, one can define an Interface to any module on CPAN and compile
  it as a library or executable.  So from a developer's prospective, a
  programmer can leverage modules in CPAN and the .NET community all within a
  single executable.  Thanks to Mono this capability is now extended to the
  Unix world. No sense in reinventing the wheel is there?  
 Is it extended to the unix world? My understanding of PerlNet was that
 it worked by interfacing between the regular win32 perl interpreter and
 the MS CLR - not by compiling perl code to normal managed code. The MS
 CLR interfaces that it would use are not replicated by mono, so I
 suspect it doesn't work on a unix.

This is my understanding too.  However a solution for reusing CPAN
modules from within a .NET application on Unix would be to expose the
modules functionality in a SOAP server and access it via HTTP remoting
or a SOAP proxy, I am going to be giving a short talk in part on this
subject at YAPC::Europe next month and will post my slides sometime
afterwards if people are interested.  On Windows as an alternative for
reuse is to wrap the Perl module in a WIndows Script Component and
access it via COM Late binding in the .NET program.

Then there is perl-sharp by Rich Wareham  at
  
  http://charon.ucam.org/mason/software/perl-sharp.html

and PerlSharp by Joshua Tauberer at 

  http://taubz.for.net/code/perlsharp/

both of which are intended to enable accessing Perl code directly from
mono programs.

/J\


http://taubz.for.net/code/perlsharp/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Installing XSP on FreeBSD 4.7

2004-08-09 Thread Jonathan Stowe
On Sun, 2004-08-08 at 22:17, Ken Swift wrote:
This is more of a curosity 
 question...why do I have to install XSP, if I am going to be using the 
 mod_mono Apache module?

The XSP package contains the mod-mono-server.exe (as well as all the
examples) which is the backend ASP.NET processor, XSP itself is a
relatively thin HTTP Server frontend to this, whereas mod_mono
communicates with it via a pipe.

/J\ 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] command

2004-08-09 Thread Jonathan Stowe
On Mon, 2004-08-09 at 14:15, Fabian wrote:
 Hi!. If i'm not wrong, if i want to execute a shell command like ls
 -lh I must paste the following code: 
 
 System.Diagnostics.Process proc = new
 System.Diagnostics.Process(); 
 proc.EnableRaisingEvents=false;
 proc.StartInfo.FileName= ls; 
 proc.StartInfo.Arguments = -lh; 
 proc.Start(); 
 proc.WaitForExit(); 
 
 The problem is that it doesen't work unless i'm root. Otherwise I get:
 
 Unhandled Exception: System.ComponentModel.Win32Exception: Cannot find
 the specified file
 in 0x00657 System.Diagnostics.Process:Start_common
 (System.Diagnostics.ProcessStartInfo,System.Diagnostics.Process)
 in 0x0003d System.Diagnostics.Process:Start
 (System.Diagnostics.ProcessStartInfo)
 in 0x00029 System.Diagnostics.Process:Start (string)
 in 0xf prueba:Main ()
 
 
 Is there a way to execute a shell command without being root ?

Your exact code works fine for me - it is almost something certainly
strange about your system rather than with mono.  What OS are you trying
to run this on?

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ./libs/libmod_mono.so is not a DSO

2004-08-06 Thread Jonathan Stowe
On Fri, 2004-08-06 at 08:53, Darrell Blake wrote:
  mod_mono does not work (not even compile) on windows. Patches 
 
 welcome.
 
 Not even in Cygwin? It's a Unix environment.

Well strictly speaking Cygwin is just a .dll that provides sufficient
POSIX/X-OPEN/SVID/whatever APIs to be able to compile Unix programs
without having to change them very much.  A cygwin program is a windows
program it just uses the cygwin.dll to provide the stuff that windows
lacks.

Anyway as to your original problem - I would imagine that it probably
could be made to work but you will need to alter the Configure/Makefile
in order to create the appropriate file type that the Cygwin Apache
requires for DSOs - look in the apache directory to see what extension
they already have (I would imagine they are .DLLs) and then alter the
gcc flags to create the appropriate target type.  You may get some hints
by looking at the makefile for mono itself.

Sorry to be a bit vague - I'm in the middle of some work and haven't the
time to reboot into windows to investigate further.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: Welcome to the Mono-list mailing list

2004-08-04 Thread Jonathan Stowe
On Tue, 2004-08-03 at 21:33, Enrique Catala Bauls wrote:
 Please, i cant compile mono-1.0 :( 
 When i run the configure script, i have this configuration:
 
 GC:  included
 ICU: yes. Version: 2.6
 __thread:yes
 SIGALTSTACK: no
 Engine:  Building and using the JIT
 2.0 Alpha:   no
 JNI support: yes
 
 Then i execute make , and receive this error.
 Thanks.
 
 P.D: If anybody needs this information for solve the problem, i use the
 gentoo distribution.
 

snip

 ./.libs/libmono.so: undefined reference to `___tls_get_addr'
 collect2: ld returned 1 exit status

You need to include  --with-nptl=no when you run configure.

/J\


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [mono-list] Patch to mono-1-0 Mono for approval -- libgc/configure.in

2004-07-28 Thread Jonathan Stowe
On Wed, 2004-07-28 at 05:09, John Merryweather Cooper wrote:
 See Changelog patch in attached diff for details.  This patch selects
 the correct compiler flags for compiling libgc with pthreads on
 FreeBSD.

Are these likely to go into the Ports for 4.9 anytime real soon now?

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] XSP and Mod_Mono Server Problems

2004-07-22 Thread Jonathan Stowe
On Thu, 2004-07-22 at 13:08, Biju Arjunan wrote:
 I have installed Mono1.0 on Redhat Fedora Core 1,MonoDevelop, C# complilers etc are 
 working fine, but when I tried to make xsp or mod_mono ready for developing 
 webservices I am  facing the following problems.
 
 Prob No 1
 --
  
 I started the XSP server, but when going to htt://localhost::8081/ (I statred the 
 XSP server for listening on port 8081) I am getting the following error.
 Description: Error processing request.
  
 Error Message: HTTP 500.
  
 Stack Trace:
  
 System.Runtime.Remoting.RemotingException: Configuration file 
 '/etc/mono/machine.config' could not be loaded: Type 
 'System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting, 
 Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' not found
 in 0x00110 System.Runtime.Remoting.RemotingConfiguration:ReadConfigFile (string)
 in 0x00043 System.Runtime.Remoting.RemotingConfiguration:Configure (string)
 in 0x00367 System.Web.Configuration.WebDefaultConfig:GetConfigFromFileName 
 (string,System.Web.HttpContext)
 in 0x00055 System.Web.Configuration.WebDefaultConfig:GetConfig 
 (string,System.Web.HttpContext)
 in 0x00030 System.Web.Configuration.WebDefaultConfig:GetConfig (string)
 in 0x00016 System.Web.Configuration.WebConfigurationSettings:GetConfig (string)
 in 0xb System.Web.HttpContext:GetAppConfig (string)
 in 0x0003a System.Web.TraceManager:.ctor ()
 in 0x0004c System.Web.HttpRuntimenFirstRequestStart (System.Web.HttpContext)
  
 Any idea what is the problem?

Er, yes it is telling you quite clearly:

   Configuration file '/etc/mono/machine.config' could not be loaded

is that file present and is it readable by the appropriate user - if it
isn't there is it somewhere else?  If so you probably can make a
symlink.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] parsing an incomplete xml

2004-07-19 Thread Jonathan Stowe
On Mon, 2004-07-19 at 03:36, Krisztian PIFKO wrote:
 On Sun, 2004-07-18 at 21:21 -0400, Stephen Caldwell wrote:
  Well if you have some way of knowing how big the stream is, then maybe
  buffer it all and then parse it, or you might have to create a parsing
  class which can better handle mal-formed xml documents.
 
 sad, but i need to parse it as it comes (xmpp/jabber protocol is like
 this), so i'll interpret the stream by hand.
 

This sounds like you are reinventing a rather big wheel - have you
looked at how jabber.net deals with this?

  http://www.jabberstudio.org/projects/jabber-net/project/view.php

/J\ 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] System.Web.Mail not found!

2004-07-19 Thread Jonathan Stowe
On Mon, 2004-07-19 at 08:03, Israel Fdez Cabrera wrote:
 Hi all, this is my first message to the list, and I'm not sure if this is the 
 right list for this question but, here it is any way and U tell me if I'm in 
 the wrong place :)
 
 I just download and installed Mono 1.0 in my SuSE 9.1 Box. I'm writing a test 
 application with Monodevelop, the code for this application was copied from a 
 monodoc help page and is the following:
 
 --
 // project created on 19/07/2004 at 11:03
 using System;
 using System.Web.Mail;
 
 class SSmtp
 {
   public static void Main(string[] args)
   {
   System.Console.Write(Prueba);
   /*MailMessage message = new MailMessage();
   message.From = [EMAIL PROTECTED];
   message.To = [EMAIL PROTECTED];
   message.Subject = Hello, E-Mail world!;
   message.Body = This is a test mail.;
 
   SmtpMail.SmtpServer = 10.10.1.2;
   SmtpMail.Send (message);*/
   }
 }
 --
 
 when compile, I get the following error:
 
 line 3: The Namespace 'System.Web.Mail' can not be found (missing assembly 
 reference?) (CS0246)
 

YOu need to add the reference to System.Web.dll - in MonoDevelop you
achieve this by right clicking on references in the left hand SOlution
View and selecting Edit References in the menu, then tick the
System.Web checkbox.

 I visit the go-mono web site and consulted the class libraries and 
 System.Web.Mail is implemented in a 98%.
 
 I'll appreciate any help, link or reference.
 Best [EMAIL PROTECTED]
 Israel

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] WebService, SessionState and CookieContainer.

2004-07-16 Thread Jonathan Stowe
On Fri, 2004-07-16 at 09:14, [EMAIL PROTECTED] wrote:
snip
 The Web services code is: Contatore.asmx.cs
 The client application code is: CounterCLI.aspx.cs
 
 Could anybody help me please?

Your attachments appear to be formatted formatted as RTF please could
you send them again.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] WebService, SessionState and CookieContainer.

2004-07-16 Thread Jonathan Stowe
On Fri, 2004-07-16 at 09:14, [EMAIL PROTECTED] wrote:
snip
 The Web services code is: Contatore.asmx.cs
 The client application code is: CounterCLI.aspx.cs
 
 Could anybody help me please?

Your attachments appear to be formatted formatted as RTF please could
you send them again.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] missing native feel ?

2004-07-16 Thread Jonathan Stowe
On Thu, 2004-07-15 at 18:38, Thomas R. Corbin wrote:

   For me, the .dll is fine, it's the .exe.

Then wrap it in a shell script just as you say do with Java programs - I
don't see what the problem is here.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] missing native feel ?

2004-07-16 Thread Jonathan Stowe
On Thu, 2004-07-15 at 22:16, Thomas R. Corbin wrote:

 
   It would be nice if there was a standard beginning wrapper that could
 be used until or unless something more advanced is needed.

Rename this to the same as your .exe file (but without the extension)
and put it in the same directory:

#!/bin/sh  
   exec /usr/local/bin/mono $0.exe $@

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Monodevelop err.

2004-07-12 Thread Jonathan Stowe
On Mon, 2004-07-12 at 15:54, Etienne Boucher wrote:
 Did you try running it as root? I get missing assembly warning running any
 .NET program (even mcs) when not being root after installing with Red
 Carpet. I'm still waiting for someone to tell me how I can fix that.
 

As root

chmod -R go+r /usr/local/lib/mono


/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] executable on MAC OS X?

2004-07-08 Thread Jonathan Stowe
On Thu, 2004-07-08 at 05:15, Brian OBrien wrote:
 I just compiled helloworld.cs on my MAC OS X machine
 and to my surprise I ended up with a .exe file...
 Not quite what I was expecting... 

Yes it is a .NET CLI assembly - you need to run it with:

mono foo.exe

 How do I get a mac executable?

You don't

 Or am I supposed to use the netmodule... If so how...
 Am I suppose to start a server to do this?
 
 
 __ 
 Post your free ad now! http://personals.yahoo.ca
 ___
 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] Sending an email

2004-07-05 Thread Jonathan Stowe
On Sun, 2004-07-04 at 09:10, Pedro Santos wrote:
 Hello. I am using the SmtpMail class to send an email. However I get
 this exception:
 
 System.Net.Sockets.SocketException: Connection refused
 in 0x0011b System.Net.Sockets.Socket:Connect (System.Net.EndPoint)
 in 0x00017 System.Net.Sockets.TcpClient:Connect (System.Net.IPEndPoint)
 in 0x001ff System.Net.Sockets.TcpClient:Connect (string,int)
 
 I am using mono and XSP on Mandrake. Is there any requirements to use this class?
 

By default you need to be running an SMTP server on your local machine
or you need to set the appropriate server through the
System.Web.Mail.SmtpMail.SmtpServer.

/J\


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mono site not shown in IE?

2004-07-05 Thread Jonathan Stowe
On Mon, 2004-07-05 at 12:51, Mihail Belanov wrote:
 Recently I tried to access www.mono-project.com using IE but got a blank
 page. When I changed browser to Mozilla the site was shown normally and
 downloading speed of mono was good. Then had I used IE and  there is blank
 page again. Maybe there is a bug in the HTML desing.

Alternatively there is a bug in the version if IE you are using - it is
fine with IE 6.0.2800.1106 and a quick check of the page in the w3c
validator shows no show stopping problems.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] site web down for a while

2004-07-02 Thread Jonathan Stowe
On Fri, 2004-07-02 at 13:45, KiOrKY wrote: 
 the site seems to be down for download since  this morning.
 is there any others http (just http) mirrors?
 
On Fri, 2004-07-02 at 14:51, KiOrKY wrote:
 the site seems to be down for download since  this morning.
 is there any others http (just http) mirrors?
 anyone have the same problem (i cant donwload the sources :(((  )

Please can you discover a little patience. The release of mono 1.0 has
received widespread coverage and there is no doubt the servers are
having a little difficulty with the increased load. 

/J\


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] make install building mcs package

2004-07-02 Thread Jonathan Stowe
On Fri, 2004-07-02 at 14:51, Yuri Leikind wrote:
 On Fri, 02 Jul 2004 07:24:28 -0600
 Raja R Harinath [EMAIL PROTECTED] wrote:
 
   I don't see anything wrong with this behaviour :-)  Perfectly expected.
   Please check the PATH of root.
 
 Please read my letter a  bit more attentively, esp. pay attention to the which 
 command.
 I do have /opt/bin in my path. 

Are you actually sure that is the case? 'sudo' may sanitize an inherited
path under some circumstances - what do you get if you run:

   sudo echo $PATH

?

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] make install building mcs package

2004-07-02 Thread Jonathan Stowe
On Fri, 2004-07-02 at 14:49, Yuri Leikind wrote:

 Didn't you notice the which command I issued: 
 
[EMAIL PROTECTED]:~/src/mcs-1.0$ which mcs
/opt/bin/mcs
 
 Haven't  you noticed I HAVE ALREADY BUILT the package, and
 I would not have been able to do it without mcs in my path.
 

What do you get if you run:

   sudo which mcs

?

It is evident that mcs is *NOT* in your path when you are running 'make
install' - something (and I am guessing sudo) must be changing the path.


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem with libmod_mono.so

2004-07-01 Thread Jonathan Stowe
On Thu, 2004-07-01 at 14:27, [EMAIL PROTECTED] wrote:
 I've created the folder apache in /usr/local/ and then I've installed
 mod_mono-0.11 with successfully.
 
 Now I've problems with apache:
 
 [EMAIL PROTECTED] root]# apachectl start
 Syntax error on line 201 of /etc/httpd/conf/httpd.conf:
 Cannot load /usr/lib/httpd/modules/libmod_mono.so into server:
 /usr/lib/httpd/modules/libmod_mono.so: undefined symbol: ap_table_get
 
 

This looks very much that you are trying to load a module which was
compiled against a different version apache into your apache - you may
have to specify the location of your apache installation to configure
'configure --help' will give you the flags to set this.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mono installation

2004-06-21 Thread Jonathan Stowe
On Mon, 2004-06-21 at 10:08, geoff rainey wrote:
 Hello,
 
 I have installed the following:
 
 platform - whitebox linux
 mono 0.31
 xsp 0.12
 mod_mono 0.10
 
 all installed from source. I am receiving the following error when 
 viewing index.aspx and other errors with other aspx files, any idea why?
 
 

That's not an error - that's the source of the .aspx file.  This is down
to your Apache configuration.  Check out the INSTALL file in the
mod_mono source.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod_mono demo configuration Question

2004-06-21 Thread Jonathan Stowe
On Sun, 2004-06-20 at 20:19, Sergey Moiseev wrote:

 still no normal auto-restart production version. Because of that beta 3 
 still not suitable for asp.net development in production. That stops 
 process of normal migration from php to asp.net. That's a pity.
 

The stopping and re-starting is a requirement of Apache, it would be the
same for any change that you might make to the httpd.conf,  I'm sure the
apache developers would welcome a patch to re-read the configuration
when it is changed.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] mod_mono demo configuration Question

2004-06-18 Thread Jonathan Stowe
On Fri, 2004-06-18 at 04:58, amerigo5 amerigo5 wrote:
 No. That didn't work. Is there anything am I missing here? Thanks.
 
 George
 
 It looks like your Location /demo1 tag is probably wrong.  /demo1
 should not be the virtual directory, but the physical directory on the
 hard drive.  Try that.  I'm not an expert with Apache, I'm afraid.  But
 maybe it's worth a shot.
 

No, that bit looks fine the Location is what Apache knows a
directory as - and as the /demo1 was introduced with an Alias
directive it should be okay.

 
 
 I posted a comment about a mod_mono demo configuration issue at
 gotmono.com
 and I thought I post it here too to get some responses. My question is
 that,
 why is it that when I change the following httpd.conf configuration:
 
 Alias /demo /usr/share/doc/xsp/test
 MonoApplications /demo:/usr/share/doc/xsp/test
 Location /demo
 SetHandler mono
 /Location
 
 to:
 
 Alias /demo1 /usr/share/doc/xsp/test
 MonoApplications /demo1:/usr/share/doc/xsp/test
 Location /demo1
 SetHandler mono
 /Location
 
 the asp.net (.aspx) files are not being processed/displayed correctly.
 The
 raw codes and HTML tags are being displayed instead of rendering it in a
 
 browser? demo1 is just a sample. It could be anything. Also, this
 wasn't
 the case in mod_mono-0.9 and prior to it. Comments are highly
 appreciated.
 Thanks.
 
 George
 
 _
 Getting married? Find great tips, tools and the latest trends at MSN
 Life
 Events. http://lifeevents.msn.com/category.aspx?cid=married
 
 ___
 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
 
 _
 MSN 9 Dial-up Internet Access fights spam and pop-ups  now 3 months FREE! 
 http://join.msn.click-url.com/go/onm00200361ave/direct/01/
 
 ___
 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] bsd questions

2004-06-18 Thread Jonathan Stowe
On Fri, 2004-06-18 at 08:44, KiOrKY wrote:
 hi,
 is mono running and working as well on bsd than on linux ? Any port is sheduled?

The FreeBSD ports collection has beta 2 at the moment (you will have to
cvsup your ports collection to get it), however there are some threading
problems which are exposed when trying to run XSP but I haven't had time
to track it down.

/J\



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Message Queues

2004-06-17 Thread Jonathan Stowe
On Wed, 2004-06-16 at 23:30, Stephen Bardsley wrote:
 Greeting:
 
 I would like to learn about messaging in Mono
 (e.g. System.Messaging.MessageQueue).
 
 Where can I find some info or examples specific
 to Mono.
 

[EMAIL PROTECTED] System.Messaging]$ grep NotImplementedException *cs |
wc -l
314


The problem is there is nothing analogous to MSMQ available for Linux.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mac OS X / Mono Beta 3 Issue

2004-06-17 Thread Jonathan Stowe
On Thu, 2004-06-17 at 04:03, Abram Gillespie wrote:
 I'm on Mac OS 10.2 and trying to install Beta 3.  I get through all of 
 make but make install gives me:
 
 Unhandled Exception: System.DllNotFoundException: libc
 in 0x000dc (wrapper managed-to-native) Mono.Tools.Driver:symlink 
 (string,string)
 in 0x00030 Mono.Tools.Driver:Symlink (string,string)
 in 0x00584 Mono.Tools.Driver:Install 
 (bool,string,string,string,string,string,string)
 in 0x007dc Mono.Tools.Driver:Main (string[])
 
 This is with the mono-0.96 package.
 

You may need to adjust the

dllmap dll=libc target=libc.so.6 /

in the 'config' file in the data sub-directory where you unpacked mono
to reflect the libc.so you have on your machine.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Message Queues

2004-06-17 Thread Jonathan Stowe
On Thu, 2004-06-17 at 10:56, KiOrKY wrote:

 but i dont know if this free part is able to cover distribued transactions (its the 
 use of com+ i want mono to do !)!
 regards
 

You might also want to look at JOTM:

 http://jotm.objectweb.org/

Of course none of this matters unless someone actually writes some code
to interface to these things.  And it doesn't help in implementing
System.Messaging as that requires an interface to MSMQ or something that
functions in the same way ..

/J\



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ikvm / java

2004-06-17 Thread Jonathan Stowe
On Thu, 2004-06-17 at 14:21, yvind Hvamstad wrote:

 As a side note. What webmail are you using? It doesn't work very well
 does it?

It looks like NOCC:

http://nocc.sourceforge.net/

I ought to get around to writing a webmail in c# really.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] webservices / error401 / credentials / modmono

2004-06-07 Thread Jonathan Stowe
On Mon, 2004-06-07 at 08:38, KiOrKY wrote:
 but for:
 
 does mono implement credentials because when i want to use a distant webservice on 
 an IIS server i get ann  401 (access refused) error.
 But when i accept anonymous request this 401 error disappear!
 the code of the webservice:

Is the IIS configured to use Basic Authentication or the windows
integrated authentication?  If the latter I think you will find it will
work if you use the former.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] webservices / error401 / credentials / modmono

2004-06-07 Thread Jonathan Stowe
On Mon, 2004-06-07 at 12:34, KiOrKY wrote:
 thanks, it works. Is there a mean to make it work witjh windows integrated 
 authentification System?

At a guess I would say supplying a patch that implemented NTLM Challenge
Response authentication would do it :-)

/J\
 regards
 Cory Nelson [EMAIL PROTECTED] a crit :
 
  Former == first of two things, Latter == second.  In this case Basic
  Authentication and Windows Authentication.
  
  On Mon,  7 Jun 2004 11:38:16 +0200, KiOrKY lt;[EMAIL PROTECTED]gt;
  wrote:
  gt; 
  gt; i had tried both. Whats Former?
  gt; Jonathan Stowe lt;[EMAIL PROTECTED]gt;
  a crit :
  gt; 
  gt; gt; On Mon, 2004-06-07 at 08:38, KiOrKY wrote:
  gt; gt; amp;gt; but for:
  gt; gt; amp;gt;
  gt; gt; amp;gt; does mono implement credentials because when i want to use a
  distant
  gt; gt; webservice on an IIS server i get ann  401 (access refused) error.
  gt; gt; amp;gt; But when i accept anonymous request this 401 error
  disappear!
  gt; gt; amp;gt; the code of the webservice:
  gt; gt;
  gt; gt; Is the IIS configured to use Basic Authentication or the windows
  gt; gt; integrated authentication?  If the latter I think you will find it
  will
  gt; gt; work if you use the former.
  gt; gt;
  gt; gt; /J\
  gt; 
  gt; 
  gt; 
  gt; --
  gt; 
  gt; - Gloire au monde libre-
  gt; 
  gt;I{ i () r |{ Y
  gt;Debian User
  gt; -
  gt; -- Mathieu PASQUET
  gt; -- Testeur Debian SID
  gt; -- irc: #debian-fr / irc.freenode.net port: 6667
  gt; -- Site: www.fr.debian.org
  gt; -
  gt; 
  gt; ___
  gt; Mono-list maillist  -  [EMAIL PROTECTED]
  gt; http://lists.ximian.com/mailman/listinfo/mono-list
  gt;

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Managed access to Dbase files?

2004-06-03 Thread Jonathan Stowe
On Thu, 2004-06-03 at 15:53, Abram Gillespie wrote:
 Hi everyone,
 
 Does anyone know a purely managed .Net way to query *.dbf files?  I'm 
 using MapServer to do some web GIS stuff with ESRI shapefiles, but 
 would like to use Mono's ASP.NET for querying.  Any ideas?
 

I have started work on a DataProvider for xBase files, but I haven't
really done a great deal as when I brought it up in:

http://lists.ximian.com/archives/public/mono-list/2004-May/020248.html

I didn't get an overwhelming response and I have been rather busy.  I
will finish it when I have some time but work is rather pressing at the 
moment.  

/J\


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] xsp problem

2004-05-27 Thread Jonathan Stowe
On Wed, 2004-05-26 at 14:17, master wrote:
 Hi, i just trying to install the xsp server, the configure went well but
 when i do the make i get the following :
 /usr/local/bin/mcs -debug+ -debug:full -nologo -r:System.Web.dll -r:Mono.Pos
 ix.dll /d:MODMONO_SERVER /out:mod-mono-server.exe
 error CS2008: No files to compile were specified
 Compilation failed: 1 error(s), 0 warnings
 *** Error code 1
 
 Stop in /root/xsp-0.13/server.
 bash-2.05b#
 
 any idea of what i can do?

Make sure you are using the GNU Make rather than any other one - I have
seen this with the BSD make for instance.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] xsp problem

2004-05-27 Thread Jonathan Stowe
PLEASE IF YOU ARE GOING TO REPLY, REPLY TO THE LIST NOT DIRECTLY TO ME.

On Thu, 2004-05-27 at 11:04, master wrote:
 Hmm i am not sure to understand in the INSTALL file they say to install XSP
 (so did I) ,

Have you made the required changes to the Apache configuration as
described in the INSTALL file and then restarted Apache.

 first does the port of XSP matter?

NO.  You have to make and install the XSP because that is where you get
the mod-mono-server but if you are using mod_mono with Apache you do not
need to run XSP.

 then i have install mod_mono following the INSTALL and i only get a page
 that charge and never print :/

Please send the appropriate part of your Apache configuration to the
list.

 and one more thing, mod_mono is to use asp.net no ?
 because i am trying to use asp on apache server and that s the only soft i
 have seen so far but unfortunately can t make it work
 
 i have two case :
 first one i start manually
 mod-mono-server.exe
 and then i get no error on error log from apache but page asp don t show
 or i don t start manually and i get
 [error] (61)Connection refused: Failed connecting and child didn't exit!
 
 :/
 - Original Message - 
 From: Jonathan Stowe [EMAIL PROTECTED]
 To: master [EMAIL PROTECTED]
 Cc: Mono-List [EMAIL PROTECTED]
 Sent: Thursday, May 27, 2004 11:40 AM
 Subject: Re: [Mono-list] xsp problem
 
 
  On Thu, 2004-05-27 at 10:11, master wrote:
   or i get sometimes
 [Thu May 27 11:07:50 2004] [error] (61)Connection refused: Failed
   connecting and child didn't exit!
  
   is there somewhere where i must say to mod mono where the port of xsp
 server
   is ?
 
  I'm not quite following you here, you either use XSP *or* mod_mono,
  although you need to install both.  If you are using mod_mono then it
  will be on the same port as the Apache is listening.  The configuration
  for the Apache to make it use mod_mono is described in the INSTALL file
  in the mod_mono source.
 
  /J\
   - Original Message - 
   From: Jonathan Stowe [EMAIL PROTECTED]
   To: master [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Thursday, May 27, 2004 9:58 AM
   Subject: Re: [Mono-list] xsp problem
  
  
On Wed, 2004-05-26 at 14:17, master wrote:
 Hi, i just trying to install the xsp server, the configure went well
 but
 when i do the make i get the following :

  
 /usr/local/bin/mcs -debug+ -debug:full -nologo -r:System.Web.dll -r:Mono.Pos
 ix.dll /d:MODMONO_SERVER /out:mod-mono-server.exe
 error CS2008: No files to compile were specified
 Compilation failed: 1 error(s), 0 warnings
 *** Error code 1

 Stop in /root/xsp-0.13/server.
 bash-2.05b#

 any idea of what i can do?
   
Make sure you are using the GNU Make rather than any other one - I
 have
seen this with the BSD make for instance.
   
/J\
   
   
 
 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] xsp problem

2004-05-27 Thread Jonathan Stowe
On Thu, 2004-05-27 at 11:46, master wrote:
 ok for the list but i am not subsribe to it so i don t see if someone reply
 to me in.

*shrug* perhaps you should subscribe to the list then. You are going to
miss answers that are sent there.

 
 yes i have made the install described in the INSTALL file and then restarted
 apache
 my apache configuration is :
 LoadModule mono_modulelibexec/libmod_mono.so
 
 Directory /usr/www/tomcat/xsp/
SetHandler mono
IfModule mod_dir.c
  DirectoryIndex index.aspx
/IfModule
 

Please re-read the INSTALL file - this is not the complete configuration
required as described in there. SPecifically the MonoApplication
directive.


 - Original Message - 
 From: Jonathan Stowe [EMAIL PROTECTED]
 To: master [EMAIL PROTECTED]
 Cc: Mono-List [EMAIL PROTECTED]
 Sent: Thursday, May 27, 2004 12:24 PM
 Subject: Re: [Mono-list] xsp problem
 
 ps: i have send the same to the list but need to be approve by the moderator
  PLEASE IF YOU ARE GOING TO REPLY, REPLY TO THE LIST NOT DIRECTLY TO ME.
 
  On Thu, 2004-05-27 at 11:04, master wrote:
   Hmm i am not sure to understand in the INSTALL file they say to install
 XSP
   (so did I) ,
 
  Have you made the required changes to the Apache configuration as
  described in the INSTALL file and then restarted Apache.
 
   first does the port of XSP matter?
 
  NO.  You have to make and install the XSP because that is where you get
  the mod-mono-server but if you are using mod_mono with Apache you do not
  need to run XSP.
 
   then i have install mod_mono following the INSTALL and i only get a page
   that charge and never print :/
 
  Please send the appropriate part of your Apache configuration to the
  list.
 
   and one more thing, mod_mono is to use asp.net no ?
   because i am trying to use asp on apache server and that s the only soft
 i
   have seen so far but unfortunately can t make it work
  
   i have two case :
   first one i start manually
   mod-mono-server.exe
   and then i get no error on error log from apache but page asp don t show
   or i don t start manually and i get
   [error] (61)Connection refused: Failed connecting and child didn't exit!
  
   :/
   - Original Message - 
   From: Jonathan Stowe [EMAIL PROTECTED]
   To: master [EMAIL PROTECTED]
   Cc: Mono-List [EMAIL PROTECTED]
   Sent: Thursday, May 27, 2004 11:40 AM
   Subject: Re: [Mono-list] xsp problem
  
  
On Thu, 2004-05-27 at 10:11, master wrote:
 or i get sometimes
   [Thu May 27 11:07:50 2004] [error] (61)Connection refused:
 Failed
 connecting and child didn't exit!

 is there somewhere where i must say to mod mono where the port of
 xsp
   server
 is ?
   
I'm not quite following you here, you either use XSP *or* mod_mono,
although you need to install both.  If you are using mod_mono then it
will be on the same port as the Apache is listening.  The
 configuration
for the Apache to make it use mod_mono is described in the INSTALL
 file
in the mod_mono source.
   
/J\
 - Original Message - 
 From: Jonathan Stowe [EMAIL PROTECTED]
 To: master [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, May 27, 2004 9:58 AM
 Subject: Re: [Mono-list] xsp problem


  On Wed, 2004-05-26 at 14:17, master wrote:
   Hi, i just trying to install the xsp server, the configure went
 well
   but
   when i do the make i get the following :
  

  
 /usr/local/bin/mcs -debug+ -debug:full -nologo -r:System.Web.dll -r:Mono.Pos
   ix.dll /d:MODMONO_SERVER /out:mod-mono-server.exe
   error CS2008: No files to compile were specified
   Compilation failed: 1 error(s), 0 warnings
   *** Error code 1
  
   Stop in /root/xsp-0.13/server.
   bash-2.05b#
  
   any idea of what i can do?
 
  Make sure you are using the GNU Make rather than any other one - I
   have
  seen this with the BSD make for instance.
 
  /J\
 
 
   
   
 
 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] webservices

2004-05-25 Thread Jonathan Stowe
On Tue, 2004-05-25 at 11:30, KiOrKY wrote:
 ho,
 how work the webserivces on mono?

You need to install mod_mono and xsp, but beyond that the web services
work essentially the same as under IIS with the .asmx files.

 where can i find tutorial?

There are example .asmx files in the xsp samples.

 regards

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Problem installing Beta 1 on Debian ( was Re: [Mono-list] webservices / need help on installing mono)

2004-05-25 Thread Jonathan Stowe
On Tue, 2004-05-25 at 12:59, KiOrKY wrote:
 sorry i copy my last thread here to not flood the mailing list.
 the problem is taht i cant install mono to continue performing my tests...
 

Please do not continuously re-send the same question to the list, if
no-one has responded to your previous questions it might be because:

  a) you have not provided enough information.

  b) no-one knows the answer to your question.

  c) you actually did get an answer and missed or ignored it.

If you have posted a bug in bugzilla you should wait for a response to
the ticket.  The responses you received there seem to indicate that you
should try a different kernel.

If you are having difficulty building mono from source on a platform for
which there is no package available you have at least three choices:
wait until some package becomes available, install a supported OS
distribution on your machine or attempt to build from the CVS sources.

Perhaps if you were to specify exactly the OS version that you are
trying to use there might be someone who has succesfully built on that
same platform who might be able to give you the appropriate options to
configure, or may be there isn't.

But please do not keep sending the same message to the list - it is not
going to get your answer any quicker.

 So i prepare all in theory... but i cant practice..
 help me :-)
 
 Hi, 
 so ... i keep on posting on mono list but no one had answer me for one
 week. I will open thread with maybe less esplicit words...
 Maybe u re thinking im a big shit, that i want to shot down mono. My
 aim is just to install it. In fact, i: testing it. If it works as well
 as i ve tested the base framework, BTW the enterprise where i work
 will and want change his way of thinking into free world ( :-), i hate
 microsoft ). So mono is a good tool for me, because it s one of the
 only args i have to present him againts m$ technology. 
 
 
 Description of Problem:
 
 Steps to reproduce the problem:
 1. cd monoxxx (mono 0.91)
 2. ./configure --efix=/usr/local --woth-jdk=/path/to/jdk --with-nptl=no
 3. make
 4. make install
 
 Actual Results:
 
 hangs at make install:make[3]: Rien  faire pour  install-exec-am .
 /bin/sh ../../mkinstalldirs /usr/local//lib
  /usr/bin/install -c -m 644 mscorlib.dll /usr/local//lib/mscorlib.dll
 MONO_PATH=. ../../mono/mini/mono --config ../../data/config
 /../gacutil.exe /i ./Accessibility.dll /f /package 1.0 /root /usr/local//lib
 
 ---
 Expected Results:
 -
 install finished
 How often does this happen? 
 ---
 everytime
 Additional Information:
 
 everything is going fine either this
 
 compilators used: gcc 3.0- 3.1- 3.2- 3.3- 3.4
 
 kernel 2.4.26
 Regards
 
 Jonathan Stowe [EMAIL PROTECTED] a crit :
 
  On Tue, 2004-05-25 at 11:30, KiOrKY wrote:
  gt; ho,
  gt; how work the webserivces on mono?
  
  You need to install mod_mono and xsp, but beyond that the web services
  work essentially the same as under IIS with the .asmx files.
  
  gt; where can i find tutorial?
  
  There are example .asmx files in the xsp samples.
  
  gt; regards

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono Beta 1 on mandrake 9.2

2004-05-21 Thread Jonathan Stowe
On Fri, 2004-05-21 at 02:35, Tracy Barlow wrote:
 ASP simply does not work. There are no error messages, Mozilla simply 
 reports that the file is of type application/x-asp-net and that it does 
 not know what to do with it.

Works fine for me.  Can you provide more details.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] xml schema support

2004-05-20 Thread Jonathan Stowe
On Thu, 2004-05-20 at 11:01, Mahen Perera wrote:
 hi...
  
 This is regarding the System.Xml.Schema namespace. The current
 implementation of XmlSchema class gives an exception in the
 Read(XmlTextReader, ValidationEventHandler) method when the parsed
 XmlTextReader refers to a xml schema with the xsd namespace other than
 http://www.w3.org/2001/XMLSchema;. 
  
 If the schema namespace is http://www.w3.org/1999/XMLSchema the read
 method will not parse the xml schema document and will throw an
 exception.
  

Yes.  That is precisely what the documentation says:

  
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemXmlSchemaXmlSchemaCollectionClassTopic.asp


 How can we support the 1999 schema version also using the xmlSchema
 class. 
  

I guess if one were looking for full compliance with the de facto
specification a whole new class would have to be created to do this,
with some kind of multiplexing front-end to dispatch to the correct
class to hand the schema version.

 The System.Xml.Schema.XmlSchemaDatatype class has a mapping
 between xsd types and .NET types. Here, is the xsd types
 concerned are 2001 schema version types? 
 if so,
 How can we add schema version 1999 types to this.
  
 Waiting for a quick reply..
  
 Thank you
  
  
 Mahen 
 
 __
 MSN 8 helps ELIMINATE E-MAIL VIRUSES.  Get 2 months FREE*.
 ___ 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] Bus error xsp-0.13 [was: Problems with xsp-0.12 tarball?]

2004-05-13 Thread Jonathan Stowe
On Wed, 2004-05-12 at 04:59, Scott Muc wrote:
 Thanks for the quick reply Cory!
 
 I've tried downloading it several times. I take it they don't have any
 md5sums located on their site? 
 
 I'll try to stick with xsp-0.13 then. I just need to figure out why it
 does the following:
 
 spark# mono /usr/local/bin/xsp.exe --version
 xsp.exe 0.13.0.0
 (c) 2002,2003 Ximian, Inc.
 (c) 2003 Novell, Inc.
 Minimalistic web server for testing System.Web
 spark# mono /usr/local/bin/xsp.exe
 Listening on port: 8080
 Listening on address: 0.0.0.0
 Root directory: /usr/local/share/doc/xsp/test
 Hit Return to stop the server.
 Bus error (core dumped)
 

I am also seeing this on FreeBSD 4.9-RELEASE with the mono from the
ports collection (0.31) I can't confirm that it still does it with Beta
1 as there is no port at the moment and it fails on the install when
building from the tarball.

 All I did was make a request to the machines IP from my desktop. I'm not
 familiar with the analysis of debugging .core files, so if someone can
 point me in the right direction I'll greatly appreciate it.
 
 Thanks
 Scott Muc
 
 
 On Tue, 2004-05-11 at 20:42, Cory Nelson wrote:
  IIRC, 0.13 is 0.12 with a minor bug fix to web services.  Moving back
  probably won't help.  Compiles fine for me though- perhaps it got
  corrupted when you downloaded it?
  
  On Tue, 11 May 2004 20:36:59 -0700, Scott Muc [EMAIL PROTECTED] wrote:
   
   Hey everyone,
   
   I'm doing my best to get Mono and XSP running on FreeBSD 4.9. I got
   mono-0.31 installed from the ports collection, and I am installing xsp
   from source.
   
   I downloaded the xsp-0.12 src from go-mono.com, and when it came to
   un-tarring it I see the following results:
   
   xsp-0.12/nunit-tests/standalone/PaxHeaders.19433/test1.cs
   tar: xsp-0.12/nunit-tests/standalone/PaxHeaders.19433/test1.cs: Unknown
   file type 'x', extracted as normal file
   
   This results in source that's not able to be compiled.
   
   I had no problems un-tarring xsp-0.13. I am getting bus errors when
   running xsp-0.13 so that's why I want to try out xsp-0.12.
   
   Thanks,
   Scott Muc
   
   ___
   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] Mono Virtual Hosts

2004-05-12 Thread Jonathan Stowe
On Wed, 2004-05-12 at 17:30, Andrew Arnott wrote:
 Does CVS fix the Virtual Hosts problem yet?  I want to host multiple
 Mono web sites, as opposed to merely virtual directories.  Here is
 someones hack that supposedly fixes it.  Just wondering if its in
 CVS yet.

It's not in the CVS no. I would guess that posting a patch on a bulletin
board is not a particularly efficient way of getting it applied :-)

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] SQLDataReader error

2004-05-12 Thread Jonathan Stowe
On Wed, 2004-05-12 at 18:27, Ellis, Edward wrote:
 I get the following error:
 
 ** (GetAnalysisTime_C.exe:31073): WARNING **: Missing method get_HasRows
 in assembly /home/d3j409/GetAnalysisTime_C.exe typeref index 26
  
 ** ERROR **: file mini.c: line 3191 (mono_method_to_ir): assertion
 failed: (cmethod)
 aborting...
 Aborted
 
 I believe it is caused by the following statement:
 
 if (!(Reader.HasRows)) return ; //Specified job wasn't
 found
 
 Is this a bug in mini, SQLDataReader, or a loose nut behind the wheel?
 

In SqlResultSet.cs:

  public bool HasRows {
 get { throw new NotImplementedException (); }
  }


However this is not in SqlDataReader where it should be:

ServiceHierarchy.cs(73) error CS0117:
`System.Data.SqlClient.SqlDataReader' does not contain a definition for
`HasRows'
Compilation failed: 1 error(s), 0 warnings
make: *** [ServiceHierarchy.exe] Error 1

I take it you are running an assembly compiled with the MS SDK?

I would file a bug.

/J\
 J. Edward Ellis 
 Battelle, Pacific Northwest National Laboratory
 (509) 375-3627 office
 (509) 521-6361 cell
 (509) 372-4725 FAX
 mailto:[EMAIL PROTECTED] 
 
 ___
 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] A couple of Remoting Questions

2004-05-11 Thread Jonathan Stowe
I have been playing around with remoting and a couple of things have
come up

I am trying a test based in the example in MS SDK:

Client:

using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Http;

namespace RemotingTest
{
  public class Client
  {
public static void Main(string [] args)
{
  RemotingConfiguration.Configure(remoting.config);
  HelloServer obj =
(HelloServer)Activator.GetObject(typeof(RemotingTest.HelloServer),
http://localhost:8085/Hello;);
  if (obj == null)
  {
 System.Console.WriteLine(Could not locate server);
  }
  else
  {
 string name = blah;
 if ( args.Length  0 )
 {
name = args[0];
 }
 Console.WriteLine(obj.Hello(name));
  }
}
  }
}


Server:

using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Http;

namespace RemotingTest
{
  public class Server
  {

public static void Main(string [] args) {

  HttpChannel chan = new HttpChannel(8085);
  ChannelServices.RegisterChannel(chan);
 
RemotingConfiguration.RegisterWellKnownServiceType(Type.GetType(RemotingTest.HelloServer,Object),
 Hello, WellKnownObjectMode.SingleCall);
  System.Console.WriteLine(Hit enter to exit...);
  System.Console.ReadLine();
}
  }
}

Test Class:

using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Http;
using System.Reflection;

namespace RemotingTest
{
  public class HelloServer : MarshalByRefObject
  {

public HelloServer()
{
  Console.WriteLine(this.ToString() +  activated);
}

public String Hello(String name)
{
  Console.WriteLine(HelloServer.Hello : {0}, name);
  return String.Format(Hi there {0}, name);
}
  }
}


Firstly, unlike using the MS.NET SDK it will not work unless one loads
the configuration like:

configuration
   system.runtime.remoting
  application
 client
 /client
 channels
channel
   ref=http
   port=0
/
 /channels
  /application
   /system.runtime.remoting
/configuration

I was wondering why the difference in behaviour - does windows have the
http channels already registered in some default configuration which
mono doesn't have or is there a difference in behaviour of
ChannelServices.RegisterChannel() in the mono library - I notice that
the registered channels are stored in a static array in the
ChannelServices class so it strikes me that another program is not going
to have access to this - or am I missing something here?  It would be
nice to have an example that worked the same with both mono and the MS
SDK.

Secondly I am getting weird intermittent behaviour from both server and
client code - every once in a while I am getting:

** (process:5787): ERROR (recursed) **: file class.c: line 1272
(mono_class_init): assertion failed: (class)
aborting...

from the client code, which appears to hang afterwards - the server
however behaves as expected.  I am unable to reproduce this at will
however.

I also am occasionally getting:

 
** (server.exe:12805): WARNING **: : unref on 38 called when ref was
already 0
 
From the server after the remote method has been called - again this is
intermittent and not reproducible at will.

It also appears that neither the client or the server are cleaning up
properly as there are parentless processes left behind (which I take to
be threads - but I never found out how to distinguish processes and
threads with 'ps' on Linux).  This is with Beta 1 on Mandrake 9.2 x86.

Finally does anyone know of any documentation regarding the SOAP
messages involved in http remoting or am I going to have to use a proxy
to dump the exchanges?

Thanks.


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] A couple of Remoting Questions

2004-05-11 Thread Jonathan Stowe
On Tue, 2004-05-11 at 11:35, RoBiK wrote:

 3) Here ist the soap specification http://www.w3.org/TR/soap/ and here
 http://msdn.microsoft.com/library/en-us/dnsoap/html/understandsoap.asp an
 article from microsoft regarding soap (with good examples). For monitoring
 purpouses you can find a couple of http and/or soap sniffers to use. You can
 also code a simple port forwarder wich copies the messages to the console to
 watch the trafic.
 

Thanks,
I understand SOAP in general alright - I'm looking for information
specific to the Remoting envelopes, but having had a poke around I can
get a simple example to work with a Perl client.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem installation on Mandrake 9.2

2004-05-07 Thread Jonathan Stowe
On Thu, 2004-05-06 at 17:20, Alejandro Ospina wrote:
 Hi. I downloaded the sources and I made the procedure on a Mandrake 9.2
 box.
 But I got an error in mini.c

Er, what was the error?  The only problem I have seen with Mandrake 9.2
build is that you need to supply '--with-nptl=no' to configure -
otherwise it (both source releases and CVS) build fine.


 Any comments about that?
 Thanks.
 BYE!
 Alejandro.
 
 Hasta pronto!
 
 Alejandro Ospina
 Invencin Conectiva
 Telfono: (57)(4) 264 84 55
 Mvil: (57) 300 608 36 58
 Fax: (57)(4) 425 02 40
 [EMAIL PROTECTED]
 www.invencionconectiva.com
 
 ___
 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] Building MonoDevelop failure

2004-05-07 Thread Jonathan Stowe
On Fri, 2004-05-07 at 02:15, Ed Mack wrote:
 Hi, I've just downloaded all the Fedora pkgs from go-mono.com, and also
 gecko-sharp-0.3 and gtksourceview-sharp-0.2 to satisfy monodevelop-0.3's
 configure script. But, on compiling it dies with the following error:
 
  cp MonoDevelop.SourceEditor.dll ../../../../build/bin/.
 ././Gui/SourceEditorBuffer.cs(18) error CS0138: The using keyword only
 lets you specify a namespace, `GtkSourceView' is a class not a
 namespace.
 ././Gui/SourceEditorView.cs(20) error CS0138: The using keyword only
 lets you specify a namespace, `GtkSourceView' is a class not a
 namespace.
 ././Gui/SourceEditorDisplayBinding.cs(17) error CS0138: The using
 keyword only lets you specify a namespace, `GtkSourceView' is a class
 not a namespace.
 Compilation failed: 3 error(s), 0 warnings
 
 I think I've got the newest of all the packages, what could be causing
 this?
 

Have you tried removing the the 'using' lines in the files mentioned
above and recompiling ?

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Problems on FreeBSD with Beta 1

2004-05-07 Thread Jonathan Stowe
Firstly it appears that you have to change the data/config file to map
to libc.so.4 rather than libc.so.6 on FreeBSD 4.9 before anything will
work. 

Secondly gacutil appears to have problems during make install:

MONO_PATH=. ../../mono/mini/mono --config ../../data/config
./../gacutil.exe /i ./Accessibility.dll /f /package 1.0 /root
/usr/local/lib
 
Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object
in (unmanaged) (wrapper managed-to-native) Mono.Tools.Driver:symlink
(string,string)
in 0x4 (wrapper managed-to-native) Mono.Tools.Driver:symlink
(string,string)
in 0x00822 Mono.Tools.Driver:InstallAssembly (string[])
in 0x005d2 Mono.Tools.Driver:Run (string[])
in 0x00035 Mono.Tools.Driver:Main (string[])


I thought I would check before I stick it in bugzilla in case anyone had
seen this already.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Installation of Apache Mono module 0.8

2004-05-01 Thread Jonathan Stowe
On Thu, 2004-04-29 at 17:24, Jamie Lory wrote:
 I am trying to install Apache Mono module 0.8 and I am getting this
 error when I type:   ./configure --prefix=/usr
 
 configure: line 19: syntax error near unexpected token `elif'
 configure: line 19: `elif test -n ${BASH_VERSION+set}  (set -o
 posix) /dev/
 

I would guess that it's your shell.  Trying running it as:

   /bin/sh ./configure --prefix=/usr

/J\


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Help About Mono

2004-04-29 Thread Jonathan Stowe
On Thu, 2004-04-29 at 06:59, Shakil Islam Rousseau wrote:
 Ive installed the rpm 
 mono-0.28-1.ximian.6.1.i586.rpm 
 mono-devel-0.28-1.ximian.6.1.i586.rpm
 in Mandrake 9.2. But i cant compile any file. do i
 have to change the default config file ?
 is it possible for you guys to send me a little sample
 code and the right ways to compile those files?

Firstly 0.28 is quite old now.  The source code distribution of 0.31
should build fine on Mandrake 9.2 (I build from CVS on there nearly
every day ;)

To test if it is working you should create a file, say, mono_test.cs:

using System;

class MyTest
{
 public static void Main()
 {
Console.WriteLine(Hello, World);
 }
}




And then you can compile it with:

   mcs mono_test.cs

If you don't get any errors (it will just say Compilation succeeded )
you can run the compiled program with:

   mono mono_test.exe

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Question about attributes

2004-04-29 Thread Jonathan Stowe
On Thu, 2004-04-29 at 07:56, [EMAIL PROTECTED] wrote:
 Hi,
 
 First : Thanks for the explanation ;-)
 
 But my question what about which attributes using in order to document methods 
 or function in my code.
 
 For example, if you want the Visual Studio .Net Property Panel to be able to 
 display info about your properties you have to use 
 System.ComponentModel.Description(The description). 
 

You can do just the same with mono:

using System;
using System.ComponentModel;

class MyTest
{
[Description(Test)]
public void whatever()
{
  
}
}

Will work (i.e. compile) just fine.  Whether or not it is any use is
whether the tools you want to use can get at this information.  The
DescriptionAttribute is used for design time purposes (i.e. to display
in the properties panel of a visual tool) rather than strictly for
documentation, if you want to autogenerate documentation from your code
you might me better of using the XML documentation comments rather than
this.

Of course you can create your own attributes by inheriting from
System.Attribute as documented on MSDN and elsewhere.

/J\

 This is a Visual Studio .Net rules.
 
 Now my question is : of I want to add documention to my methods, class etc... 
 which meta-attributes do I use ? 
 
 Maybe there is no dedicated attributes and I will have to create my owns...
 
 Thierry !
 
 
 Selon Jonathan Pryor [EMAIL PROTECTED]:
 
  On Wed, 2004-04-28 at 16:46, Xiii29 wrote:
   I've question about attributes in Mono. I would like to comment my
   assemblys by using attributes (meta-attributes...) and i'm wondering if
   there is rules (or preconisations...) about which attributes using...
  
  I'm pretty sure I don't understand your question at all.  But I'll take
  a shot anyway...
  
  To use an assembly-level attribute, you need to explicitly specify what
  the attribute is associated with.  For example:
  
  [assembly: AssemblyTitle (my title)]
  [assembly: AssemblyVersion (1.0.*)]
  
  The assembly: indicates that the attribute applies to the assembly. 
  Otherwise it would apply to the next member listed in the file
  (delegate, class, structure, etc.) or generate an error (namespaces
  don't support attributes).  Similar things can be done for other
  elements; for example: return: can be used to place an attribute on
  the return type of a method, while normally the attribute applies to the
  method itself:
  
  [SomeAttribute (applies to MyMethod)]
  [return: SomeAttribute (applies to the return type)]
  int MyMethod () {return 42;}
  
  As for general rules...  You can only use attributes which can be
  applied to an assembly; that is, the attribute you're trying to use must
  itself have an AttributeUsage attribute with AttributeTargets.Assembly
  specified.  Not all attributes do this; the DllImport attribute, for
  example, can only be applied to methods.
  
  Aside from that, the normal attribute restrictions apply.  Which means
  that attribute positional and named parameters can only be: one of the
  CLS-compliant built-in types (bool, byte, char, double, float, int,
  long, short, string); System.Type, an enum type; System.Object; or an
  array of one of the previous types.
  
  See a good C# book, or MSDN, or google, for more information.
  
   - Jon
  
  
  
 
 
 ___
 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] Installing mono - without su rights

2004-04-05 Thread Jonathan Stowe
On Thu, 2004-04-01 at 20:39, Tom Wilkie wrote:
 Hi there
 
 I don't know if this can be done - I assume it can.
 
 I have access to a linux box on the web, just a user account, and I 
 wanted to install mono on it.  I managed to get glib and pkgconfig 
 compiled and installed under ~/mono/ and have set $LD_LIBRARY_PATH to 
 /home/tw275/mono/lib and $LDFLAGS to -L/home/tw275/mono/lib and 
 ./configure'd every thing with --PREFIX=/home/tw275/mono but when I do 
 a make, I get this error:
 
 Making all in monoburg
 make[3]: Entering directory `/home/tw275/mono/mono-0.31/mono/monoburg'
 bison ./monoburg.y -o parser.c
 gcc -o monoburg ./monoburg.c parser.c -pthread 
 -I/home/tw275/mono/include/glib-2.0 
 -I/home/tw275/mono/lib/glib-2.0/include   -I.  -pthread 
 -L/home/tw275/mono/lib -lgthread-2.0 -lglib-2.0
 ./monoburg ./sample.brg  sample.c
 ./monoburg: error while loading shared libraries: libgthread-2.0.so.0: 
 cannot open shared object file: No such file or directory

You will need to add /home/tw275/mono/lib to the LD_LIBRARY_PATH
environment variable so that the dynamic loader knows to look there for
the libraries when a program is run.

 make[3]: *** [sample.c] Error 127
 make[3]: Leaving directory `/home/tw275/mono/mono-0.31/mono/monoburg'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/tw275/mono/mono-0.31/mono'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/tw275/mono/mono-0.31'
 make: *** [all] Error 2
 
 I have checked in the /home/tw275/mono/lib/ directory and 
 libgthread-2.0.so.0 exists.  What have I done wrong?
 
 I couldn't get mono to work on my mac, so I thought I'd try on this 
 linux box.  I have sftp and ssh access to it. It runs debian, but i 
 can't use apt-get because I don;t have su rights ;-)  I think the 
 kernel is  2.4.25 but I can;t be sure, they may have updated recently.
 
 Any one help?  Thanks.
 
 Tom
 
 ___
 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] C# SOAP implementation - AXIS

2004-04-01 Thread Jonathan Stowe
On Thu, 2004-04-01 at 05:57, Mahen Perera wrote:

 Thanx for the reply. Yes, I am aware about the current developments in
 MONO in the classes under System.Web.Services namespace and the
 existing Web Services architecture based around ASP.NET and building
 on its support for XML and SOAP serialization in the .NET framework. 
 
 As u have already mentioned, the existing ASP.net web services
 architecture is tightly integrated to .NET and cannot run without IIS.
 AXIS, on the other hand is an Open Souce effort and will run on the
 Apache Web server. What i am proposing is to have another SOAP
 implementation (in C#) as an add-on to MONO, which follows the AXIS
 architecture. 
 

As Ales points out the IIS connection is not absolute, infact I am
pretty certain that you could get Apache to serve .NET web services by
setting a handler for .asmx files that uses the ASP.NET runtime
component (check out the script map on IIS for more details on this). 
Infact mono, via the mod_mono apache module and/or xsp, can server
ASP.NET web services through Apache already as Jonathan Pryor notes.

 In developing AXIS C#, we hope to use the WSDL parser in
 System.Web.Services namespace and the XML Pull parser in System.Xml
 namespace (already implemented in MONO). Since we are following AXIS,
 we will have a server.wsdd file to configure the AXIS engine and
 follow similar architectural principles (such as having handlers
 to as a means of adding external components offline, in to the main
 AXIS message flow). Further to this, as I mentioned earlier, current
 AXIS users will find it easy to switch to the AXIS C#. 
 

Personally I'm still not convinced,  there is a difference between Java
and C# in the respect that with C# you have the services provided by the
.NET framework, which includes, as we have already agreed, an
architecture for Web Services, with Java (or indeed C++) you have no
such implicit support for these things, so you need something like Axis.

Now if it was me who was looking to create an alternate web services
architecture for the .NET framework I would certainly start by looking
to reuse as much of the System.Web.Services classes as I possibly could
in order that I didn't end up creating something that behaved contrary
to the expectations raised by the rest of the platform: a cursory glance
at the code in System.Web.Services.Protocols would suggest that some of
these classes could be extended to provide something more like Axis.  I
think by starting with the parser you are only going to make more work
for yourself.


 Hope this will answer your Q. 
 
 Hoping for positive replies
 
 Mahen
 
 PS: I would like to know whether the support for creating and managing
 Application Domains
 
 is implemeted in MONO.  
 
  
 
 From: Jonathan Stowe 
 
 
 To: Mahen Perera 
 CC: Mono-List 
 Subject: Re: [Mono-list] C# SOAP implementation - AXIS 
 Date: Tue, 30 Mar 2004 09:22:39 +0100 
  
 On Tue, 2004-03-30 at 06:32, Mahen Perera wrote: 
   Hi all! 
   
   We are a team involved in developing an implementation of  SOAP
 using C#, in 
   the .NET framework. We are still in the early stages. 
   
  
 I'm probably missing some subtlety here but the .NET framework
 already 
 implements SOAP, I'm not quite sure what there is to implement here. 
  
   We would like to contribute towards MONO with this regard.
 Therefore we are 
   interested in finding out what are the plans with regard to having
 a SOAP 
   implementation in MONO. 
   
  
 Mono has an implementation of the System.Web.Services classes and it 
 appears from 
  
http://www.go-mono.com/class-status-System.Web.Services.html 
  
 that this is largely complete.  Again I might be misunderstanding
 what 
 you are planning on doing. 
  
   We hope to follow the APACHE AXIS architecture in developing our
 SOAP 
   engine. This will enable users who are familiar with AXIS
 Java/AXIS C++ to 
   swich over to our SOAP implementation with ease. Further to this,
 there will 
   be many other advantages provided by AXIS. 
   
  
 THe .NET Framework has its own Web Services architecture based around
 ASP.NET and building on its support for XML and SOAP serialization,
 it 
 is a fairly different approach to that taken by Axis but as I see it 
 this is largely due to to it's degree of integration and dependency
 on 
 the framework as a whole. 
  
 /J\ 
   We like to know ur ideas! 
   
   Hoping for a positive reply... 
   
   Mahen 
   
   _ 
   Help STOP SPAM with the new MSN 8 and get 2 months FREE* 
   http://join.msn.com/?page=features/junkmail 
   
   ___ 
   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] C# SOAP implementation - AXIS

2004-03-30 Thread Jonathan Stowe
On Tue, 2004-03-30 at 06:32, Mahen Perera wrote:
 Hi all!
 
 We are a team involved in developing an implementation of  SOAP using C#, in 
 the .NET framework. We are still in the early stages.
 

I'm probably missing some subtlety here but the .NET framework already
implements SOAP, I'm not quite sure what there is to implement here.

 We would like to contribute towards MONO with this regard. Therefore we are 
 interested in finding out what are the plans with regard to having a SOAP 
 implementation in MONO.
 

Mono has an implementation of the System.Web.Services classes and it
appears from 

  http://www.go-mono.com/class-status-System.Web.Services.html

that this is largely complete.  Again I might be misunderstanding what
you are planning on doing.

 We hope to follow the APACHE AXIS architecture in developing our SOAP 
 engine. This will enable users who are familiar with AXIS Java/AXIS C++ to 
 swich over to our SOAP implementation with ease. Further to this, there will 
 be many other advantages provided by AXIS.
 

THe .NET Framework has its own Web Services architecture based around
ASP.NET and building on its support for XML and SOAP serialization, it
is a fairly different approach to that taken by Axis but as I see it
this is largely due to to it's degree of integration and dependency on
the framework as a whole.

/J\
 We like to know ur ideas!
 
 Hoping for a positive reply...
 
 Mahen
 
 _
 Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
 http://join.msn.com/?page=features/junkmail
 
 ___
 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] Simple code - differences in output between mono .Net

2004-03-04 Thread Jonathan Stowe
On Thu, 2004-03-04 at 09:39, Iain McCoy wrote:
 On Thu, 2004-03-04 at 03:13, Jonathan Stowe wrote:
StreamReader mtab = new StreamReader(/etc/mtab);
  
ArrayList stuff = new ArrayList();
string[] fields;
while ( (line = mtab.ReadLine()) != null )
{
   fields = line.Split(new char[]{' '});
   if (fields[0] != none)
   {
  stuff.Add(fields[1]);
   }
}
 What happens to /proc and /proc/bus/usb with this system?

They are explicitly skipped as a result of the 'fields[0] != none' -
if of course you wanted then in there then you could just remove that
condition.

As has been pointed out this is probably not vaery useful as a
GetLogicalDrives on a Unix-like system.  However it could be adapted to
(say) a GetMountedDrives() returning an array of MountedDrive structs -
this could be useful for writing 'df' or 'mount' or a disk management
tool in C#.

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] Simple code - differences in output between mono .Net

2004-03-03 Thread Jonathan Stowe
On Wed, 2004-03-03 at 15:13, [EMAIL PROTECTED] wrote:
 I would assume that the GetLogicalDrives() method on linux would
 require returning the mount points, as these can then be enumerated as
 necessary - for e.g. /dev/cdrom, /dev/usbdrive etc. This approach
 seems much more usable from a development perspective than just
 returning the root.

This could be as simple as this:

using System;
using System.IO;
using System.Collections;

class Test
{

   public static string[] GetLogicalDrives ()
   { 
   string[] drives;

   if ((int)Environment.OSVersion.Platform == 128)
   {
  string line;
  StreamReader mtab = new StreamReader(/etc/mtab);

  ArrayList stuff = new ArrayList();
  string[] fields;
  while ( (line = mtab.ReadLine()) != null )
  {
 fields = line.Split(new char[]{' '});
 if (fields[0] != none)
 {
stuff.Add(fields[1]);
 }
  }

  drives = new string[stuff.Count];
  stuff.CopyTo(drives);
   }
   else
   {
  drives = new string [] { A:\\, C:\\ };
   }

   return drives;
}

public static void Main()
{
   foreach ( string drive in GetLogicalDrives() )
   {
  Console.WriteLine(drive);
   }
}
}


 -Original Message-
 From: Nick Berardi [mailto:[EMAIL PROTECTED] 
 Sent: 03 March 2004 15:11
 To: COOPER, Jonathan -Syntegra UK; [EMAIL PROTECTED]
 Subject: RE: [Mono-list] Simple code - differences in output
 between mono  .Net
 
 
 
 I guess logical drives in Linux is just the root.  But I would
 think that they would include the mount points in here?  Dont
 you think?  Because basically that is all that a Windows Drive
 is.  A mounted partition.
 
  
 
 Anybody on the list disagree?
 
  
 

 __
 
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 03, 2004 9:57 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: [Mono-list] Simple code - differences in output
 between mono  .Net
 
 
  
 
 Ah, that would explain it.
 
 
  
 
 
 Shall I continue with the bug submission?
 
 
 -Original Message-
 From: Nick Berardi [mailto:[EMAIL PROTECTED] 
 Sent: 03 March 2004 14:55
 To: COOPER, Jonathan -Syntegra UK;
 [EMAIL PROTECTED]
 Subject: RE: [Mono-list] Simple code - differences in
 output between mono  .Net
 
 I was right here is your problem:
 
  
 
  
 [MonoTODO(Implement on windows, for real)]
 public static string[] GetLogicalDrives ()
 { 
 //FIXME: Hardcoded Paths
 if ((int)Environment.OSVersion.Platform == 
 128)
 return new string[] { / };
 else
 return new string [] { A:\\, 
 C:\\ };
 }
 
  
 
  
 

 __
 
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Wednesday, March 03, 2004 9:32 AM
 To: [EMAIL PROTECTED]
 Subject: [Mono-list] Simple code - differences in
 output between mono  .Net
 
 
  
 
 I have code (at the end of this message) in a .cs
 file, compiled with mcs and csc on Windows XP. When
 compiled with either compiler the executable works on
 both runtimes (.Net and mono). However, the output is
 different.
 
 Run under .Net:
 
 Disk:  A:\
 Disk:  C:\
 Disk:  D:\
 Disk:  K:\
 Disk:  L:\
 Disk:  Q:\
 Disk:  T:\
 Disk:  U:\
 Disk:  X:\
 c:\
 

[Mono-list] Weird Exception in mod_mono

2004-03-03 Thread Jonathan Stowe
I am getting this and I can't find any reports in the list or elsewhere
of anything quite the same:


System.InvalidOperationException: Process has not been started.
in 0x00065 System.Diagnostics.Process:get_ExitCode ()
in 0x00050 (wrapper remoting-invoke-with-check) 
System.Diagnostics.Process:get_ExitCode ()
in 0x00231 Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch 
(System.CodeDom.Compiler.CompilerParameters,string[],bool)
in 0x00302 Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch 
(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit[])
in 0x0005c Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom 
(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit)
in 0x00123 System.Web.Compilation.CachingCompiler:Compile 
(System.Web.Compilation.BaseCompiler)
in 0x002ab System.Web.Compilation.BaseCompiler:GetCompiledType ()
in 0x001de System.Web.Compilation.AspGenerator:GetCompiledType ()
in 0x00046 System.Web.Compilation.GlobalAsaxCompiler:CompileApplicationType 
(System.Web.UI.ApplicationFileParser)
in 0x0003b System.Web.UI.ApplicationFileParser:GetCompiledApplicationType 
(string,System.Web.HttpContext)
in 0x00047 System.Web.HttpApplicationFactory:CompileApp (System.Web.HttpContext)
in 0x00032 System.Web.HttpApplicationFactory:InitializeFactory 
(System.Web.HttpContext)
in 0x00096 System.Web.HttpApplicationFactory:GetInstance (System.Web.HttpContext)
in 0x00129 System.Web.HttpRuntime:InternalExecuteRequest 
(System.Web.HttpWorkerRequest)

It looks like it is being fed something it doesn't like from Apache But
I am not quite sure what ( it is a bog standard new apache 2 which is
not doing anything else).  Any ideas what might be causing this or where
I should be looking to find out myself?

Thanks

/J\

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gcc 2.96 on Red-Hat

2003-06-19 Thread Jonathan Stowe
On Thu, 19 Jun 2003, Paolo Molaro wrote:

 On 06/18/03 Jonathan Stowe wrote:
  I appear to be a victim of the evil combination of gcc 2.96 on Redhat not
  liking the EmptyStruct test.  Are fixes being solicited for this or is the
  advice to upgrade the gcc (which I would rather not do right now)?  I have
  been patching it myself in order to get the sucker to build but I am
  fairly sure that the fix I am using is breaking the tests.

 Can you elaborate?
 I'm not aware of any gcc bug for EmptyStruct (you're referring to the
 pinvoke tests in mono/tests/, right?).


Ah,  someone must have noticed this because there is a comment in the code
:-)  Anyway you get this:

libtest.c:261: warning: no previous prototype for `mono_test_empty_struct'
libtest.c: In function `mono_test_empty_struct':
libtest.c:267: Internal compiler error in ix86_compute_frame_size, at
config/i386/i386.c:1875
Please submit a full bug report.

When it is compiled.

This obviously can be fixed by adding something to the struct if it is the
affected version of gcc.  But that is likely to break the tests.

/J\
-- 
Jonathan Stowe  |
http://www.gellyfish.com  |  This space for rent
|

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] gcc 2.96 on Red-Hat

2003-06-18 Thread Jonathan Stowe
I appear to be a victim of the evil combination of gcc 2.96 on Redhat not
liking the EmptyStruct test.  Are fixes being solicited for this or is the
advice to upgrade the gcc (which I would rather not do right now)?  I have
been patching it myself in order to get the sucker to build but I am
fairly sure that the fix I am using is breaking the tests.

/J\
-- 
Jonathan Stowe  |
http://www.gellyfish.com  |  This space for rent
|

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] Problems with ModMono

2003-06-10 Thread Jonathan Stowe
On Tue, 10 Jun 2003, Ngo HH (Hao) at Aera wrote:

 When I specifiy http://127.0.0.1/mono/index.aspx I get a different error:

 Error in '/mono' Application

 

 Error
 Description: Error processing request.
 Error Message:

 Stack Trace:
 System.IO.DirectoryNotFoundException: Directory '/home/hngo/xsp/server/test' not 
 found.


This could be a permission or apache configuration issue.  Does the user
the webserver run as have permission to that directory ?

/J\
-- 
Jonathan Stowe  |
http://www.gellyfish.com  |  This space for rent
|

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] Problems with ModMono

2003-06-10 Thread Jonathan Stowe
On Tue, 10 Jun 2003, Ngo HH (Hao) at Aera wrote:

 Yes - it and its parent is owned by apache.apache
 and I chmod 755

 so from /home/hngo
 I chown -R apache.apache xsp
 I chmod -R 755 xsp


On a Red Hat machine it is unlikely that the http process will have access
to /home/hngo unless you have changed that (and I wouldn't recommend you
did).  I would suggest moving the xsp/test directory and its contents to
somewhere in the apache directory and adjusting its permissions
appropriately.

/J\
 thanks for your help!
 Hao.

 -Original Message-
 From: 'Daniel Lopez' [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 10, 2003 9:59 AM
 To: Ngo HH (Hao) at Aera
 Cc: 'Jonathan Stowe'; '[EMAIL PROTECTED]'
 Subject: Re: [Mono-list] Problems with ModMono



 Does the directory
 /home/hngo/xsp/server/test

 exist? Which permissions does it have that directory and its parent directories?

 Cheers

 Daniel

 On Tue, Jun 10, 2003 at 09:37:37AM -0700, Ngo HH (Hao) at Aera wrote:
  When I specifiy http://127.0.0.1/mono/index.aspx I get a different error:
 
  Error in '/mono' Application
 
  
 
  Error
  Description: Error processing request.
  Error Message:
 
  Stack Trace:
  System.IO.DirectoryNotFoundException: Directory '/home/hngo/xsp/server/test' not 
  found.
  in 0x001ab 00 System.IO.StreamReader:.ctor (string,System.Text.Encoding,bool,int)
  in 0x0001d 00 System.IO.StreamReader:.ctor (string,System.Text.Encoding)
  in 0x00047 00 System.Web.Compilation.AspGenerator:InitParser (string)
  in 0x0004d 00 System.Web.Compilation.AspGenerator:GetCompiledType ()
  in 0x0003e 00 System.Web.UI.PageParser:CompileIntoType ()
  in 0x00075 00 System.Web.UI.TemplateControlParser:GetCompiledInstance 
  (string,string,System.Web.HttpContext)
  in 0x0004e 00 System.Web.UI.PageParser:GetCompiledPageInstance 
  (string,string,System.Web.HttpContext)
  in 0x00013 00 System.Web.UI.PageHandlerFactory:GetHandler 
  (System.Web.HttpContext,string,string,string)
  in 0x001bb 00 System.Web.HttpApplication:CreateHttpHandler 
  (System.Web.HttpContext,string,string,string)
  in 0x001a6 00 .CreateHandlerState:Execute ()in 0x0007f 00 
  .StateMachine:ExecuteState (IStateHandler,bool)
 
  thanks.
  Hao.
 
  -Original Message-
  From: Jonathan Stowe [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, June 10, 2003 9:29 AM
  To: Ngo HH (Hao) at Aera
  Cc: '[EMAIL PROTECTED]'
  Subject: Re: [Mono-list] Problems with ModMono
 
 
  On Tue, 10 Jun 2003, Ngo HH (Hao) at Aera wrote:
 
   Im using Redhat 8.0
   Apache 2.0.40
   mono-0.24-2
   mod_mono from CVS
  
   Copied mod_mono.so and ModMono.dll to the appropriate dirs.
   I added in my httpd.conf file the following:
  
   LoadModule mono_module modules/mod_mono.so
   MonoApplication /mono /home/hngo/xsp/server/test
  
   When I try to go to http://127.0.0.1/mono http://127.0.0.1/mono
   I get the following Error:
  
   Error in '/mono' Application
  
 
  I found this too.  You need to specify the actual file as well so the URL
  should be:
 
   http://127.0.0.1/mono/indesx.aspx
 
 
  I think.  Looks like any easy thing to fix I just haven't got round to
  making the patch yet.
 
  /J\
  --
  Jonathan Stowe  |
  http://www.gellyfish.com  |  This space for rent
  |
  ___
  Mono-list maillist  -  [EMAIL PROTECTED]
  http://lists.ximian.com/mailman/listinfo/mono-list


-- 
Jonathan Stowe  |
http://www.gellyfish.com  |  This space for rent
|

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] Problems with ModMono

2003-06-10 Thread Jonathan Stowe
On Tue, 10 Jun 2003, Ngo HH (Hao) at Aera wrote:


 Can I using Apache's virtual hosting to host multiple domains and have
 each domain serve up its own separate /mono pages?


As I understand it, as it currently stands you can only have a single
Location handled by mod_mono - I am sure this will be remedied at some
point.

/J\
-- 
Jonathan Stowe  |
http://www.gellyfish.com  |  This space for rent
|

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] §RE: [Mono-list] Suggestion: warning member variable notinitialized

2003-06-07 Thread Jonathan Stowe
On Sat, 7 Jun 2003, Arild Fines wrote:

 [EMAIL PROTECTED] wrote:
  notinitialized
 
 
  On Sat, 2003-06-07 at 07:03, Thong (Tum) Nguyen wrote:
  Members are implicitly initialized to 0 or null so they do have a
  meaning even if you don't explicitly initialize them...
 
  Umm... no.
 
  Some [ValueType] types don't even have an equivalent to 0 or null.
  e.g., System.DateTime, IIRC.

   class Class1
   {
 void Method()
 {
 Console.WriteLine( t );
 }
   /// summary
   /// The main entry point for the application.
   /// /summary
   [STAThread]
   static void Main(string[] args)
   {
   new Class1().Method();
   }

 private DateTime t;
   }

 Prints 01.01.0001 00:00:00.


But try comparing that to 0 or null ;-)

/J\
-- 
Jonathan Stowe  |
http://www.gellyfish.com  |  This space for rent
|

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list