Re: [Mono-list] Authentication to a web service

2004-06-29 Thread Denis Gervalle
Gonzalo Paniagua Javier wrote:
The user is not passed from apache to mod-mono-server. You can use
DigestAuthenticationModule from Mono.Http to authenticate users via xsp
instead of apache.
Any reason not to do so ? or is this just a matter of time to get a 
patch of mod_mono/xsp to communicate more information ? (I may have a 
look since I have a need to authenticate throught mod_auth_ldap)

Denis Gervalle
SOFTEC sa
http://www.softec.st
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Authentication to a web service

2004-06-29 Thread Gonzalo Paniagua Javier
El mar, 29-06-2004 a las 11:09, Denis Gervalle escribió:
> Gonzalo Paniagua Javier wrote:
> > The user is not passed from apache to mod-mono-server. You can use
> > DigestAuthenticationModule from Mono.Http to authenticate users via xsp
> > instead of apache.
> 
> Any reason not to do so ? or is this just a matter of time to get a 
> patch of mod_mono/xsp to communicate more information ? (I may have a 
> look since I have a need to authenticate throught mod_auth_ldap)

I would add an authentication module and then pass the user name somehow
from mod_mono to mod-mono-server (probably in a header, taking care of
removing any existing one with the same name in the request).

-Gonzalo


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


RE: [Mono-list] Using Exceptions with external Plugins

2004-06-29 Thread Arild Fines
[EMAIL PROTECTED] wrote:
> Cool! Thanks!
>
> Now, how can I get sure that the InnerException is a
> XmlRpcFaultException or a XmlRpcMissedSomething?, I'm trying with this:
>
> } catch(TargetInvocationException e) {
>if(e.InnerException.GetType().ToString() ==
> "CookComputing.XmlRpc.XmlRpcFaultException") {
>Console.WriteLine("yes");
> }
>
> But I don't think it's the correct way/code, any suggestions?

You might want to take advantage of the fact that Type.InvokeMember actually
performs virtual dispatch based on the runtime type of the object *AND* all
of the parameters, IE, it performs double/triple/ntuple dispatch.

That means the following will work the way you want it to:

catch( TargetInvocationException e )
{
Type t = this.GetType();
t.InvokeMember( "HandleException", BindingFlags.InvokeMethod |
BindingFlags.Instance | BindingFlags.NonPublic, null,
this, new object[]{ e } );
}

// ...

private void HandleException( CookComputing.XmlRpc.XmlRpcFaultException e )
{
   //...
}

private void HandleException( FooException e )
{
   //...
}

private void HandleException( Exception e )
{
   // called if there are no other matching signatures
}

Of course, it isn't particularly fast...

--
Arild

AnkhSVN: http://ankhsvn.tigris.org
Blog: http://ankhsvn.com/blog
IRC: irc://irc.freenode.net/ankhsvn

"Weaseling out of things is good. It's what separates us from the other
animalsexcept weasels." -- Homer Simpson

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


[Mono-list] err:module:import_dll Library mscoree.dll

2004-06-29 Thread npguy
sorry if this is already asked.  i did check google no luck.

i am using latest rc, and unzip mono-all.zip and rpm'ed all
pacakges.

although i compiled gtk.cs successfully but the during execution i got the 
`err:module:import_dll Library mscoree.dll ` .. 

[EMAIL PROTECTED] Mono.NET]$ mcs gtk.cs -r:gtk-sharp -r:System.Drawing   
-lib:/usr/lib/mono/gac/gtk-sharp/1.0.0.0__35e10195dab3c99f/
Compilation succeeded

[EMAIL PROTECTED] Mono.NET]$ ./gtk.exe

file_set_error: No such device or address
err:module:import_dll Library mscoree.dll (which is needed by 
L"F:\\stuff\\Mono.NET\\gtk.exe") not found
err:module:LdrInitializeThunk Main exe initialization for 
L"F:\\stuff\\Mono.NET\\gtk.exe" failed, status c135
[EMAIL PROTECTED] Mono.NET]$ PGDATA2=/home/postgres/data
[EMAIL PROTECTED] Mono.NET]$ export PGDATA2
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] GTK# Runtime for Windows installer now available

2004-06-29 Thread Erik Dasque
Hi all,
The GTK# Runtime for Windows installer now available and its Novell 
Forge project public :

