Solved

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

Posted on 2008-06-26
9
2,867 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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.
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 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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

829 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