[Mono-list] MSSQL from Linux using Mono - Error
dwaterbly at msn.com
Fri Jun 24 09:15:31 EDT 2005
I did find this to be interesting...
Opening up "links" and going to certain addresses like http://www.google.com
or http://www.hotmail.com returns an error that says "invalid argument" as
well. I am thinking this is suffering from the same problem but have no
idea what it could be.
----- Original Message -----
From: "Daniel Waterbly" <dwaterbly at msn.com>
To: "tsureshkumar" <tsureshkumar at novell.com>
Cc: <mono-list at lists.ximian.com>
Sent: Friday, June 24, 2005 5:47 AM
Subject: Re: [Mono-list] MSSQL from Linux using Mono - Error
> Thanks for the tip. I am however using the direct IP address to the
> server, and yes, it is connecting to a MSSQL server instance.
> -Dan Waterbly
> ----- Original Message -----
> From: "tsureshkumar" <tsureshkumar at novell.com>
> To: "Daniel Waterbly" <dwaterbly at msn.com>
> Cc: <mono-list at lists.ximian.com>
> Sent: Friday, June 24, 2005 1:49 AM
> Subject: Re: [Mono-list] MSSQL from Linux using Mono - Error
>> Daniel Waterbly wrote:
>>> I have been trying all day and night to connect to a MS SQL Server
>>> database from my redhat linux box. I can connect just fine to a MySQL
>>> database, but it just won't fly with a MSSQL database. Here is the code
>>> am using:
>>> string connectionString =
>>> Everything compiles fine and it runs just grand from my Windows XP box,
>>> when I try mono sql.exe I get this:
>>> Unhandled Exception: System.Net.Sockets.SocketException: Invalid
>>> in <0x00208> System.Net.Sockets.Socket:Connect (System.Net.EndPoint
>> looks like the MSSQL server is not reachable from your linux box. if you
>> are using server's name in the connection string, check the DNS
>> configuration. Check by directly giving the IP address of the server in
>> the connection string.
>> Are you using MSSQL server instance by any chance?
> Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list