[Mono-aspnet-list] Xamarin DB2 AS400

dtorres diana.torres at rrsc.com
Tue May 10 15:28:10 UTC 2016


Hello, 

I'm developing a phone app using Xamarin in Visual Studio 2015. Our Data is
on as400 machines. I'm trying to get the application to work with DB2 to
access and update data. I download mono, installed and I include the
IBM.Data.DB2 library. I'm getting errors when connecting to the machine. I
don't know if my connection string is wrong: 

conn = new DB2Connection("DataSource=****;UserID=***; Password=****
DataCompression = True" );

The error I get is: System.InvalidProgramException: Invalid IL code in
IBM.Data.DB2.DB2Connection:get_ConnectionString (): IL_0000: ret       

On the ODBC I configure the User DNS as iSeries Access ODBC Driver.

You help would be greatly appreciated!.

Thank you

Diana.



--
View this message in context: http://mono.1490590.n4.nabble.com/Xamarin-DB2-AS400-tp4667812.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list