Link to home
Start Free TrialLog in
Avatar of partner0
partner0

asked on

RDS Error : General access denied error (0x80070005)

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? :)
ASKER CERTIFIED SOLUTION
Avatar of a201348
a201348

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of partner0
partner0

ASKER

Thanx a lot, it works well now!

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