http://forge.novell.com/modules/xfmod/project/?gtk-sharp
"An installer that will setup you windows box to run GTK# based 
libraries under .NET. This project will install the GTK# libraries into 
your windows global assembly folder and the dependent glue .dlls and 
GTK+ .dlls into your windows system folder"

The goal of this installer is to deliver on the Gtk# promises of 
cross-platformness by giving application developers an easily 
installable GTK+/GTK# runtime for Microsoft .NET on Windows. This is 
not targeted at Mono but Microsoft .NET.

Cory will be updating the packages soon (the current version is based 
on GTK# .97) to use the GTK# 1.0 source. We'd love any feedback on this 
installer.

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


Re: [Mono-list] Problem with MySQL Data Provider (ByteFx)

2004-06-29 Thread beniniva
Hi,

I've just installed Mono Beta 3...but I've still problems:

##
[EMAIL PROTECTED] mono]# mcs provaByteFX.cs -r System.Data.dll -r ByteFX.Data.dll
Compilation succeeded
[EMAIL PROTECTED] mono]# mono provaByteFX.exe


Unhandled Exception: ByteFX.Data.MySqlClient.MySqlException: Host
'localhost.localdomain' is not allowed to connect to this MySQL server
in <0x000d5> ByteFX.Data.MySqlClient.Driver:ReadPacket ()
in <0x00198> ByteFX.Data.MySqlClient.Driver:Open
(ByteFX.Data.MySqlClient.MySqlConnectionString)
in <0x0003c> ByteFX.Data.MySqlClient.MySqlInternalConnection:Open ()
in <0x000ef> ByteFX.Data.MySqlClient.MySqlPool:CreateNewPooledConnection ()
in <0x0021d> ByteFX.Data.MySqlClient.MySqlPool:GetPooledConnection ()
in <0x00053> ByteFX.Data.MySqlClient.MySqlPool:GetConnection ()
in <0x00112> ByteFX.Data.MySqlClient.MySqlPoolManager:GetConnection
(ByteFX.Data.MySqlClient.MySqlConnectionString)
in <0x0007c> ByteFX.Data.MySqlClient.MySqlConnection:Open ()


##
And with sqlsharp:

SQL# \Provider MySql
The default Provider is LOADEXTPROVIDER
  Assembly: Mono.Data.MySql
  Connection Class: Mono.Data.MySql.MySqlConnection
 
SQL# \Provider MySqlNet
The default Provider is LOADEXTPROVIDER
  Assembly: ByteFX.Data
  Connection Class: ByteFX.Data.MySQLClient.MySQLConnection
 
SQL# \ConnectionString Server=localhost; Database=db1; UserID=root;
Password=rootpwd;
 
SQL# \Open
Attempt to open connection...
Loading external provider...
Error: unable to load the assembly of the provider: ByteFX.Data : File
'ByteFX.Data' not found.


Any ideas?
thanks,
Valentina.


>Scrive Artur Brodowski <[EMAIL PROTECTED]>:

> W li¶cie z pon, 28-06-2004, godz. 15:31, [EMAIL PROTECTED] pisze: 
> > I've mono 1 Beta with Fedora Core 2.
> > I try to test a connection string with MySQL Data Provider (ByteFx),
> compilation
> > is all right but running failed:
> 
> Install latest Mono release (RC has some issues, try Beta 3) -
> ByteFX.Data.dll version shoul be 0.7.6.1. Earlier versions of 
> the libary were broken due to namespace changes.
> 
> artb.
> -- 
> only so many songs can be sung with two lips two lungs and one tongue
> 
> 



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


[Mono-list] The website(s)

2004-06-29 Thread Simon Ask Ulsnes
Hi,
When are someone going to update go-mono.com and more urgently 
mono-project.com?

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


[Mono-list] Using ld wrapping with Boehm GC

2004-06-29 Thread Patrick Hartling
I am working on a project that mixes native code with the CLI, and I am
having problems with threading.  The problems arise because the native
code creates its own threads, and those threads can call into the CLI
universe.  To handle this, I have code that bridges between the native
code and the CLI, and in places where a thread spawned by the native
code will call into the CLI universe, mono_thread_attach() is called
first.  Unfortunately, this does not seem to be sufficient.

