Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Failure to use Connection.Close (Impacts ???)

Status
Not open for further replies.

oldduffer

Technical User
Jan 14, 2002
34
0
0
GB
All

Hopefully you can advise on this, I have a series of asp pages that I have not been responsible for developing, in numerous cases connections are opened and not closed.

I am wondering if this could be the root cause of the memory spiralling out of control and the server crashing about once a week. Personally I'd like to change this by simply closing the connections but I'm having trouble convincing some folks... any FAQ's or anything anyone knows of or any tips on connection management would be helpfull

(Running IIS and MS SQL Server 7.0)

Thanks

Old Duffer
 
oldduffer,

You should always close your connections after you are completely done with them.

objConn.close
Set objConn = Nothing

fengshui_1998
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top