Solved

RDS Error : General access denied error (0x80070005)

Posted on 2000-03-13
2
666 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Title # Comments Views Activity
Excel VBA combine two working workbooks 8 62
Visual Studio 2005 text editor 10 44
Excel Automation VBA 19 91
Export Data to Different .csv Files 26 115
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

820 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