[Mono-list] different behavior between .NET and Mono

A Rafael D Teixeira rafael.teixeirabr@terra.com.br
Wed, 16 Feb 2005 17:42:56 -0200


AFAIK, our ADO.NET provider for SQLServer (it is part of Mono) only can
connect with SQL password, as the other protocol is a closed one that
ties with ActiveDirectory and/or NT Domain Controllers. 

Configure your database server to accept SQL connections, otherwise we
can't connect to it.

HIH,

On Wed, 2005-02-16 at 17:18, Michael George wrote:
> I am completely new to Mono.  I'm trying to help someone migrate from a
> Microsoft/IIS/.NET system to a Linux/Apache/Mono system.
> 
> We have both a Microsoft 2003 Server system and a SuSE Linux system, so we
> can run the app in .NET while we (try to) incrementally migrate.  First
> step is to plop the same code from .NET into Mono while still connecting
> to the MS-SQL server on teh .NET system.
> 
> Should be simple enough, I though, just move the code, change the
> connection string and "voila!", but no such luck.
> 
> What I am running into and what I'm hoping for advice about, is that
> watching the MS-SQL server logging output, it appears that the .NET client
> initiates communications differently than the Mono client.
> 
> Differences:
> .NET is using RPC, Mono is using SQL.
> The first query issued by .NET appears to be a connection to the database,
> as expected.  The first query issued by Mono is some strange call to a
> stored procedure that I cannot find anywhere in the system.
> 
> I thought maybe I need ADO.NET installed (not in the mono RPMs), but as I
> understand, ADO is a db abstraction layer.  The authors of the app we want
> to migrade just used SqlClient wherever.
> 
> Anyone have any advice for me?
> 
> -Michael George
>  Ideal Solution, LLC
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> E-mail classificado pelo Identificador de Spam Inteligente Terra.
> Para alterar a categoria classificada, visite
> http://www.terra.com.br/centralunificada/emailprotegido/imail/imail.cgi?+_u=rafael.teixeirabr&_l=1,1108581524.597052.25240.chipata.terra.com.br,4641,Des15,Des15
> 
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: McAfee VirusScan / Atualizado em 16/02/2005 / Versão: 4.4.00 - Dat 4428
> Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/
-- 
Rafael "Monoman" Teixeira 
Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
Mono Brasil Founding Member - http://monobrasil.redesolbrasil.org/
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/