Solved

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

Posted on 2008-06-26
9
2,845 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

832 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