What I am seeing is that my code can run for a few seconds, but then it
crashes consistently at the end of the Boehm GC function
pthread_push_all_stacks().  The full stack trace of the crash is
attached.  (Note that I am using Mono 0.97 on Fedora Core 1 with the
Boehm GC code that comes bundled with the Mono runtime source.)  The
crash appears to occur because Boehm GC does not know about at least one
of the threads created by the aforementioned native code.

I cannot modify the native code to use GC_pthread_create() and friends,
so I am trying to find a way to let Boehm GC know about the threads
created by the native code.  I have done a little bit of digging, and I
see that Boehm GC can use the function call wrapping feature of GNU ld. 
However, I do not see anything in the Mono build process that enables or
takes advantage of this feature.

I am prepared to take steps to try out this capability of Boehm GC and
GNU ld, but before I do, I am curious to know if there is something in
Mono's API that I can call to register externally created threads with
the garbage collector.  mono_thread_attach() by itself does not appear
to be quite enough for my case, but I may be missing something.  Is
there another Mono API call I can make or some Boehm GC thread
registration call?  If not, I will go ahead with the function call
wrapping via ld in hopes of getting my code to work.

 -Patrick


-- 
Patrick L. Hartling | Research Assistant, VRAC
http://www.137.org/patrick/ | 2274 Howe Hall Room 2624
PGP: http://tinyurl.com/ywd54   | http://www.vrac.iastate.edu/
#0  0x0031ac32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00840989 in raise () from /lib/tls/libc.so.6
#2  0x00842342 in abort () from /lib/tls/libc.so.6
#3  0x00d85467 in GC_abort (msg=0xdd2fe0 "Collecting from unknown thread.")
at misc.c:1071
#4  0x00d8a467 in pthread_push_all_stacks () at pthread_stop_world.c:270
#5  0x00d8a4fc in GC_push_all_stacks () at pthread_stop_world.c:277
#6  0x00d863d6 in GC_default_push_other_roots () at os_dep.c:2048
#7  0x00d846ee in GC_push_roots (all=1, cold_gc_frame=0x48e31f8 "\034¿?¿?")
at mark_rts.c:648
#8  0x00d82592 in GC_mark_some (cold_gc_frame=0x48e31f8 "\034¿?¿?") at mark.c:304
#9  0x00d7c896 in GC_stopped_mark (stop_func=0xd7c11c )
at alloc.c:520
#10 0x00d7c562 in GC_try_to_collect_inner (
stop_func=0xd7c11c ) at alloc.c:367
#11 0x00d7d2c8 in GC_collect_or_expand (needed_blocks=1, ignore_off_page=0)
at alloc.c:998
#12 0x00d7d4ba in GC_allocobj (sz=28, kind=1) at alloc.c:1073
#13 0x00d810be in GC_generic_malloc_inner (lb=112, k=1) at malloc.c:136
#14 0x00d811bb in GC_generic_malloc (lb=112, k=1) at malloc.c:192
#15 0x00d8145d in GC_malloc (lb=112) at malloc.c:297
#16 0x00d1be8f in mono_array_new_full (domain=0x9617980,
array_class=0x99b4a38, lengths=0x98714c8, lower_bounds=0x0)
at object.c:1659
#17 0x00cc534d in mono_array_new_va (cm=0x99b4a00) at jit-icalls.c:420
#18 0x0067908e in ?? ()
#19 0x099b4a00 in ?? ()
#20 0x0006 in ?? ()
#21 0x0004 in ?? ()
#22 0x3f7c1c5c in ?? ()
#23 0x0039d8c8 in __JCR_LIST__ ()
   from 
/home/users/patrick/src/Juggler/main/juggler/build.linux-fc1.posix.gcc33/instlinks/lib/i686/libvrj.so
#24 0x048e33e8 in ?? ()
#25 0x00355c54 in __normal_iterator (this=0x9685f80, [EMAIL PROTECTED])
at stl_iterator.h:593
#26 0x00531a14 in ?? ()
#27 0x09685f80 in ?? ()


signature.asc
Description: This is a digitally signed message part


RE: [Mono-list] Using Exceptions with external Plugins

2004-06-29 Thread Pablo Fischer
Thanks!

