[Mono-dev] Mono problem using Maemo

2007-04-23 Thread Danilo Freire

Hi,

I trying to use a simple helloworld Runtime.Remoting application (Client and
Server) at a N800 device, and the following problem appears at the server
when the client tries to connect with it:

Both applications run without problem in a desktop.

Server Stack:

Nokia-N800-10:~/MonoStuff# mono RemotingServer.exe

Press the enter key to exit...
mono[8035]: GLIB ERROR ** default - file inssel.c: line 3502
(mono_burg_emit): should not be reached
aborting...
Stacktrace:

  at
System.Runtime.Serialization.Formatters.Binary.MessageFormatter.ReadMethodCall(
System.IO.BinaryReader,bool,
System.Runtime.Remoting.Messaging.HeaderHandler,
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter)
0x
  at
System.Runtime.Serialization.Formatters.Binary.MessageFormatter.ReadMethodCall(
System.IO.BinaryReader,bool,
System.Runtime.Remoting.Messaging.HeaderHandler,
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter) 0x00218

Native stacktrace:

mono [0x100688]
/usr/lib/libglib-2.0.so.0(g_logv+0x268) [0x4115b42d]

=
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=



and at the Client application:

Nokia-N800-10:~/MonoStuff# mono MaemoClient.exe


Unhandled Exception: System.Runtime.Remoting.RemotingException: Tcp
transport error.

Server stack trace:
  at
System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.ReceiveMessageStatus (
System.IO.Stream networkStream, System.Byte[] buffer) [0x0]
  at
System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage
 msg, ITransportHeaders requestHeaders,
System.IO.Stream requestStream, ITransportHeaders responseHeaders,
System.IO.Stream responseStream) [0x0]
  at
System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage
 msg) [0x0]

Exception rethrown at [0]:
 --- System.Runtime.Remoting.RemotingException: Connection closed
  at System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.StreamRead (
System.IO.Stream networkStream, System.Byte[] buffer, Int32 count)
[0x0]
  at
System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.ReceiveMessageStatus (
System.IO.Stream networkStream, System.Byte[] buffer) [0x0] --- End of
inner exception stack trace ---

  at
System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.ReceiveMessageStatus (
System.IO.Stream networkStream, System.Byte[] buffer) [0x0]
  at
System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage
 msg, ITransportHeaders requestHeaders,
System.IO.Stream requestStream, ITransportHeaders responseHeaders,
System.IO.Stream responseStream) [0x0]
  at
System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage
 msg) [0x0]




Is that a known bug? It appears to be a problem at Mono runtime of maemo.
Any tip will be helpful.

thanks anticipate
[]s

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


[Mono-dev] help with mysql connection

2006-01-29 Thread danilo
Hi,

I am trying to connect to Mysql from an example running under xsp2

here is my code:

%@ Page Language=C# %
%@ Import Namespace=System %

%@ Import Namespace=System.Data %

%@ Import Namespace=System.Data.Odbc %

html
head runat=server
  titleGridView Bound to SqlDataSource/title
/head
body
  form id=form1 runat=server
asp:GridView ID=GridView1 DataSourceID=SqlDataSource1
runat=server /
asp:SqlDataSource ID=SqlDataSource1 runat=server   
 ConnectionString=DRIVER={MySQL ODBC
3.51Driver};SERVER=localhost;DATABASE=X;USER=root;PASSWORD=X;OPTION=3;

  ProviderName=System.Data.Odbc SelectCommand=XX
 
/asp:SqlDataSource

  /form
/body
/html

I am having this error:

System.ArgumentException: Keyword not supported :DRIVER

I have been looking for a solution in google for some  days  and  I
couldn't  find anything.

Can someone help me ?

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