473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Using ActiveX DLL from ASP pages (Error 800706F7)

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
Jul 19 '05 #1
1 3901
"Daniil Gromov" <da***********@acumentechnologies.com> wrote in message
news:OA**************@TK2MSFTNGP09.phx.gbl...
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:
Set Session( "MyObject.Instance" ) = myObj


I see you're storing your object in session scope, are you following best
practices?
http://www.aspfaq.com/show.asp?id=2053

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DigitalUncle | last post by:
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...
6
by: Pippen | last post by:
I'm getting a little confused about what is supported in MS-SQL ActiveX and what is Visual Basic and what is VBScript. Can someone please point me to a website, recommend a book or if I've missed...
13
by: Patrick | last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can 1) Either set under IIS Manager-> Any specific Virtual Directory-> Configuration->Options->ASP Script timeout for all pages...
1
by: Craig Pennington | last post by:
I have many ASP pages that I cannot immediately convert to ASP.NET. I would like to make use of .NET, particularly C#, to develop new code that I would need to access from those unconverted pages....
4
by: chris.dunigan | last post by:
I'm looking for an example of how to execute an existing DTS­ package from an ASP (VB)script and would appreciate any and all response. ­I don't even know if it's possible Thanks - Chuck...
1
by: John Gabriel | last post by:
I have set up a website and am testing ASPs. I have created a very simple ActiveX component with two interfaces: AboutBox() - displays About details calcpi() - returns 3.14159 Here is my...
3
by: mehul | last post by:
Hi, I am trying to use Active Reports v1.1 (Build 1.1.0.84) in a ASP.NET application. Is it possible to use it through the COM interlop as Crystal Reports for .NET which comes built in with...
5
by: Jaime Palli | last post by:
I have developed a Visual Basic 6.0 ActiveX DLL to help to interact with some ASP pages. I have copied the compiled DLL in C:\INETPUB\WWWROOT in my XP Pro machine. After making some configuracion...
3
by: NvrBst | last post by:
My problem is that it keeps returing nothing after calling the methods. I "TlbImp.exe TEST.exe /out:TESTCS.dll" and then in C# Right click Add Reference Browse and give it the TESTCS.dll. It...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.