object creation error

S

Stoney

Hello All
I have an application I am working on that uses "compiled" asp pages. Once the asp pages are done, they are moved into a VB6 dll to be Response.Written from there. This work great, and results in keeping our code safe at client sites. Currently this works great here and at most client sites. I have one client who is having intermittent problems with this setup

The code in my asp looks like this..

<%@ LANGUAGE="VBSCRIPT" %><
Dim objPag

Set objPage = Server.CreateObject("uiPages.RenderPages"
objPage.RenderSomePag

%

"uiPages.RenderPages" is a VB6 dll registed on the server running IIS. This works great everywhere save one client

In seemingly random cases, they get the following error..

uiPages error '80020009

Object variable or With block variable not se

/SomePage.asp, line

This is rendered in thier browser since I do not have any eerrorhandling as of yet. I added error handling to determine if the error was generated by the asp or my dll. Basically, I found out that my dll never gets called, and the error is with the actual instantiation. There are no clues in the event log, or the IIS logs. The pages that it occurs on are different. We have had cases where two people can render the same page and one will get the error, and one will get the page. I am assuming that this is some configuration problem of thier server since it only happens there, but I have sought out all settings I am aware of. Also, as soon as they get the error page above, they can click refresh, and the page will go ahead and render. I have done everything I can think of to troubleshoot the problem with no luck. I am at my wits end here, and could use some help

Thanks in advance for any help you can give me

Stoney Meyerhoeffe
 
M

Mark Schupp

Do you have any code in class Initialize?

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com


Stoney said:
Hello All,
I have an application I am working on that uses "compiled" asp pages.
Once the asp pages are done, they are moved into a VB6 dll to be
Response.Written from there. This work great, and results in keeping our
code safe at client sites. Currently this works great here and at most
client sites. I have one client who is having intermittent problems with
this setup.
The code in my asp looks like this...

<%@ LANGUAGE="VBSCRIPT" %><%
Dim objPage

Set objPage = Server.CreateObject("uiPages.RenderPages")
objPage.RenderSomePage

%>

"uiPages.RenderPages" is a VB6 dll registed on the server running IIS.
This works great everywhere save one client.
In seemingly random cases, they get the following error...

uiPages error '80020009'

Object variable or With block variable not set

/SomePage.asp, line 5

This is rendered in thier browser since I do not have any eerrorhandling
as of yet. I added error handling to determine if the error was generated
by the asp or my dll. Basically, I found out that my dll never gets called,
and the error is with the actual instantiation. There are no clues in the
event log, or the IIS logs. The pages that it occurs on are different. We
have had cases where two people can render the same page and one will get
the error, and one will get the page. I am assuming that this is some
configuration problem of thier server since it only happens there, but I
have sought out all settings I am aware of. Also, as soon as they get the
error page above, they can click refresh, and the page will go ahead and
render. I have done everything I can think of to troubleshoot the problem
with no luck. I am at my wits end here, and could use some help.
 
S

Stoney

None in Class Initialize, but since this one implements asp, the On Start Page fires... But the first thing I do there is log a message. At first I thought it was my logging, so I have logged three different ways... To file, event log, and database... So, it's not there. And the logging always works when the object is created properly...
 

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,146
Messages
2,570,831
Members
47,374
Latest member
anuragag27

Latest Threads

Top