When I install a composant on B and install his proxy on A, I can
instanciate the object but when I call a method from the object I
receive the QueryInterface for interface LoadDistantFile._loadFile
failed.
My test :
loadFileClass l = new loadFileClass() ;
Label1.Text = l.GetString() ;
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Delf
a écrit :
When I install a composant on B and install his proxy on A, I can instanciate the object but when I call a method from the object I receive the QueryInterface for interface LoadDistantFile._loadFile failed.
What is the error message?
-- Delf
jerome.dayer@gmail.com a écrit :
When I install a composant on B and install his proxy on A, I can
instanciate the object but when I call a method from the object I
receive the QueryInterface for interface LoadDistantFile._loadFile
failed.
When I install a composant on B and install his proxy on A, I can instanciate the object but when I call a method from the object I receive the QueryInterface for interface LoadDistantFile._loadFile failed.
What is the error message?
-- Delf
jerome.dayer
the message error is:
System.InvalidCastException: QueryInterface for interface LoadDistantFile._loadFile failed.
the message error is:
System.InvalidCastException: QueryInterface for interface
LoadDistantFile._loadFile failed.
System.InvalidCastException: QueryInterface for interface LoadDistantFile._loadFile failed.
jed
Now, it's ok...
On the server B, I install another dll names DispatcherLoadDistantFile.
This one connect to the proxy dll and call function that I need to use.
See this link : http://www.dotnet247.com/247reference/msgs/25/128688.aspx
But now I would like to use only port 135 and one other (ex: 65535) to connect between these 2 servers. Now when the server A connect to B, A connect on the port 135 and after A connect on a random port.
Have you a solution to make safe my solution
Now, it's ok...
On the server B, I install another dll names DispatcherLoadDistantFile.
This one connect to the proxy dll and call function that I need to use.
See this link :
http://www.dotnet247.com/247reference/msgs/25/128688.aspx
But now I would like to use only port 135 and one other (ex: 65535) to
connect between these 2 servers. Now when the server A connect to B, A
connect on the port 135 and after A connect on a random port.
On the server B, I install another dll names DispatcherLoadDistantFile.
This one connect to the proxy dll and call function that I need to use.
See this link : http://www.dotnet247.com/247reference/msgs/25/128688.aspx
But now I would like to use only port 135 and one other (ex: 65535) to connect between these 2 servers. Now when the server A connect to B, A connect on the port 135 and after A connect on a random port.