Cannot Open Local RealmDB

I use local realm db.

I tried to access the local Users.realm db from shared folder path.

below code:

const UserDBPath = "//192.168.10.13/Test/Users.realm";
userRealm = await Realm.open({
                schemaVersion: 1,
                readOnly:false,
                inMemory:false,
                path: UserDBPath,
                schema: [UserSchema.schema],
            });

ErrorMessage : CreateFile() failed: ������ ��θ� ã�� �� �����ϴ�.

It doesn’t work.

Please tell me how to access realm db from shared folder path.

Hey @jinsu_kim,

Realm on Windows doesn’t support shared network drives, only local filesystems.

1 Like