[Mono-aspnet-list] Xamarin DB2 AS400

Diana Torres Diana.Torres at rrsc.com
Tue May 10 16:05:31 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.
Diana Torres
Roto-Rooter Services Company 
255 East Fifth Street / Suite 2500
Cincinnati,OH  45202-4725
Cell: 773-810-9862 
Work Email: Diana.Torres at rrsc.com
Personal Email: dsoldweb at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20160510/86f326bc/attachment.html>


More information about the Mono-aspnet-list mailing list