Solved

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

Posted on 2008-06-26
9
2,909 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Collapse and expand table in Word 2010 2 161
ASP and Extracting XML 7 46
Outlook Macro to delete emails not meeting keywords 56 115
Help with Classic ASP - Parameterizing Query 16 65
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

739 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