However, I think the best idea is to use generic Exceptions, if I try to
use the CookComputing.XmlRpc Exceptions I need to compile ALL my
application with CookComputing.dll and I'm not looking that, that's why
I'm working with plugins to just compile CookComputing.XmlRpc in the
plugins and not in all the application.

Thanks for these suggestions!
Pablo


El mar, 29-06-2004 a las 09:06, Arild Fines escribió:
> [EMAIL PROTECTED] wrote:
> > Cool! Thanks!
> >
> > Now, how can I get sure that the InnerException is a
> > XmlRpcFaultException or a XmlRpcMissedSomething?, I'm trying with this:
> >
> > } catch(TargetInvocationException e) {
> >if(e.InnerException.GetType().ToString() ==
> > "CookComputing.XmlRpc.XmlRpcFaultException") {
> >Console.WriteLine("yes");
> > }
> >
> > But I don't think it's the correct way/code, any suggestions?
> 
> You might want to take advantage of the fact that Type.InvokeMember actually
> performs virtual dispatch based on the runtime type of the object *AND* all
> of the parameters, IE, it performs double/triple/ntuple dispatch.
> 
> That means the following will work the way you want it to:
> 
> catch( TargetInvocationException e )
> {
>   Type t = this.GetType();
>   t.InvokeMember( "HandleException", BindingFlags.InvokeMethod |
>   BindingFlags.Instance | BindingFlags.NonPublic, null,
> this, new object[]{ e } );
> }
> 
> // ...
> 
> private void HandleException( CookComputing.XmlRpc.XmlRpcFaultException e )
> {
>//...
> }
> 
> private void HandleException( FooException e )
> {
>//...
> }
> 
> private void HandleException( Exception e )
> {
>// called if there are no other matching signatures
> }
> 
> Of course, it isn't particularly fast...
> 
> --
> Arild
> 
> AnkhSVN: http://ankhsvn.tigris.org
> Blog: http://ankhsvn.com/blog
> IRC: irc://irc.freenode.net/ankhsvn
> 
> "Weaseling out of things is good. It's what separates us from the other
> animalsexcept weasels." -- Homer Simpson
-- 
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
Fingerprint:  5973 0F10 543F 54AE 1E41  EC81 0840 A10A 74A4 E5C0
http://www.pablo.com.mx 
http://www.debianmexico.org


signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada	digitalmente


Re: [Mono-list] The website(s)

2004-06-29 Thread Erik Dasque
Simon,
we're updating mono-project.com. go-mono.com is eventually going away. 
What are you mainly concerned about ? We'll be updating it with 1.0 
downloads very soon.

Erik
On Jun 29, 2004, at 10:49 AM, Simon Ask Ulsnes wrote:
Hi,
When are someone going to update go-mono.com and more urgently 
mono-project.com?

- Simon
___
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] err:module:import_dll Library mscoree.dll

2004-06-29 Thread Paolo Molaro
On 06/29/04 npguy wrote:
> [EMAIL PROTECTED] Mono.NET]$ ./gtk.exe
> 
> file_set_error: No such device or address
> err:module:import_dll Library mscoree.dll (which is needed by 
> L"F:\\stuff\\Mono.NET\\gtk.exe") not found
> err:module:LdrInitializeThunk Main exe initialization for 

You need to run the program with the command:
mono gtk.exe

lupus

-- 
-
[EMAIL PROTECTED] debian/rules
[EMAIL PROTECTED] Monkeys do it better
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Problem with MySQL Data Provider (ByteFx)

2004-06-29 Thread Pablo Baena
This is a permission problem in your Mysql configuration.

