Solved

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

Posted on 2008-06-26
9
2,788 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
  • 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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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 500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now