PDA

View Full Version : SQLAllocHandle on SQL_HANDLE_ENV


jordanbrock
07-26-2003, 10:08 AM
Howdy,

I am just trying to open a connection to a database, and am getting the following error:

SQLAllocHandle on SQL_HANDLE_ENV

My Connect string is as follows:

<%
dim dbConn
set dbConn = Server.CreateObject ("adodb.Connection")
dbConn.Open "DSN=spintechcom_sqlConn;uid=XXXXX;pwd=XXXXX"
%>

Has anyone else come across this?

Cheers,
Jordan

bruce
07-27-2003, 04:45 AM
Is this error persistent?



[b]quote:Originally posted by jordanbrock

Howdy,

I am just trying to open a connection to a database, and am getting the following error:

SQLAllocHandle on SQL_HANDLE_ENV

My Connect string is as follows:

<%
dim dbConn
set dbConn = Server.CreateObject ("adodb.Connection")
dbConn.Open "DSN=spintechcom_sqlConn;uid=XXXXX;pwd=XXXXX"
%>

Has anyone else come across this?

Cheers,
Jordan

</blockquote id="quote"></font id="quote">

jordanbrock
07-27-2003, 07:20 AM
It was happening for about a week, and when I checked it this morning everything was ok. Any ideas?

bruce
07-28-2003, 10:37 AM
Hmmm....

I haven't seen this error before. It'll be tough if we can't replicate this.

Let us know if you see this again.

[b]quote:Originally posted by jordanbrock

It was happening for about a week, and when I checked it this morning everything was ok. Any ideas?


</blockquote id="quote"></font id="quote">

jordanbrock
07-30-2003, 06:00 AM
Bruce,

This error is occurring again. You can see it for yourself at

http://www.balneaire.com.au/content/monets.asp

I dispose of the connection at the end of the page, as well as the recordsets used within the page. I have not modified the content since the page was working properly earlier on this week.

Cheers,

jordanbrock
07-31-2003, 06:38 AM
OK, so now it's stopped happening again. Grrrr.

bruce
08-01-2003, 02:47 AM
Very strange.

I'll send this to the SA and see if they can figure anything out

[b]quote:Originally posted by jordanbrock

OK, so now it's stopped happening again. Grrrr.
</blockquote id="quote"></font id="quote">