I used the following connection string:
host=localhost;server=ol_ids_1150_1;service=turbo;database=sysmaster;uid=informix;pwd=ifxifxifx0mypassword
I get the following exception:
ERROR [HY000] [Informix .NET provider]Unspecified System Error =
-11048.
The docs say it's got something to do with a translation DLL. I can
only find some info on the concept of a translation dll for the ODBC
driver...?
Any help?
A couple things to check:
- "uid" should be "User ID"
- "pwd" should be "Password"
- use the port numer for the value of service, unless you are sure
your windows machine has the port name/number mapping
- Did you configure the driver using SetNet32? The ADO.Net driver does
not stand alone. It rides on top of the Informix CLI library. Use
SetNet32 to set these same values in the Windows Registry.
Peter Laman <peter...@gmail.com>
Sent by: informix-l...@iiug.org 10/12/2008 19:47 |
|
> - Did you configure the driver using SetNet32? The ADO.Net driver does
> not stand alone. It rides on top of the Informix CLI library. Use
> SetNet32 to set these same values in the Windows Registry.
Yep.
Installed .Net framework versions are: v2.0 SP1, v1.1
>
> By any chance do you have more than one Informix CSDK installed in your
> system?
No
> Is your IDS and CSDK on the same machine?
Yes
> If so, what location (i.e. IDS or CSDK) INFORMIXDIR environment variable is pointing to? It
> should be CSDK location.
It is.
All of the settings are set up by the installers by default.
Also check your PATH environment variable. The error is caused when
the connection is using the wrong dll files or if there is a really
long path environment setting.
If you move the INFORMIXDIR/bin to the front of the path then restart
the application you are testing with (if it is still open) this should
correct the problem.
HTH