Solved

RDS Error : General access denied error (0x80070005)

Posted on 2000-03-13
2
654 Views
Last Modified: 2007-10-18
I want to use RDS in a client application to instanciate a COM object on the server. I use the folowing syntax :
1/ Sever side : In a DLL called Server_COM, there is a class called Try that contained :

Public Function Server_Time() As Date
Server_Time = Time
End Function

2/Client side :

.
.
.
Dim Connexion As New RDS.DataSpace
Dim Reporter_Ref As Object
Dim S_Time As Date

Set Reporter_Ref = Connexion.CreateObject("Server_COM.Try", "http://xxx")
S_Time = Reporter_Ref.Server_Time()
.
.
.

And I keep getting the following error :
Execution error : -2147024891 (0x80070005)
In the HRESULTS from OLE table, it refers to : General access denied error

Could someone help me? :)
0
Comment
Question by:partner0
2 Comments
 
LVL 1

Accepted Solution

by:
a201348 earned 180 total points
ID: 2616555
Did you add the ADCLaunch registry?
0
 

Author Comment

by:partner0
ID: 2621023
Thanx a lot, it works well now!

Could you contact me at ftoubol@ci.cl so that i can keep in touch with you!
0

Featured Post

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

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

705 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

20 Experts available now in Live!

Get 1:1 Help Now