Using ActivexDLL from ASP (Error 800706F7)

D

DigitalUncle

I am running ASP pages on IIS5 with and very simple ActiveX. All the
ActiveX contains is a number of basic classes. These classes are
simply a collection of setters and getters w/o any business logic. The
reason I use this DLL is to store instances of the classes in a
session or application object, so that I don't have to go to the DB
for the data that never or rarely changes.

This setup worked fine for a while, but then crashed with Error:
0x800706F7 w/o any explanation. Reregestering DLL fixes the problem
for some time befor eit crashes again in a few days.

What could be the problem and how do I fix it? Thanks to everybody!

Exaple of my code:

VB ActiveX DLL:

Class MyClass
Public a
Public b
End Class

ASP Code:

Set myObj = Server.CreateObject( "MyActiveX.MyClass" )
myObj.a = "blah"
Set Session( "MyObject.Instance" ) = myObj
 
T

Tom Kaminski [MVP]

DigitalUncle said:
I am running ASP pages on IIS5 with and very simple ActiveX. All the
ActiveX contains is a number of basic classes. These classes are

Can we stick to one thread ... ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top