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 <[email protected]>
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:* [email protected]
> *Personal Email:* [email protected]
> _______________________________________________
> Mono-aspnet-list mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>


-- 
---------------------------------------------------------------------------------------------------------------------
() ascii ribbon campaign - against html e-mail
/\
_______________________________________________
Mono-aspnet-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Reply via email to