[Mono-list] [Mono-winforms-list] Mono WinForms ProblemsConnecting to Sql 2005

Jorge Bastos mysql.jorge at decimal.pt
Sat Feb 3 06:57:49 EST 2007


this a configuration problem in your mssql 2005
check wich service are you running on it, and if you are using NT AUTH or 
both, sql auth and nt auth


----- Original Message ----- 
From: "Austin Winstanley" <austin at tradelogic.com>
To: "URBAN Leos" <leos.urban at qds.cz>; "Daniel Morgan" 
<monodanmorg at yahoo.com>; <mono-winforms-list at lists.ximian.com>; 
<mono-osx at lists.ximian.com>; <mono-list at lists.ximian.com>
Sent: Saturday, February 03, 2007 2:54 AM
Subject: Re: [Mono-list] [Mono-winforms-list] Mono WinForms 
ProblemsConnecting to Sql 2005


> Ok, So on this problem I have narrowed it down. On my server I have
> Sql 2000 and Sql 2005 running side by side. i only get the connection
> error when trying to connect to sql 2005. I can connect to sql 2000
> just fine.
>
> The only difference is the instance name. To connect to 2000 I would
> just use my ip address. But to connect to sql 2005 I have to use
> myipaddress\\Server2005. In windows this works, but in mac and linux
> it doesnt. So the problem comes down to just the Server2005 instance
> name in mac/linux.
>
> Can anybody help me out with this?? It is driving me crazy. Thanks!
>
>
>
> On 1/28/07, URBAN Leos <leos.urban at qds.cz> wrote:
>> Try connection string:
>>
>> this.sqlConnection1.ConnectionString =
>> "uid=sa;pwd=alphaville;server=192.168.1.34,1433;database=Test";
>>
>> Leos
>>
>> Austin Winstanley napsal(a):
>> > I am running a Mono Winforms app and i have gotten it to run great on
>> > Windows, Linux, and Mac OSX. The problem is I can only connect to a
>> > Sql Server 2005 DB from Windows. It is a remote DB and it connects
>> > just fine when I am in Windows, but as soon as I run my app from Mac
>> > or Linux, It gives me Sql Server does not exist or connection denied
>> > error. I'm not understanding why it will connect from Windows but not
>> > Mac or Linux. Any help would be great. Thanks!
>> > _______________________________________________
>> > Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>> > http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>> >
>>
>>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



More information about the Mono-list mailing list