[Mono-aspnet-list] Xamarin DB2 AS400

sven falempin sven.falempin at gmail.com
Tue May 10 16:28:43 UTC 2016


Looks like the connection string is wrong,

you ll have to look for  IBM.Data.DB2.DB2Connection documenation and/or
source code

to please the API with the right string

No semicolumn  here :
=**** DataCompressio

On Tue, May 10, 2016 at 12:05 PM, Diana Torres <Diana.Torres at rrsc.com>
wrote:

> 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
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>


-- 
---------------------------------------------------------------------------------------------------------------------
() ascii ribbon campaign - against html e-mail
/\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20160510/989b142a/attachment.html>


More information about the Mono-aspnet-list mailing list