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 > DB2 > Driver's SQLAllocHandle on SQL_HANDLE_ENV failed

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-26-10, 07:20
arielthw arielthw is offline
Registered User
 
Join Date: May 2010
Posts: 1
Driver's SQLAllocHandle on SQL_HANDLE_ENV failed

Hi, my first post, hopefully somebody can solve my problem.

I have an asp application that runs on IIS with a DB2 database.

The application is setup to use Authenticated Access (through Active Directory). Everything works fine except for one particular case.

The application restarts itself after about 30 minutes of inactivity. If the first person to access the application is authenticated in AD, everything works well, even when those who are not authenticated try to access the application. The problem occurs when someone without authentication initializes the application for the first time. It crashes the connection and then nobody can access the application until there is 30 minutes of inactivity and application restarts.

This is the error I get:

[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed

I tried giving the IUSR read/write access to the DB2 driver directory, that didn't work.

What else should I try?

Thank you.
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