On Tuesday 29 June 2004 14:32, [EMAIL PROTECTED] wrote:
> Hi,
>
> I've just installed Mono Beta 3...but I've still problems:
>
> ##
> [EMAIL PROTECTED] mono]# mcs provaByteFX.cs -r System.Data.dll -r ByteFX.Data.dll
> Compilation succeeded
> [EMAIL PROTECTED] mono]# mono provaByteFX.exe
>
>
> Unhandled Exception: ByteFX.Data.MySqlClient.MySqlException: Host
> 'localhost.localdomain' is not allowed to connect to this MySQL server
> in <0x000d5> ByteFX.Data.MySqlClient.Driver:ReadPacket ()
> in <0x00198> ByteFX.Data.MySqlClient.Driver:Open
> (ByteFX.Data.MySqlClient.MySqlConnectionString)
> in <0x0003c> ByteFX.Data.MySqlClient.MySqlInternalConnection:Open ()
> in <0x000ef> ByteFX.Data.MySqlClient.MySqlPool:CreateNewPooledConnection ()
> in <0x0021d> ByteFX.Data.MySqlClient.MySqlPool:GetPooledConnection ()
> in <0x00053> ByteFX.Data.MySqlClient.MySqlPool:GetConnection ()
> in <0x00112> ByteFX.Data.MySqlClient.MySqlPoolManager:GetConnection
> (ByteFX.Data.MySqlClient.MySqlConnectionString)
> in <0x0007c> ByteFX.Data.MySqlClient.MySqlConnection:Open ()
>
>
> ##
> And with sqlsharp:
>
> SQL# \Provider MySql
> The default Provider is LOADEXTPROVIDER
>   Assembly: Mono.Data.MySql
>   Connection Class: Mono.Data.MySql.MySqlConnection
>
> SQL# \Provider MySqlNet
> The default Provider is LOADEXTPROVIDER
>   Assembly: ByteFX.Data
>   Connection Class: ByteFX.Data.MySQLClient.MySQLConnection
>
> SQL# \ConnectionString Server=localhost; Database=db1; UserID=root;
> Password=rootpwd;
>
> SQL# \Open
> Attempt to open connection...
> Loading external provider...
> Error: unable to load the assembly of the provider: ByteFX.Data : File
> 'ByteFX.Data' not found.
> 
>
> Any ideas?
> thanks,
> Valentina.
>
> >Scrive Artur Brodowski <[EMAIL PROTECTED]>:
> >
> > W li¶cie z pon, 28-06-2004, godz. 15:31, [EMAIL PROTECTED] pisze:
> > > I've mono 1 Beta with Fedora Core 2.
> > > I try to test a connection string with MySQL Data Provider (ByteFx),
> >
> > compilation
> >
> > > is all right but running failed:
> >
> > Install latest Mono release (RC has some issues, try Beta 3) -
> > ByteFX.Data.dll version shoul be 0.7.6.1. Earlier versions of
> > the libary were broken due to namespace changes.
> >
> > artb.
> > --
> > only so many songs can be sung with two lips two lungs and one tongue
>
> ___
> 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 MySQL Data Provider (ByteFx)

2004-06-29 Thread Artur Brodowski
W liście z wto, 29-06-2004, godz. 16:32, [EMAIL PROTECTED] pisze: 
> I've just installed Mono Beta 3...but I've still problems:

Make sure that ByteFX.Data version is at least 0.7.6:
$ gacutil -l | grep ByteFX.Data
ByteFX.Data, Version=0.7.6.1, Culture=neutral,
PublicKeyToken=0738eb9f132ed756

If not, try to add ICSharpCode.SharpZipLib.dll and ByteFX.Data.dll 
to gac manually:
$ gacutil -i /path/ICSharpCode.SharpZipLib.dll
$ gacutil -i /path/ByteFX.Data.dll

artb.


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


[Mono-list] Microsoft.Web.UI.WebControl sample failure

2004-06-29 Thread Dennis Boylan
Trying to figure things out with porting our .Net application over to MONO,
I figured I would take a step back and try running the sample applications
for Microsoft.Web.UI.WebControls.  I can get the tabstrip and treeview to
run, but I can't get treeview_bound to function.  It is dying in System.XML.
At first I thought it might be that the sample file did not have an xml
version, but adding it did not change it's behavior.

Server error in '/' application
Description: Error processing request.

Error Message: HTTP 500.

Stack Trace:

