If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > ERROR - unable to allocate an environment handle

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-26-06, 09:01
goth goth is offline
Registered User
 
Join Date: Nov 2005
Posts: 3
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
Reply With Quote
  #2 (permalink)  
Old 02-03-06, 10:52
elSeabass elSeabass is offline
Registered User
 
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On