M-Files COM Error: Network problems are preventing M-Files from communicating with the server. The RPC Server is unavailable

Hello All, 

I have tried every permutation of the following code I can think of and it just will not connect.  The Desktop Application connects fine with all the same settings.

Here is one permutation of the code:

and here is the error.

Any suggestions on what is going on?

Thanks!

Pat

Parents Reply
  • I'm going to ask the stupid question again (sorry): are you testing this running on the same machine as the client connection that works?

    There is no functional difference, at least in theory, between doing this via code and the M-Files client connection.  If this is being tested on the same machine then there should be no firewall considerations.

    What is the protocol and port configured within your M-Files client connection, and what value have you tried in the code?

Children
No Data