System.Xml.XmlException: Text node cannot appear in this state. Line 1, position 0.
in <0x00050> System.Xml.XmlTextReader:ReadText (bool)
in <0x00204> System.Xml.XmlTextReader:ReadContent ()
in <0x0018e> System.Xml.XmlTextReader:Read ()
in <0x000a5> Microsoft.Web.UI.WebControls.TreeView:ReadXmlSrc (string,string,string)
in <0x00098> Microsoft.Web.UI.WebControls.TreeNode:ReadXmlSrc ()
in <0x00058> Microsoft.Web.UI.WebControls.TreeNode:Databind ()
in <0x00027> Microsoft.Web.UI.WebControls.TreeNode:OnInit ()
in <0x0010f> Microsoft.Web.UI.WebControls.TreeView:OnInit (System.EventArgs)
in <0x00273> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
in <0x00185> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
in <0x00185> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
in <0x00060> System.Web.UI.Page:InternalProcessRequest ()
in <0x000c2> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in <0x002f3> ExecuteHandlerState:Execute ()
in <0x00084> StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool&)

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


RE: [Mono-list] Problem with MySQL Data Provider (ByteFx)

2004-06-29 Thread Daniel Morgan
SQL# does not support external providers put in the Mono GAC.
I need to fix this before Mono 1.0.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pablo Baena
Sent: Tuesday, June 29, 2004 12:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [Mono-list] Problem with MySQL Data Provider (ByteFx)


This is a permission problem in your Mysql configuration.

On Tuesday 29 June 2004 14:32, [EMAIL PROTECTED] wrote:
> Hi,
>
> I've just installed Mono Beta 3...but I've still problems:
>
> ##
> [EMAIL PROTECTED] mono]# mcs provaByteFX.cs -r System.Data.dll -r 
> ByteFX.Data.dll Compilation succeeded [EMAIL PROTECTED] mono]# mono 
> provaByteFX.exe
>
>
> Unhandled Exception: ByteFX.Data.MySqlClient.MySqlException: Host 
> 'localhost.localdomain' is not allowed to connect to this MySQL server

> in <0x000d5> ByteFX.Data.MySqlClient.Driver:ReadPacket () in <0x00198>

> ByteFX.Data.MySqlClient.Driver:Open
> (ByteFX.Data.MySqlClient.MySqlConnectionString)
> in <0x0003c> ByteFX.Data.MySqlClient.MySqlInternalConnection:Open () 
> in <0x000ef> 
> ByteFX.Data.MySqlClient.MySqlPool:CreateNewPooledConnection () in 
> <0x0021d> ByteFX.Data.MySqlClient.MySqlPool:GetPooledConnection () in 
> <0x00053> ByteFX.Data.MySqlClient.MySqlPool:GetConnection () in 
> <0x00112> ByteFX.Data.MySqlClient.MySqlPoolManager:GetConnection
> (ByteFX.Data.MySqlClient.MySqlConnectionString)
> in <0x0007c> ByteFX.Data.MySqlClient.MySqlConnection:Open ()
>
>
> ##
> And with sqlsharp:
>
> SQL# \Provider MySql
> The default Provider is LOADEXTPROVIDER
>   Assembly: Mono.Data.MySql
>   Connection Class: Mono.Data.MySql.MySqlConnection
>
> SQL# \Provider MySqlNet
> The default Provider is LOADEXTPROVIDER
>   Assembly: ByteFX.Data
>   Connection Class: ByteFX.Data.MySQLClient.MySQLConnection
>
> SQL# \ConnectionString Server=localhost; Database=db1; UserID=root; 
> Password=rootpwd;
>
> SQL# \Open
> Attempt to open connection...
> Loading external provider...
> Error: unable to load the assembly of the provider: ByteFX.Data : File

> 'ByteFX.Data' not found. 
>
> Any ideas?
> thanks,
> Valentina.
>
> >Scrive Artur Brodowski <[EMAIL PROTECTED]>:
> >
> > W li¶cie z pon, 28-06-2004, godz. 15:31, [EMAIL PROTECTED] 
> > pisze:
> > > I've mono 1 Beta with Fedora Core 2.
> > > I try to test a connection string with MySQL Data Provider 
> > > (ByteFx),
> >
> > compilation
> >
> > > is all right but running failed:
> >
> > Install latest Mono release (RC has some issues, try Beta 3) - 
> > ByteFX.Data.dll version shoul be 0.7.6.1. Earlier versions of the 
> > libary were broken due to namespace changes.
> >
> > artb.
> > --
> > only so many songs can be sung with two lips two lungs and one 
> > tongue
>
> ___
> 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] err:module:import_dll Library mscoree.dll

