[Mono-list] ADO.net issue with 2.11 master/b32093e Win32

Rod rodney.foley at lumension.com
Mon Apr 25 20:37:44 EDT 2011


Okay I have attached a Solution/Project to reproduce this test using:

Windows 2008 R2 SP1
SQL Server 2008 R2 w/AdventureWorks DB
Visual Studio 2010 SP1 w/Mono Tools for VS
Mono 2.11 master/b32093e Win32 (built w/Cygwin)

I tried this using MonoDevelop 2.6 beta 2 it works against .Net 3, and
fails, with same exception, on 2.10.1 and wont even compile against
2.11.b32093e which I found odd. 

Using Mono Tools for VS it worked against, .Net 4 and 2.10.1 and failed on
2.11.b32093e with the noted exception. This could be because MonoDevelop
compiles with Mono while Mono Tools for VS "appears to" compile with .NET
and then runs with Mono.

Either way here is a simple solution that can be used to recreate the issue,
and it found a new issue that you can't even compile this using the latest
mono from source, and it wont work against 2.10.1 when you are using
MonoDevelop 2.6. beta 2 for some reason.

Basically just need to update the app.config with user name and password if
your AdventureWorks is localhost, ortherwise also update the Data Source
with the remote server name.

http://mono.1490590.n4.nabble.com/file/n3474459/Mono211AdoTest.zip
Mono211AdoTest.zip 


--
View this message in context: http://mono.1490590.n4.nabble.com/ADO-net-issue-with-2-11-master-b32093e-Win32-tp3473994p3474459.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list