Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Error '800a005b'  Object variable or With block variable not set

Posted on 2008-06-26
9
Medium Priority
?
3,047 Views
Last Modified: 2013-11-25
Hello Experts,
I am getting an error when I try to use one of the function of the Com Component I have registered on win 2003 server.
<%=myAccessClient.UserTree(CBool(blnGrpAdd))  --> line 221
It was working fine earlier but I dont know for some reason it has stopped working ...

Error Description:-
ehausAccessClient3 error '800a005b'
Object variable or With block variable not set
/osx/oecd/usermaint.asp, line 221

please can someone advice how to go about resolving this?

many thanks for your help

thanks
sam
0
Comment
Question by:newbie27
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 7

Expert Comment

by:Brad Dobyns, CSM
ID: 21876679
You must register your component within a MTS package.

http://support.microsoft.com/kb/223406/EN-US/  - How to Create an Empty MTS Package to Add Components for ASP

Hope that helps.

Thanks,
Brad
0
 
LVL 8

Author Comment

by:newbie27
ID: 21876733
hello brad,
thanks for picking this for me, i have registered it with MTS however no luck .. it still says the same !
0
 
LVL 7

Expert Comment

by:Brad Dobyns, CSM
ID: 21876861
Without seeing your code, is it possible that this could be the culprit?

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_20580642.html

Thanks,
Brad
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 8

Author Comment

by:newbie27
ID: 21876904
Ok I will try paste my code here in a minute, after resetting the IIS, I am getting error now, this is the component which I have registered in MTS

set myAccessClient = Server.CreateObject("ehausAccessClient3.AccessClient") --> line 23

Server object error 'ASP 0178 : 80070005'

Server.CreateObject Access Error

/v_include/osorder_mandatory_header_protectedV2.asp, line 23

The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
0
 
LVL 7

Expert Comment

by:Brad Dobyns, CSM
ID: 21877759
One more thing. Let's try this:

http://support.microsoft.com/kb/278013

Thanks,
Brad
0
 
LVL 8

Author Comment

by:newbie27
ID: 21878478
hello brad,
thanks but not luck again, have given all permissions to this dll but did not work
0
 
LVL 7

Accepted Solution

by:
Brad Dobyns, CSM earned 2000 total points
ID: 21878631
Well, we are just narrowing down what it could be. Try this:

http://support.microsoft.com/kb/198432

Thanks,
Brad
0
 
LVL 8

Author Comment

by:newbie27
ID: 21882072
Hello Brad,
I have followed the instruction and the permission has now seems to have disappeared and now back to the same error again
Error Description:-
ehausAccessClient3 error '800a005b'
Object variable or With block variable not set
/osx/oecd/usermaint.asp, line 221

please advice
thanks
0
 
LVL 8

Author Closing Comment

by:newbie27
ID: 31471004
thanks brad
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question