2004-06-29 Thread Ravindra Kumar
Hello,
That is not the right way to run an exe with mono. You need to do,

   $ mono  or
   $ mono gtk.exe, in your case.

- Ravindra

>>> npguy <[EMAIL PROTECTED]> 6/29/2004 7:49:17 PM >>>
sorry if this is already asked.  i did check google no luck.

i am using latest rc, and unzip mono-all.zip and rpm'ed all
pacakges.

although i compiled gtk.cs successfully but the during execution i got
the 
`err:module:import_dll Library mscoree.dll ` .. 

[EMAIL PROTECTED] Mono.NET]$ mcs gtk.cs -r:gtk-sharp -r:System.Drawing  

-lib:/usr/lib/mono/gac/gtk-sharp/1.0.0.0__35e10195dab3c99f/
Compilation succeeded

[EMAIL PROTECTED] Mono.NET]$ ./gtk.exe

file_set_error: No such device or address
err:module:import_dll Library mscoree.dll (which is needed by 
L"F:\\stuff\\Mono.NET\\gtk.exe") not found
err:module:LdrInitializeThunk Main exe initialization for 
L"F:\\stuff\\Mono.NET\\gtk.exe" failed, status c135
[EMAIL PROTECTED] Mono.NET]$ PGDATA2=/home/postgres/data
[EMAIL PROTECTED] Mono.NET]$ export PGDATA2
___
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] GTKSourceview#

2004-06-29 Thread Elfred Pagan
Hello,
I am trying to build GTKSourceview# with version 0.7 of GTKSourceview
and I get the following error
checking for gtksourceview-1.0 >= 1.0.0... Requested
'gtksourceview-1.0 >= 1.0.0' but version of gtksourceview is 0.7.0
during configure
The thing is the highest release of gtksourceview I've been able to find is 0.8
-- 
Elfred Pagan
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] err:module:import_dll Library mscoree.dll

2004-06-29 Thread Ravindra Kumar
Hello,
I haven't tried it myself, but I have seen some people
talking about it. Please search through mono-list archives
for 'binfmt' or something else. You might also want to look
for Linux docs about binfmt.

-Ravindra

>>> npguy <[EMAIL PROTECTED]> 6/30/2004 9:16:47 AM >>>
hi ravinda,

thanks. can we make it a standalone binary. a native binary!

thanks

On Wednesday 30 June 2004 09:09 am, Ravindra Kumar wrote:
> Hello,
> That is not the right way to run an exe with mono. You need to do,
>
>$ mono  or
>$ mono gtk.exe, in your case.
>
> - Ravindra
>
> >>> npguy <[EMAIL PROTECTED]> 6/29/2004 7:49:17 PM >>>
>
> sorry if this is already asked.  i did check google no luck.
>
> i am using latest rc, and unzip mono-all.zip and rpm'ed all
> pacakges.
>
> although i compiled gtk.cs successfully but the during execution i
got
> the
> `err:module:import_dll Library mscoree.dll ` ..
>
> [EMAIL PROTECTED] Mono.NET]$ mcs gtk.cs -r:gtk-sharp
-r:System.Drawing
>
> -lib:/usr/lib/mono/gac/gtk-sharp/1.0.0.0__35e10195dab3c99f/
> Compilation succeeded
>
> [EMAIL PROTECTED] Mono.NET]$ ./gtk.exe
>
> file_set_error: No such device or address
> err:module:import_dll Library mscoree.dll (which is needed by
> L"F:\\stuff\\Mono.NET\\gtk.exe") not found
> err:module:LdrInitializeThunk Main exe initialization for
> L"F:\\stuff\\Mono.NET\\gtk.exe" failed, status c135
> [EMAIL PROTECTED] Mono.NET]$ PGDATA2=/home/postgres/data
> [EMAIL PROTECTED] Mono.NET]$ export PGDATA2
> ___
> 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] GTKSourceview#

2004-06-29 Thread Duncan Mak
On Wed, 2004-06-30 at 00:15, Elfred Pagan wrote:
> The thing is the highest release of gtksourceview I've been able to find is 0.8

You can get source code of the 1.0.x series here:

ftp.gnome.org:/pub/gnome/sources/gtksourceview/gtksourceview-1.0.1.tar.bz2

and RPMs are also available for the 5 supported platforms.

Duncan.

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