Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

New Desktop appears to crash on open - gRPC/MSRPC protocol mismatch error

Last updated on 4 November 2026

Admin
M-Files Desktop

Overview

When you switch from Classic Desktop to New Desktop, it may appear to crash - it may close immediately.

The situation is as follows:

  • This is a vault connection that uses or has used a different protocol than gRPC, likely in a self-hosted environment.
  • This is likely the first or early attempt to use New Desktop.
  • There is no APPCRASH entry in the Windows Event Log.
  • There is an error in the Windows Event Log similar to this:
    gRPC/MSRPC protocol mismatch

Solution

Fix the gRPC connection, see Switching from RPC to gRPC in an M-Files System

Details

M-Files Client tries to update the connection protocol to gRPC when connecting to the vault, because gRPC is required for New Desktop to work.

If that fails (i.e., the gRPC connection is not working), the New Desktop client cannot function and so it closes itself automatically.

Sample error stack

You can see Error entries in the Windows Event Log from the exact time of the attempt that are similar to the message below. The request URL in the beginning will vary. There will usually be a few clustered together.

M-Files

Request: grpc/v1/get-server-capabilities

Error:

GrpcProxy.IRPCLogin.generated.cpp, 591, Unspecified error. (gRPC/MSRPC protocol mismatch) (0x80004005)

CoGrpcProxy_IRPCLogin.generated.cpp, 621, Unspecified error. (gRPC/MSRPC protocol mismatch) (0x80004005)

GrpcProxy_Protobuf_IRPCLogin.generated.cpp, 1111, Unspecified error. (gRPC/MSRPC protocol mismatch) (0x80004005)

GrpcProxy_Protobuf_IRPCLogin.generated.cpp, 1183, Unspecified error. (gRPC/MSRPC protocol mismatch) (0x80004005)

CoGrpcProxy.cpp, 141, Unspecified error. (gRPC/MSRPC protocol mismatch) (0x80004005)

gRPCClient.cpp, 440, Unspecified error. (gRPC/MSRPC protocol mismatch) (0x80004005)

BaseSession.cpp, 207, Unspecified error. (gRPC/MSRPC protocol mismatch) (0x80004005)

BaseSession.cpp, 435, Unspecified error. (gRPC/MSRPC protocol mismatch) (0x80004005)

(M-Files 26.9.16459.6 2026-10-15T00:34:30.168Z)

Still need help?