For Programmers: Free Programming Magazines  


Home > Archive > ASP > March 2004 > Using ActivexDLL from ASP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Using ActivexDLL from ASP
DigitalUncle

2004-03-28, 9:55 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com