I have developed a .NET Framework 3.5 WPF application using Visual Studio 2008. I have also created a Setup Project within the same solution that I'll be using to distribute my application. The application makes reference to the .NET data provider for Informix. My setup project detects the IBM.Data.Informix.dll and IBM.Data.U2.Ucinet.dll libraries but after installing the MSI file and running the app, I recieve data access exceptions.
My question is this - is it possible to deploy an application that successfully connects to IDS without installing the IBM Data Server Driver Package on the client machine. I'm having difficulty finding a definitive answer to this question so decided to ask it myself.
I'd appreciate it if someone can point me in the right direction.
Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
SystemAdmin 110000D4XK2826 Posts
Re: Visual Studio 2008 Setup Project2012-05-01T19:07:56ZThis is the accepted answer. This is the accepted answer.Hi,
you absolutely need to install an IBM Data Server Driver ( or Client ) package on every machine that is planning to run application connecting to IDS ( or DB2 ) server.
You can either specify it as a pre requisite for your application, or you can add IBM Data Server Driver Merge Module to your Setup project in order to distribute the driver together with your application.
Lambrigtsen 270004CHP34 Posts
Re: Visual Studio 2008 Setup Project2012-05-01T22:02:18ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
hovish 270005003V10 Posts
Re: Visual Studio 2008 Setup Project2012-05-02T11:23:46ZThis is the accepted answer. This is the accepted answer.
- Lambrigtsen 270004CHP3
since it is a common provider, there is no way to select only IDS specific files. You can follow either of the approaches which Alex has suggested in his previous reply.