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
  • If this is a cloud vault then we can get rid of most of the technical considerations, as well as firewalls and things, as they are managed online.

    I just checked here and I believe the protocol sequence should be the string "grpc" and endpoint the string "443":

    var serverApplication = new MFilesAPI.MFilesServerApplication();
    var connectionData = new ConnectionData()
    {
    	NetworkAddress = "myvault.cloudvault.m-files.com",
    	ProtocolSequence = "grpc",
    	Endpoint = "443"
    };
    serverApplication.ConnectAdministrativeEx5(connectionData, MFAuthType.MFAuthTypeSpecificMFilesUser, "MyUsername", "MyPassword");

Children