MS SQL connection string working when source compiled with CSC but not GMCS

Monobrow <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <[email protected]>
Basically, in my code I try to run a query against a Microsoft SQL database
using the following connection string:

connectionString =
			"Server="+dataSourceName+";" +
			"Database="+databaseName+";" +
			"Trusted_Connection=Yes;";

This allows me to connect and run a query when I compile with Microsoft's
CSC and run under .Net but when I compile with Mono's GMCS and then run with
mono I get the following error:

"Login failed. The login is from an untrusted domain and cannot be used with
Windows authentication".

I've noticed a few other anomalies regarding how the sql code differs
between Mono and .Net. Including a query being unable to fill a variable due
to a type mismatch when using another connection string that does work- so I
can connect but not run the query. This code runs fine under .Net however.

Is this a bug or is the network/sql side of Mono still needing work? 

Cheers for any feedback on this one- trying to create a cross platform Point
of sale module that ties in with a certain current proprietary system. At
this point I'm just developing for windows but would love to help iron out
any issues with this code so that I can get my source running as expected on
Mono.






--
View this message in context: http://mono.1490590.n4.nabble.com/MS-SQL-connection-string-working-when-source-compiled-with-CSC-but-not-GMCS-tp4665854.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.