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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dll from ASP error '800a005b'

Status
Not open for further replies.

hinchdog

Programmer
Feb 14, 2001
380
US

Do you know anything about this error. I get it when i try to use my own dll from an ASP page.
****************************************************
'800a005b'

Object variable or With block variable not set

****************************************************
This dll works fine from the VB 6.0 IDE. I even registered this .dll with MTS and have the following code in my dll:

*****************************************************
Implements ObjectControl

Private objContext As ObjectContext

Private Sub ObjectControl_Activate()
Set objContext = GetObjectContext()
End Sub

Private Function ObjectControl_CanBePooled() As Boolean
ObjectControl_CanBePooled = False
End Function

Private Sub ObjectControl_DeActivate()
Set objContext = Nothing
End Sub

**********************************************
It still doesn't work. BTW, i'm on Windows 98 using PWS. I hope someone has some suggestions for me cause i'm at my wits end! Thanks!

-Hinchdog
 

What you have written is just creating object context.
Or something more is there, give details so that I could help you.
 
i figured it out - it was a problem with my code. i need to learn how to step through MTS dll so i can find these errors more quickly!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top