Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2005
    Posts
    3

    Unanswered: ERROR - unable to allocate an environment handle

    Hello,

    connecting via .NET to a informx server I receive an Exception with exception message "ERROR - unable to allocate an environment handle.".

    What is the reason for this? The connectionString seems to be correct and the Exceptions rises calling con.open().

    Any Ideas

    TIA

  2. #2
    Join Date
    Feb 2006
    Posts
    1
    Hi,
    Had the very same problem there this afternoon, was tearing my hair out. On my local machine I had the informix SDK version 2.81 installed and had installed the version 2.90 over the top. So had to change the path variable in my environment variables (Windows2000). I just made sure the SDK path was specified first, as it takes presedence.

    HTH


    Also check out the below URL...

    http://www-128.ibm.com/developerwork...dm-0510durity/

    Quote Originally Posted by goth
    Hello,

    connecting via .NET to a informx server I receive an Exception with exception message "ERROR - unable to allocate an environment handle.".

    What is the reason for this? The connectionString seems to be correct and the Exceptions rises calling con.open().

    Any Ideas

    TIA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •