Solved

RDS Error : General access denied error (0x80070005)

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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 …
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…
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…

726 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